Searched refs:instance (Results 1 – 4 of 4) sorted by relevance
/libnativehelper/ |
D | JniInvocation.c | 140 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library_name) { in JniInvocationInit() argument 184 instance->jni_provider_library_name = library_name; in JniInvocationInit() 185 instance->jni_provider_library = library; in JniInvocationInit() 186 instance->JNI_GetDefaultJavaVMInitArgs = (jint (*)(void *)) JNI_GetDefaultJavaVMInitArgs_; in JniInvocationInit() 187 instance->JNI_CreateJavaVM = (jint (*)(JavaVM**, JNIEnv**, void*)) JNI_CreateJavaVM_; in JniInvocationInit() 188 instance->JNI_GetCreatedJavaVMs = (jint (*)(JavaVM**, jsize, jsize*)) JNI_GetCreatedJavaVMs_; in JniInvocationInit() 193 void JniInvocationDestroy(struct JniInvocationImpl* instance) { in JniInvocationDestroy() argument 194 DlCloseLibrary(instance->jni_provider_library); in JniInvocationDestroy() 195 memset(instance, 0, sizeof(*instance)); in JniInvocationDestroy()
|
D | file_descriptor_jni.c | 26 static void EnsureArgumentIsFileDescriptor(JNIEnv* env, jobject instance) { in EnsureArgumentIsFileDescriptor() argument 27 ALOG_ALWAYS_FATAL_IF(instance == NULL, "FileDescriptor is NULL"); in EnsureArgumentIsFileDescriptor() 29 ALOG_ALWAYS_FATAL_IF(!(*env)->IsInstanceOf(env, instance, jifd), in EnsureArgumentIsFileDescriptor()
|
D | JNIHelp.c | 130 jobject instance = (*env)->NewObject(env, clazz, init); in NewStringWriter() local 132 return instance; in NewStringWriter() 144 jobject instance = (*env)->NewObject(env, clazz, init, writer); in NewPrintWriter() local 146 return instance; in NewPrintWriter()
|
/libnativehelper/include_platform/nativehelper/ |
D | JniInvocation.h | 56 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library); 61 void JniInvocationDestroy(struct JniInvocationImpl* instance);
|