Searched defs:string (Results 1 - 11 of 11) 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.java34 * {@code non-null;} map from string constants to {@link
97 * @param string {@code non-null;} the string to intern, as a regular Java
99 * @return {@code non-null;} the interned string
101 public StringIdItem intern(String string) { argument
102 return intern(new StringIdItem(new CstString(string)));
108 * @param string {@code non-null;} the string to intern, as a constant
109 * @return {@code non-null;} the interned string
111 public StringIdItem intern(CstString string) { argument
121 intern(StringIdItem string) argument
156 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(CstString string) throws IOException { argument
640 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/
H A DCheckJni.cpp473 * The format string is a sequence of the following characters,
536 std::string msg;
588 std::string className(dvmHumanReadableType(c));
596 std::string name(dvmHumanReadableField((Field*) fid));
609 std::string name(dvmHumanReadableMethod((Method*) mid, true));
653 std::string methodName(dvmHumanReadableMethod(method, false));
932 ALOGW(" string: '%s'", bytes);
1686 static jsize Check_GetStringLength(JNIEnv* env, jstring string) { argument
1687 CHECK_JNI_ENTRY(kFlag_CritOkay, "Es", env, string);
1688 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringLength(env, string));
1691 Check_GetStringChars(JNIEnv* env, jstring string, jboolean* isCopy) argument
1706 Check_ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) argument
1726 Check_GetStringUTFLength(JNIEnv* env, jstring string) argument
1731 Check_GetStringUTFChars(JNIEnv* env, jstring string, jboolean* isCopy) argument
1743 Check_ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) argument
1934 Check_GetStringCritical(JNIEnv* env, jstring string, jboolean* isCopy) argument
1949 Check_ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* carray) argument
[all...]

Completed in 260 milliseconds