/external/libchrome/base/files/ |
D | file_path.cc | 32 using StringType = FilePath::StringType; typedef 57 return StringType::npos; in FindDriveLetter() 65 if (a_letter_pos == StringType::npos || b_letter_pos == StringType::npos) in EqualDriveLetterCaseInsensitive() 81 StringType::size_type letter = FindDriveLetter(path); in IsPathAbsolute() 82 if (letter != StringType::npos) { in IsPathAbsolute() 96 bool AreAllSeparators(const StringType& input) { in AreAllSeparators() 97 for (StringType::const_iterator it = input.begin(); in AreAllSeparators() 109 StringType::size_type FinalExtensionSeparatorPosition(const StringType& path) { in FinalExtensionSeparatorPosition() 112 return StringType::npos; in FinalExtensionSeparatorPosition() 121 StringType::size_type ExtensionSeparatorPosition(const StringType& path) { in ExtensionSeparatorPosition() [all …]
|
D | file_path.h | 150 typedef std::string StringType; typedef 154 typedef std::wstring StringType; 157 typedef BasicStringPiece<StringType> StringPieceType; 158 typedef StringType::value_type CharType; 193 const StringType& value() const { return path_; } in value() 212 void GetComponents(std::vector<FilePath::StringType>* components) const; 254 StringType Extension() const WARN_UNUSED_RESULT; 263 StringType FinalExtension() const WARN_UNUSED_RESULT; 416 static StringType GetHFSDecomposedForm(StringPieceType string); 443 StringType path_; [all …]
|
D | file_path_watcher_linux.cc | 105 const FilePath::StringType& child, 139 explicit WatchEntry(const FilePath::StringType& dirname) in WatchEntry() 144 FilePath::StringType subdir; 145 FilePath::StringType linkname; 331 FilePath::StringType child(event->len ? event->name : FILE_PATH_LITERAL("")); in OnInotifyEvent() 350 const FilePath::StringType& child, in OnFilePathChanged() 462 std::vector<FilePath::StringType> comps; in Watch() 467 watches_.push_back(WatchEntry(FilePath::StringType())); in Watch()
|
D | file_path_unittest.cc | 25 #define FPS(x) FilePath::StringType(FPL(x), arraysize(FPL(x)) - 1) 147 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F() 234 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F() 310 FilePath::StringType leaf(cases[i].inputs[1]); in TEST_F() 312 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_str.value()) << in TEST_F() 315 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_path.value()) << in TEST_F() 326 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_str.value()) << in TEST_F() 390 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F() 503 std::vector<FilePath::StringType> comps; in TEST_F() 506 FilePath::StringType observed; in TEST_F() [all …]
|
D | file_enumerator.h | 113 const FilePath::StringType& pattern); 151 FilePath::StringType pattern_; // Empty when we want to find everything.
|
D | file_util_posix.cc | 421 *target_path = FilePath(FilePath::StringType(buf, count)); in ReadSymbolicLink() 535 const FilePath::StringType& name_tmpl, in CreateTemporaryDirInDirImpl() 538 DCHECK(name_tmpl.find("XXXXXX") != FilePath::StringType::npos) in CreateTemporaryDirInDirImpl() 556 const FilePath::StringType& prefix, in CreateTemporaryDirInDir() 558 FilePath::StringType mkdtemp_template = prefix; in CreateTemporaryDirInDir() 563 bool CreateNewTempDirectory(const FilePath::StringType& /* prefix */, in CreateNewTempDirectory() argument 773 std::vector<FilePath::StringType> base_components; in VerifyPathControlledByUser() 774 std::vector<FilePath::StringType> path_components; in VerifyPathControlledByUser() 779 std::vector<FilePath::StringType>::const_iterator ib, ip; in VerifyPathControlledByUser()
|
D | file_path_watcher_kqueue.h | 55 EventData(const FilePath& path, const FilePath::StringType& subdir) in EventData() 58 FilePath::StringType subdir_; // Path to any sub item.
|
D | file_util.h | 246 BASE_EXPORT bool CreateNewTempDirectory(const FilePath::StringType& prefix, 253 const FilePath::StringType& prefix, 351 const FilePath::StringType& suffix);
|
/external/libchrome/base/ |
D | command_line.h | 36 typedef base::string16 StringType; typedef 38 typedef std::string StringType; 41 typedef StringType::value_type CharType; 42 typedef std::vector<StringType> StringVector; 43 typedef std::map<std::string, StringType> SwitchMap; 44 typedef std::map<base::StringPiece, const StringType*> StringPieceSwitchMap; 107 StringType GetCommandLineString() const { in GetCommandLineString() 119 StringType GetCommandLineStringWithPlaceholders() const { in GetCommandLineStringWithPlaceholders() 127 StringType GetArgumentsString() const { in GetArgumentsString() 138 StringType GetArgumentsStringWithPlaceholders() const { in GetArgumentsStringWithPlaceholders() [all …]
|
D | command_line.cc | 45 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength() 47 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength() 56 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() 57 CommandLine::StringType* switch_string, in IsSwitch() 58 CommandLine::StringType* switch_value) { in IsSwitch() 67 if (equals_position != CommandLine::StringType::npos) in IsSwitch() 77 CommandLine::StringType arg = argv[i]; in AppendSwitchesAndArguments() 84 CommandLine::StringType switch_string; in AppendSwitchesAndArguments() 85 CommandLine::StringType switch_value; in AppendSwitchesAndArguments() 289 StringType value = GetSwitchValueNative(switch_string); in GetSwitchValueASCII() [all …]
|
D | command_line_unittest.cc | 22 static const CommandLine::StringType kTrickyQuoted = 26 static const CommandLine::StringType kTricky = 86 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 150 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 205 CommandLine::StringType expected_first_arg(UTF8ToUTF16(kFirstArgName)); in TEST() 206 CommandLine::StringType expected_second_arg(UTF8ToUTF16(kSecondArgName)); in TEST() 207 CommandLine::StringType expected_third_arg(UTF8ToUTF16(kThirdArgName)); in TEST() 208 CommandLine::StringType expected_fourth_arg(UTF8ToUTF16(kFourthArgName)); in TEST() 209 CommandLine::StringType expected_fifth_arg(UTF8ToUTF16(kFifthArgName)); in TEST() 211 CommandLine::StringType expected_first_arg(kFirstArgName); in TEST() [all …]
|
/external/libweave/third_party/chromium/base/strings/ |
D | string_util.cc | 40 template<typename StringType> 41 StringType ToLowerASCIIImpl(BasicStringPiece<StringType> str) { in ToLowerASCIIImpl() 42 StringType ret; in ToLowerASCIIImpl() 49 template<typename StringType> 50 StringType ToUpperASCIIImpl(BasicStringPiece<StringType> str) { in ToUpperASCIIImpl() 51 StringType ret; in ToUpperASCIIImpl() 68 template<class StringType> 69 int CompareCaseInsensitiveASCIIT(BasicStringPiece<StringType> a, in CompareCaseInsensitiveASCIIT() 70 BasicStringPiece<StringType> b) { in CompareCaseInsensitiveASCIIT() 76 typename StringType::value_type lower_a = ToLowerASCII(a[i]); in CompareCaseInsensitiveASCIIT() [all …]
|
D | stringprintf.cc | 38 template <class StringType> 39 static void StringAppendVT(StringType* dst, in StringAppendVT() 40 const typename StringType::value_type* format, in StringAppendVT() 45 typename StringType::value_type stack_buf[1024]; in StringAppendVT() 90 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
|
/external/libchrome/base/strings/ |
D | sys_string_conversions_mac.mm | 24 template<typename StringType> 25 static StringType CFStringToSTLStringWithEncodingT(CFStringRef cfstring, 29 return StringType(); 42 return StringType(); 46 // contain elements of StringType::value_type. Use a container for the 49 typename StringType::size_type elements = 50 out_size * sizeof(UInt8) / sizeof(typename StringType::value_type) + 1; 52 std::vector<typename StringType::value_type> out_buffer(elements); 62 return StringType(); 65 return StringType(&out_buffer[0], elements - 1); [all …]
|
D | string_util.cc | 143 template<typename StringType> 144 StringType ToLowerASCIIImpl(BasicStringPiece<StringType> str) { in ToLowerASCIIImpl() 145 StringType ret; in ToLowerASCIIImpl() 152 template<typename StringType> 153 StringType ToUpperASCIIImpl(BasicStringPiece<StringType> str) { in ToUpperASCIIImpl() 154 StringType ret; in ToUpperASCIIImpl() 179 template<class StringType> 180 int CompareCaseInsensitiveASCIIT(BasicStringPiece<StringType> a, in CompareCaseInsensitiveASCIIT() 181 BasicStringPiece<StringType> b) { in CompareCaseInsensitiveASCIIT() 187 typename StringType::value_type lower_a = ToLowerASCII(a[i]); in CompareCaseInsensitiveASCIIT() [all …]
|
D | stringprintf.cc | 46 template <class StringType> 47 static void StringAppendVT(StringType* dst, in StringAppendVT() 48 const typename StringType::value_type* format, in StringAppendVT() 53 typename StringType::value_type stack_buf[1024]; in StringAppendVT() 98 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
|
/external/openfst/src/include/fst/ |
D | string-weight.h | 41 enum StringType { STRING_LEFT = 0, STRING_RIGHT = 1 , enum 50 template <typename L, StringType S = STRING_LEFT> 53 template <typename L, StringType S = STRING_LEFT> 56 template <typename L, StringType S = STRING_LEFT> 59 template <typename L, StringType S> 64 template <typename L, StringType S> 164 template <typename L, StringType S> 199 template <typename L, StringType S> 233 template <typename L, StringType S> 246 template <typename L, StringType S> [all …]
|
D | random-weight.h | 146 template <typename L, StringType S = STRING_LEFT> 176 template <typename L, StringType S> 178 template <typename L, StringType S> 246 template <class L, class G, StringType S = STRING_LEFT>
|
/external/clang/test/SemaObjCXX/ |
D | arc-bridged-cast.mm | 17 template<typename IdType, typename StringType, typename IntPtrType> 20 id obj2 = (__bridge_transfer StringType)CFCreateString(); 23 id obj4 = (__bridge StringType)CFGetString(); 28 template<typename IdType, typename StringType> 31 CFStringRef cf2 = (__bridge_retained StringType)CreateNSString(); 33 CFStringRef cf4 = (__bridge StringType)CreateNSString();
|
/external/libchrome/base/process/ |
D | kill.h | 50 BASE_EXPORT bool KillProcesses(const FilePath::StringType& executable_name, 96 const FilePath::StringType& executable_name, 106 BASE_EXPORT bool CleanupProcesses(const FilePath::StringType& executable_name,
|
D | process_iterator.cc | 38 const FilePath::StringType& executable_name, in NamedProcessIterator() 48 executable_name_ = FilePath::StringType(executable_name_, in NamedProcessIterator() 57 int GetProcessCount(const FilePath::StringType& executable_name, in GetProcessCount()
|
D | process_iterator.h | 129 NamedProcessIterator(const FilePath::StringType& executable_name, 137 FilePath::StringType executable_name_; 145 BASE_EXPORT int GetProcessCount(const FilePath::StringType& executable_name,
|
/external/ceres-solver/internal/ceres/ |
D | split.cc | 72 template <typename StringType, typename ITR> 74 void SplitStringToIteratorUsing(const StringType& full, in SplitStringToIteratorUsing() 90 *result++ = StringType(start, p - start); in SplitStringToIteratorUsing()
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-matchers.h | 911 template <typename StringType> 912 bool CaseInsensitiveStringEquals(const StringType& s1, in CaseInsensitiveStringEquals() 913 const StringType& s2) { in CaseInsensitiveStringEquals() 920 const typename StringType::value_type nul = 0; in CaseInsensitiveStringEquals() 924 if (i1 == StringType::npos || i2 == StringType::npos) { in CaseInsensitiveStringEquals() 935 template <typename StringType> 938 typedef typename StringType::const_pointer ConstCharPointer; 940 StrEqualityMatcher(const StringType& str, bool expect_eq, in StrEqualityMatcher() 951 return MatchAndExplain(StringType(s), listener); in MatchAndExplain() 954 bool MatchAndExplain(const StringType& s, in MatchAndExplain() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
D | _version200.py | 55 if not (type(bytes) is types.ListType or type(bytes) is types.StringType): 62 if type(byte) is types.StringType: byte = ord(byte) 169 if not (type(string) is types.ListType or type(string) is types.StringType): 175 if type(byte) is types.StringType: byte = ord(byte)
|