/dalvik/libcore/icu/src/main/native/ |
D | ResourceInterface.cpp | 81 jchar *res = (jchar *) malloc(sizeof(jchar) * (stringLength + 1)); in getJStringFromUnicodeString() 116 const jchar *cCode = env->GetStringChars(currencyCode, NULL); in getFractionDigitsNative() 187 const jchar *id = ures_getString(currencyId, &length, &status); in getCurrencyCodeNative() 238 const jchar *currSymbU = ures_getStringByIndex(currencyElems, 0, &currSymbL, &status); in getCurrencySymbolNative() 404 const jchar *res; in getTimeZonesNative() 501 const jchar* idChars = env->GetStringChars(zoneID, NULL); in getDisplayTimeZoneNative() 517 jstring result = env->NewString((jchar*)tempChars, tempLength); in getDisplayTimeZoneNative() 571 const jchar* am = ures_getStringByIndex(gregorianElems, 0, &lengthAm, &status); in getAmPmMarkers() 572 const jchar* pm = ures_getStringByIndex(gregorianElems, 1, &lengthPm, &status); in getAmPmMarkers() 595 const jchar* era; in getEras() [all …]
|
D | RegExInterface.cpp | 28 static jchar EMPTY_STRING = 0; 39 jchar* text; 83 jchar const * patternRaw; in open() 88 jchar const * patternRaw = env->GetStringChars(pattern, NULL); in open() 137 jchar const * textRaw = env->GetStringChars(text, NULL); in setText() 138 data->text = (jchar*)malloc((textLen + 1) * sizeof(jchar)); in setText() 139 memcpy(data->text, textRaw, textLen * sizeof(jchar)); in setText()
|
D | ConverterInterface.c | 205 const jchar* uSource =(jchar*) (*env)->GetPrimitiveArrayCritical(env,source, NULL); in convertCharToByte() 209 const jchar* mySource = uSource+ *sourceOffset; in convertCharToByte() 221 (*env)->ReleasePrimitiveArrayCritical(env,source,(jchar*)uSource,0); in convertCharToByte() 232 (*env)->ReleasePrimitiveArrayCritical(env,source,(jchar*)uSource,0); in convertCharToByte() 292 jchar* uTarget=(jchar*) (*env)->GetPrimitiveArrayCritical(env,target,NULL); in convertByteToChar() 306 (*env)->ReleasePrimitiveArrayCritical(env,source,(jchar*)uSource,0); in convertByteToChar() 317 (*env)->ReleasePrimitiveArrayCritical(env,source,(jchar*)uSource,0); in convertByteToChar() 443 jchar* uTarget=(jchar*) (*env)->GetPrimitiveArrayCritical(env,target,NULL); in flushByteToChar() 454 *targetOffset = (jint) ((jchar*)cTarget - uTarget)- *targetOffset; in flushByteToChar() 479 jchar source = '\0'; in flushCharToByte() [all …]
|
D | BidiWrapperInterface.c | 56 jchar *_text = NULL; in Java_org_apache_harmony_text_BidiWrapper_ubidi_1setPara()
|
D | RBNFInterface.cpp | 278 jchar *str = (UChar *)env->GetStringChars(text, NULL); in parseRBNFImpl()
|
D | DecimalFormatInterface.cpp | 688 jchar *str = (UChar *)env->GetStringChars(text, NULL); in parse() 754 jchar * result; in parse()
|
/dalvik/libnativehelper/include/nativehelper/ |
D | jni.h | 21 typedef uint16_t jchar; /* unsigned 16 bits */ typedef 30 typedef unsigned short jchar; /* unsigned 16 bits */ typedef 111 jchar c; 207 jchar (*CallCharMethod)(JNIEnv*, jobject, jmethodID, ...); 208 jchar (*CallCharMethodV)(JNIEnv*, jobject, jmethodID, va_list); 209 jchar (*CallCharMethodA)(JNIEnv*, jobject, jmethodID, jvalue*); 247 jchar (*CallNonvirtualCharMethod)(JNIEnv*, jobject, jclass, 249 jchar (*CallNonvirtualCharMethodV)(JNIEnv*, jobject, jclass, 251 jchar (*CallNonvirtualCharMethodA)(JNIEnv*, jobject, jclass, 295 jchar (*GetCharField)(JNIEnv*, jobject, jfieldID); [all …]
|
/dalvik/vm/ |
D | CheckJni.c | 1327 GET_STATIC_TYPE_FIELD(jchar, Char, false); 1349 SET_STATIC_TYPE_FIELD(jchar, Char, PRIM_CHAR); 1371 GET_TYPE_FIELD(jchar, Char, false); 1392 SET_TYPE_FIELD(jchar, Char, PRIM_CHAR); 1443 CALL_VIRTUAL(jchar, Char, 0, jchar result, result=, result, 'C'); 1498 CALL_NONVIRTUAL(jchar, Char, 0, jchar result, result=, result, 'C'); 1551 CALL_STATIC(jchar, Char, 0, jchar result, result=, result, 'C'); 1559 static jstring Check_NewString(JNIEnv* env, const jchar* unicodeChars, in Check_NewString() 1579 static const jchar* Check_GetStringChars(JNIEnv* env, jstring string, in Check_GetStringChars() 1584 const jchar* result; in Check_GetStringChars() [all …]
|
D | Jni.c | 1816 GET_STATIC_TYPE_FIELD(jchar, Char, false); 1839 SET_STATIC_TYPE_FIELD(jchar, Char, c); 1866 GET_TYPE_FIELD(jchar, Char, false); 1888 SET_TYPE_FIELD(jchar, Char); 1962 CALL_VIRTUAL(jchar, Char, 0, result.c, false); 2041 CALL_NONVIRTUAL(jchar, Char, 0, result.c, false); 2096 CALL_STATIC(jchar, Char, 0, result.c, false); 2110 static jstring NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) in NewString() 2152 static const jchar* GetStringChars(JNIEnv* env, jstring string, in GetStringChars() 2164 return (jchar*)data; in GetStringChars() [all …]
|
/dalvik/libcore/luni/src/main/native/ |
D | java_io_ObjectOutputStream.c | 143 static jchar java_getFieldChar(JNIEnv * env, jclass clazz, in java_getFieldChar() 157 return (jchar) 0; in java_getFieldChar()
|
D | java_io_ObjectInputStream.c | 48 jchar newValue) { in java_setFieldChar()
|
/dalvik/libcore/sql/src/main/native/ |
D | sqlite_jni.c | 178 jstrlen(const jchar *jstr) in jstrlen() 1941 jsize len = (*env)->GetStringLength(env, err) * sizeof (jchar); in Java_SQLite_FunctionContext_set_1error() 1942 const jchar *str = (*env)->GetStringChars(env, err, 0); in Java_SQLite_FunctionContext_set_1error() 1966 jsize len = (*env)->GetStringLength(env, err) * sizeof (jchar); in Java_SQLite_FunctionContext_set_1error() 1967 const jchar *str = (*env)->GetStringChars(env, err, 0); in Java_SQLite_FunctionContext_set_1error() 2049 jsize len = (*env)->GetStringLength(env, ret) * sizeof (jchar); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2() 2050 const jchar *str = (*env)->GetStringChars(env, ret, 0); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2() 2074 jsize len = (*env)->GetStringLength(env, ret) * sizeof (jchar); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2() 2075 const jchar *str = (*env)->GetStringChars(env, ret, 0); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2() 3351 const jchar *sql16, *tail = 0; in Java_SQLite_Database_stmt_1prepare() [all …]
|
/dalvik/libcore/xml/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 437 jchar* nativeBuffer = env->GetCharArrayElements(buffer, NULL); in fillBuffer() 1009 const jchar* characters = env->GetStringChars(xml, NULL); in appendString() 1049 jchar* characters = env->GetCharArrayElements(xml, NULL); in appendCharacters()
|