/external/lzma/CPP/7zip/Common/ |
FilePathAutoRename.cpp | 28 int slashPos = path.ReverseFind_PathSepar();
32 if (dotPos > slashPos + 1)
|
/external/lzma/CPP/7zip/UI/FileManager/ |
OverwriteDialog.cpp | 53 int slashPos = fileName.ReverseFind_PathSepar();
54 UString s1 = fileName.Left(slashPos + 1);
55 UString s2 = fileName.Ptr(slashPos + 1);
|
BrowseDialog.cpp | 975 int slashPos = path.Find(WCHAR_PATH_SEPARATOR, start);
976 cur.SetFrom(path.Ptr(start), (slashPos < 0 ? path.Len() : slashPos) - start);
994 if (slashPos < 0)
997 start = slashPos + 1;
|
ProgressDialog2.cpp | 889 int slashPos = _filePath.ReverseFind_PathSepar();
890 if (slashPos >= 0)
892 s1.SetFrom(_filePath, slashPos + 1);
893 s2 = _filePath.Ptr(slashPos + 1);
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
BaseUrlValidateFunction.java | 72 int slashPos = in.indexOf('/'); 73 if (slashPos != -1) { 75 return in.lastIndexOf(':', slashPos - 1) == -1;
|
/frameworks/base/services/core/java/com/android/server/ |
IntentResolver.java | 420 int slashpos = resolvedType.indexOf('/'); local 421 if (slashpos > 0) { 422 final String baseType = resolvedType.substring(0, slashpos); 424 if (resolvedType.length() != slashpos+2 425 || resolvedType.charAt(slashpos+1) != '*') { 606 final int slashpos = name.indexOf('/'); local 607 if (slashpos > 0) { 608 baseName = name.substring(0, slashpos).intern(); 615 if (slashpos > 0) { 637 final int slashpos = name.indexOf('/') local [all...] |
/system/tools/hidl/c2hal/ |
AST.cpp | 318 size_t slashPos; 319 while ((slashPos = path.find('/', start)) != std::string::npos) { 320 std::string partial = path.substr(0, slashPos); 336 start = slashPos + 1;
|
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 124 string::size_type slashpos = path.find_last_of('/'); 125 if (slashpos == string::npos) { 130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) &&
|
/frameworks/base/core/java/android/content/ |
ClipDescription.java | 134 final int slashpos = desiredType.indexOf('/'); local 135 if (slashpos > 0) { 136 if (typeLength == slashpos+2 && desiredType.charAt(slashpos+1) == '*') { 137 if (desiredType.regionMatches(0, concreteType, 0, slashpos+1)) {
|
IntentFilter.java | 775 final int slashpos = type.indexOf('/'); local 777 if (slashpos > 0 && typelen >= slashpos+2) { 779 if (typelen == slashpos+2 && type.charAt(slashpos+1) == '*') { 780 String str = type.substring(0, slashpos); 2050 final int slashpos = type.indexOf('\/'); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
Path.inc | 600 size_t slashpos = path.rfind('/',path.size());
601 if (slashpos == 0 || slashpos == std::string::npos) {
605 if (slashpos == path.size() - 1)
606 slashpos = path.rfind('/',slashpos-1);
607 if (slashpos == std::string::npos) {
611 path.erase(slashpos);
618 size_t slashpos = path.rfind('/',path.size());
620 if (slashpos == std::string::npos || dotpos > slashpos+1) { [all...] |
/external/clang/lib/Lex/ |
HeaderSearch.cpp | 409 size_t SlashPos = Filename.find('/'); 410 if (SlashPos == StringRef::npos) return nullptr; 415 HS.LookupFrameworkCache(Filename.substr(0, SlashPos)); 430 StringRef ModuleName(Filename.begin(), SlashPos); 464 RelativePath->append(Filename.begin()+SlashPos+1, Filename.end()); 478 FrameworkName.append(Filename.begin()+SlashPos+1, Filename.end()); 752 size_t SlashPos = Filename.find('/'); 753 if (SlashPos != StringRef::npos) { 756 SlashPos)); 829 size_t SlashPos = Filename.find('/') [all...] |
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 31 size_t slashpos = filename.find_last_of("/\\"); local 33 if (slashpos == npos) { 37 *dir = filename.substr(0, slashpos + 1); 38 nodir = filename.substr(slashpos + 1);
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
Path.inc | 580 size_t slashpos = path.rfind('/',path.size());
581 if (slashpos == path.size() - 1 || slashpos == std::string::npos)
584 path.erase(slashpos);
595 size_t slashpos = path.rfind('/',path.size());
597 if (slashpos == std::string::npos || dotpos > slashpos+1) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
WriteCharts.java | 131 int slashPos = target.indexOf('/'); 132 if (slashPos >= 0) target = target.substring(0,slashPos);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
WriteCharts.java | 128 int slashPos = target.indexOf('/'); 129 if (slashPos >= 0) target = target.substring(0,slashPos);
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
MusicProvider.java | 222 int slashPos = CATALOG_URL.lastIndexOf('/'); 223 String path = CATALOG_URL.substring(0, slashPos + 1);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
Demo.java | 432 int slashPos = id.indexOf('/'); 434 if (slashPos >= 0) { 435 variant = "_" + id.substring(slashPos+1); 436 id = id.substring(0, slashPos); 730 int slashPos = id.indexOf('/'); 731 if (slashPos < 0) slashPos = id.length(); 741 targetSuper = new UnicodeSet("[[:" + id.substring(dashPos+1, slashPos) + ":][:Mn:][:Me:]]"); [all...] |
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/ |
MusicProvider.java | 224 int slashPos = CATALOG_URL.lastIndexOf('/'); 225 String path = CATALOG_URL.substring(0, slashPos + 1);
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
ArchiveWriter.cpp | 120 size_t slashpos = mbrPath.rfind('/'); local 121 if (slashpos != std::string::npos) { 122 nm += slashpos + 1; 123 len -= slashpos +1;
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 145 const char *slashPos = strchr(&url[7], '/'); 147 if (slashPos == NULL) { 151 host->setTo(&url[7], slashPos - &url[7]); 152 path->setTo(slashPos);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zUpdate.cpp | 436 int slashPos = Name.ReverseFind_PathSepar();
438 if (dotPos <= slashPos)
644 int slashPos = ui.Name.ReverseFind_PathSepar();
645 NamePos = slashPos + 1;
647 if (dotPos <= slashPos)
826 int slashPos = ui.Name.ReverseFind_PathSepar();
829 // if (dotPos > slashPos)
838 if (dotPos > slashPos)
[all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-ar/ |
llvm-ar.cpp | 624 size_t slashpos = compare.rfind('/');
local 625 if (slashpos != std::string::npos) {
626 nm += slashpos + 1;
627 len -= slashpos +1;
|
/system/tools/hidl/ |
Coordinator.cpp | 899 size_t slashPos; 900 while ((slashPos = path.find('/', start)) != std::string::npos) { 901 std::string partial = path.substr(0, slashPos); 917 start = slashPos + 1;
|
/external/lzma/CPP/7zip/UI/Client7z/ |
Client7z.cpp | 337 int slashPos = _filePath.ReverseFind_PathSepar();
338 if (slashPos >= 0)
339 CreateComplexDir(_directoryPath + us2fs(_filePath.Left(slashPos)));
|