/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
H A D | CstString.java | 26 /** {@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 D | CstUtf8.java | 28 * 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/dexgen/src/com/android/dexgen/dex/file/ |
H A D | StringIdsSection.java | 35 * {@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...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | StringIdsSection.java | 34 * {@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...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstString.java | 29 * 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/ |
H A D | UtfString.h | 18 * UTF-8 and Unicode string manipulation functions, plus convenience 24 #include <string> 57 * Hash function for string objects. Ensures the hash code field is 70 ArrayObject* dvmCreateStringArray(const std::vector<std::string>& strings); 73 * Create a java/lang/String from a C string. 82 * Create a java/lang/String from a C++ string. 88 StringObject* dvmCreateStringFromCstr(const std::string& utf8Str); 91 * Create a java/lang/String from a C string, given its UTF-16 length 102 * Compute the number of characters in a "modified UTF-8" string. This will 108 * Convert a UTF-8 string t [all...] |
H A D | Misc.h | 23 #include <string> 137 * Return a newly-allocated string in which all occurrences of '.' have 138 * been changed to '/'. If we find a '/' in the original string, NULL 144 * Return a newly-allocated string containing a human-readable equivalent 148 std::string dvmHumanReadableDescriptor(const char* descriptor); 151 * Returns a human-readable string form of the name of the class of 156 std::string dvmHumanReadableType(const Object* obj); 159 * Returns a human-readable string of the form "package.Class.fieldName". 162 std::string dvmHumanReadableField(const Field* field); 165 * Returns a human-readable string o [all...] |
H A D | Init.h | 26 std::string dvmStartup(int argc, const char* const argv[],
|
H A D | Misc.cpp | 24 #include <string.h> 45 * Does not use printf() or other string-formatting calls. 196 * Return a newly-allocated string in which all occurrences of '.' have 197 * been changed to '/'. If we find a '/' in the original string, NULL 221 std::string dvmHumanReadableDescriptor(const char* descriptor) { 251 // At this point, 'c' is a string of the form "fully/qualified/Type;" 253 std::string result; 269 std::string dvmHumanReadableType(const Object* obj) 278 std::string result(dvmHumanReadableDescriptor(obj->clazz->descriptor)); 286 std::string dvmHumanReadableFiel [all...] |
H A D | ReferenceTable.cpp | 227 std::string className(dvmHumanReadableType(obj)); 238 std::string msg(StringPrintf("%5d of %s", total, className.c_str())); 284 std::string className(dvmHumanReadableType(ref)); 286 std::string extras;
|
H A D | CheckJni.cpp | 473 * 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...] |
/dalvik/vm/alloc/TEST/HeapBitmapTest/include/ |
H A D | Dalvik.h | 7 #include <string.h>
|
/dalvik/vm/mterp/x86-atom/ |
H A D | OP_CONST_STRING.S | 19 * Code: Move a string reference to a register. Uses no substitutions. 21 * For: const/string 23 * Description: Move a referece to the string specified by the given 28 * Syntax: op vAA, string@BBBB 36 cmp $$0, %eax # check if string is resolved 37 je .L${opcode}_resolve # resolve string reference 57 call dvmResolveString # resolve string reference 61 cmp $$0, %eax # check if resolved string failed
|
H A D | OP_CONST_STRING_JUMBO.S | 19 * Code: Move a string reference to a register. Uses no substitutions. 21 * For: const/string-jumbo 23 * Description: Move a reference to the string specified by the given 28 * Syntax: op vAA, string@BBBBBBBB 39 cmp $$0, %eax # check if string is resolved 40 je .L${opcode}_resolve # resolve string reference 59 call dvmResolveString # resolve string reference 63 cmp $$0, %eax # check if resolved string failed
|
/dalvik/vm/analysis/ |
H A D | VerifySubs.cpp | 81 std::string dotMissingClass = dvmHumanReadableDescriptor(missingClassDescr); 82 std::string dotFromClass = dvmHumanReadableDescriptor(meth->clazz->descriptor);
|
/dalvik/docs/ |
H A D | prettify.js | 61 * @param {Array.<string>} out output buffer that receives chunks of HTML. 72 * @param {string} sourceCodeHtml code as html 73 * @return {string} code as html, but prettier 126 "stackalloc string select uint ulong unchecked unsafe ushort var "; 147 /** token style for a string literal */ 157 /** token style for a punctuation string. */ 159 /** token style for a punctuation string. */ 239 pattern += '|^)\\s*$'; // matches at end, and matches empty string 375 * @return {function (string) : string} [all...] |
/dalvik/dx/src/com/android/dx/io/ |
H A D | DexIndexPrinter.java | 48 for (String string : dexBuffer.strings()) { 49 System.out.println("string " + index + ": " + string);
|
/dalvik/libdex/ |
H A D | OptInvocation.cpp | 27 #include <string.h> 45 * Returns a newly-allocated string, or NULL on failure.
|
H A D | CmdUtils.cpp | 24 #include <string.h>
|
H A D | DexFile.cpp | 33 #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/tools/gdbjithelper/ |
H A D | gdbjithelper.c | 20 #include <string.h>
|
/dalvik/vm/native/ |
H A D | InternalNative.cpp | 167 std::string expectedClassName(dvmHumanReadableDescriptor(clazz->descriptor)); 168 std::string actualClassName(dvmHumanReadableType(obj));
|
/dalvik/vm/hprof/ |
H A D | HprofClass.cpp | 69 std::string name(dvmHumanReadableDescriptor(descriptor)); 95 /* Make sure that the class's name is in the string table. 129 * ID: class name string ID
|
/dalvik/vm/os/ |
H A D | android.cpp | 65 std::string threadName(dvmGetThreadName(thread));
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
H A D | FindUsages.java | 55 String string = strings.get(i); 56 if (declaredByPattern.matcher(string).matches()) { 59 if (memberNamePattern.matcher(string).matches()) {
|