Searched refs:lastSlash (Results 1 – 3 of 3) sorted by relevance
240 int lastSlash = descriptor.lastIndexOf('/'); in getPackageName() local242 if (lastSlash == -1) { in getPackageName()246 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.'); in getPackageName()
183 const char* lastSlash; in descriptorClassToDot() local188 lastSlash = strrchr(str, '/'); in descriptorClassToDot()189 if (lastSlash == NULL) in descriptorClassToDot()190 lastSlash = str + 1; /* start past 'L' */ in descriptorClassToDot()192 lastSlash++; /* start past '/' */ in descriptorClassToDot()194 newStr = strdup(lastSlash); in descriptorClassToDot()195 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToDot()1401 char* lastSlash; in dumpClass() local1408 lastSlash = strrchr(mangle, '/'); in dumpClass()1409 if (lastSlash != NULL) { in dumpClass()[all …]
59 const char* lastSlash; in Dalvik_java_lang_Class_desiredAssertionStatus() local62 lastSlash = strrchr(className, '/'); in Dalvik_java_lang_Class_desiredAssertionStatus()63 if (lastSlash == NULL) { in Dalvik_java_lang_Class_desiredAssertionStatus()66 pkgLen = lastSlash - className +1; in Dalvik_java_lang_Class_desiredAssertionStatus()