/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 33 if(lastSlash>filename) { 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); 35 *(dirname + (lastSlash - filename)) = '\0'; 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 50 if(lastSlash>filename) { 51 uprv_strcpy(basename, lastSlash);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
TypeUtils.java | 56 int lastSlash = type.lastIndexOf('/'); 57 if (lastSlash < 0) { 60 return type.substring(1, lastSlash);
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExtensionNamespacesManager.java | 171 int lastSlash = className.lastIndexOf("/"); 172 if (-1 != lastSlash) 173 className = className.substring(lastSlash + 1);
|
/external/emma/core/java12/com/vladium/util/ |
Descriptors.java | 177 int lastSlash = -1; 180 if (descriptor [s] == '/') lastSlash = s; 183 for (start = lastSlash > 0 ? lastSlash + 1 : start; descriptor [start] != ';'; ++ start)
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
Handler.java | 198 int lastSlash = ctxFile.lastIndexOf('/'); 199 if (lastSlash == -1) { 204 ctxFile = ctxFile.substring(0, lastSlash + 1);
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstType.java | 241 int lastSlash = descriptor.lastIndexOf('/'); 243 if (lastSlash == -1) { 247 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.');
|
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 283 int lastSlash = path.lastIndexOf('/'); 284 if (lastSlash >= 0) { 285 start = lastSlash + 1;
|
MtpDatabase.java | 388 int lastSlash = name.lastIndexOf('/'); 389 if (lastSlash >= 0) { 390 name = name.substring(lastSlash + 1); 780 int lastSlash = path.lastIndexOf('/'); 781 if (lastSlash <= 1) { 784 String newPath = path.substring(0, lastSlash + 1) + newName; [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
CompilerStats.java | 104 int lastSlash = codePath.lastIndexOf(File.separatorChar); 105 return codePath.substring(lastSlash + 1);
|
/system/core/libutils/ |
String8.cpp | 590 const char* lastSlash; 595 lastSlash = strrchr(str, OS_PATH_SEPARATOR); 596 if (lastSlash == NULL) 597 lastSlash = str; 599 lastSlash++; 602 lastDot = strrchr(lastSlash, '.');
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
URI.java | 508 int lastSlash = basePath.lastIndexOf('/'); 510 if (lastSlash != -1) 512 path = basePath.substring(0, lastSlash + 1); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
URI.java | 528 int lastSlash = basePath.lastIndexOf('/'); 530 if (lastSlash != -1) 532 path = basePath.substring(0, lastSlash + 1); [all...] |
/external/v8/build/android/rezip/ |
RezipApk.java | 63 int lastSlash = filename.lastIndexOf('/'); 66 return filename.substring(0, lastSlash + 1) + "crazy." + filename.substring(lastSlash + 1);
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 347 const char* lastSlash = strrchr(fileName, '/'); 348 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); 351 if (!strncmp(lastSlash + 1, GDBSERVER, GDBSERVER_LEN)) { 352 mLastSlash = lastSlash; 358 || strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN)) { 363 if (!isFilenameSafe(lastSlash + 1)) { 367 mLastSlash = lastSlash; 378 inline const char* lastSlash() const { 415 const char* lastSlash = it->lastSlash(); [all...] |
/art/dexdump/ |
dexdump.cc | 172 const char* lastSlash = strrchr(str, '/'); 173 if (lastSlash == nullptr) { 174 lastSlash = str + 1; // start past 'L' 176 lastSlash++; // start past '/' 179 char* newStr = strdup(lastSlash); 180 newStr[strlen(lastSlash) - 1] = '\0'; [all...] |
/dalvik/dexdump/ |
DexDump.cpp | 184 const char* lastSlash; 189 lastSlash = strrchr(str, '/'); 190 if (lastSlash == NULL) 191 lastSlash = str + 1; /* start past 'L' */ 193 lastSlash++; /* start past '/' */ 195 newStr = strdup(lastSlash); 196 newStr[strlen(lastSlash)-1] = '\0'; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
NumberFormat.java | [all...] |
/external/icu/icu4c/source/i18n/ |
numfmt.cpp | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
NumberFormat.java | [all...] |
/frameworks/base/media/java/android/media/ |
MediaFile.java | 325 int lastSlash = path.lastIndexOf('/'); 326 if (lastSlash >= 0) { 327 lastSlash++; 328 if (lastSlash < path.length()) { 329 path = path.substring(lastSlash);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 555 int lastSlash = baseLocation.lastIndexOf('/'); 556 if (lastSlash != -1) { 557 int end = baseLocation.lastIndexOf('/', lastSlash - 1); // -1 is okay 558 String resourceFolder = baseLocation.substring(end + 1, lastSlash); [all...] |
/external/dbus/dbus/ |
dbus-sysdeps-win.c | [all...] |
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrVisitor.java | [all...] |
/developers/build/lib/ |
assetstudio.jar | |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Grammar.java | 581 int lastSlash = saneFile.lastIndexOf('/'); 582 String onlyFileName = saneFile.substring(lastSlash+1, fileName.length()); [all...] |