Searched refs:jpointer (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libadt_jni/common/
H A Dadt_jni.h48 int j2c_pointer(JNIEnv *env, jbyteArray jpointer, caddr_t *cpointer);
49 void c2j_pointer(JNIEnv *env, caddr_t cpointer, jbyteArray *jpointer);
H A Dadt_jni.c101 j2c_pointer(JNIEnv *env, jbyteArray jpointer, caddr_t *cpointer) { argument
111 assert(jpointer != NULL);
113 jpointer_length = (*env)->GetArrayLength(env, jpointer);
121 (*env)->GetByteArrayRegion(env, jpointer, 0, jpointer_length,
134 c2j_pointer(JNIEnv *env, caddr_t cpointer, jbyteArray *jpointer) { argument
143 *jpointer = (*env)->NewByteArray(env, sizeof (uint64_t));
145 (*env)->SetByteArrayRegion(env, *jpointer, 0, sizeof (uint64_t),

Completed in 34 milliseconds