Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/rop/cst/
DCstType.java284 int lastSlash = descriptor.lastIndexOf('/'); in getPackageName() local
286 if (lastSlash == -1) { in getPackageName()
290 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.'); in getPackageName()
/dalvik/dexdump/
DDexDump.cpp189 const char* lastSlash; in descriptorClassToName() local
193 lastSlash = strrchr(str, '/'); in descriptorClassToName()
194 if (lastSlash == NULL) in descriptorClassToName()
195 lastSlash = str + 1; /* start past 'L' */ in descriptorClassToName()
197 lastSlash++; /* start past '/' */ in descriptorClassToName()
199 newStr = strdup(lastSlash); in descriptorClassToName()
200 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToName()
1533 char* lastSlash; in dumpClass() local
1540 lastSlash = strrchr(mangle, '/'); in dumpClass()
1541 if (lastSlash != NULL) { in dumpClass()
[all …]