/external/chromium_org/third_party/icu/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/icu4c/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/srec/portable/src/ |
PFileSystem.c | 444 LCHAR* lastSlash; 461 lastSlash = LSTRRCHR(clone, L('/')); 462 if (lastSlash == NULL) 468 else if (lastSlash < clone + LSTRLEN(clone) - 1) 471 *(lastSlash + 1) = L('\0'); 484 if (lastSlash -clone + 2 == 3 && LSTRNCMP(clone, L("../"), 3) == 0) 497 if (lastSlash -clone + 1 == 2 && LSTRNCMP(clone, L("./"), 2) == 0) 509 else if (lastSlash == clone && LSTRNCMP(clone, L("/"), 1) == 0) 515 *lastSlash = 0; 516 lastSlash = LSTRRCHR(clone, L('/')) [all...] |
/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)
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 311 const char* lastSlash = strrchr(fileName, '/'); 312 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); 316 const size_t cpuAbiRegionSize = lastSlash - cpuAbiOffset; 345 && !strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN) 346 && isFilenameSafe(lastSlash + 1)) 347 || !strncmp(lastSlash + 1, GDBSERVER, GDBSERVER_LEN)) { 349 install_status_t ret = callFunc(env, callArg, &zipFile, entry, lastSlash + 1); 352 ALOGV("Failure for entry %s", lastSlash + 1);
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstType.java | 240 int lastSlash = descriptor.lastIndexOf('/'); 242 if (lastSlash == -1) { 246 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.');
|
/frameworks/base/media/java/android/media/ |
MediaFile.java | 295 int lastSlash = path.lastIndexOf('/'); 296 if (lastSlash >= 0) { 297 lastSlash++; 298 if (lastSlash < path.length()) { 299 path = path.substring(lastSlash);
|
MediaScanner.java | 832 int lastSlash = album.lastIndexOf('/'); 833 if (lastSlash >= 0) { 837 if (idx < 0 || idx >= lastSlash) { [all...] |
/system/core/libutils/ |
String8.cpp | 543 const char* lastSlash; 549 lastSlash = strrchr(str, OS_PATH_SEPARATOR); 550 if (lastSlash == NULL) 551 lastSlash = str; 553 lastSlash++; 556 lastDot = strrchr(lastSlash, '.');
|
/libcore/luni/src/main/java/java/net/ |
CookieManager.java | 202 int lastSlash = path.lastIndexOf('/'); // -1 yields the empty string 203 return path.substring(0, lastSlash + 1);
|
/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/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
DeodexUtil.java | 225 int lastSlash = classRef.lastIndexOf('/'); 226 if (lastSlash < 0) { 229 return classRef.substring(1, lastSlash);
|
ClassPath.java | [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 313 int lastSlash = name.lastIndexOf('/'); 314 if (lastSlash >= 0) { 315 name = name.substring(lastSlash + 1); 732 int lastSlash = path.lastIndexOf('/'); 733 if (lastSlash <= 1) { 736 String newPath = path.substring(0, lastSlash + 1) + newName; [all...] |
MtpPropertyGroup.java | 275 int lastSlash = path.lastIndexOf('/'); 276 if (lastSlash >= 0) { 277 start = lastSlash + 1;
|
/dalvik/dexdump/ |
DexDump.cpp | 183 const char* lastSlash; 188 lastSlash = strrchr(str, '/'); 189 if (lastSlash == NULL) 190 lastSlash = str + 1; /* start past 'L' */ 192 lastSlash++; /* start past '/' */ 194 newStr = strdup(lastSlash); 195 newStr[strlen(lastSlash)-1] = '\0'; [all...] |
/dalvik/vm/native/ |
java_lang_Class.cpp | 59 const char* lastSlash; 62 lastSlash = strrchr(className, '/'); 63 if (lastSlash == NULL) { 66 pkgLen = lastSlash - className +1;
|
/external/chromium_org/third_party/icu/source/i18n/ |
numfmt.cpp | [all...] |
/external/icu4c/i18n/ |
numfmt.cpp | [all...] |
/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/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/emma/core/java12/com/vladium/emma/instr/ |
InstrVisitor.java | [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContents.java | [all...] |
/external/valgrind/main/callgrind/ |
dump.c | [all...] |