Searched refs:lastSlash (Results 1 – 2 of 2) sorted by relevance
284 int lastSlash = descriptor.lastIndexOf('/'); in getPackageName() local286 if (lastSlash == -1) { in getPackageName()290 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.'); in getPackageName()
189 const char* lastSlash; in descriptorClassToName() local193 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() local1540 lastSlash = strrchr(mangle, '/'); in dumpClass()1541 if (lastSlash != NULL) { in dumpClass()[all …]