Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/
DJniInvocation.c140 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()
Dfile_descriptor_jni.c26 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()
DJNIHelp.c130 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/
DJniInvocation.h56 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library);
61 void JniInvocationDestroy(struct JniInvocationImpl* instance);