Searched refs:chars (Results 1 - 11 of 11) sorted by relevance

/dalvik/vm/
H A DUtfString.cpp33 * chars array is stored to the pChars pointer. Callers must
61 ArrayObject* chars = dvmAllocPrimitiveArray('C', charsLength, ALLOC_DEFAULT); local
62 if (chars == NULL) {
68 dvmSetFieldObject(result, STRING_FIELDOFF_VALUE, (Object*) chars);
69 dvmReleaseTrackedAlloc((Object*) chars, NULL);
72 *pChars = chars;
214 ArrayObject* chars = local
216 hashCode = computeUtf16Hash((u2*)(void*)chars->contents + offset, len);
243 ArrayObject* chars; local
244 StringObject* newObj = makeStringObject(utf16Length, &chars);
265 ArrayObject* chars; local
293 ArrayObject* chars = local
321 ArrayObject* chars = local
339 const u2* StringObject::chars() const function in class:StringObject
342 ArrayObject* chars = local
[all...]
H A DDdm.cpp265 const u2* chars; local
273 chars = nameObj->chars();
276 chars = NULL;
291 set2BE((u1*) (outChars++), *chars++);
314 const u2* chars = newName->chars(); local
320 * (xb) string chars
329 set2BE((u1*) (outChars++), *chars++);
H A DInlineNative.cpp131 ArrayObject* chars; local
146 chars = (ArrayObject*)
149 pResult->i = ((const u2*)(void*)chars->contents)[arg1 + offset];
438 * to search is described by "chars", "offset", and "count".
455 const u2* chars = (const u2*)(void*)charArray->contents; local
462 chars += offset;
472 if (chars[start] == ch)
478 const u2* ptr = chars + start;
479 const u2* endPtr = chars + count;
482 return (ptr-1) - chars;
[all...]
H A DCheckJni.cpp1719 static void Check_ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { argument
1720 CHECK_JNI_ENTRY(kFlag_Default | kFlag_ExcepOkay, "Esp", env, string, chars);
1721 sc.checkNonNull(chars);
1723 if (!GuardedCopy::check(chars, false)) {
1728 chars = (const jchar*) GuardedCopy::destroy((jchar*)chars);
1730 baseEnv(env)->ReleaseStringChars(env, string, chars);
H A DJni.cpp2138 const u2* data = strObj->chars();
2148 static void ReleaseStringChars(JNIEnv* env, jstring jstr, const jchar* chars) { argument
2156 * Create a new java.lang.String object from chars in modified UTF-8 form.
2572 memcpy(buf, strObj->chars() + start, len * sizeof(u2));
2631 const u2* data = strObj->chars();
/dalvik/tests/003-omnibus-opcodes/src/
H A DArray.java26 static void checkChars(char[] chars) { argument
27 assert(chars[0] == 40000);
28 assert(chars[1] == 40001);
29 assert(chars[2] == 40002);
30 assert(chars[3] == 40003);
31 assert(chars[4] == 40004);
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstUtf8.java81 char[] chars = new char[length]; // This is sized to avoid a realloc.
154 chars[outAt] = out;
158 return new String(chars, 0, outAt);
362 * get the number of 16-bit chars in the UTF-16 encoding of this
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstString.java81 char[] chars = new char[length]; // This is sized to avoid a realloc.
154 chars[outAt] = out;
158 return new String(chars, 0, outAt);
362 * get the number of 16-bit chars in the UTF-16 encoding of this
/dalvik/opcode-gen/
H A Dopcode-gen.awk459 function parseHex(hex, result, chars, count, c, i) {
460 # locals: result, chars, count, c, i
462 count = split(hex, chars, "");
465 c = index("0123456789abcdef", chars[i]);
/dalvik/vm/oo/
H A DObject.h258 const u2* chars() const;
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 368 milliseconds