Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DJNIHelp.h122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods()
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt()
143 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
147 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
151 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException()
155 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor()
159 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
163 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD()
167 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
DScopedBytes.h31 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes()
64 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO()
72 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
DtoStringArray.h29 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray()
63 inline jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) { in toStringArray()
DScopedLocalFrame.h24 ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame()
DScopedLocalRef.h29 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.cpp41 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()
68 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass()
73 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods()
115 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary()
166 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace()
224 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
255 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt()
261 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
265 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
269 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException()
[all …]
DtoStringArray.cpp20 jobjectArray newStringArray(JNIEnv* env, size_t count) { in newStringArray()
44 jobjectArray toStringArray(JNIEnv* env, const char* const* strings) { in toStringArray()
DJniConstants.cpp87 static jclass findClass(JNIEnv* env, const char* name) { in findClass()
97 void JniConstants::init(JNIEnv* env) { in init()