Home
last modified time | relevance | path

Searched refs:lastSlash (Results 1 – 25 of 30) sorted by relevance

12

/external/cronet/third_party/icu/source/tools/genrb/
Drbutil.c33 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/
Drbutil.c33 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/
DTypeUtils.java56 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/
DTypeUtils.java55 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/
DDescriptors.java177 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/
DAnyPartial.cs66 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/
DAnyPartial.cs66 int lastSlash = typeUrl.LastIndexOf('/'); in GetTypeName()
67 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
/external/toolchain-utils/compiler_wrapper/
Derrors.go58 if lastSlash := strings.LastIndex(file, "/"); lastSlash >= 0 {
59 file = file[lastSlash+1:]
/external/skia/tools/lottiecap/
Dlottiecap.js191 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/
DLongSymLinkTest.java147 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()
DLongPathTest.java148 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/
DExtensionNamespacesManager.java171 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/
Dcatch_session.cpp125 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/
DNumberFormat.java1395 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/
DNumberFormat.java1483 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/
DLambdaDesugaring.java366 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/
DPathDescription.java855 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/
DURI.java508 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/
DURI.java528 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/
Dnumfmt.cpp1441 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/
Dnumfmt.cpp1441 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/
DInstrVisitor.java2034 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/
DCheckHtmlFiles.java662 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()
DGenerateItemCounts.java501 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/
Dclara.hpp913 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()

12