Searched refs:instance (Results 1 – 6 of 6) sorted by relevance
/libnativehelper/ |
D | JniInvocation.c | 168 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library_name) { in JniInvocationInit() argument 212 instance->jni_provider_library_name = library_name; in JniInvocationInit() 213 instance->jni_provider_library = library; in JniInvocationInit() 214 instance->JNI_GetDefaultJavaVMInitArgs = (jint (*)(void *)) JNI_GetDefaultJavaVMInitArgs_; in JniInvocationInit() 215 instance->JNI_CreateJavaVM = (jint (*)(JavaVM**, JNIEnv**, void*)) JNI_CreateJavaVM_; in JniInvocationInit() 216 instance->JNI_GetCreatedJavaVMs = (jint (*)(JavaVM**, jsize, jsize*)) JNI_GetCreatedJavaVMs_; in JniInvocationInit() 221 void JniInvocationDestroy(struct JniInvocationImpl* instance) { in JniInvocationDestroy() argument 222 DlCloseLibrary(instance->jni_provider_library); in JniInvocationDestroy() 223 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 | libnativehelper_lazy.c | 262 void JniInvocationDestroy(struct JniInvocationImpl* instance) { in JniInvocationDestroy() argument 264 INVOKE_METHOD(JniInvocationDestroy, M, instance); in JniInvocationDestroy() 267 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library) { in JniInvocationInit() argument 269 INVOKE_METHOD(JniInvocationInit, M, instance, library); in JniInvocationInit()
|
D | JNIHelp.c | 133 jobject instance = (*env)->NewObject(env, clazz, init); in NewStringWriter() local 135 return instance; in NewStringWriter() 147 jobject instance = (*env)->NewObject(env, clazz, init, writer); in NewPrintWriter() local 149 return instance; in NewPrintWriter() 265 jobject instance = (*env)->NewObjectV(env, exceptionClass, init, args); in ThrowException() local 266 if (instance == NULL) { in ThrowException() 271 if ((*env)->Throw(env, (jthrowable)instance) != JNI_OK) { in ThrowException()
|
/libnativehelper/include_platform/nativehelper/ |
D | JniInvocation.h | 56 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library); 61 void JniInvocationDestroy(struct JniInvocationImpl* instance);
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 185 jobject instance = env->NewObject(clazz, init); in NewStringWriter() local 187 return instance; in NewStringWriter() 199 jobject instance = env->NewObject(clazz, init, writer); in NewPrintWriter() local 201 return instance; in NewPrintWriter() 323 jobject instance = env->NewObjectV(exceptionClass, init, args); in ThrowException() local 324 if (instance == NULL) { in ThrowException() 330 if (env->Throw((jthrowable)instance) != JNI_OK) { in ThrowException()
|