/external/icu4c/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/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/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
D | DeodexUtil.java | 225 int lastSlash = classRef.lastIndexOf('/'); in getPackage() local 226 if (lastSlash < 0) { in getPackage() 229 return classRef.substring(1, lastSlash); in getPackage()
|
D | ClassPath.java | 1004 int lastSlash = classType.lastIndexOf('/'); in getPackage() local 1005 if (lastSlash < 0) { in getPackage() 1008 return classType.substring(1, lastSlash); in getPackage()
|
/external/webkit/Tools/android/webkitmerge/ |
D | webkitmerge.cpp | 688 char* lastSlash = strrchr(start, '/') + 1; in GetMakeAndExceptions() local 697 if (ch == '/' && start == lastSlash) in GetMakeAndExceptions() 822 char* lastSlash; in UpdateDerivedMake() local 824 while ((lastSlash = strrchr(st, '/')) != NULL) { in UpdateDerivedMake() 825 char* lastEnd = strchr(lastSlash, ' '); in UpdateDerivedMake() 827 lastEnd = lastSlash + strlen(lastSlash); in UpdateDerivedMake() 828 myassert(lastSlash != 0); in UpdateDerivedMake() 829 lastSlash++; in UpdateDerivedMake() 830 size_t lastLen = lastEnd - lastSlash; in UpdateDerivedMake() 831 if (MarkDerivedFound(derived, lastSlash, lastLen) == false) { in UpdateDerivedMake() [all …]
|
/external/icu4c/i18n/ |
D | numfmt.cpp | 1315 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1316 if ( lastSlash > firstSlash ) { in makeInstance() 1320 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1321 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/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/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/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/webkit/Tools/DumpRenderTree/win/ |
D | DumpRenderTree.cpp | 241 int lastSlash = path.rfind('\\'); in exePath() local 242 if (lastSlash != -1 && lastSlash + 1 < path.length()) in exePath() 243 path = path.substr(0, lastSlash + 1); in exePath()
|
D | LayoutTestControllerWin.cpp | 321 int lastSlash = responseURL.rfind('/'); in queueLoad() local 322 if (lastSlash != -1) in queueLoad() 323 responseURL = responseURL.substr(0, lastSlash); in queueLoad()
|
/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/webkit/Source/WebCore/bridge/qt/ |
D | qt_runtime.cpp | 581 int lastSlash = qstring.lastIndexOf(QLatin1Char('/')); in convertValueToQVariant() local 582 if (firstSlash >=0 && lastSlash > firstSlash) { in convertValueToQVariant() 585 realRe.setPattern(qstring.mid(firstSlash + 1, lastSlash - firstSlash - 1)); in convertValueToQVariant() 587 if (qstring.mid(lastSlash + 1).contains(QLatin1Char('i'))) in convertValueToQVariant()
|
/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()
|