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()
DScopedLocalFrame.h24 explicit ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame()
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()
DScopedLocalRef.h29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
DScopedStringChars.h33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
/libnativehelper/
DJNIHelp.cpp43 explicit scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()
70 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass()
75 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods()
117 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary()
168 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace()
226 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
257 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt()
263 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
267 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
271 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.cpp72 static jclass findClass(JNIEnv* env, const char* name) { in findClass()
82 void JniConstants::init(JNIEnv* env) { in init()