jdk/src/share/native/java/io/RandomAccessFile.c
changeset 22946 0a1379d15976
parent 19438 7de6ae3cecad
equal deleted inserted replaced
22945:89dd803515d8 22946:0a1379d15976
    62     }
    62     }
    63     fileOpen(env, this, path, raf_fd, flags);
    63     fileOpen(env, this, path, raf_fd, flags);
    64 }
    64 }
    65 
    65 
    66 JNIEXPORT jint JNICALL
    66 JNIEXPORT jint JNICALL
    67 Java_java_io_RandomAccessFile_read(JNIEnv *env, jobject this) {
    67 Java_java_io_RandomAccessFile_read0(JNIEnv *env, jobject this) {
    68     return readSingle(env, this, raf_fd);
    68     return readSingle(env, this, raf_fd);
    69 }
    69 }
    70 
    70 
    71 JNIEXPORT jint JNICALL
    71 JNIEXPORT jint JNICALL
    72 Java_java_io_RandomAccessFile_readBytes(JNIEnv *env,
    72 Java_java_io_RandomAccessFile_readBytes(JNIEnv *env,
    73     jobject this, jbyteArray bytes, jint off, jint len) {
    73     jobject this, jbyteArray bytes, jint off, jint len) {
    74     return readBytes(env, this, bytes, off, len, raf_fd);
    74     return readBytes(env, this, bytes, off, len, raf_fd);
    75 }
    75 }
    76 
    76 
    77 JNIEXPORT void JNICALL
    77 JNIEXPORT void JNICALL
    78 Java_java_io_RandomAccessFile_write(JNIEnv *env, jobject this, jint byte) {
    78 Java_java_io_RandomAccessFile_write0(JNIEnv *env, jobject this, jint byte) {
    79     writeSingle(env, this, byte, JNI_FALSE, raf_fd);
    79     writeSingle(env, this, byte, JNI_FALSE, raf_fd);
    80 }
    80 }
    81 
    81 
    82 JNIEXPORT void JNICALL
    82 JNIEXPORT void JNICALL
    83 Java_java_io_RandomAccessFile_writeBytes(JNIEnv *env,
    83 Java_java_io_RandomAccessFile_writeBytes(JNIEnv *env,