Home
last modified time | relevance | path

Searched refs:newStr (Results 1 – 2 of 2) sorted by relevance

/dalvik/dexlist/
DDexList.cpp58 char* newStr; in descriptorToDot() local
66 newStr = (char*)malloc(at + 1); /* Add one for the '\0'. */ in descriptorToDot()
67 newStr[at] = '\0'; in descriptorToDot()
71 newStr[at] = (str[at] == '/') ? '.' : str[at]; in descriptorToDot()
74 return newStr; in descriptorToDot()
/dalvik/dexdump/
DDexDump.cpp131 char* newStr; in descriptorToDot() local
155 newStr = (char*)malloc(targetLen + arrayDepth * 2 +1); in descriptorToDot()
161 newStr[i] = (ch == '/' || ch == '$') ? '.' : ch; in descriptorToDot()
166 newStr[i++] = '['; in descriptorToDot()
167 newStr[i++] = ']'; in descriptorToDot()
169 newStr[i] = '\0'; in descriptorToDot()
172 return newStr; in descriptorToDot()
184 char* newStr; in descriptorClassToDot() local
194 newStr = strdup(lastSlash); in descriptorClassToDot()
195 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToDot()
[all …]