Home
last modified time | relevance | path

Searched refs:kSeparators (Results 1 – 6 of 6) sorted by relevance

/external/chromium/base/
Dfile_path.cc33 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 …]
Dfile_util.cc45 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()
Dfile_path.h146 static const CharType kSeparators[]; variable
/external/chromium/chrome/common/extensions/
Dextension_unpacker.cc66 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()
Dextension_resource.cc73 win_path[i] = FilePath::kSeparators[0]; in NormalizeSeperators()
/external/chromium/chrome/browser/autofill/
Dcredit_card.cc386 const char16 kSeparators[] = {'-', ' ', '\0'}; in StripSeparators() local
388 RemoveChars(number, kSeparators, &stripped); in StripSeparators()