/dalvik/vm/jdwp/ |
H A D | ExpandBuf.cpp | 25 #include <string.h> 161 * Add a UTF8 string as a 4-byte length followed by a non-NULL-terminated 162 * string.
|
/dalvik/vm/ |
H A D | Exception.cpp | 272 ALOGW("Could not allocate message string \"%s\" while " 315 * because it doesn't take the message string as an argument, but it 366 * constructor, e.g. it doesn't provide one that takes a string 1010 std::string dotName(dvmHumanReadableDescriptor(meth->clazz->descriptor)); 1052 std::string dotName(dvmHumanReadableDescriptor(meth->clazz->descriptor)); 1064 * Get the message string. We'd like to just grab the field out of 1068 * Returns the message string object, or NULL if it wasn't set or 1069 * we encountered a failure trying to retrieve it. The string will 1124 std::string className(dvmHumanReadableDescriptor(exception->clazz->descriptor)); 1192 std::string actualClassNam [all...] |
H A D | Globals.h | 32 #include <string> 47 char* pkgOrClass; /* package/class string, or NULL for esa/dsa */ 48 int pkgOrClassLen; /* string length, for quick compare */ 50 bool isPackage; /* string ended with "..."? */ 169 std::vector<std::string>* properties; 205 /* A mutex that guards access to the interned string tables. */
|
H A D | UtfString.cpp | 18 * UTF-8 and Unicode string manipulation, plus java/lang/String convenience 77 * Compute a hash code on a UTF-8 string, for use with internal hash tables. 128 * Convert a "modified" UTF-8 string to UTF-16. 137 * Given a UTF-16 string, compute the length of the corresponding UTF-8 138 * string in bytes. 162 * Convert a UTF-16 string to UTF-8. 226 StringObject* dvmCreateStringFromCstr(const std::string& utf8Str) { 231 * Create a java/lang/String from a C string, given its UTF-16 length 280 * Create a new C string from a java/lang/String object. 385 ArrayObject* dvmCreateStringArray(const std::vector<std::string> [all...] |
H A D | Bits.h | 28 #include <string.h> 220 * Skip over a UTF-8 string (preceded by a 4-byte length). 230 * Read a UTF-8 string into a fixed-size buffer, and null-terminate it. 232 * Returns the length of the original string. 247 * Read a UTF-8 string into newly-allocated storage, and null-terminate it. 249 * Returns the string and its length. (The latter is probably unnecessary 348 * Stuff a UTF-8 string into the buffer.
|
H A D | JarFile.cpp | 29 #include <string.h>
|
H A D | Thread.h | 540 std::string dvmGetThreadName(Thread* thread); 543 * Convert ThreadStatus to a string.
|
H A D | Profile.cpp | 25 #include <string.h> 290 std::string threadName(dvmGetThreadName(thread));
|
/dalvik/vm/compiler/template/ |
H A D | gen-template.py | 22 import sys, string, re, time namespace 23 from string import Template
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | DebugInfoEncoder.java | 47 * <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/dx/src/com/android/dx/dex/file/ |
H A D | DebugInfoEncoder.java | 47 * <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/vm/interp/ |
H A D | Interp.cpp | 1314 * Each returns a newly-allocated string. 1317 static std::string classNameFromIndex(const Method* method, int ref, 1332 std::string dotClassName(dvmHumanReadableDescriptor(className)); 1337 std::string result; 1347 static std::string fieldNameFromIndex(const Method* method, int ref, 1360 std::string dotName(dvmHumanReadableDescriptor(className)); 1363 std::string result; 1372 static std::string methodNameFromIndex(const Method* method, int ref, 1385 std::string dotName(dvmHumanReadableDescriptor(className)); 1389 std::string resul [all...] |
H A D | Stack.cpp | 639 std::string expectedClassName(dvmHumanReadableDescriptor(expected->descriptor)); 640 std::string actualClassName = dvmHumanReadableType(arg); 1159 std::string msg(StringPrintf(" - waiting %s <%p> ", detail, obj)); 1168 std::string threadName(dvmGetThreadName(thread)); 1228 std::string methodName(dvmHumanReadableMethod(method, false));
|
/dalvik/vm/analysis/ |
H A D | DexPrepare.cpp | 32 #include <string> 65 static std::string saneDirName(const std::string& path) { 67 if (n == std::string::npos) { 78 static bool directoryIsValid(const std::string& fileName) 80 std::string dirName(saneDirName(fileName)); 148 // TODO: write an equivalent of strerror_r that returns a std::string. 149 const std::string errnoString(strerror(errno));
|
/dalvik/libdex/ |
H A D | DexClass.cpp | 22 #include <string.h>
|
H A D | DexDebugInfo.cpp | 26 #include <string.h> 69 * returns the length of a type string, given the start of the 70 * type string. Used for the case where the debug info format 81 * Reads a string index as encoded for the debug info format, 82 * returning a string pointer or NULL as appropriate. 88 // Remember, encoded string indicies have 1 added to them. 98 * a string pointer for its descriptor or NULL as appropriate.
|
/dalvik/vm/hprof/ |
H A D | Hprof.cpp | 21 * heap, and some analysis tools require that the class and string data 29 #include <string.h>
|
/dalvik/vm/oo/ |
H A D | Resolve.cpp | 37 * string. It might be in the same DEX file as "referrer", in a different 222 std::string msg; 343 std::string msg; 511 * Resolve a string reference. 513 * Finding the string is easy. We need to return a reference to a 515 * first time we get here we need to create an interned string. 525 LOGVV("+++ resolving string, referrer is %s", referrer->descriptor); 545 * By requesting an immortal interned string, we guarantee that 566 * For debugging: return a string representing the methodType.
|
/dalvik/tools/dmtracedump/ |
H A D | CreateTestTrace.c | 24 #include <string.h> 27 #include <string.h>
|
/dalvik/vm/mterp/ |
H A D | gen-mterp.py | 22 import sys, string, re, time namespace 23 from string import Template
|
/dalvik/vm/native/ |
H A D | dalvik_system_VMDebug.cpp | 24 #include <string.h> 55 std::vector<std::string> features; 598 * Pick the string apart. We have a local copy, so just modify it 605 dvmThrowRuntimeException("method name not found in string"); 612 dvmThrowRuntimeException("method descriptor not found in string");
|
/dalvik/dalvikvm/ |
H A D | Main.cpp | 23 #include <string.h>
|
/dalvik/dexlist/ |
H A D | DexList.cpp | 33 #include <string.h> 50 * Return a newly-allocated string for the "dot version" of the class
|
/dalvik/hit/src/com/android/hit/ |
H A D | HprofParser.java | 70 * ID: heap name string ID 192 String string = readUTF8(length); 194 mStrings.put(id, string);
|
/dalvik/dexopt/ |
H A D | OptMain.cpp | 48 #include <string.h> 225 * TODO: we have a partial string match, but that doesn't mean
|