/external/icu/icu4c/source/tools/genrb/ |
D | rbutil.c | 33 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_dirname() local 35 if(lastSlash>filename) { in get_dirname() 36 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 37 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 49 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_basename() local 52 if(lastSlash>filename) { in get_basename() 53 uprv_strcpy(basename, lastSlash); in get_basename()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | TypeUtils.java | 56 int lastSlash = type.lastIndexOf('/'); in getPackage() local 57 if (lastSlash < 0) { in getPackage() 60 return type.substring(1, lastSlash); in getPackage()
|
/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/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | AnyPartial.cs | 66 int lastSlash = typeUrl.LastIndexOf('/'); in GetTypeName() 67 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
|
/external/toolchain-utils/compiler_wrapper/ |
D | errors.go | 58 if lastSlash := strings.LastIndex(file, "/"); lastSlash >= 0 { 59 file = file[lastSlash+1:]
|
/external/skqp/tools/lottiecap/ |
D | lottiecap.js | 191 let lastSlash = shortenedName.lastIndexOf('/'); 192 if (lastSlash !== -1) { 193 shortenedName = shortenedName.slice(lastSlash+1);
|
/external/skia/tools/lottiecap/ |
D | lottiecap.js | 191 let lastSlash = shortenedName.lastIndexOf('/'); 192 if (lastSlash !== -1) { 193 shortenedName = shortenedName.slice(lastSlash+1);
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | LongPathTest.java | 148 final int lastSlash = ent.lastIndexOf('/'); in testArchive() local 149 if (lastSlash >= 0) { // extract path name in testArchive() 150 expected.add(ent.substring(lastSlash + 1, ent.length())); in testArchive()
|
D | LongSymLinkTest.java | 147 final int lastSlash = ent.lastIndexOf('/'); in testArchive() local 148 if (lastSlash >= 0) { // extract path name in testArchive() 149 expected.add(ent.substring(lastSlash + 1, ent.length())); in testArchive()
|
/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/catch2/include/internal/ |
D | catch_session.cpp | 125 auto lastSlash = filename.find_last_of("\\/"); in applyFilenamesAsTags() local 126 if (lastSlash != std::string::npos) { in applyFilenamesAsTags() 127 filename.erase(0, lastSlash); in applyFilenamesAsTags()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | PathDescription.java | 164 int lastSlash = code.lastIndexOf('/'); in getDescription() local 165 … String codeName = lastSlash < 0 ? code : code.substring(lastSlash + 1).replace('_', ' '); in getDescription()
|
/external/angle/util/posix/ |
D | crash_handler_posix.cpp | 562 size_t lastSlash = resolvedModule.rfind('/'); 563 ASSERT(lastSlash != std::string::npos); 564 resolvedModule = resolvedModule.substr(0, lastSlash + 1) + linkBuf;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1484 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1486 if ( lastSlash > firstSlash ) { in createInstance() 1488 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1489 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 1332 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1334 if ( lastSlash > firstSlash ) { in createInstance() 1336 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1337 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | LambdaDesugaring.java | 366 int lastSlash = internalClassName.lastIndexOf('/'); in packageName() local 367 return lastSlash > 0 ? internalClassName.substring(0, lastSlash) : ""; in packageName()
|
/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/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1433 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1434 if ( lastSlash > firstSlash ) { in makeInstance() 1438 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1439 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/external/skqp/tools/bookmaker/ |
D | includeWriter.cpp | 974 size_t lastSlash = fFileName.rfind('/'); in firstBlockTrim() local 975 if (string::npos == lastSlash) { in firstBlockTrim() 976 lastSlash = fFileName.rfind('\\'); in firstBlockTrim() 978 string fileName = fFileName.substr(lastSlash + 1); in firstBlockTrim() 2018 size_t lastSlash = includeMapper.first.rfind('/'); in populate() local 2019 if (string::npos == lastSlash) { in populate() 2020 lastSlash = includeMapper.first.rfind('\\'); in populate() 2022 if (string::npos == lastSlash || lastSlash >= includeMapper.first.length() - 1) { in populate() 2025 string fileName = includeMapper.first.substr(lastSlash + 1); in populate()
|
/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/cldr/tools/java/org/unicode/cldr/tool/ |
D | CheckHtmlFiles.java | 662 int lastSlash = fileRegex.lastIndexOf(File.separatorChar, firstParen); in getSentences() local 663 base = fileRegex.substring(0, lastSlash); in getSentences() 664 regex = fileRegex.substring(lastSlash + 1); in getSentences()
|
D | GenerateItemCounts.java | 501 int lastSlash = file.lastIndexOf("/"); in doSummary() local 503 String path = file.substring(0, lastSlash); in doSummary() 504 String key = file.substring(lastSlash + 1); in doSummary()
|
/external/catch2/third_party/ |
D | clara.hpp | 913 auto lastSlash = newName.find_last_of( "\\/" ); in set() local 914 auto filename = ( lastSlash == std::string::npos ) in set() 916 : newName.substr( lastSlash+1 ); in set()
|
/external/catch2/include/external/ |
D | clara.hpp | 913 auto lastSlash = newName.find_last_of( "\\/" ); in set() local 914 auto filename = ( lastSlash == std::string::npos ) in set() 916 : newName.substr( lastSlash+1 ); in set()
|