Home
last modified time | relevance | path

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

12

/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/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs58 int lastSlash = typeUrl.LastIndexOf('/'); in GetTypeName()
59 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
/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/skqp/tools/lottiecap/
Dlottiecap.js191 let lastSlash = shortenedName.lastIndexOf('/');
192 if (lastSlash !== -1) {
193 shortenedName = shortenedName.slice(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/
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()
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()
/external/cldr/tools/java/org/unicode/cldr/util/
DCachingEntityResolver.java193 int lastSlash = systemId.lastIndexOf('/'); in resolveEntity() local
194 if (lastSlash != -1) { in resolveEntity()
195 String shortName = systemId.substring(lastSlash + 1, systemId.length()); in resolveEntity()
DPathDescription.java165 int lastSlash = code.lastIndexOf('/'); in getDescription() local
166 … String codeName = lastSlash < 0 ? code : code.substring(lastSlash + 1).replace('_', ' '); in getDescription()
/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.cpp105 auto lastSlash = filename.find_last_of("\\/"); in applyFilenamesAsTags() local
106 if (lastSlash != std::string::npos) { in applyFilenamesAsTags()
107 filename.erase(0, lastSlash); in applyFilenamesAsTags()
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShell.cpp1453 char* lastSlash = strrchr(m_pReadPath, PVRSHELL_DIR_SYM); in SetReadPath() local
1455 if(lastSlash) in SetReadPath()
1456 lastSlash[1] = 0; in SetReadPath()
1471 char* lastSlash = strrchr(m_pWritePath, PVRSHELL_DIR_SYM); in SetWritePath() local
1473 if(lastSlash) in SetWritePath()
1474 lastSlash[1] = 0; in SetWritePath()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java1485 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local
1487 if ( lastSlash > firstSlash ) { in createInstance()
1489 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance()
1490 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java1333 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local
1335 if ( lastSlash > firstSlash ) { in createInstance()
1337 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance()
1338 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/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.cpp1429 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local
1430 if ( lastSlash > firstSlash ) { in makeInstance()
1434 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance()
1435 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
/external/skqp/tools/bookmaker/
DincludeWriter.cpp974 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/skia/tools/bookmaker/
DincludeWriter.cpp974 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/
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/java/org/unicode/cldr/tool/
DCheckHtmlFiles.java661 int lastSlash = fileRegex.lastIndexOf(File.separatorChar, firstParen); in getSentences() local
662 base = fileRegex.substring(0, lastSlash); in getSentences()
663 regex = fileRegex.substring(lastSlash + 1); in getSentences()
DGenerateItemCounts.java506 int lastSlash = file.lastIndexOf("/"); in doSummary() local
508 String path = file.substring(0, lastSlash); in doSummary()
509 String key = file.substring(lastSlash + 1); in doSummary()
/external/catch2/include/external/
Dclara.hpp910 auto lastSlash = newName.find_last_of( "\\/" ); in set() local
911 auto filename = ( lastSlash == std::string::npos ) in set()
913 : newName.substr( lastSlash+1 ); in set()

12