/external/icu/icu4c/source/tools/genrb/ |
D | rbutil.c | 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_dirname() local 33 if(lastSlash>filename) { in get_dirname() 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 35 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_basename() local 50 if(lastSlash>filename) { in get_basename() 51 uprv_strcpy(basename, lastSlash); in get_basename()
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
D | rbutil.c | 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_dirname() local 33 if(lastSlash>filename) { in get_dirname() 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 35 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_basename() local 50 if(lastSlash>filename) { in get_basename() 51 uprv_strcpy(basename, lastSlash); in get_basename()
|
/external/srec/portable/src/ |
D | PFileSystem.c | 444 LCHAR* lastSlash; in PFileSystemGetParentDirectory() local 461 lastSlash = LSTRRCHR(clone, L('/')); in PFileSystemGetParentDirectory() 462 if (lastSlash == NULL) in PFileSystemGetParentDirectory() 468 else if (lastSlash < clone + LSTRLEN(clone) - 1) in PFileSystemGetParentDirectory() 471 *(lastSlash + 1) = L('\0'); in PFileSystemGetParentDirectory() 484 if (lastSlash -clone + 2 == 3 && LSTRNCMP(clone, L("../"), 3) == 0) in PFileSystemGetParentDirectory() 497 if (lastSlash -clone + 1 == 2 && LSTRNCMP(clone, L("./"), 2) == 0) in PFileSystemGetParentDirectory() 509 else if (lastSlash == clone && LSTRNCMP(clone, L("/"), 1) == 0) in PFileSystemGetParentDirectory() 515 *lastSlash = 0; in PFileSystemGetParentDirectory() 516 lastSlash = LSTRRCHR(clone, L('/')); in PFileSystemGetParentDirectory() [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 177 int lastSlash = -1; in typeDescriptorToJavaName() local 180 if (descriptor [s] == '/') lastSlash = s; in typeDescriptorToJavaName() 183 … for (start = lastSlash > 0 ? lastSlash + 1 : start; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName()
|
/external/chromium-trace/trace-viewer/src/tcmalloc/ |
D | tcmalloc_snapshot_view.js | 113 var lastSlash = traceName.lastIndexOf('/'); 114 if (lastSlash != -1) 115 traceName = 'Task from ' + traceName.substr(lastSlash + 1);
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExtensionNamespacesManager.java | 171 int lastSlash = className.lastIndexOf("/"); in defineJavaNamespace() local 172 if (-1 != lastSlash) in defineJavaNamespace() 173 className = className.substring(lastSlash + 1); in defineJavaNamespace()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassProto.java | 661 int lastSlash = classType.lastIndexOf('/'); 662 if (lastSlash < 0) { 665 return classType.substring(1, lastSlash);
|
D | MethodAnalyzer.java | 1697 int lastSlash = className.lastIndexOf('/'); 1698 if (lastSlash < 0) { 1701 return className.substring(1, lastSlash);
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | numfmt.cpp | 1338 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1339 if ( lastSlash > firstSlash ) { in makeInstance() 1343 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1344 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | URI.java | 528 int lastSlash = basePath.lastIndexOf('/'); in initialize() local 530 if (lastSlash != -1) in initialize() 532 path = basePath.substring(0, lastSlash + 1); in initialize()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | URI.java | 508 int lastSlash = basePath.lastIndexOf('/'); in initialize() local 510 if (lastSlash != -1) in initialize() 512 path = basePath.substring(0, lastSlash + 1); in initialize()
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1465 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1466 if ( lastSlash > firstSlash ) { in makeInstance() 1470 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1471 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/external/emma/core/java12/com/vladium/emma/instr/ |
D | InstrVisitor.java | 2034 final int lastSlash = fullName.lastIndexOf ('/'); in setClassName() local 2035 if (lastSlash < 0) in setClassName() 2042 if ($assert.ENABLED) $assert.ASSERT (lastSlash < fullName.length () - 1, in setClassName() 2045 m_classPackageName = fullName.substring (0, lastSlash); in setClassName() 2046 m_className = fullName.substring (lastSlash + 1); in setClassName()
|
/external/chromium_org/chrome/browser/resources/profiler/ |
D | profiler.js | 782 var lastSlash = Math.max(path.lastIndexOf('/'), 784 if (lastSlash == -1) 787 return path.substr(lastSlash + 1);
|
/external/valgrind/main/callgrind/ |
D | dump.c | 1682 Int lastSlash, i; in CLG_() local 1711 lastSlash = 0; in CLG_() 1714 if (out_file[i] == '/') lastSlash = i; in CLG_() 1717 i = lastSlash; in CLG_()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwContents.java | 2207 int lastSlash = path.lastIndexOf('/'); 2208 if (lastSlash > 0) { 2209 name = path.substring(lastSlash + 1);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Grammar.java | 581 int lastSlash = saneFile.lastIndexOf('/'); in setName() local 582 String onlyFileName = saneFile.substring(lastSlash+1, fileName.length()); in setName()
|