/libcore/ojluni/src/main/native/ |
D | Register.cpp | 36 extern void register_java_io_Console(JNIEnv* env); 37 extern void register_java_io_FileDescriptor(JNIEnv*); 38 extern void register_java_io_FileInputStream(JNIEnv*); 39 extern void register_java_io_FileOutputStream(JNIEnv*); 40 extern void register_java_io_FileSystem(JNIEnv*); 41 extern void register_java_io_ObjectInputStream(JNIEnv*); 42 extern void register_java_io_ObjectOutputStream(JNIEnv*); 43 extern void register_java_io_ObjectStreamClass(JNIEnv*); 44 extern void register_java_io_UnixFileSystem(JNIEnv*); 45 extern void register_java_lang_Double(JNIEnv*); [all …]
|
D | jni_util.h | 49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg); 53 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg); 56 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg); 59 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg); 62 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg); 65 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg); 68 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg); 71 JNU_ThrowInternalError(JNIEnv *env, const char *msg); 74 JNU_ThrowIOException(JNIEnv *env, const char *msg); 77 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg); [all …]
|
D | java_net_PlainDatagramSocketImpl.h | 43 (JNIEnv *, jobject, jint, jobject); 51 (JNIEnv *, jobject, jobject); 59 (JNIEnv *, jobject, jobject); 67 (JNIEnv *, jobject, jobject); 75 (JNIEnv *, jobject, jobject); 83 (JNIEnv *, jobject, jint); 91 (JNIEnv *, jobject); 99 (JNIEnv *, jobject, jbyte); 107 (JNIEnv *, jobject); 115 (JNIEnv *, jobject, jobject, jobject); [all …]
|
D | sun_nio_ch_Net.h | 49 (JNIEnv *, jclass); 57 (JNIEnv *, jclass); 65 (JNIEnv *, jclass); 73 (JNIEnv *, jclass); 81 (JNIEnv *, jclass, jboolean, jboolean, jboolean); 89 (JNIEnv *, jclass, jobject, jboolean, jboolean, jobject, jint); 97 (JNIEnv *, jclass, jobject, jint); 105 (JNIEnv *, jclass, jboolean, jobject, jobject, jint); 113 (JNIEnv *, jclass, jobject, jint); 121 (JNIEnv *, jclass, jobject); [all …]
|
D | jvm.h | 79 JVM_IHashCode(JNIEnv *env, jobject obj); 82 JVM_MonitorWait(JNIEnv *env, jobject obj, jlong ms); 85 JVM_MonitorNotify(JNIEnv *env, jobject obj); 88 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj); 91 JVM_Clone(JNIEnv *env, jobject obj); 97 JVM_InternString(JNIEnv *env, jstring str); 103 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored); 106 JVM_NanoTime(JNIEnv *env, jclass ignored); 109 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos, 113 JVM_InitProperties(JNIEnv *env, jobject p); [all …]
|
D | java_util_zip_ZipFile.h | 58 (JNIEnv *, jclass, jlong, jbyteArray, jboolean); 66 (JNIEnv *, jclass, jlong, jlong); 74 (JNIEnv *, jclass, jlong, jint); 82 (JNIEnv *, jclass, jlong); 90 (JNIEnv *, jclass, jstring, jint, jlong, jboolean); 98 (JNIEnv *, jclass, jlong); 106 (JNIEnv *, jclass, jlong); 114 (JNIEnv *, jclass, jlong, jlong, jlong, jbyteArray, jint, jint); 122 (JNIEnv *, jclass, jlong); 130 (JNIEnv *, jclass, jlong); [all …]
|
D | sun_nio_ch_FileDispatcherImpl.h | 51 (JNIEnv *, jclass, jobject, jlong, jint); 59 (JNIEnv *, jclass, jobject, jlong, jint, jlong); 67 (JNIEnv *, jclass, jobject, jlong, jint); 75 (JNIEnv *, jclass, jobject, jlong, jint); 83 (JNIEnv *, jclass, jobject, jlong, jint, jlong); 91 (JNIEnv *, jclass, jobject, jlong, jint); 99 (JNIEnv *, jclass, jobject, jboolean); 107 (JNIEnv *, jclass, jobject, jlong); 115 (JNIEnv *, jclass, jobject); 123 (JNIEnv *, jclass, jobject, jboolean, jlong, jlong, jboolean); [all …]
|
D | java_io_UnixFileSystem.h | 63 (JNIEnv *, jobject, jstring); 71 (JNIEnv *, jobject, jobject); 79 (JNIEnv *, jobject, jobject, jint); 87 (JNIEnv *, jobject, jobject); 95 (JNIEnv *, jobject, jobject); 103 (JNIEnv *, jobject, jobject, jint, jboolean, jboolean); 111 (JNIEnv *, jobject, jstring); 119 (JNIEnv *, jobject, jobject); 127 (JNIEnv *, jobject, jobject); 135 (JNIEnv *, jobject, jobject); [all …]
|
D | java_net_PlainSocketImpl.h | 47 (JNIEnv *, jobject, jboolean); 55 (JNIEnv *, jobject, jobject, jint, jint); 63 (JNIEnv *, jobject, jobject, jint); 71 (JNIEnv *, jobject, jint); 79 (JNIEnv *, jobject, jobject); 87 (JNIEnv *, jobject); 95 (JNIEnv *, jobject); 103 (JNIEnv *, jobject, jint); 112 (JNIEnv *, jobject, jint, jboolean, jobject); 120 (JNIEnv *, jobject, jint, jobject); [all …]
|
D | java_net_NetworkInterface.h | 43 (JNIEnv *, jclass); 51 (JNIEnv *, jclass, jstring); 59 (JNIEnv *, jclass, jint); 67 (JNIEnv *, jclass, jobject); 75 (JNIEnv *, jclass, jstring, jint); 83 (JNIEnv *, jclass, jstring, jint); 91 (JNIEnv *, jclass, jstring, jint); 99 (JNIEnv *, jclass, jstring, jint); 107 (JNIEnv *, jclass, jbyteArray, jstring, jint); 115 (JNIEnv *, jclass, jstring, jint); [all …]
|
D | Math.c | 31 Math_cos(JNIEnv *env, jclass unused, jdouble d) { in Math_cos() 36 Math_sin(JNIEnv *env, jclass unused, jdouble d) { in Math_sin() 41 Math_tan(JNIEnv *env, jclass unused, jdouble d) { in Math_tan() 46 Math_asin(JNIEnv *env, jclass unused, jdouble d) { in Math_asin() 51 Math_acos(JNIEnv *env, jclass unused, jdouble d) { in Math_acos() 56 Math_atan(JNIEnv *env, jclass unused, jdouble d) { in Math_atan() 61 Math_exp(JNIEnv *env, jclass unused, jdouble d) { in Math_exp() 66 Math_log(JNIEnv *env, jclass unused, jdouble d) { in Math_log() 71 Math_log10(JNIEnv *env, jclass unused, jdouble d) { in Math_log10() 76 Math_sqrt(JNIEnv *env, jclass unused, jdouble d) { in Math_sqrt() [all …]
|
D | Character.cpp | 33 Character_isLowerCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLowerCaseImpl() 38 Character_isUpperCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUpperCaseImpl() 43 Character_isTitleCaseImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isTitleCaseImpl() 48 Character_isDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isDigitImpl() 53 Character_isLetterImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterImpl() 58 Character_isLetterOrDigitImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isLetterOrDigitImpl() 63 Character_isAlphabeticImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isAlphabeticImpl() 68 Character_isIdeographicImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isIdeographicImpl() 73 Character_getTypeImpl(JNIEnv* env, jclass, jint codePoint) { in Character_getTypeImpl() 78 Character_isUnicodeIdentifierStartImpl(JNIEnv* env, jclass, jint codePoint) { in Character_isUnicodeIdentifierStartImpl() [all …]
|
D | StrictMath.c | 36 StrictMath_cos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_cos() 42 StrictMath_sin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sin() 48 StrictMath_tan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_tan() 54 StrictMath_asin(JNIEnv *env, jclass unused, jdouble d) in StrictMath_asin() 60 StrictMath_acos(JNIEnv *env, jclass unused, jdouble d) in StrictMath_acos() 66 StrictMath_atan(JNIEnv *env, jclass unused, jdouble d) in StrictMath_atan() 72 StrictMath_exp(JNIEnv *env, jclass unused, jdouble d) in StrictMath_exp() 78 StrictMath_log(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log() 84 StrictMath_log10(JNIEnv *env, jclass unused, jdouble d) in StrictMath_log10() 90 StrictMath_sqrt(JNIEnv *env, jclass unused, jdouble d) in StrictMath_sqrt() [all …]
|
D | sun_nio_ch_InheritedChannel.h | 55 (JNIEnv *, jclass, jint); 63 (JNIEnv *, jclass, jint, jint); 71 (JNIEnv *, jclass, jstring, jint); 79 (JNIEnv *, jclass, jint); 87 (JNIEnv *, jclass, jint); 95 (JNIEnv *, jclass, jint); 103 (JNIEnv *, jclass, jint);
|
D | net_util.h | 61 extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address); 62 extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family); 63 extern void setInetAddress_hostName(JNIEnv *env, jobject iaObj, jobject h); 64 extern int getInetAddress_addr(JNIEnv *env, jobject iaObj); 65 extern int getInetAddress_family(JNIEnv *env, jobject iaObj); 66 extern jobject getInetAddress_hostName(JNIEnv *env, jobject iaObj); 107 JNIEXPORT void JNICALL NET_ThrowNew(JNIEnv *env, int errorNum, char *msg); 110 void NET_ThrowCurrent(JNIEnv *env, char *msg); 112 jfieldID NET_GetFileDescriptorID(JNIEnv *env); 120 NET_InetAddressToSockaddr(JNIEnv *env, jobject iaObj, int port, struct sockaddr *him, int *len, jbo… [all …]
|
D | Runtime.c | 48 Runtime_freeMemory(JNIEnv *env, jobject this) in Runtime_freeMemory() 54 Runtime_totalMemory(JNIEnv *env, jobject this) in Runtime_totalMemory() 60 Runtime_maxMemory(JNIEnv *env, jobject this) in Runtime_maxMemory() 66 Runtime_gc(JNIEnv *env, jobject this) in Runtime_gc() 72 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) in Runtime_nativeExit() 78 Runtime_nativeLoad(JNIEnv* env, jclass ignored, jstring javaFilename, in Runtime_nativeLoad() 95 void register_java_lang_Runtime(JNIEnv* env) { in register_java_lang_Runtime()
|
D | IOUtil.c | 44 static void IOUtil_initIDs(JNIEnv *env) in IOUtil_initIDs() 51 IOUtil_randomBytes(JNIEnv *env, jclass clazz, in IOUtil_randomBytes() 59 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) in IOUtil_fdVal() 65 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) in IOUtil_setfdVal() 80 IOUtil_configureBlocking(JNIEnv *env, jclass clazz, in IOUtil_configureBlocking() 88 IOUtil_makePipe(JNIEnv *env, jobject this, jboolean blocking) in IOUtil_makePipe() 109 IOUtil_drain(JNIEnv *env, jclass cl, jint fd) in IOUtil_drain() 126 IOUtil_fdLimit(JNIEnv *env, jclass this) in IOUtil_fdLimit() 144 convertReturnVal(JNIEnv *env, jint n, jboolean reading) in convertReturnVal() 167 IOUtil_iovMax(JNIEnv *env, jclass this) in IOUtil_iovMax() [all …]
|
D | nio_util.h | 45 jint fdval(JNIEnv *env, jobject fdo); 47 jint convertReturnVal(JNIEnv *env, jint n, jboolean reading); 48 jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading); 53 jint handleSocketError(JNIEnv *env, jint errorValue); 55 jint handleSocketErrorWithDefault(JNIEnv *env, jint errorValue,
|
D | sun_nio_ch_FileChannelImpl.h | 53 (JNIEnv *, jobject, jint, jlong, jlong); 61 (JNIEnv *, jclass, jlong, jlong); 69 (JNIEnv *, jobject, jint, jlong, jlong, jint); 77 (JNIEnv *, jobject, jobject, jlong); 85 (JNIEnv *, jclass);
|
/libcore/dalvik/src/main/native/ |
D | org_apache_harmony_dalvik_NativeTestTarget.cpp | 22 static void NativeTestTarget_emptyJniMethod0(JNIEnv*, jobject) { } in NativeTestTarget_emptyJniMethod0() argument 23 static void NativeTestTarget_emptyJniMethod6(JNIEnv*, jclass, int, int, int, int, int, int) { } in NativeTestTarget_emptyJniMethod6() argument 24 static void NativeTestTarget_emptyJniMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobject, ja… in NativeTestTarget_emptyJniMethod6L() argument 25 static void NativeTestTarget_emptyJniStaticMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticMethod0() argument 26 static void NativeTestTarget_emptyJniStaticMethod6(JNIEnv*, jclass, int, int, int, int, int, int) {… in NativeTestTarget_emptyJniStaticMethod6() argument 27 static void NativeTestTarget_emptyJniStaticMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobje… in NativeTestTarget_emptyJniStaticMethod6L() argument 28 static void NativeTestTarget_emptyJniStaticSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniStaticSynchronizedMethod0() argument 29 static void NativeTestTarget_emptyJniSynchronizedMethod0(JNIEnv*, jclass) { } in NativeTestTarget_emptyJniSynchronizedMethod0() argument 41 int register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv* env) { in register_org_apache_harmony_dalvik_NativeTestTarget()
|
/libcore/luni/src/main/native/ |
D | valueOf.h | 22 jobject booleanValueOf(JNIEnv* env, jboolean b); 23 jobject doubleValueOf(JNIEnv* env, jdouble d); 24 jobject integerValueOf(JNIEnv* env, jint i); 25 jobject longValueOf(JNIEnv* env, jlong l); 29 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean); 30 jint intValue(JNIEnv* env, jobject javaLangInteger);
|
D | java_util_regex_Matcher.cpp | 44 MatcherAccessor(JNIEnv* env, jlong address, jstring javaInput, bool reset) { in MatcherAccessor() 65 MatcherAccessor(JNIEnv* env, jlong address) { in MatcherAccessor() 98 void init(JNIEnv* env, jlong address) { in init() 107 JNIEnv* mEnv; 123 static jlong Matcher_getNativeFinalizer(JNIEnv*, jclass) { in Matcher_getNativeFinalizer() argument 129 static jint Matcher_nativeSize(JNIEnv*, jclass) { in Matcher_nativeSize() argument 133 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, ji… in Matcher_findImpl() 142 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offse… in Matcher_findNextImpl() 154 static jint Matcher_groupCountImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_groupCountImpl() 159 static jint Matcher_hitEndImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_hitEndImpl() [all …]
|
D | valueOf.cpp | 24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf() 36 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf() 40 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf() 44 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf() 48 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf() 52 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean) { in booleanValue() 57 jint intValue(JNIEnv* env, jobject javaLangInteger) { in intValue()
|
D | libcore_io_Posix.cpp | 213 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, in throwException() 237 static void throwErrnoException(JNIEnv* env, const char* functionName) { in throwErrnoException() 246 static void throwGaiException(JNIEnv* env, const char* functionName, int error) { in throwGaiException() 265 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() 275 IoVec(JNIEnv* env, size_t bufferCount) : mEnv(env), mBufferCount(bufferCount) { in IoVec() 324 JNIEnv* mEnv; 336 static jbyteArray getUnixSocketPath(JNIEnv* env, const sockaddr_storage& ss, in getUnixSocketPath() 362 static jobject makeSocketAddress(JNIEnv* env, const sockaddr_storage& ss, const socklen_t sa_len) { in makeSocketAddress() 411 static jobject makeStructPasswd(JNIEnv* env, const struct passwd& pw) { in makeStructPasswd() 421 static jobject makeStructStat(JNIEnv* env, const struct stat& sb) { in makeStructStat() [all …]
|
D | java_math_NativeBN.cpp | 54 static bool throwExceptionIfNecessary(JNIEnv* env) { in throwExceptionIfNecessary() 74 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { in isValidHandle() 82 static int oneValidHandle(JNIEnv* env, jlong a) { in oneValidHandle() 86 static int twoValidHandles(JNIEnv* env, jlong a, jlong b) { in twoValidHandles() 91 static int threeValidHandles(JNIEnv* env, jlong a, jlong b, jlong c) { in threeValidHandles() 96 static int fourValidHandles(JNIEnv* env, jlong a, jlong b, jlong c, jlong d) { in fourValidHandles() 101 static jlong NativeBN_BN_new(JNIEnv* env, jclass) { in NativeBN_BN_new() 107 static jlong NativeBN_getNativeFinalizer(JNIEnv*, jclass) { in NativeBN_getNativeFinalizer() argument 111 static void NativeBN_BN_free(JNIEnv* env, jclass, jlong a) { in NativeBN_BN_free() 116 static int NativeBN_BN_cmp(JNIEnv* env, jclass, jlong a, jlong b) { in NativeBN_BN_cmp() [all …]
|