/external/cronet/third_party/icu/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/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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/ |
D | TypeUtils.java | 55 int lastSlash = type.lastIndexOf('/'); in getPackage() local 56 if (lastSlash < 0) { in getPackage() 59 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/cronet/third_party/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/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 | 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()
|
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()
|
/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/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 1395 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1397 if ( lastSlash > firstSlash ) { in createInstance() 1399 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1400 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1483 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1485 if ( lastSlash > firstSlash ) { in createInstance() 1487 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1488 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/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | PathDescription.java | 855 int lastSlash = code.lastIndexOf('/'); in getDescription() local 856 … String codeName = lastSlash < 0 ? code : code.substring(lastSlash + 1).replace('_', ' '); in getDescription()
|
/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 | 1441 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1442 if ( lastSlash > firstSlash ) { in makeInstance() 1446 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1447 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/external/cronet/third_party/icu/source/i18n/ |
D | numfmt.cpp | 1441 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1442 if ( lastSlash > firstSlash ) { in makeInstance() 1446 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1447 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/cldr/tools/cldr-code/src/main/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()
|