Searched defs:string (Results 1 - 12 of 12) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DStringIdsSection.java35 * {@code non-null;} map from string constants to {@link
102 * @param string {@code non-null;} the string to intern, as a regular Java
104 * @return {@code non-null;} the interned string
106 public StringIdItem intern(String string) { argument
107 CstUtf8 utf8 = new CstUtf8(string);
114 * @param string {@code non-null;} the string to intern, as a {@link CstString}
115 * @return {@code non-null;} the interned string
117 public StringIdItem intern(CstString string) { argument
128 intern(CstUtf8 string) argument
138 intern(StringIdItem string) argument
173 indexOf(CstUtf8 string) argument
196 indexOf(CstString string) argument
[all...]
H A DDebugInfoEncoder.java47 * <li> n instances of signed LEB128: string indicies (offset by 1)
362 * line number and string indicies for names of all non-"this" arguments.
414 * Then emit the string indicies of all the method parameters.
566 * Returns a string representation of this LocalList entry that is
570 * @return {@code non-null;} annotation string
631 * Emits a string index as an unsigned LEB128. The actual value written
636 * @param string {@code null-ok;} string to emit
639 private void emitStringIndex(CstUtf8 string) throws IOException { argument
640 if ((string
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstString.java26 /** {@code non-null;} the string value */
27 private final CstUtf8 string; field in class:CstString
32 * @param string {@code non-null;} the string value
34 public CstString(CstUtf8 string) { argument
35 if (string == null) {
36 throw new NullPointerException("string == null");
39 this.string = string;
45 * @param string {
47 CstString(String string) argument
[all...]
H A DCstUtf8.java28 * empty string
32 /** {@code non-null;} the UTF-8 value as a string */
33 private final String string; field in class:CstUtf8
39 * Converts a string into its Java-style UTF-8 form. Java-style UTF-8
43 * @param string {@code non-null;} the string to convert
46 public static byte[] stringToUtf8Bytes(String string) { argument
47 int len = string.length();
52 char c = string.charAt(i);
74 * Converts an array of UTF-8 bytes into a string
180 CstUtf8(String string) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdsSection.java33 * {@code non-null;} map from string constants to {@link
96 * @param string {@code non-null;} the string to intern, as a regular Java
98 * @return {@code non-null;} the interned string
100 public StringIdItem intern(String string) { argument
101 return intern(new StringIdItem(new CstString(string)));
107 * @param string {@code non-null;} the string to intern, as a constant
108 * @return {@code non-null;} the interned string
110 public StringIdItem intern(CstString string) { argument
120 intern(StringIdItem string) argument
155 indexOf(CstString string) argument
[all...]
H A DDebugInfoEncoder.java55 * <li> n instances of signed LEB128: string indicies (offset by 1)
370 * line number and string indicies for names of all non-"this" arguments.
422 * Then emit the string indicies of all the method parameters.
574 * Returns a string representation of this LocalList entry that is
578 * @return {@code non-null;} annotation string
639 * Emits a string index as an unsigned LEB128. The actual value written
644 * @param string {@code null-ok;} string to emit
647 private void emitStringIndex(CstString string) throws IOException { argument
648 if ((string
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstString.java29 * empty string
33 /** {@code non-null;} the UTF-8 value as a string */
34 private final String string; field in class:CstString
40 * Converts a string into its MUTF-8 form. MUTF-8 differs from normal UTF-8
43 * @param string {@code non-null;} the string to convert
46 public static byte[] stringToUtf8Bytes(String string) { argument
47 int len = string.length();
52 char c = string.charAt(i);
74 * Converts an array of UTF-8 bytes into a string
180 CstString(String string) argument
[all...]
/dalvik/vm/compiler/template/
H A Dgen-template.py22 import sys, string, re, time namespace
23 from string import Template
/dalvik/vm/mterp/
H A Dgen-mterp.py22 import sys, string, re, time namespace
23 from string import Template
/dalvik/libdex/
H A DDexFile.cpp33 #include <string.h>
48 const char* string = dexGetPrimitiveTypeDescriptor(type); local
50 return (string == NULL) ? '\0' : string[0];
103 /* Return the UTF-8 encoded string with the specified string_id index,
155 * Compute a hash code on a UTF-8 string, for use with internal hash tables.
174 * Add an entry to the class lookup table. We hash the string and probe
/dalvik/vm/native/
H A Ddalvik_system_VMRuntime.cpp251 typedef std::map<std::string, StringObject*> StringTable;
256 LOG_FATAL_IF(strObj->clazz != gDvm.classJavaLangString, "Unknown class for supposed string");
267 StringObject* string = dvmDexGetResolvedString(pDvmDex, stringIdx); local
268 if (string != NULL) {
274 string = strings[utf8];
275 if (string == NULL) {
278 // ALOGI("VMRuntime.preloadDexCaches found string=%s", utf8);
279 dvmDexSetResolvedString(pDvmDex, stringIdx, string);
420 StringObject* string = dvmDexGetResolvedString(pDvmDex, i); local
421 if (string !
[all...]
/dalvik/vm/
H A DCheckJni.cpp473 * The format string is a sequence of the following characters,
537 std::string msg;
589 std::string className(dvmHumanReadableType(c));
597 std::string name(dvmHumanReadableField((Field*) fid));
610 std::string name(dvmHumanReadableMethod((Method*) mid, true));
654 std::string methodName(dvmHumanReadableMethod(method, false));
945 ALOGW(" string: '%s'", bytes);
1699 static jsize Check_GetStringLength(JNIEnv* env, jstring string) { argument
1700 CHECK_JNI_ENTRY(kFlag_CritOkay, "Es", env, string);
1701 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringLength(env, string));
1704 Check_GetStringChars(JNIEnv* env, jstring string, jboolean* isCopy) argument
1719 Check_ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) argument
1739 Check_GetStringUTFLength(JNIEnv* env, jstring string) argument
1744 Check_GetStringUTFChars(JNIEnv* env, jstring string, jboolean* isCopy) argument
1756 Check_ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) argument
1947 Check_GetStringCritical(JNIEnv* env, jstring string, jboolean* isCopy) argument
1962 Check_ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* carray) argument
[all...]

Completed in 341 milliseconds