Home
last modified time | relevance | path

Searched refs:JNIEnv (Results 1 – 25 of 69) sorted by relevance

123

/dalvik/libnativehelper/include/nativehelper/
DAndroidSystemNatives.h33 int jniRegisterSystemJavaMethods(JNIEnv* env);
39 int register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv* env);
41 int register_dalvik_system_TouchDex(JNIEnv* env);
43 int register_org_apache_harmony_xml_ExpatParser(JNIEnv *env);
45 int register_java_io_File(JNIEnv* env);
46 int register_java_io_FileDescriptor(JNIEnv* env);
47 int register_java_io_ObjectOutputStream(JNIEnv* env);
48 int register_java_io_ObjectInputStream(JNIEnv* env);
49 int register_java_io_ObjectStreamClass(JNIEnv* env);
51 int register_java_lang_Character(JNIEnv* env);
[all …]
Djni.h138 typedef _JNIEnv JNIEnv; typedef
141 typedef const struct JNINativeInterface* JNIEnv; typedef
154 jint (*GetVersion)(JNIEnv *);
156 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*,
158 jclass (*FindClass)(JNIEnv*, const char*);
160 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject);
161 jfieldID (*FromReflectedField)(JNIEnv*, jobject);
163 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean);
165 jclass (*GetSuperclass)(JNIEnv*, jclass);
166 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass);
[all …]
DJNIHelp.h83 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods()
89 inline int jniThrowException(JNIEnv* env, const char* className, in jniThrowException()
94 inline int jniThrowIOException(JNIEnv* env, int errnum) in jniThrowIOException()
98 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) in jniCreateFileDescriptor()
102 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) in jniGetFDFromFileDescriptor()
106 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, in jniSetFileDescriptorOfFD()
/dalvik/libcore/sql/src/main/native/
Dsqlite_jni.h16 (JNIEnv *, jobject, jstring, jint);
24 (JNIEnv *, jobject, jstring);
32 (JNIEnv *, jobject);
40 (JNIEnv *, jobject);
48 (JNIEnv *, jobject, jstring, jobject);
56 (JNIEnv *, jobject, jstring, jobject, jobjectArray);
64 (JNIEnv *, jobject);
72 (JNIEnv *, jobject);
80 (JNIEnv *, jobject);
88 (JNIEnv *, jobject, jobject);
[all …]
Dsqlite_jni_registration.c22 (JNIEnv *, jobject, jstring, jint);
24 (JNIEnv *, jobject, jstring);
26 (JNIEnv *, jobject);
28 (JNIEnv *, jobject);
30 (JNIEnv *, jobject, jstring, jobject);
32 (JNIEnv *, jobject, jstring, jobject, jobjectArray);
34 (JNIEnv *, jobject);
36 (JNIEnv *, jobject);
38 (JNIEnv *, jobject);
40 (JNIEnv *, jobject, jobject);
[all …]
/dalvik/libcore/icu/src/main/native/
DConverterInterface.h22 (JNIEnv *, jclass, jlong, jbyteArray, jint, jcharArray, jint, jintArray, jboolean);
30 (JNIEnv *, jclass, jlong, jbyteArray, jint, jcharArray, jint, jintArray, jboolean);
38 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyteArray, jint, jintArray, jboolean);
46 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyteArray, jint, jintArray, jboolean);
54 (JNIEnv *, jclass, jlong, jbyteArray, jint, jintArray);
62 (JNIEnv *, jclass, jlong, jcharArray, jint, jintArray);
70 (JNIEnv *, jclass, jlongArray, jstring);
78 (JNIEnv *, jclass, jlong);
86 (JNIEnv *, jclass, jlong);
94 (JNIEnv *, jclass, jlong);
[all …]
DCollationInterface.h24 (JNIEnv *, jclass, jlong);
32 (JNIEnv *, jclass, jlong);
40 (JNIEnv *, jclass, jlong, jstring, jstring);
48 (JNIEnv *, jclass, jlong, jint);
56 (JNIEnv *, jclass, jlong, jstring);
64 (JNIEnv *, jclass, jlong, jint);
72 (JNIEnv *, jclass, jlong);
80 (JNIEnv *, jclass, jlong);
88 (JNIEnv *, jclass, jlong);
96 (JNIEnv *, jclass, jlong, jstring);
[all …]
DCharacterInterface.c24 static jint digitImpl(JNIEnv *env, jclass clazz, jint codePoint, jint radix) { in digitImpl()
28 static jint getTypeImpl(JNIEnv *env, jclass clazz, jint codePoint) { in getTypeImpl()
32 static jbyte getDirectionalityImpl(JNIEnv *env, jclass clazz, jint codePoint) { in getDirectionalityImpl()
36 static jboolean isMirroredImpl(JNIEnv *env, jclass clazz, jint codePoint) { in isMirroredImpl()
40 static jint getNumericValueImpl(JNIEnv *env, jclass clazz, jint codePoint){ in getNumericValueImpl()
72 static jboolean isDefinedValueImpl(JNIEnv *env, jclass clazz, jint codePoint) { in isDefinedValueImpl()
76 static jboolean isDigitImpl(JNIEnv *env, jclass clazz, jint codePoint) { in isDigitImpl()
80 static jboolean isIdentifierIgnorableImpl(JNIEnv *env, jclass clazz, in isIdentifierIgnorableImpl()
91 static jboolean isLetterImpl(JNIEnv *env, jclass clazz, jint codePoint) { in isLetterImpl()
95 static jboolean isLetterOrDigitImpl(JNIEnv *env, jclass clazz, jint codePoint) { in isLetterOrDigitImpl()
[all …]
DBidiWrapperInterface.h57 (JNIEnv *, jclass);
64 (JNIEnv *, jclass, jlong);
71 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyte, jbyteArray);
78 (JNIEnv *, jclass, jlong, jint, jint);
85 (JNIEnv *, jclass, jlong);
92 (JNIEnv *, jclass, jlong);
99 (JNIEnv *, jclass, jlong);
106 (JNIEnv *, jclass, jlong);
113 (JNIEnv *, jclass, jlong);
120 (JNIEnv *, jclass, jlong);
[all …]
DBreakIteratorInterface.c25 static jstring getAvailableLocalesImpl(JNIEnv *env, jclass clazz, jint index) { in getAvailableLocalesImpl()
33 static jint getAvailableLocalesCountImpl(JNIEnv *env, jclass clazz) { in getAvailableLocalesCountImpl()
37 static jint getCharacterInstanceImpl(JNIEnv *env, jclass clazz, jstring locale) { in getCharacterInstanceImpl()
54 static jint getLineInstanceImpl(JNIEnv *env, jclass clazz, jstring locale) { in getLineInstanceImpl()
73 static jint getSentenceInstanceImpl(JNIEnv *env, jclass clazz, jstring locale) { in getSentenceInstanceImpl()
92 static jint getWordInstanceImpl(JNIEnv *env, jclass clazz, jstring locale) { in getWordInstanceImpl()
111 static void closeBreakIteratorImpl(JNIEnv *env, jclass clazz, jint address) { in closeBreakIteratorImpl()
118 static jint cloneImpl(JNIEnv *env, jclass clazz, jint address) { in cloneImpl()
135 static void setTextImpl(JNIEnv *env, jclass clazz, jint address, jstring text) { in setTextImpl()
151 static jboolean isBoundaryImpl(JNIEnv *env, jclass clazz, jint address, jint offset) { in isBoundaryImpl()
[all …]
DCollationInterface.c27 static void closeCollator(JNIEnv *env, jclass obj, in closeCollator()
41 static void closeElements(JNIEnv *env, jclass obj, in closeElements()
59 static jint compare(JNIEnv *env, jclass obj, jint address, in compare()
96 static jint getAttribute(JNIEnv *env, jclass obj, jint address, in getAttribute()
123 static jint getCollationElementIterator(JNIEnv *env, in getCollationElementIterator()
157 static jint getMaxExpansion(JNIEnv *env, jclass obj, in getMaxExpansion()
172 static jint getNormalization(JNIEnv *env, jclass obj, in getNormalization()
192 static void setNormalization(JNIEnv *env, jclass obj, jint address, in setNormalization()
213 static jint getOffset(JNIEnv *env, jclass obj, jint address) { in getOffset()
227 static jstring getRules(JNIEnv *env, jclass obj, in getRules()
[all …]
DRegExInterface.cpp42 static void throwPatternSyntaxException(JNIEnv* env, UErrorCode status, in throwPatternSyntaxException()
55 static void throwRuntimeException(JNIEnv* env, UErrorCode status) in throwRuntimeException()
60 static void _close(JNIEnv* env, jclass clazz, RegExData* data) in _close()
73 static RegExData* open(JNIEnv* env, jclass clazz, jstring pattern, jint flags) in open()
103 static RegExData* _clone(JNIEnv* env, jclass clazz, RegExData* data) in _clone()
118 static void setText(JNIEnv* env, jclass clazz, RegExData* data, jstring text) in setText()
150 static jboolean matches(JNIEnv* env, jclass clazz, RegExData* data, in matches()
163 static jboolean lookingAt(JNIEnv* env, jclass clazz, RegExData* data, in lookingAt()
176 static jboolean find(JNIEnv* env, jclass clazz, RegExData* data, in find()
189 static jboolean findNext(JNIEnv* env, jclass clazz, RegExData* data) in findNext()
[all …]
/dalvik/libcore/luni/src/main/native/
Djava_lang_Math.c13 static jdouble jsin(JNIEnv* env, jclass clazz, jdouble a) in jsin()
19 static jdouble jcos(JNIEnv* env, jclass clazz, jdouble a) in jcos()
25 static jdouble jtan(JNIEnv* env, jclass clazz, jdouble a) in jtan()
31 static jdouble jasin(JNIEnv* env, jclass clazz, jdouble a) in jasin()
37 static jdouble jacos(JNIEnv* env, jclass clazz, jdouble a) in jacos()
43 static jdouble jatan(JNIEnv* env, jclass clazz, jdouble a) in jatan()
49 static jdouble jexp(JNIEnv* env, jclass clazz, jdouble a) in jexp()
55 static jdouble jlog(JNIEnv* env, jclass clazz, jdouble a) in jlog()
61 static jdouble jsqrt(JNIEnv* env, jclass clazz, jdouble a) in jsqrt()
67 static jdouble jieee_remainder(JNIEnv* env, jclass clazz, jdouble a, jdouble b) in jieee_remainder()
[all …]
Djava_lang_StrictMath.c24 static jdouble jsin(JNIEnv* env, jclass clazz, jdouble a) in jsin()
30 static jdouble jcos(JNIEnv* env, jclass clazz, jdouble a) in jcos()
36 static jdouble jtan(JNIEnv* env, jclass clazz, jdouble a) in jtan()
42 static jdouble jasin(JNIEnv* env, jclass clazz, jdouble a) in jasin()
48 static jdouble jacos(JNIEnv* env, jclass clazz, jdouble a) in jacos()
54 static jdouble jatan(JNIEnv* env, jclass clazz, jdouble a) in jatan()
60 static jdouble jexp(JNIEnv* env, jclass clazz, jdouble a) in jexp()
66 static jdouble jlog(JNIEnv* env, jclass clazz, jdouble a) in jlog()
72 static jdouble jsqrt2(JNIEnv* env, jclass clazz, jdouble a) in jsqrt2()
78 static jdouble jieee_remainder(JNIEnv* env, jclass clazz, jdouble a, jdouble b) in jieee_remainder()
[all …]
Djava_lang_Character.cpp22 static jint getData(JNIEnv* env, jclass clazz, jint val) in getData()
30 static jint toLower(JNIEnv* env, jclass clazz, jint val) in toLower()
38 static jint toUpper(JNIEnv* env, jclass clazz, jint val) in toUpper()
46 static jint numericValue(JNIEnv* env, jclass clazz, jint val) in numericValue()
54 static jint toTitle(JNIEnv* env, jclass clazz, jint val) in toTitle()
70 int register_java_lang_Character(JNIEnv* env) in register_java_lang_Character()
Dorg_apache_harmony_luni_platform_OSMemory.cpp37 static jboolean harmony_nio_littleEndian(JNIEnv *_env, jclass _this) { in harmony_nio_littleEndian()
48 static jint harmony_nio_getPointerSizeImpl(JNIEnv *_env, jclass _this) { in harmony_nio_getPointerSizeImpl()
57 static jint harmony_nio_mallocImpl(JNIEnv *_env, jobject _this, jint size) { in harmony_nio_mallocImpl()
70 static void harmony_nio_freeImpl(JNIEnv *_env, jobject _this, jint pointer) { in harmony_nio_freeImpl()
79 static void harmony_nio_memset(JNIEnv *_env, jobject _this, jint address, in harmony_nio_memset()
89 static void harmony_nio_memmove(JNIEnv *_env, jobject _this, jint destAddress, in harmony_nio_memmove()
100 static jbyte harmony_nio_getByteImpl(JNIEnv *_env, jobject _this, in harmony_nio_getByteImpl()
111 static void harmony_nio_getBytesImpl(JNIEnv *_env, jobject _this, jint pointer, in harmony_nio_getBytesImpl()
123 static void harmony_nio_putByteImpl(JNIEnv *_env, jobject _this, jint pointer, in harmony_nio_putByteImpl()
133 static void harmony_nio_putBytesImpl(JNIEnv *_env, jobject _this, in harmony_nio_putBytesImpl()
[all …]
Djava_io_FileDescriptor.c45 static inline int getFd(JNIEnv* env, jobject obj) in getFd()
55 static inline void setFd(JNIEnv* env, jobject obj, jint value) in setFd()
66 static void nativeClassInit(JNIEnv* env, jclass clazz) in nativeClassInit()
90 static void fd_sync(JNIEnv* env, jobject obj) { in fd_sync()
109 static jboolean fd_valid(JNIEnv* env, jobject obj) { in fd_valid()
123 static int checkClassInit (JNIEnv *env) { in checkClassInit()
160 jobject jniCreateFileDescriptor (JNIEnv *env, int fd) { in jniCreateFileDescriptor()
181 int jniGetFDFromFileDescriptor (JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
194 void jniSetFileDescriptorOfFD (JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD()
211 int register_java_io_FileDescriptor(JNIEnv* env) { in register_java_io_FileDescriptor()
Djava_lang_Double.c24 static jlong doubleToLongBits(JNIEnv* env, jclass clazz, jdouble val) in doubleToLongBits()
42 static jlong doubleToRawLongBits(JNIEnv* env, jclass clazz, jdouble val) in doubleToRawLongBits()
54 static jdouble longBitsToDouble(JNIEnv* env, jclass clazz, jlong val) in longBitsToDouble()
72 int register_java_lang_Double(JNIEnv* env) in register_java_lang_Double()
Djava_io_ObjectStreamClass.c21 static jobject java_io_osc_getFieldSignature(JNIEnv * env, jclass clazz, in java_io_osc_getFieldSignature()
44 static jobject java_io_osc_getMethodSignature(JNIEnv * env, jclass clazz, in java_io_osc_getMethodSignature()
66 static jobject java_io_osc_getConstructorSignature(JNIEnv * env, in java_io_osc_getConstructorSignature()
90 static jboolean java_io_osc_hasClinit(JNIEnv * env, jclass clazz, in java_io_osc_hasClinit()
108 static void java_io_osc_oneTimeInitialization(JNIEnv * env, jclass clazz) { in java_io_osc_oneTimeInitialization()
131 int register_java_io_ObjectStreamClass(JNIEnv* env) { in register_java_io_ObjectStreamClass()
/dalvik/libcore/archive/src/main/native/
Dsieb.h10 void throwNewOutOfMemoryError (JNIEnv * env, const char *message);
11 void throwNewIllegalArgumentException (JNIEnv * env, const char *message);
12 void throwNewIllegalStateException (JNIEnv * env, const char *message);
15 void * sieb_malloc (JNIEnv * env, size_t byteCnt);
16 void sieb_free (JNIEnv * env, void * adr);
Dsieb.c8 void throwNewOutOfMemoryError (JNIEnv * env, const char *message) in throwNewOutOfMemoryError()
14 void throwNewIllegalStateException (JNIEnv * env, const char *message) in throwNewIllegalStateException()
20 void throwNewIllegalArgumentException (JNIEnv * env, const char *message) in throwNewIllegalArgumentException()
27 void * sieb_malloc (JNIEnv * env, size_t byteCnt) { in sieb_malloc()
38 void sieb_free (JNIEnv * env, void * adr) { in sieb_free()
/dalvik/libcore/openssl/src/main/native/
DBNInterface.c36 throwOutOfMemoryException(JNIEnv* env, const char* message) in throwOutOfMemoryException()
42 throwNewNullPointerException (JNIEnv* env, const char* message) in throwNewNullPointerException()
47 static int isValidHandle (JNIEnv* env, void* handle, const char *message) in isValidHandle()
56 static int oneValidHandle (JNIEnv* env, void* a) in oneValidHandle()
61 static int twoValidHandles (JNIEnv* env, void* a, void *b) in twoValidHandles()
67 static int threeValidHandles (JNIEnv* env, void* a, void *b, void* c) in threeValidHandles()
73 static int fourValidHandles (JNIEnv* env, void* a, void *b, void* c, void* d) in fourValidHandles()
83 static unsigned long NativeBN_ERR_get_error(JNIEnv* env, jclass cls) { in NativeBN_ERR_get_error()
91 static jstring NativeBN_ERR_error_string(JNIEnv* env, jclass cls, unsigned long e) { in NativeBN_ERR_error_string()
103 static BN_CTX* NativeBN_BN_CTX_new(JNIEnv* env, jclass cls) { in NativeBN_BN_CTX_new()
[all …]
/dalvik/libcore/x-net/src/main/native/
Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp46 static void throwNullPointerException(JNIEnv* env) { in throwNullPointerException()
53 static void throwRuntimeException(JNIEnv* env, const char* message) { in throwRuntimeException()
63 static int throwExceptionIfNecessary(JNIEnv* env) { in throwExceptionIfNecessary()
83 static BIGNUM* arrayToBignum(JNIEnv* env, jbyteArray source) { in arrayToBignum()
93 static void rsaDestroyKey(JNIEnv* env, jclass clazz, RSA* rsa);
98 static RSA* rsaCreatePublicKey(JNIEnv* env, jclass clazz, jbyteArray n, jbyteArray e) { in rsaCreatePublicKey()
118 static RSA* rsaCreatePrivateKey(JNIEnv* env, jclass clazz, jbyteArray n, jbyteArray e, jbyteArray d… in rsaCreatePrivateKey()
144 static void rsaDestroyKey(JNIEnv* env, jclass clazz, RSA* rsa) { in rsaDestroyKey()
155 static EVP_PKEY* NativeCrypto_EVP_PKEY_new_DSA(JNIEnv* env, jclass clazz, jbyteArray p, jbyteArray … in NativeCrypto_EVP_PKEY_new_DSA()
184 static EVP_PKEY* NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass clazz, jbyteArray n, jbyteArray … in NativeCrypto_EVP_PKEY_new_RSA()
[all …]
Dorg_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl.cpp43 static SSL_SESSION *getSslSessionPointer(JNIEnv* env, jobject object) { in getSslSessionPointer()
52 static void throwIOExceptionStr(JNIEnv* env, const char* message) in throwIOExceptionStr()
67 …jectArray org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeercertificates(JNIEnv* env, in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeercertificates()
97 static jbyteArray org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_serialize(JNIEnv* env, j… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_serialize()
131 static jint org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_deserialize(JNIEnv* env, jobje… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_deserialize()
151 static jbyteArray org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getid(JNIEnv* env, jobje… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getid()
173 static jlong org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getcreationtime(JNIEnv* env, … in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getcreationtime()
186 static jstring org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeerhost(JNIEnv* env, jo… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeerhost()
218 static jstring org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeerport(JNIEnv* env, jo… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getpeerport()
250 static jstring org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getprotocol(JNIEnv* env, jo… in org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl_getprotocol()
[all …]
/dalvik/libcore/dalvik/src/main/native/
Dorg_apache_harmony_dalvik_NativeTestTarget.c24 static void emptyJniStaticMethod0(JNIEnv* env, jclass clazz) in emptyJniStaticMethod0()
35 static void emptyJniStaticMethod6(JNIEnv* env, jclass clazz, in emptyJniStaticMethod6()
47 static void emptyJniStaticMethod6L(JNIEnv* env, jclass clazz, in emptyJniStaticMethod6L()
66 int register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv* env) in register_org_apache_harmony_dalvik_NativeTestTarget()

123