Home
last modified time | relevance | path

Searched defs:env (Results 1 – 10 of 10) sorted by relevance

/libnativehelper/include/nativehelper/
DJNIHelp.h127 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods()
131 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
141 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt()
148 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
152 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
156 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException()
160 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor()
164 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
168 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD()
172 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
DScopedBytes.h31 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes()
66 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO()
74 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
DtoStringArray.h29 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray()
49 jobjectArray toStringArray16(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray16()
DScopedLocalFrame.h24 ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame()
DScopedLocalRef.h28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
DScopedStringChars.h33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
/libnativehelper/
DJNIHelp.cpp38 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()
67 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass()
72 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods()
100 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary()
151 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace()
209 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
240 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt()
246 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
250 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
254 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException()
[all …]
DtoStringArray.cpp23 jobjectArray newStringArray(JNIEnv* env, size_t count) { in newStringArray()
42 jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) { in toStringArray()
68 jobjectArray toStringArray(JNIEnv* env, const char* const* strings) { in toStringArray()
DJniConstants.cpp77 static jclass findClass(JNIEnv* env, const char* name) { in findClass()
87 void JniConstants::init(JNIEnv* env) { in init()