/libcore/luni/src/main/native/ |
D | valueOf.cpp | 24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf() 29 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf() 33 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf() 37 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf() 41 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf() 45 jboolean booleanValue(JNIEnv* env, jobject javaLangBoolean) { in booleanValue() 50 jint intValue(JNIEnv* env, jobject javaLangInteger) { in intValue()
|
D | java_io_ObjectStreamClass.cpp | 23 static jobject getSignature(JNIEnv* env, jclass c, jobject object) { in getSignature() 32 static jobject ObjectStreamClass_getFieldSignature(JNIEnv* env, jclass, jobject field) { in ObjectStreamClass_getFieldSignature() 36 static jobject ObjectStreamClass_getMethodSignature(JNIEnv* env, jclass, jobject method) { in ObjectStreamClass_getMethodSignature() 40 static jobject ObjectStreamClass_getConstructorSignature(JNIEnv* env, jclass, jobject constructor) { in ObjectStreamClass_getConstructorSignature() 44 static jboolean ObjectStreamClass_hasClinit(JNIEnv * env, jclass, jclass targetClass) { in ObjectStreamClass_hasClinit() 50 static jlong ObjectStreamClass_getConstructorId(JNIEnv* env, jclass, jclass constructorClass) { in ObjectStreamClass_getConstructorId() 54 static jobject ObjectStreamClass_newInstance(JNIEnv* env, jclass, jclass instantiationClass, jlong … in ObjectStreamClass_newInstance() 66 void register_java_io_ObjectStreamClass(JNIEnv* env) { in register_java_io_ObjectStreamClass()
|
D | libcore_icu_NativeBreakIterator.cpp | 43 BreakIteratorAccessor(JNIEnv* env, jlong address, jstring javaInput, bool reset) { in BreakIteratorAccessor() 68 BreakIteratorAccessor(JNIEnv* env, jlong address) { in BreakIteratorAccessor() 89 void init(JNIEnv* env, jlong address) { in init() 122 static jlong NativeBreakIterator_cloneImpl(JNIEnv* env, jclass, jlong address) { in NativeBreakIterator_cloneImpl() 131 static jint NativeBreakIterator_currentImpl(JNIEnv* env, jclass, jlong address, jstring javaInput) { in NativeBreakIterator_currentImpl() 136 static jint NativeBreakIterator_firstImpl(JNIEnv* env, jclass, jlong address, jstring javaInput) { in NativeBreakIterator_firstImpl() 141 static jint NativeBreakIterator_followingImpl(JNIEnv* env, jclass, jlong address, jstring javaInput… in NativeBreakIterator_followingImpl() 146 static jlong NativeBreakIterator_getCharacterInstanceImpl(JNIEnv* env, jclass, jstring javaLocaleNa… in NativeBreakIterator_getCharacterInstanceImpl() 150 static jlong NativeBreakIterator_getLineInstanceImpl(JNIEnv* env, jclass, jstring javaLocaleName) { in NativeBreakIterator_getLineInstanceImpl() 154 static jlong NativeBreakIterator_getSentenceInstanceImpl(JNIEnv* env, jclass, jstring javaLocaleNam… in NativeBreakIterator_getSentenceInstanceImpl() [all …]
|
D | java_math_NativeBN.cpp | 42 static bool throwExceptionIfNecessary(JNIEnv* env) { in throwExceptionIfNecessary() 62 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { in isValidHandle() 70 static int oneValidHandle(JNIEnv* env, jlong a) { in oneValidHandle() 74 static int twoValidHandles(JNIEnv* env, jlong a, jlong b) { in twoValidHandles() 79 static int threeValidHandles(JNIEnv* env, jlong a, jlong b, jlong c) { in threeValidHandles() 84 static int fourValidHandles(JNIEnv* env, jlong a, jlong b, jlong c, jlong d) { in fourValidHandles() 89 static jlong NativeBN_BN_new(JNIEnv* env, jclass) { in NativeBN_BN_new() 95 static void NativeBN_BN_free(JNIEnv* env, jclass, jlong a) { in NativeBN_BN_free() 100 static int NativeBN_BN_cmp(JNIEnv* env, jclass, jlong a, jlong b) { in NativeBN_BN_cmp() 105 static void NativeBN_BN_copy(JNIEnv* env, jclass, jlong to, jlong from) { in NativeBN_BN_copy() [all …]
|
D | libcore_icu_ICU.cpp | 100 static jstring ICU_addLikelySubtags(JNIEnv* env, jclass, jstring javaLocaleName) { in ICU_addLikelySubtags() 111 static jstring ICU_getScript(JNIEnv* env, jclass, jstring javaLocaleName) { in ICU_getScript() 119 static jint ICU_getCurrencyFractionDigits(JNIEnv* env, jclass, jstring javaCurrencyCode) { in ICU_getCurrencyFractionDigits() 129 static jint ICU_getCurrencyNumericCode(JNIEnv* env, jclass, jstring javaCurrencyCode) { in ICU_getCurrencyNumericCode() 139 static jstring ICU_getCurrencyCode(JNIEnv* env, jclass, jstring javaCountryCode) { in ICU_getCurrencyCode() 181 static jstring getCurrencyName(JNIEnv* env, jstring javaLanguageTag, jstring javaCurrencyCode, UCur… in getCurrencyName() 213 static jstring ICU_getCurrencyDisplayName(JNIEnv* env, jclass, jstring javaLanguageTag, jstring jav… in ICU_getCurrencyDisplayName() 217 static jstring ICU_getCurrencySymbol(JNIEnv* env, jclass, jstring javaLanguageTag, jstring javaCurr… in ICU_getCurrencySymbol() 221 static jstring ICU_getDisplayCountryNative(JNIEnv* env, jclass, jstring javaTargetLanguageTag, jstr… in ICU_getDisplayCountryNative() 236 static jstring ICU_getDisplayLanguageNative(JNIEnv* env, jclass, jstring javaTargetLanguageTag, jst… in ICU_getDisplayLanguageNative() [all …]
|
D | java_util_regex_Matcher.cpp | 45 MatcherAccessor(JNIEnv* env, jlong address, jstring javaInput, bool reset) { in MatcherAccessor() 66 MatcherAccessor(JNIEnv* env, jlong address) { in MatcherAccessor() 99 void init(JNIEnv* env, jlong address) { in init() 124 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, ji… in Matcher_findImpl() 133 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offse… in Matcher_findNextImpl() 145 static jint Matcher_groupCountImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_groupCountImpl() 150 static jint Matcher_hitEndImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_hitEndImpl() 155 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offs… in Matcher_lookingAtImpl() 164 static jint Matcher_matchesImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offset… in Matcher_matchesImpl() 173 static jlong Matcher_openImpl(JNIEnv* env, jclass, jlong patternAddr) { in Matcher_openImpl() [all …]
|
D | libcore_io_Posix.cpp | 153 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, in throwException() 177 static void throwErrnoException(JNIEnv* env, const char* functionName) { in throwErrnoException() 186 static void throwGaiException(JNIEnv* env, const char* functionName, int error) { in throwGaiException() 205 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() 215 IoVec(JNIEnv* env, size_t bufferCount) : mEnv(env), mBufferCount(bufferCount) { in IoVec() 270 static jobject makeSocketAddress(JNIEnv* env, const sockaddr_storage& ss) { in makeSocketAddress() 281 static jobject makeStructPasswd(JNIEnv* env, const struct passwd& pw) { in makeStructPasswd() 291 static jobject makeStructStat(JNIEnv* env, const struct stat& sb) { in makeStructStat() 304 static jobject makeStructStatVfs(JNIEnv* env, const struct statvfs& sb) { in makeStructStatVfs() 328 static jobject makeStructLinger(JNIEnv* env, const struct linger& l) { in makeStructLinger() [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 | android_system_OsConstants.cpp | 53 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() 58 static void OsConstants_initConstants(JNIEnv* env, jclass c) { in OsConstants_initConstants() 626 void register_android_system_OsConstants(JNIEnv* env) { in register_android_system_OsConstants()
|
D | libcore_icu_NativeCollation.cpp | 43 UErrorCode start(JNIEnv* env, jstring string, UCollator* collator) { in start() 65 void release(JNIEnv* env, bool closeCollator) { in release() 96 static void NativeCollation_closeElements(JNIEnv* env, jclass, jlong address) { in NativeCollation_closeElements() 102 static jint NativeCollation_compare(JNIEnv* env, jclass, jlong address, jstring javaLhs, jstring ja… in NativeCollation_compare() 114 static jint NativeCollation_getAttribute(JNIEnv* env, jclass, jlong address, jint type) { in NativeCollation_getAttribute() 121 static jlong NativeCollation_getCollationElementIterator(JNIEnv* env, jclass, jlong address, jstrin… in NativeCollation_getCollationElementIterator() 145 static jstring NativeCollation_getRules(JNIEnv* env, jclass, jlong address) { in NativeCollation_getRules() 151 static jbyteArray NativeCollation_getSortKey(JNIEnv* env, jclass, jlong address, jstring javaSource… in NativeCollation_getSortKey() 176 static jint NativeCollation_next(JNIEnv* env, jclass, jlong address) { in NativeCollation_next() 183 static jlong NativeCollation_openCollator(JNIEnv* env, jclass, jstring javaLocaleName) { in NativeCollation_openCollator() [all …]
|
D | java_util_jar_StrictJarFile.cpp | 31 static void throwIoException(JNIEnv* env, const int32_t errorCode) { in throwIoException() 44 static jobject constructString(JNIEnv* env, const char* name, const uint16_t nameLength) { in constructString() 56 static jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, const jobject entryName, in newZipEntry() 78 static jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, const char* name, in newZipEntry() 83 static jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring fileName) { in StrictJarFile_nativeOpenJarFile() 123 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration() 148 static jobject StrictJarFile_nativeNextEntry(JNIEnv* env, jobject, jlong iterationHandle) { in StrictJarFile_nativeNextEntry() 166 static jobject StrictJarFile_nativeFindEntry(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeFindEntry() 195 void register_java_util_jar_StrictJarFile(JNIEnv* env) { in register_java_util_jar_StrictJarFile()
|
D | libcore_icu_AlphabeticIndex.cpp | 32 static jlong AlphabeticIndex_create(JNIEnv* env, jclass, jstring javaLocaleName) { in AlphabeticIndex_create() 54 static void AlphabeticIndex_setMaxLabelCount(JNIEnv* env, jclass, jlong peer, jint count) { in AlphabeticIndex_setMaxLabelCount() 61 static void AlphabeticIndex_addLabels(JNIEnv* env, jclass, jlong peer, jstring javaLocaleName) { in AlphabeticIndex_addLabels() 72 static void AlphabeticIndex_addLabelRange(JNIEnv* env, jclass, jlong peer, in AlphabeticIndex_addLabelRange() 80 static jint AlphabeticIndex_getBucketCount(JNIEnv* env, jclass, jlong peer) { in AlphabeticIndex_getBucketCount() 90 static jint AlphabeticIndex_getBucketIndex(JNIEnv* env, jclass, jlong peer, jstring javaString) { in AlphabeticIndex_getBucketIndex() 104 static jstring AlphabeticIndex_getBucketLabel(JNIEnv* env, jclass, jlong peer, jint index) { in AlphabeticIndex_getBucketLabel() 136 static jlong AlphabeticIndex_buildImmutableIndex(JNIEnv* env, jclass, jlong peer) { in AlphabeticIndex_buildImmutableIndex() 155 static jint ImmutableIndex_getBucketIndex(JNIEnv* env, jclass, jlong peer, jstring javaString) { in ImmutableIndex_getBucketIndex() 169 static jstring ImmutableIndex_getBucketLabel(JNIEnv* env, jclass, jlong peer, jint index) { in ImmutableIndex_getBucketLabel() [all …]
|
D | sun_misc_Unsafe.cpp | 22 static jobject Unsafe_allocateInstance(JNIEnv* env, jclass, jclass c) { in Unsafe_allocateInstance() 29 void register_sun_misc_Unsafe(JNIEnv* env) { in register_sun_misc_Unsafe()
|
D | java_io_File.cpp | 41 static jstring File_canonicalizePath(JNIEnv* env, jclass, jstring javaPath) { in File_canonicalizePath() 56 static jboolean File_setLastModifiedImpl(JNIEnv* env, jclass, jstring javaPath, jlong ms) { in File_setLastModifiedImpl() 123 static bool readDirectory(JNIEnv* env, jstring javaPath, DirEntries& entries) { in readDirectory() 140 static jobjectArray File_listImpl(JNIEnv* env, jclass, jstring javaPath) { in File_listImpl() 155 void register_java_io_File(JNIEnv* env) { in register_java_io_File()
|
D | libcore_icu_Transliterator.cpp | 30 static jlong Transliterator_create(JNIEnv* env, jclass, jstring javaId) { in Transliterator_create() 47 static jobjectArray Transliterator_getAvailableIDs(JNIEnv* env, jclass) { in Transliterator_getAvailableIDs() 53 static jstring Transliterator_transliterate(JNIEnv* env, jclass, jlong peer, jstring javaString) { in Transliterator_transliterate() 71 void register_libcore_icu_Transliterator(JNIEnv* env) { in register_libcore_icu_Transliterator()
|
D | libcore_io_AsynchronousCloseMonitor.cpp | 24 static void AsynchronousCloseMonitor_signalBlockedThreads(JNIEnv* env, jclass, jobject javaFd) { in AsynchronousCloseMonitor_signalBlockedThreads() 32 void register_libcore_io_AsynchronousCloseMonitor(JNIEnv* env) { in register_libcore_io_AsynchronousCloseMonitor()
|
D | java_lang_System.cpp | 41 static void System_log(JNIEnv* env, jclass, jchar type, jstring javaMessage, jthrowable exception) { in System_log() 66 static void System_setFieldImpl(JNIEnv* env, jclass clazz, in System_setFieldImpl() 80 static jobjectArray System_specialProperties(JNIEnv* env, jclass) { in System_specialProperties() 123 static jstring System_mapLibraryName(JNIEnv* env, jclass, jstring javaName) { in System_mapLibraryName() 143 void register_java_lang_System(JNIEnv* env) { in register_java_lang_System()
|
D | org_apache_harmony_xml_ExpatParser.cpp | 70 void push(JNIEnv* env, jstring s) { in push() 166 JNIEnv* env; member 254 static InternedString* newInternedString(JNIEnv* env, const char* bytes, int hash) { in newInternedString() 363 static jstring internString(JNIEnv* env, ParsingContext* parsingContext, const char* s) { in internString() 416 static void jniThrowExpatException(JNIEnv* env, XML_Error error) { in jniThrowExpatException() 428 JNIEnv* env = parsingContext->env; in fillBuffer() local 457 JNIEnv* env = parsingContext->env; in bufferAndInvoke() local 480 …ExpatElementName(JNIEnv* env, ParsingContext* parsingContext, jlong attributePointer, jint index) { in ExpatElementName() 486 ExpatElementName(JNIEnv* env, ParsingContext* parsingContext, const char* s) { in ExpatElementName() 569 void init(JNIEnv* env, ParsingContext* parsingContext, const char* s) { in init() [all …]
|
D | libcore_icu_NativeNormalizer.cpp | 26 static jstring NativeNormalizer_normalizeImpl(JNIEnv* env, jclass, jstring s, jint intMode) { in NativeNormalizer_normalizeImpl() 39 static jboolean NativeNormalizer_isNormalizedImpl(JNIEnv* env, jclass, jstring s, jint intMode) { in NativeNormalizer_isNormalizedImpl() 55 void register_libcore_icu_NativeNormalizer(JNIEnv* env) { in register_libcore_icu_NativeNormalizer()
|
D | ZipUtilities.cpp | 23 void throwExceptionForZlibError(JNIEnv* env, const char* exceptionClassName, int error, in throwExceptionForZlibError() 44 void NativeZipStream::setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, in setDictionary() 66 void NativeZipStream::setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { in setInput()
|
D | java_nio_charset_Charsets.cpp | 41 NativeUnsafeByteSequence(JNIEnv* env) in NativeUnsafeByteSequence() 109 static void Charsets_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint… in Charsets_asciiBytesToChars() 128 static void Charsets_isoLatin1BytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, … in Charsets_isoLatin1BytesToChars() 150 static jbyteArray charsToBytes(JNIEnv* env, jcharArray javaChars, jint offset, jint length, jchar m… in charsToBytes() 175 static jbyteArray Charsets_toAsciiBytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jin… in Charsets_toAsciiBytes() 179 static jbyteArray Charsets_toIsoLatin1Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset,… in Charsets_toIsoLatin1Bytes() 183 static jbyteArray Charsets_toUtf8Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint… in Charsets_toUtf8Bytes() 248 void register_java_nio_charset_Charsets(JNIEnv* env) { in register_java_nio_charset_Charsets()
|
D | java_util_zip_Inflater.cpp | 27 static jlong Inflater_createStream(JNIEnv* env, jobject, jboolean noHeader) { in Inflater_createStream() 51 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong h… in Inflater_setInputImpl() 55 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, … in Inflater_setFileInputImpl() 91 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong… in Inflater_inflateImpl() 142 static void Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlo… in Inflater_setDictionaryImpl() 146 static void Inflater_resetImpl(JNIEnv* env, jobject, jlong handle) { in Inflater_resetImpl() 174 void register_java_util_zip_Inflater(JNIEnv* env) { in register_java_util_zip_Inflater()
|
D | java_util_zip_Deflater.cpp | 26 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlo… in Deflater_setDictionaryImpl() 42 static jlong Deflater_createStream(JNIEnv * env, jobject, jint level, jint strategy, jboolean noHea… in Deflater_createStream() 67 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong h… in Deflater_setInputImpl() 71 static jint Deflater_deflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong… in Deflater_deflateImpl() 117 static void Deflater_resetImpl(JNIEnv* env, jobject, jlong handle) { in Deflater_resetImpl() 125 static void Deflater_setLevelsImpl(JNIEnv* env, jobject, int level, int strategy, jlong handle) { in Deflater_setLevelsImpl() 151 void register_java_util_zip_Deflater(JNIEnv* env) { in register_java_util_zip_Deflater()
|
D | libcore_icu_DateIntervalFormat.cpp | 27 static jlong DateIntervalFormat_createDateIntervalFormat(JNIEnv* env, jclass, jstring javaSkeleton,… in DateIntervalFormat_createDateIntervalFormat() 57 static jstring DateIntervalFormat_formatDateInterval(JNIEnv* env, jclass, jlong address, jlong from… in DateIntervalFormat_formatDateInterval() 77 void register_libcore_icu_DateIntervalFormat(JNIEnv* env) { in register_libcore_icu_DateIntervalFormat()
|
D | libcore_icu_NativeDecimalFormat.cpp | 50 static DecimalFormatSymbols* makeDecimalFormatSymbols(JNIEnv* env, in makeDecimalFormatSymbols() 95 static void NativeDecimalFormat_setDecimalFormatSymbols(JNIEnv* env, jclass, jlong addr, in NativeDecimalFormat_setDecimalFormatSymbols() 109 static jlong NativeDecimalFormat_open(JNIEnv* env, jclass, jstring pattern0, in NativeDecimalFormat_open() 144 static void NativeDecimalFormat_setSymbol(JNIEnv* env, jclass, jlong addr, jint javaSymbol, jstring… in NativeDecimalFormat_setSymbol() 165 static void NativeDecimalFormat_setTextAttribute(JNIEnv* env, jclass, jlong addr, jint javaAttr, js… in NativeDecimalFormat_setTextAttribute() 176 static jstring NativeDecimalFormat_getTextAttribute(JNIEnv* env, jclass, jlong addr, jint javaAttr)… in NativeDecimalFormat_getTextAttribute() 195 static void NativeDecimalFormat_applyPatternImpl(JNIEnv* env, jclass, jlong addr, jboolean localize… in NativeDecimalFormat_applyPatternImpl() 213 static jstring NativeDecimalFormat_toPatternImpl(JNIEnv* env, jclass, jlong addr, jboolean localize… in NativeDecimalFormat_toPatternImpl() 224 static jcharArray formatResult(JNIEnv* env, const UnicodeString& s, FieldPositionIterator* fpi, job… in formatResult() 259 static jcharArray format(JNIEnv* env, jlong addr, jobject javaFieldPositionIterator, T value) { in format() [all …]
|