Searched defs:cstr (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
H A DNativeBuffers.java123 static void copyCStringToNativeBuffer(byte[] cstr, NativeBuffer buffer) { argument
125 // long len = cstr.length;
127 // unsafe.copyMemory(cstr, offset, null, buffer.address(), len);
131 long len = cstr.length;
134 unsafe.putByte(buffer.address() + i, cstr[i]);
143 static NativeBuffer asNativeBuffer(byte[] cstr) { argument
144 NativeBuffer buffer = getNativeBuffer(cstr.length+1);
145 copyCStringToNativeBuffer(cstr, buffer);
/libcore/ojluni/src/main/native/
H A Djava_props_md.c577 GetStringPlatform(JNIEnv *env, nchar* cstr) argument
579 return JNU_NewStringPlatform(env, cstr);

Completed in 899 milliseconds