Searched refs:kSeparators (Results 1 – 6 of 6) sorted by relevance
/external/chromium/base/ |
D | file_path.cc | 33 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/"); member in FilePath 35 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/"); member in FilePath 149 path.find_last_of(FilePath::kSeparators, last_dot - 1, in ExtensionSeparatorPosition() 150 arraysize(FilePath::kSeparators) - 1); in ExtensionSeparatorPosition() 199 for (size_t i = 0; i < arraysize(kSeparators) - 1; ++i) { in IsSeparator() 200 if (character == kSeparators[i]) { in IsSeparator() 306 new_path.path_.find_last_of(kSeparators, StringType::npos, in DirName() 307 arraysize(kSeparators) - 1); in DirName() 344 new_path.path_.find_last_of(kSeparators, StringType::npos, in BaseName() 345 arraysize(kSeparators) - 1); in BaseName() [all …]
|
D | file_util.cc | 45 path_str.append(&FilePath::kSeparators[0], 1); in EnsureEndsWithSeparator() 66 value.find_last_of(FilePath::StringType(FilePath::kSeparators)); in InsertBeforeExtension() 270 FilePath::kSeparators[0]) in ContainsPath() 371 path->push_back(FilePath::kSeparators[0]); in AppendToPath()
|
D | file_path.h | 146 static const CharType kSeparators[]; variable
|
/external/chromium/chrome/common/extensions/ |
D | extension_unpacker.cc | 66 const FilePath::StringType kSeparators(FilePath::kSeparators); in PathContainsParentDirectory() local 74 if ((i == 0 || kSeparators.find(value[i-1]) == npos) && in PathContainsParentDirectory() 75 (i+1 < value.length() || kSeparators.find(value[i+1]) == npos)) { in PathContainsParentDirectory()
|
D | extension_resource.cc | 73 win_path[i] = FilePath::kSeparators[0]; in NormalizeSeperators()
|
/external/chromium/chrome/browser/autofill/ |
D | credit_card.cc | 386 const char16 kSeparators[] = {'-', ' ', '\0'}; in StripSeparators() local 388 RemoveChars(number, kSeparators, &stripped); in StripSeparators()
|