Searched refs:newStr (Results 1 – 8 of 8) sorted by relevance
/dalvik/vm/ |
D | Misc.c | 345 char* newStr = strdup(str); in dvmDotToSlash() local 346 char* cp = newStr; in dvmDotToSlash() 358 return newStr; in dvmDotToSlash() 370 char* newStr; in dvmDescriptorToDot() local 377 newStr = malloc(at + 1); /* Add one for the '\0'. */ in dvmDescriptorToDot() 378 newStr[at] = '\0'; in dvmDescriptorToDot() 382 newStr[at] = (str[at] == '/') ? '.' : str[at]; in dvmDescriptorToDot() 385 return newStr; in dvmDescriptorToDot() 398 char* newStr; in dvmDotToDescriptor() local 406 newStr = at = malloc(length + 1); /* + 1 for the '\0' */ in dvmDotToDescriptor() [all …]
|
D | UtfString.c | 364 char* newStr; in dvmCreateCstrFromString() local 382 newStr = (char*) malloc(byteLen+1); in dvmCreateCstrFromString() 383 if (newStr == NULL) in dvmCreateCstrFromString() 385 convertUtf16ToUtf8(newStr, data, len); in dvmCreateCstrFromString() 387 return newStr; in dvmCreateCstrFromString()
|
D | Jni.c | 2187 StringObject* newStr; in NewStringUTF() local 2190 newStr = NULL; in NewStringUTF() 2192 newStr = dvmCreateStringFromCstr(bytes, ALLOC_DEFAULT); in NewStringUTF() 2193 if (newStr != NULL) { in NewStringUTF() 2194 dvmReleaseTrackedAlloc((Object*)newStr, NULL); in NewStringUTF() 2195 newStr = addLocalReference((jstring) newStr); in NewStringUTF() 2200 return (jstring)newStr; in NewStringUTF() 2234 char* newStr; in GetStringUTFChars() local 2238 newStr = NULL; in GetStringUTFChars() 2243 newStr = dvmCreateCstrFromString((StringObject*) string); in GetStringUTFChars() [all …]
|
/dalvik/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexClassLoader.java | 183 StringBuilder newStr = new StringBuilder(80); in generateOutputName() local 186 newStr.append(outputDir); in generateOutputName() 188 newStr.append("/"); in generateOutputName() 209 newStr.append(sourceFileName); in generateOutputName() 211 newStr.append(sourceFileName, 0, lastDot); in generateOutputName() 212 newStr.append(".dex"); in generateOutputName() 215 System.out.println("Output file will be " + newStr.toString()); in generateOutputName() 216 return newStr.toString(); in generateOutputName()
|
/dalvik/vm/hprof/ |
D | HprofString.c | 67 const char *newStr; in hprofLookupStringId() local 69 newStr = strdup(str); in hprofLookupStringId() 70 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)newStr, in hprofLookupStringId()
|
/dalvik/dexlist/ |
D | DexList.c | 46 char* newStr; in descriptorToDot() local 54 newStr = malloc(at + 1); /* Add one for the '\0'. */ in descriptorToDot() 55 newStr[at] = '\0'; in descriptorToDot() 59 newStr[at] = (str[at] == '/') ? '.' : str[at]; in descriptorToDot() 62 return newStr; in descriptorToDot()
|
/dalvik/libcore/security/src/test/java/tests/security/acl/ |
D | IAclTest.java | 115 String newStr = "NewName"; in test_Acl02() local 119 acl.setName(pr, newStr); in test_Acl02() 120 assertEquals("Names are not equal", newStr, acl.getName()); in test_Acl02()
|
/dalvik/dexdump/ |
D | DexDump.c | 120 char* newStr; in descriptorToDot() local 144 newStr = malloc(targetLen + arrayDepth * 2 +1); in descriptorToDot() 150 newStr[i] = (ch == '/' || ch == '$') ? '.' : ch; in descriptorToDot() 155 newStr[i++] = '['; in descriptorToDot() 156 newStr[i++] = ']'; in descriptorToDot() 158 newStr[i] = '\0'; in descriptorToDot() 161 return newStr; in descriptorToDot() 173 char* newStr; in descriptorClassToDot() local 183 newStr = strdup(lastSlash); in descriptorClassToDot() 184 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToDot() [all …]
|