/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 140 char *cp = buf; in parseInputFile() local 141 if (*cp == '#') in parseInputFile() 144 if (isdigit(*cp)) { in parseInputFile() 145 int time = strtoul(cp, &cp, 0); in parseInputFile() 146 while (isspace(*cp)) in parseInputFile() 147 cp += 1; in parseInputFile() 148 int threadId = strtoul(cp, &cp, 0); in parseInputFile() 152 indentEnd = cp; in parseInputFile() 155 if (indentEnd - cp + 1 > maxFrames) in parseInputFile() 156 maxFrames = indentEnd - cp + 1; in parseInputFile() [all …]
|
/dalvik/libdex/ |
D | OptInvocation.cpp | 53 char* cp; in dexOptGenerateCacheFileName() local 86 cp = absoluteFile + 1; in dexOptGenerateCacheFileName() 87 while (*cp != '\0') { in dexOptGenerateCacheFileName() 88 if (*cp == '/') { in dexOptGenerateCacheFileName() 89 *cp = '@'; in dexOptGenerateCacheFileName() 91 cp++; in dexOptGenerateCacheFileName()
|
D | DexFile.cpp | 139 char* cp; in dexSHA1DigestToStr() local 142 cp = tmpBuf; in dexSHA1DigestToStr() 144 *cp++ = hexDigit[digest[i] >> 4]; in dexSHA1DigestToStr() 145 *cp++ = hexDigit[digest[i] & 0x0f]; in dexSHA1DigestToStr() 147 *cp++ = '\0'; in dexSHA1DigestToStr() 149 assert(cp == tmpBuf + kSHA1DigestOutputLen); in dexSHA1DigestToStr()
|
/dalvik/vm/ |
D | Misc.cpp | 203 char* cp = newStr; in dvmDotToSlash() local 208 while (*cp != '\0') { in dvmDotToSlash() 209 if (*cp == '/') { in dvmDotToSlash() 213 if (*cp == '.') in dvmDotToSlash() 214 *cp = '/'; in dvmDotToSlash() 215 cp++; in dvmDotToSlash() 694 char* cp = strchr(lineBuf, ')'); in dvmGetThreadStats() local 695 if (cp == NULL) in dvmGetThreadStats() 697 cp++; in dvmGetThreadStats() 699 cp = strchr(cp+1, ' '); in dvmGetThreadStats() [all …]
|
D | StdioConverter.cpp | 228 char* cp = data->buf; in readAndLog() local 231 for (i = data->count; i > 0; i--, cp++) { in readAndLog() 232 if (*cp == '\n' || (*cp == '\r' && i != 0 && *(cp+1) != '\n')) { in readAndLog() 233 *cp = '\0'; in readAndLog() 236 start = cp+1; in readAndLog() 246 start = cp + kMaxLine; in readAndLog()
|
D | Sync.cpp | 275 char *cp; in logContentionEvent() local 281 cp = eventBuffer; in logContentionEvent() 284 *cp++ = 9; in logContentionEvent() 292 cp = logWriteString(cp, procName, len); in logContentionEvent() 299 cp = logWriteInt(cp, isSensitive); in logContentionEvent() 303 cp = logWriteString(cp, selfName.c_str(), selfName.size()); in logContentionEvent() 306 cp = logWriteInt(cp, waitMs); in logContentionEvent() 311 cp = logWriteString(cp, fileName, strlen(fileName)); in logContentionEvent() 315 cp = logWriteInt(cp, dvmLineNumFromPC(meth, relativePc)); in logContentionEvent() 324 cp = logWriteString(cp, ownerFileName, strlen(ownerFileName)); in logContentionEvent() [all …]
|
D | Native.cpp | 626 char* cp = mangle; in mangleString() local 631 sprintf(cp, "_0%04x", ch); in mangleString() 632 cp += 6; in mangleString() 636 *cp++ = '_'; in mangleString() 637 *cp++ = '1'; in mangleString() 640 *cp++ = '_'; in mangleString() 641 *cp++ = '2'; in mangleString() 644 *cp++ = '_'; in mangleString() 645 *cp++ = '3'; in mangleString() 648 *cp++ = '_'; in mangleString() [all …]
|
D | Exception.cpp | 1127 char* cp = dvmCreateCstrFromString(messageStr); in logStackTraceOf() local 1131 ALOGI("%s: %s", className.c_str(), cp); in logStackTraceOf() 1132 free(cp); in logStackTraceOf()
|
/dalvik/vm/hprof/ |
D | HprofString.cpp | 41 const char *cp; in computeUtf8Hash() local 44 cp = str; in computeUtf8Hash() 45 while ((c = *cp++) != '\0') { in computeUtf8Hash()
|
D | HprofClass.cpp | 43 const char *cp; in computeClassHash() local 46 cp = clazz->descriptor; in computeClassHash() 48 while ((c = *cp++) != '\0') { in computeClassHash()
|
/dalvik/dalvikvm/ |
D | Main.cpp | 241 char* cp; in main() local 245 for (cp = slashClass; *cp != '\0'; cp++) in main() 246 if (*cp == '.') in main() 247 *cp = '/'; in main()
|
/dalvik/tests/ |
D | run-test | 185 cp -Rp "$test_dir" "$tmp_dir" 189 cp "${progdir}/etc/default-build" build 193 cp "${progdir}/etc/default-run" run 223 cp "$build_output" "$output"
|
/dalvik/vm/reflect/ |
D | Reflect.cpp | 135 char* cp = signature; in convertSignatureToClassArray() local 136 while (*cp != ')') { in convertSignatureToClassArray() 139 if (*cp == '[') { in convertSignatureToClassArray() 140 while (*++cp == '[') in convertSignatureToClassArray() 143 if (*cp == 'L') { in convertSignatureToClassArray() 144 while (*++cp != ';') in convertSignatureToClassArray() 147 cp++; in convertSignatureToClassArray() 158 cp = signature; in convertSignatureToClassArray() 160 ClassObject* clazz = convertSignaturePartToClass(&cp, defClass); in convertSignatureToClassArray() 169 *pSignature = cp; in convertSignatureToClassArray() [all …]
|
/dalvik/hit/test/ |
D | testparser | 8 java -cp build com.android.hit.Main ../samples/android.hprof
|
/dalvik/dexdump/ |
D | DexDump.cpp | 185 char* cp; in descriptorClassToDot() local 196 for (cp = newStr; *cp != '\0'; cp++) { in descriptorClassToDot() 197 if (*cp == '$') in descriptorClassToDot() 198 *cp = '.'; in descriptorClassToDot() 326 char* cp; in createAccessFlagStr() local 334 cp = str = (char*) malloc(count * (kLongest+1) +1); in createAccessFlagStr() 340 if (cp != str) in createAccessFlagStr() 341 *cp++ = ' '; in createAccessFlagStr() 343 memcpy(cp, accessStr, len); in createAccessFlagStr() 344 cp += len; in createAccessFlagStr() [all …]
|
/dalvik/dexopt/ |
D | OptMain.cpp | 467 char* cp; in fromDex() local 476 cp = bootClassPath = (char*) malloc(bcpLen +1); in fromDex() 483 *cp++ = ':'; in fromDex() 484 memcpy(cp, *argp, strLen); in fromDex() 485 cp += strLen; in fromDex() 487 *cp = '\0'; in fromDex()
|
/dalvik/dx/tests/117-modified-utf8/ |
D | run | 22 javac -cp $dxjar `find . -name "*.java"`
|
/dalvik/dx/tests/116-leb128/ |
D | run | 22 javac -cp $dxjar `find . -name "*.java"`
|
/dalvik/opcode-gen/ |
D | opcode-gen | 62 cp "$tmpfile" "$file"
|
/dalvik/dx/tests/119-merge-conflict/ |
D | run | 22 javac -cp $dxjar `find . -name "*.java"`
|
/dalvik/dx/tests/115-merge/ |
D | run | 22 javac -cp $dxjar `find . -name "*.java"`
|
/dalvik/tests/etc/ |
D | default-build | 33 ${JAVAC} -d classes-ex -cp classes `find src-ex -name '*.java'`
|
D | host-run-test-jar | 159 -cp test.jar Main "$@"
|
/dalvik/dx/tests/ |
D | run-test | 107 cp -Rp "$testdir" "$tmpdir"
|
/dalvik/vm/oo/ |
D | Class.cpp | 658 char* cp; in processClassPath() local 674 for (cp = mangle; *cp != '\0'; cp++) { in processClassPath() 675 if (*cp == ':') { /* separates two entries */ in processClassPath() 677 *cp = '\0'; in processClassPath() 680 end = cp; in processClassPath() 695 cp = mangle; in processClassPath() 697 while (cp < end) { in processClassPath() 698 if (*cp == '\0') { in processClassPath() 702 dvmPathToAbsolutePortion(cp) == NULL) { in processClassPath() 703 ALOGE("Non-absolute bootclasspath entry '%s'", cp); in processClassPath() [all …]
|