Home
last modified time | relevance | path

Searched refs:jint (Results 1 – 25 of 48) sorted by relevance

12

/dalvik/libcore/icu/src/main/native/
DConverterInterface.h21 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_converters_NativeConverter_convertByteToChar
22 (JNIEnv *, jclass, jlong, jbyteArray, jint, jcharArray, jint, jintArray, jboolean);
29 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_converters_NativeConverter_decode
30 (JNIEnv *, jclass, jlong, jbyteArray, jint, jcharArray, jint, jintArray, jboolean);
37 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_converters_NativeConverter_convertCharToByte
38 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyteArray, jint, jintArray, jboolean);
45 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_converters_NativeConverter_encode
46 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyteArray, jint, jintArray, jboolean);
53 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_converters_NativeConverter_flushCharToByte
54 (JNIEnv *, jclass, jlong, jbyteArray, jint, jintArray);
[all …]
DCollationInterface.h39 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_compare
47 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_getAttribute
48 (JNIEnv *, jclass, jlong, jint);
63 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_getMaxExpansion
64 (JNIEnv *, jclass, jlong, jint);
71 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_getNormalization
79 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_getOffset
103 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_hashCode
111 JNIEXPORT jint JNICALL Java_com_ibm_icu4jni_text_NativeCollation_next
137 (JNIEnv *, jclass, jstring, jint, jint);
[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()
81 jint codePoint) { 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 …]
DCollationInterface.c28 jint address) { in closeCollator()
42 jint address) { in closeElements()
59 static jint compare(JNIEnv *env, jclass obj, jint address, in compare()
63 jint result = -2; in compare()
96 static jint getAttribute(JNIEnv *env, jclass obj, jint address, in getAttribute()
97 jint type) { in getAttribute()
102 jint result = (jint)ucol_getAttribute(collator, (UColAttribute)type, in getAttribute()
105 return (jint)UCOL_DEFAULT; in getAttribute()
111 return (jint)UCOL_DEFAULT; in getAttribute()
123 static jint getCollationElementIterator(JNIEnv *env, in getCollationElementIterator()
[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()
124 jint buffersize = U_BRK_SAFECLONE_BUFFERSIZE; in cloneImpl()
135 static void setTextImpl(JNIEnv *env, jclass clazz, jint address, jstring text) { in setTextImpl()
[all …]
DBidiWrapperInterface.h71 (JNIEnv *, jclass, jlong, jcharArray, jint, jbyte, jbyteArray);
78 (JNIEnv *, jclass, jlong, jint, jint);
84 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getDirection
91 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getLength
112 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1countRuns
128 jbyteArray, jint);
DConverterInterface.c105 static jint setSubstitutionModeCharToByte (JNIEnv *env, jclass jClass, jlong handle, jboolean mode)… in setSubstitutionModeCharToByte()
148 static jint setSubstitutionModeByteToChar (JNIEnv *env, jclass jClass, jlong handle, jboolean mode)… in setSubstitutionModeByteToChar()
195 static jint convertCharToByte(JNIEnv *env, jclass jClass, jlong handle, jcharArray source, jint s… in convertCharToByte()
201 jint* myData = (jint*) (*env)->GetPrimitiveArrayCritical(env,data,NULL); in convertCharToByte()
203 jint* sourceOffset = &myData[0]; in convertCharToByte()
204 jint* targetOffset = &myData[1]; in convertCharToByte()
217 *sourceOffset = (jint) (mySource - uSource)-*sourceOffset; in convertCharToByte()
218 *targetOffset = (jint) ((jbyte*)cTarget - uTarget)- *targetOffset; in convertCharToByte()
222 (*env)->ReleasePrimitiveArrayCritical(env,data,(jint*)myData,0); in convertCharToByte()
236 (*env)->ReleasePrimitiveArrayCritical(env,data,(jint*)myData,0); in convertCharToByte()
[all …]
DDecimalFormatInterface.cpp59 static jint openDecimalFormatImpl(JNIEnv *env, jclass clazz, jstring locale, in openDecimalFormatImpl()
89 static void closeDecimalFormatImpl(JNIEnv *env, jclass clazz, jint addr) { in closeDecimalFormatImpl()
98 static void setSymbol(JNIEnv *env, jclass clazz, jint addr, jint symbol, in setSymbol()
122 static jstring getSymbol(JNIEnv *env, jclass clazz, jint addr, jint symbol) { in getSymbol()
158 static void setAttribute(JNIEnv *env, jclass clazz, jint addr, jint symbol, in setAttribute()
159 jint value) { in setAttribute()
166 static jint getAttribute(JNIEnv *env, jclass clazz, jint addr, jint symbol) { in getAttribute()
175 static void setTextAttribute(JNIEnv *env, jclass clazz, jint addr, jint symbol, in setTextAttribute()
195 static jstring getTextAttribute(JNIEnv *env, jclass clazz, jint addr, in getTextAttribute()
196 jint symbol) { in getTextAttribute()
[all …]
DRBNFInterface.cpp54 static jint openRBNFImpl1(JNIEnv* env, jclass clazz, in openRBNFImpl1()
55 jint type, jstring locale) { in openRBNFImpl1()
96 static jint openRBNFImpl2(JNIEnv* env, jclass clazz, in openRBNFImpl2()
129 static void closeRBNFImpl(JNIEnv *env, jclass clazz, jint addr) { in closeRBNFImpl()
140 static jstring formatLongRBNFImpl(JNIEnv *env, jclass clazz, jint addr, jlong value, in formatLongRBNFImpl()
202 static jstring formatDoubleRBNFImpl(JNIEnv *env, jclass clazz, jint addr, jdouble value, in formatDoubleRBNFImpl()
264 static jobject parseRBNFImpl(JNIEnv *env, jclass clazz, jint addr, jstring text, in parseRBNFImpl()
327 (jint) pp.getErrorIndex()); in parseRBNFImpl()
342 env->CallVoidMethod(position, setIndexMethodID, (jint) parsePos); in parseRBNFImpl()
347 env->CallVoidMethod(position, setIndexMethodID, (jint) parsePos); in parseRBNFImpl()
[all …]
DRegExInterface.cpp73 static RegExData* open(JNIEnv* env, jclass clazz, jstring pattern, jint flags) in open()
151 jint startIndex) in matches()
164 jint startIndex) in lookingAt()
177 jint startIndex) in find()
201 static jint groupCount(JNIEnv* env, jclass clazz, RegExData* data) in groupCount()
205 jint result = uregex_groupCount(data->regex, &status); in groupCount()
218 jint * offsetsRaw = env->GetIntArrayElements(offsets, NULL); in startEnd()
233 static void setRegion(JNIEnv* env, jclass clazz, RegExData* data, jint start, in setRegion()
234 jint end) in setRegion()
243 static jint regionStart(JNIEnv* env, jclass clazz, RegExData* data) in regionStart()
[all …]
DBidiWrapperInterface.c52 (JNIEnv * env, jclass clazz, jlong pBiDi, jcharArray text, jint length, in Java_org_apache_harmony_text_BidiWrapper_ubidi_1setPara()
87 (JNIEnv * env, jclass clazz, jlong pBiDi, jint start, jint limit) in Java_org_apache_harmony_text_BidiWrapper_ubidi_1setLine()
104 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getDirection in Java_org_apache_harmony_text_BidiWrapper_ubidi_1getDirection()
111 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getLength in Java_org_apache_harmony_text_BidiWrapper_ubidi_1getLength()
144 JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1countRuns in Java_org_apache_harmony_text_BidiWrapper_ubidi_1countRuns()
201 (JNIEnv * env, jclass clazz, jbyteArray levels, jint length) in Java_org_apache_harmony_text_BidiWrapper_ubidi_1reorderVisual()
213 (*env)->SetIntArrayRegion (env, result, 0, length, (jint *) local_indexMap); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1reorderVisual()
/dalvik/libcore/sql/src/main/native/
Dsqlite_jni.h16 (JNIEnv *, jobject, jstring, jint);
96 (JNIEnv *, jobject, jint);
128 (JNIEnv *, jobject, jstring, jint, jobject);
136 (JNIEnv *, jobject, jstring, jint, jobject);
144 (JNIEnv *, jobject, jstring, jint);
160 (JNIEnv *, jclass, jint);
232 (JNIEnv *, jobject, jint, jobject);
318 (JNIEnv *, jobject, jint);
350 (JNIEnv *, jobject, jint);
357 JNIEXPORT jint JNICALL Java_SQLite_FunctionContext_count
[all …]
Dsqlite_jni_registration.c22 (JNIEnv *, jobject, jstring, jint);
42 (JNIEnv *, jobject, jint);
50 (JNIEnv *, jobject, jstring, jint, jobject);
52 (JNIEnv *, jobject, jstring, jint, jobject);
54 (JNIEnv *, jobject, jstring, jint);
58 (JNIEnv *, jclass, jint);
76 (JNIEnv *, jobject, jint, jobject);
99 (JNIEnv *, jobject, jint);
107 (JNIEnv *, jobject, jint);
108 extern JNIEXPORT jint JNICALL Java_SQLite_FunctionContext_count
[all …]
/dalvik/libcore/luni/src/main/native/
Dorg_apache_harmony_luni_platform_OSMemory.cpp48 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()
62 return (jint)returnValue; 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()
81 memset ((void *) ((jint) address), (jbyte) value, (jlong) length); in harmony_nio_memset()
89 static void harmony_nio_memmove(JNIEnv *_env, jobject _this, jint destAddress, in harmony_nio_memmove()
90 jint srcAddress, jlong length) { in harmony_nio_memmove()
91 memmove ((void *) ((jint) destAddress), (const void *) ((jint) srcAddress), in harmony_nio_memmove()
101 jint pointer) { in harmony_nio_getByteImpl()
[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()
Dorg_apache_harmony_luni_platform_OSFileSystem.cpp101 static jint harmony_io_lockImpl(JNIEnv * env, jobject thiz, jint handle, in harmony_io_lockImpl()
102 jlong start, jlong length, jint typeFlag, jboolean waitFlag) { in harmony_io_lockImpl()
138 static jint harmony_io_unlockImpl(JNIEnv * env, jobject thiz, jint handle, in harmony_io_unlockImpl()
173 static jint harmony_io_getAllocGranularity(JNIEnv * env, jobject thiz) { in harmony_io_getAllocGranularity()
186 static jlong harmony_io_readvImpl(JNIEnv *env, jobject thiz, jint fd, in harmony_io_readvImpl()
187 jintArray jbuffers, jintArray joffsets, jintArray jlengths, jint size) { in harmony_io_readvImpl()
192 jint *bufs; in harmony_io_readvImpl()
193 jint *offsets; in harmony_io_readvImpl()
194 jint *lengths; in harmony_io_readvImpl()
228 static jlong harmony_io_writevImpl(JNIEnv *env, jobject thiz, jint fd, in harmony_io_writevImpl()
[all …]
Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp345 jobject newJavaLangBoolean(JNIEnv * env, jint anInt) { in newJavaLangBoolean()
381 jobject newJavaLangInteger(JNIEnv * env, jint anInt) { in newJavaLangInteger()
769 env->SetLongField(longclass, descriptorFID, (jlong)((jint)context)); in setConnectContext()
783 return (jbyte*) ((jint)env->GetLongField(longclass, descriptorFID)); in getConnectContext()
1376 static jint osNetworkSystem_readSocketDirectImpl(JNIEnv* env, jclass clazz, in osNetworkSystem_readSocketDirectImpl()
1377 jobject fileDescriptor, jint address, jint offset, jint count, in osNetworkSystem_readSocketDirectImpl()
1378 jint timeout) { in osNetworkSystem_readSocketDirectImpl()
1416 static jint osNetworkSystem_readSocketImpl(JNIEnv* env, jclass clazz, in osNetworkSystem_readSocketImpl()
1417 jobject fileDescriptor, jbyteArray data, jint offset, jint count, in osNetworkSystem_readSocketImpl()
1418 jint timeout) { in osNetworkSystem_readSocketImpl()
[all …]
Djava_lang_Float.c32 static jint floatToIntBits(JNIEnv* env, jclass clazz, jfloat val) in floatToIntBits()
50 static jint floatToRawBits(JNIEnv* env, jclass clazz, jfloat val) in floatToRawBits()
62 static jfloat intBitsToFloat(JNIEnv* env, jclass clazz, jint val) in intBitsToFloat()
Djava_lang_StrictMath.c170 jint hx = *(jint*)&arg1; in jnextafterf()
171 jint hy = *(jint*)&arg2; in jnextafterf()
174 *(jint*)&arg1 = (hy & 0x80000000) | 0x1; in jnextafterf()
183 *(jint*)&arg1 = hx; in jnextafterf()
/dalvik/libnativehelper/include/nativehelper/
Djni.h23 typedef int32_t jint; /* signed 32 bits */ typedef
32 typedef int jint; /* signed 32 bits */ typedef
39 typedef jint jsize;
113 jint i;
154 jint (*GetVersion)(JNIEnv *);
171 jint (*Throw)(JNIEnv*, jthrowable);
172 jint (*ThrowNew)(JNIEnv *, jclass, const char *);
178 jint (*PushLocalFrame)(JNIEnv*, jint);
187 jint (*EnsureLocalCapacity)(JNIEnv*, jint);
213 jint (*CallIntMethod)(JNIEnv*, jobject, jmethodID, ...);
[all …]
/dalvik/libcore/nio/src/main/native/
Dorg_apache_harmony_nio_AddressUtil.cpp27 typedef jint OSSOCKET;
42 static jint getFd(JNIEnv* env, jclass clazz, jobject fd) in getFd()
56 jint result = env->GetIntField(fd, descriptorFID); in getFd()
/dalvik/libcore/xml/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp831 static jint createEntityParser(JNIEnv* env, jobject object, jint parentParser, in createEntityParser()
854 return (jint) entityParser; in createEntityParser()
947 static jint initialize(JNIEnv* env, jobject object, jstring javaEncoding, in initialize()
989 return (jint) parser; in initialize()
1001 static void appendString(JNIEnv* env, jobject object, jint pointer, jstring xml, in appendString()
1042 static void appendCharacters(JNIEnv* env, jobject object, jint pointer, in appendCharacters()
1043 jcharArray xml, jint offset, jint length) { in appendCharacters()
1082 static void appendBytes(JNIEnv* env, jobject object, jint pointer, in appendBytes()
1083 jbyteArray xml, jint offset, jint length) { in appendBytes()
1119 static void releaseParser(JNIEnv* env, jobject object, jint i) { in releaseParser()
[all …]
/dalvik/libcore/x-net/src/main/native/
Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp233 static jint NativeCrypto_EVP_new(JNIEnv* env, jclass clazz) { in NativeCrypto_EVP_new()
236 return (jint)EVP_MD_CTX_create(); in NativeCrypto_EVP_new()
253 static jint NativeCrypto_EVP_DigestFinal(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray has… in NativeCrypto_EVP_DigestFinal()
301 static jint NativeCrypto_EVP_DigestSize(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx) { in NativeCrypto_EVP_DigestSize()
319 static jint NativeCrypto_EVP_DigestBlockSize(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx) { in NativeCrypto_EVP_DigestBlockSize()
337 …stUpdate(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray buffer, jint offset, jint length) { in NativeCrypto_EVP_DigestUpdate()
381 …fyUpdate(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray buffer, jint offset, jint length) { in NativeCrypto_EVP_VerifyUpdate()
399 …inal(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray buffer, jint offset, jint length, EVP_… in NativeCrypto_EVP_VerifyFinal()
/dalvik/libcore/archive/src/main/native/
Djava_util_zip_Deflater.c81 JNIEXPORT jint JNICALL
95 jint level, jint strategy, in Java_java_util_zip_Deflater_createStream()
155 jbyteArray buf, jint off, jint len, in Java_java_util_zip_Deflater_setInputImpl()
183 JNIEXPORT jint JNICALL
192 jint err = 0; in Java_java_util_zip_Deflater_deflateImpl()
193 jint sin, sout, inBytes = 0; in Java_java_util_zip_Deflater_deflateImpl()
228 (jint) stream->stream->total_in - sin + inBytes)); in Java_java_util_zip_Deflater_deflateImpl()
Djava_util_zip_Inflater.c116 jbyteArray buf, jint off, jint len, in Java_java_util_zip_Inflater_setInputImpl()
144 JNIEXPORT jint JNICALL
146 jobject javaFileDescriptor, jlong off, jint len, jlong handle) in Java_java_util_zip_Inflater_setFileInputImpl()
174 JNIEXPORT jint JNICALL
183 jint err = 0; in Java_java_util_zip_Inflater_inflateImpl()
185 jint sin, sout, inBytes = 0; in Java_java_util_zip_Inflater_inflateImpl()
209 …((*env)->SetIntField (env, recv, fid, (jint) stream->stream->total_in - sin + inBytes)); /* U… in Java_java_util_zip_Inflater_inflateImpl()
230 (jint) stream->stream->total_in - sin + inBytes)); in Java_java_util_zip_Inflater_inflateImpl()
235 JNIEXPORT jint JNICALL

12