/libcore/ojluni/src/main/native/ |
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 | 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 | jni_util.c | 45 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg) in JNU_ThrowByName() 56 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg) in JNU_ThrowNullPointerException() 62 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg) in JNU_ThrowArrayIndexOutOfBoundsException() 68 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg) in JNU_ThrowOutOfMemoryError() 74 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg) in JNU_ThrowIllegalArgumentException() 80 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg) in JNU_ThrowIllegalAccessError() 86 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg) in JNU_ThrowIllegalAccessException() 92 JNU_ThrowInternalError(JNIEnv *env, const char *msg) in JNU_ThrowInternalError() 98 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg) in JNU_ThrowNoSuchFieldException() 104 JNU_ThrowNoSuchMethodException(JNIEnv *env, const char *msg) in JNU_ThrowNoSuchMethodException() [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 | 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 | 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 | io_util.h | 87 #define WITH_PLATFORM_STRING(env, strexp, var) \ argument 98 #define WITH_FIELD_PLATFORM_STRING(env, object, id, var) \ argument 105 #define END_PLATFORM_STRING(env, var) \ argument 115 #define WITH_UNICODE_STRING(env, strexp, var) \ argument 126 #define END_UNICODE_STRING(env, var) \ argument
|
D | java_util_zip_ZipFile.c | 58 static void ZipFile_initIDs(JNIEnv *env) in ZipFile_initIDs() 70 ThrowZipException(JNIEnv *env, const char *msg) in ThrowZipException() 87 ZipFile_open(JNIEnv *env, jclass cls, jstring name, in ZipFile_open() 138 ZipFile_getTotal(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_getTotal() 146 ZipFile_startsWithLOC(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_startsWithLOC() 154 ZipFile_close(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_close() 160 ZipFile_getEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getEntry() 192 ZipFile_freeEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_freeEntry() 201 ZipFile_getNextEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getNextEntry() 209 ZipFile_getEntryMethod(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryMethod() [all …]
|
D | java_util_zip_Inflater.c | 44 #define ThrowDataFormatException(env, msg) \ argument 51 static void Inflater_initIDs(JNIEnv *env) { in Inflater_initIDs() 61 Inflater_init(JNIEnv *env, jclass cls, jboolean nowrap) in Inflater_init() 87 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary() 110 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytes() 174 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler() 180 Inflater_reset(JNIEnv *env, jclass cls, jlong addr) in Inflater_reset() 188 Inflater_end(JNIEnv *env, jclass cls, jlong addr) in Inflater_end() 206 void register_java_util_zip_Inflater(JNIEnv* env) { in register_java_util_zip_Inflater()
|
D | Throwable.c | 50 Throwable_fillInStackTrace(JNIEnv *env, jobject throwable, int dummy) in Throwable_fillInStackTrace() 57 Throwable_getStackTraceDepth(JNIEnv *env, jobject throwable) in Throwable_getStackTraceDepth() 63 Throwable_getStackTraceElement(JNIEnv *env, in Throwable_getStackTraceElement() 74 void register_java_lang_Throwable(JNIEnv* env) { in register_java_lang_Throwable()
|
D | InheritedChannel.c | 56 Java_sun_nio_ch_InheritedChannel_peerAddress0(JNIEnv *env, jclass cla, jint fd) in Java_sun_nio_ch_InheritedChannel_peerAddress0() 76 Java_sun_nio_ch_InheritedChannel_peerPort0(JNIEnv *env, jclass cla, jint fd) in Java_sun_nio_ch_InheritedChannel_peerPort0() 94 Java_sun_nio_ch_InheritedChannel_soType0(JNIEnv *env, jclass cla, jint fd) in Java_sun_nio_ch_InheritedChannel_soType0() 108 Java_sun_nio_ch_InheritedChannel_dup(JNIEnv *env, jclass cla, jint fd) in Java_sun_nio_ch_InheritedChannel_dup() 118 Java_sun_nio_ch_InheritedChannel_dup2(JNIEnv *env, jclass cla, jint fd, jint fd2) in Java_sun_nio_ch_InheritedChannel_dup2() 126 Java_sun_nio_ch_InheritedChannel_open0(JNIEnv *env, jclass cla, jstring path, jint oflag) in Java_sun_nio_ch_InheritedChannel_open0() 161 Java_sun_nio_ch_InheritedChannel_close0(JNIEnv *env, jclass cla, jint fd) in Java_sun_nio_ch_InheritedChannel_close0() 179 void register_sun_nio_ch_InheritedChannel(JNIEnv* env) { in register_sun_nio_ch_InheritedChannel()
|
D | FileDispatcherImpl.c | 60 FileDispatcherImpl_read0(JNIEnv *env, jclass clazz, in FileDispatcherImpl_read0() 70 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pread0() 80 FileDispatcherImpl_readv0(JNIEnv *env, jclass clazz, in FileDispatcherImpl_readv0() 89 FileDispatcherImpl_write0(JNIEnv *env, jclass clazz, in FileDispatcherImpl_write0() 99 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pwrite0() 109 FileDispatcherImpl_writev0(JNIEnv *env, jclass clazz, in FileDispatcherImpl_writev0() 118 handle(JNIEnv *env, jlong rv, char *msg) in handle() 129 FileDispatcherImpl_force0(JNIEnv *env, jobject this, in FileDispatcherImpl_force0() 144 FileDispatcherImpl_truncate0(JNIEnv *env, jobject this, in FileDispatcherImpl_truncate0() 153 FileDispatcherImpl_size0(JNIEnv *env, jobject this, jobject fdo) in FileDispatcherImpl_size0() [all …]
|
D | UnixFileSystem_md.c | 65 Java_java_io_UnixFileSystem_initIDs(JNIEnv *env, jclass cls) in Java_java_io_UnixFileSystem_initIDs() 78 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_canonicalize0() 116 Java_java_io_UnixFileSystem_getBooleanAttributes0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getBooleanAttributes0() 137 Java_java_io_UnixFileSystem_checkAccess0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_checkAccess0() 167 Java_java_io_UnixFileSystem_setPermission0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_setPermission0() 214 Java_java_io_UnixFileSystem_getLastModifiedTime0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getLastModifiedTime0() 230 Java_java_io_UnixFileSystem_getLength0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_getLength0() 249 Java_java_io_UnixFileSystem_createFileExclusively0(JNIEnv *env, jclass cls, in Java_java_io_UnixFileSystem_createFileExclusively0() 275 Java_java_io_UnixFileSystem_delete0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_delete0() 290 Java_java_io_UnixFileSystem_list0(JNIEnv *env, jobject this, in Java_java_io_UnixFileSystem_list0() [all …]
|
D | jni_util_md.c | 29 jstring nativeNewStringPlatform(JNIEnv *env, const char *str) { in nativeNewStringPlatform() 33 const char* nativeGetStringPlatformChars(JNIEnv *env, jstring jstr, jboolean *isCopy) { in nativeGetStringPlatformChars() 37 void nativeReleaseStringPlatformChars(JNIEnv* env, jstring jstr, const char* chars) { in nativeReleaseStringPlatformChars()
|
D | Console_md.c | 40 Java_java_io_Console_istty(JNIEnv *env, jclass cls) in Java_java_io_Console_istty() 46 Java_java_io_Console_encoding(JNIEnv *env, jclass cls) in Java_java_io_Console_encoding() 52 Java_java_io_Console_echo(JNIEnv *env, in Java_java_io_Console_echo() 81 void register_java_io_Console(JNIEnv* env) { in register_java_io_Console()
|
D | FileChannelImpl.c | 57 FileChannelImpl_initIDs(JNIEnv *env, jclass clazz) in FileChannelImpl_initIDs() 65 handle(JNIEnv *env, jlong rv, char *msg) in handle() 77 FileChannelImpl_map0(JNIEnv *env, jobject this, in FileChannelImpl_map0() 118 FileChannelImpl_unmap0(JNIEnv *env, jobject this, in FileChannelImpl_unmap0() 129 FileChannelImpl_position0(JNIEnv *env, jobject this, in FileChannelImpl_position0() 145 FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) in FileChannelImpl_close0() 157 FileChannelImpl_transferTo0(JNIEnv *env, jobject this, in FileChannelImpl_transferTo0() 247 void register_sun_nio_ch_FileChannelImpl(JNIEnv* env) { in register_sun_nio_ch_FileChannelImpl()
|
D | FileDescriptor_md.c | 48 static void FileDescriptor_initIDs(JNIEnv *env) { in FileDescriptor_initIDs() 58 FileDescriptor_sync(JNIEnv *env, jobject this) { in FileDescriptor_sync() 65 JNIEXPORT jboolean JNICALL FileDescriptor_isSocket(JNIEnv *env, jclass ignored, jint fd) { in FileDescriptor_isSocket() 76 void register_java_io_FileDescriptor(JNIEnv* env) { in register_java_io_FileDescriptor()
|
D | Net.c | 94 #define COPY_INET6_ADDRESS(env, source, target) \ argument 102 static void initGroupSourceReq(JNIEnv* env, jbyteArray group, jint index, in initGroupSourceReq() 120 Java_sun_nio_ch_Net_isIPv6Available0(JNIEnv* env, jclass cl) in Java_sun_nio_ch_Net_isIPv6Available0() 126 Java_sun_nio_ch_Net_isExclusiveBindAvailable(JNIEnv *env, jclass clazz) { in Java_sun_nio_ch_Net_isExclusiveBindAvailable() 131 Java_sun_nio_ch_Net_canIPv6SocketJoinIPv4Group0(JNIEnv* env, jclass cl) in Java_sun_nio_ch_Net_canIPv6SocketJoinIPv4Group0() 142 Java_sun_nio_ch_Net_canJoin6WithIPv4Group0(JNIEnv* env, jclass cl) in Java_sun_nio_ch_Net_canJoin6WithIPv4Group0() 152 Java_sun_nio_ch_Net_socket0(JNIEnv *env, jclass cl, jboolean preferIPv6, in Java_sun_nio_ch_Net_socket0() 216 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0() 234 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen() 241 Java_sun_nio_ch_Net_connect0(JNIEnv *env, jclass clazz, jboolean preferIPv6, in Java_sun_nio_ch_Net_connect0() [all …]
|
D | FileInputStream.c | 60 static void FileInputStream_initIDs(JNIEnv *env) { in FileInputStream_initIDs() 66 FileInputStream_open(JNIEnv *env, jobject this, jstring path) { in FileInputStream_open() 71 FileInputStream_skip0(JNIEnv *env, jobject this, jlong toSkip) { in FileInputStream_skip0() 118 FileInputStream_available0(JNIEnv *env, jobject this) { in FileInputStream_available0() 141 void register_java_io_FileInputStream(JNIEnv* env) { in register_java_io_FileInputStream()
|
/libcore/luni/src/main/native/ |
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 | 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() 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() 121 static void NativeBN_BN_copy(JNIEnv* env, jclass, jlong to, jlong from) { in NativeBN_BN_copy() [all …]
|
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() 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() 434 static jobject makeStructStatVfs(JNIEnv* env, const struct statvfs& sb) { in makeStructStatVfs() [all …]
|
D | libcore_icu_ICU.cpp | 94 static jstring ICU_addLikelySubtags(JNIEnv* env, jclass, jstring javaLocaleName) { in ICU_addLikelySubtags() 105 static jstring ICU_getScript(JNIEnv* env, jclass, jstring javaLocaleName) { in ICU_getScript() 113 static jint ICU_getCurrencyFractionDigits(JNIEnv* env, jclass, jstring javaCurrencyCode) { in ICU_getCurrencyFractionDigits() 123 static jint ICU_getCurrencyNumericCode(JNIEnv* env, jclass, jstring javaCurrencyCode) { in ICU_getCurrencyNumericCode() 133 static jstring ICU_getCurrencyCode(JNIEnv* env, jclass, jstring javaCountryCode) { in ICU_getCurrencyCode() 175 static jstring getCurrencyName(JNIEnv* env, jstring javaLanguageTag, jstring javaCurrencyCode, UCur… in getCurrencyName() 207 static jstring ICU_getCurrencyDisplayName(JNIEnv* env, jclass, jstring javaLanguageTag, jstring jav… in ICU_getCurrencyDisplayName() 211 static jstring ICU_getCurrencySymbol(JNIEnv* env, jclass, jstring javaLanguageTag, jstring javaCurr… in ICU_getCurrencySymbol() 215 static jstring ICU_getDisplayCountryNative(JNIEnv* env, jclass, jstring javaTargetLanguageTag, jstr… in ICU_getDisplayCountryNative() 230 static jstring ICU_getDisplayLanguageNative(JNIEnv* env, jclass, jstring javaTargetLanguageTag, jst… in ICU_getDisplayLanguageNative() [all …]
|
D | JniException.cpp | 22 void jniThrowExceptionWithErrno(JNIEnv* env, const char* exceptionClassName, int error) { in jniThrowExceptionWithErrno() 27 void jniThrowOutOfMemoryError(JNIEnv* env, const char* message) { in jniThrowOutOfMemoryError() 31 void jniThrowSocketException(JNIEnv* env, int error) { in jniThrowSocketException()
|
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() 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() 164 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offs… in Matcher_lookingAtImpl() 173 static jint Matcher_matchesImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offset… in Matcher_matchesImpl() 182 static jlong Matcher_openImpl(JNIEnv* env, jclass, jlong patternAddr) { in Matcher_openImpl() [all …]
|