Searched refs:lastSlash (Results 1 – 2 of 2) sorted by relevance
281 int lastSlash = descriptor.lastIndexOf('/'); in getPackageName() local283 if (lastSlash == -1) { in getPackageName()287 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.'); in getPackageName()
191 const char* lastSlash; in descriptorClassToDot() local196 lastSlash = strrchr(str, '/'); in descriptorClassToDot()197 if (lastSlash == NULL) in descriptorClassToDot()198 lastSlash = str + 1; /* start past 'L' */ in descriptorClassToDot()200 lastSlash++; /* start past '/' */ in descriptorClassToDot()202 newStr = strdup(lastSlash); in descriptorClassToDot()203 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToDot()1521 char* lastSlash; in dumpClass() local1528 lastSlash = strrchr(mangle, '/'); in dumpClass()1529 if (lastSlash != NULL) { in dumpClass()[all …]