/external/libchrome/base/ |
D | file_version_info.h | 55 virtual base::string16 company_name() = 0; 56 virtual base::string16 company_short_name() = 0; 57 virtual base::string16 product_name() = 0; 58 virtual base::string16 product_short_name() = 0; 59 virtual base::string16 internal_name() = 0; 60 virtual base::string16 product_version() = 0; 61 virtual base::string16 private_build() = 0; 62 virtual base::string16 special_build() = 0; 63 virtual base::string16 comments() = 0; 64 virtual base::string16 original_filename() = 0; [all …]
|
D | environment_unittest.cc | 108 string16 e; in TEST_F() 115 EXPECT_EQ(string16(L"A=1\0\0", 5), e); in TEST_F() 118 changes[L"A"] = string16(); in TEST_F() 120 EXPECT_EQ(string16(L"\0\0", 2), e); in TEST_F() 124 EXPECT_EQ(string16(L"A=2\0\0", 5), e); in TEST_F() 129 EXPECT_EQ(string16(L"A=1\0\0", 5), e); in TEST_F() 132 changes[L"A"] = string16(); in TEST_F() 134 EXPECT_EQ(string16(L"\0\0", 2), e); in TEST_F()
|
/external/libchrome/base/i18n/ |
D | rtl.h | 87 const string16& text); 89 const string16& text); 97 BASE_I18N_EXPORT TextDirection GetStringDirection(const string16& text); 121 BASE_I18N_EXPORT bool AdjustStringForLocaleDirection(string16* text); 124 BASE_I18N_EXPORT bool UnadjustStringForLocaleDirection(string16* text); 129 BASE_I18N_EXPORT void EnsureTerminatedDirectionalFormatting(string16* text); 133 BASE_I18N_EXPORT void SanitizeUserSuppliedString(string16* text); 138 BASE_I18N_EXPORT bool StringContainsStrongRTLChars(const string16& text); 143 BASE_I18N_EXPORT void WrapStringWithLTRFormatting(string16* text); 148 BASE_I18N_EXPORT void WrapStringWithRTLFormatting(string16* text); [all …]
|
/external/libchrome/base/strings/ |
D | string_util.h | 109 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str); 113 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str); 160 BASE_EXPORT const string16& EmptyString16(); 176 BASE_EXPORT bool RemoveChars(const string16& input, 178 string16* output); 188 BASE_EXPORT bool ReplaceChars(const string16& input, 190 const string16& replace_with, 191 string16* output); 210 BASE_EXPORT bool TrimString(const string16& input, 212 string16* output); [all …]
|
D | string16_unittest.cc | 21 stream << "Empty '" << string16() << "' standard '" in TEST() 22 << string16(ASCIIToUTF16("Hello, world")) << "'"; in TEST() 30 string16 initial_surrogate; in TEST() 32 string16 final_surrogate; in TEST() 36 string16 surrogate_pair; in TEST() 42 string16 unterminated_surrogate; in TEST() 56 string16 str1 = ASCIIToUTF16("hello"); in TEST() 57 string16 str2 = ASCIIToUTF16("world"); in TEST() 59 std::unordered_set<string16> set; in TEST()
|
D | strcat_unittest.cc | 21 string16 arg1 = ASCIIToUTF16("1"); 22 string16 arg2 = ASCIIToUTF16("22"); 23 string16 arg3 = ASCIIToUTF16("333"); 25 EXPECT_EQ(ASCIIToUTF16(""), StrCat({string16()})); 48 string16 arg1 = ASCIIToUTF16("1"); 49 string16 arg2 = ASCIIToUTF16("22"); 50 string16 arg3 = ASCIIToUTF16("333"); 52 string16 result; 55 StrAppend(&result, {string16()});
|
D | old_utf_string_conversions.cc | 130 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() 135 string16 WideToUTF16(const std::wstring& wide) { in WideToUTF16() 144 std::wstring UTF16ToWide(const string16& utf16) { in UTF16ToWide() 150 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() 158 string16 WideToUTF16(const std::wstring& wide) { in WideToUTF16() 159 string16 ret; in WideToUTF16() 172 std::wstring UTF16ToWide(const string16& utf16) { in UTF16ToWide() 184 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() 194 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() 196 return string16(utf8.begin(), utf8.end()); in UTF8ToUTF16() [all …]
|
D | string_number_conversions.h | 45 BASE_EXPORT string16 NumberToString16(int value); 47 BASE_EXPORT string16 NumberToString16(unsigned int value); 49 BASE_EXPORT string16 NumberToString16(long value); 51 BASE_EXPORT string16 NumberToString16(unsigned long value); 53 BASE_EXPORT string16 NumberToString16(long long value); 55 BASE_EXPORT string16 NumberToString16(unsigned long long value); 57 BASE_EXPORT string16 NumberToString16(double value); 66 inline string16 IntToString16(int value) { in IntToString16() 72 inline string16 UintToString16(unsigned value) { in UintToString16() 78 inline string16 Int64ToString16(int64_t value) { in Int64ToString16()
|
D | strcat.h | 62 BASE_EXPORT string16 StrCat(span<const StringPiece16> pieces); 64 BASE_EXPORT string16 StrCat(span<const string16> pieces); 70 inline string16 StrCat(std::initializer_list<StringPiece16> pieces) { in StrCat() 83 BASE_EXPORT void StrAppend(string16* dest, span<const StringPiece16> pieces); 85 BASE_EXPORT void StrAppend(string16* dest, span<const string16> pieces); 92 inline void StrAppend(string16* dest, in StrAppend()
|
D | strcat.cc | 47 string16 StrCat(span<const StringPiece16> pieces) { in StrCat() 48 string16 result; in StrCat() 59 string16 StrCat(span<const string16> pieces) { in StrCat() 60 string16 result; in StrCat() 69 void StrAppend(string16* dest, span<const StringPiece16> pieces) { in StrAppend() 77 void StrAppend(string16* dest, span<const string16> pieces) { in StrAppend()
|
D | string_util_unittest.cc | 232 string16 output; // Allow contents to carry over to next testcase in TEST() 249 EXPECT_EQ(string16(), output); in TEST() 480 string16 utf16 = ASCIIToUTF16(char_cases[i]); in TEST() 490 string16 empty16; in TEST() 499 string16 string16_with_nul = ASCIIToUTF16(string_with_nul); in TEST() 500 EXPECT_EQ(static_cast<string16::size_type>(length_with_nul), in TEST() 627 string16 str = ASCIIToUTF16(scenario.str); in TEST() 658 string16::size_type start_offset; in TEST() 677 string16 str = ASCIIToUTF16(cases[i].str); in TEST() 735 string16 separator = ASCIIToUTF16(", "); in TEST() [all …]
|
D | string_util.cc | 41 const string16 s16; 181 string16 ToLowerASCII(StringPiece16 str) { in ToLowerASCII() 182 return ToLowerASCIIImpl<string16>(str); in ToLowerASCII() 189 string16 ToUpperASCII(StringPiece16 str) { in ToUpperASCII() 190 return ToUpperASCIIImpl<string16>(str); in ToUpperASCII() 225 return CompareCaseInsensitiveASCIIT<string16>(a, b); in CompareCaseInsensitiveASCII() 237 return CompareCaseInsensitiveASCIIT<string16>(a, b) == 0; in EqualsCaseInsensitiveASCII() 244 const string16& EmptyString16() { in EmptyString16() 254 bool ReplaceChars(const string16& input, in ReplaceChars() 256 const string16& replace_with, in ReplaceChars() [all …]
|
D | old_utf_string_conversions.h | 19 using base::string16; 40 string16* output); 41 BASE_EXPORT string16 WideToUTF16(const std::wstring& wide); 45 BASE_EXPORT std::wstring UTF16ToWide(const string16& utf16); 47 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); 48 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8); 56 BASE_EXPORT string16 ASCIIToUTF16(StringPiece ascii);
|
D | string_split.cc | 32 string16 PieceToOutputType<string16, string16>(StringPiece16 piece) { in PieceToOutputType() 38 template<> StringPiece16 WhitespaceForType<string16>() { in WhitespaceForType() 172 std::vector<string16> SplitString(StringPiece16 input, in SplitString() 177 return SplitStringT<string16, string16, char16>( in SplitString() 180 return SplitStringT<string16, string16, StringPiece16>( in SplitString() 201 return SplitStringT<string16, StringPiece16, char16>( in SplitStringPiece() 204 return SplitStringT<string16, StringPiece16, StringPiece16>( in SplitStringPiece() 230 std::vector<string16> SplitStringUsingSubstr(StringPiece16 input, in SplitStringUsingSubstr() 234 std::vector<string16> result; in SplitStringUsingSubstr()
|
D | nullable_string16.h | 25 NullableString16(const string16& string, bool is_null); 26 explicit NullableString16(Optional<string16> optional_string16); 32 const string16& string() const { in string() 36 const Optional<string16>& as_optional_string16() const { return string_; } in as_optional_string16() 39 Optional<string16> string_;
|
D | string_number_conversions.cc | 318 string16 NumberToString16(int value) { in NumberToString16() 319 return IntToStringT<string16, int>::IntToString(value); in NumberToString16() 326 string16 NumberToString16(unsigned value) { in NumberToString16() 327 return IntToStringT<string16, unsigned>::IntToString(value); in NumberToString16() 334 string16 NumberToString16(long value) { in NumberToString16() 335 return IntToStringT<string16, long>::IntToString(value); in NumberToString16() 342 string16 NumberToString16(unsigned long value) { in NumberToString16() 343 return IntToStringT<string16, unsigned long>::IntToString(value); in NumberToString16() 350 string16 NumberToString16(long long value) { in NumberToString16() 351 return IntToStringT<string16, long long>::IntToString(value); in NumberToString16() [all …]
|
D | utf_string_conversions.cc | 205 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() 209 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() 210 string16 ret; in UTF8ToUTF16() 234 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() 239 string16 WideToUTF16(WStringPiece wide) { in WideToUTF16() 254 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() 258 string16 WideToUTF16(WStringPiece wide) { in WideToUTF16() 259 string16 ret; in WideToUTF16() 323 string16 ASCIIToUTF16(StringPiece ascii) { in ASCIIToUTF16() 325 return string16(ascii.begin(), ascii.end()); in ASCIIToUTF16()
|
D | utf_string_conversions.h | 32 string16* output); 33 BASE_EXPORT string16 WideToUTF16(WStringPiece wide); 38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); 39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8); 46 BASE_EXPORT string16 ASCIIToUTF16(StringPiece ascii);
|
D | string16.h | 44 typedef std::wstring string16; typedef 145 string16; typedef 150 const string16& str); 153 BASE_EXPORT extern void PrintTo(const string16& str, std::ostream* out); 207 struct hash<base::string16> { 208 std::size_t operator()(const base::string16& s) const {
|
/external/libchrome/mojo/public/cpp/base/ |
D | string16_unittest.cc | 18 base::string16 in; in TEST() 19 base::string16 out; in TEST() 25 base::string16 in = base::ASCIIToUTF16("hello world"); in TEST() 26 base::string16 out; in TEST() 32 base::string16 in; in TEST() 33 base::string16 out; in TEST() 40 base::string16 in = base::ASCIIToUTF16("hello world"); in TEST() 41 base::string16 out; in TEST() 50 base::string16 in(kLargeStringSize, 0); in TEST() 53 base::string16 out; in TEST()
|
D | string16_mojom_traits.cc | 12 bool StructTraits<mojo_base::mojom::String16DataView, base::string16>::Read( in Read() 14 base::string16* out) { in Read() 23 StructTraits<mojo_base::mojom::BigString16DataView, base::string16>::data( in data() 24 const base::string16& str) { in data() 31 bool StructTraits<mojo_base::mojom::BigString16DataView, base::string16>::Read( in Read() 33 base::string16* out) { in Read() 39 *out = base::string16(reinterpret_cast<const base::char16*>(buffer.data()), in Read()
|
D | string16_mojom_traits.h | 30 StructTraits<mojo_base::mojom::String16DataView, base::string16> { in COMPONENT_EXPORT() 31 static base::span<const uint16_t> data(const base::string16& str) { in COMPONENT_EXPORT() 37 base::string16* out); in COMPONENT_EXPORT() 42 StructTraits<mojo_base::mojom::BigString16DataView, base::string16> { in COMPONENT_EXPORT() 43 static mojo_base::BigBuffer data(const base::string16& str); in COMPONENT_EXPORT() 46 base::string16* out); in COMPONENT_EXPORT()
|
D | string16.typemap | 5 mojom = "//mojo/public/mojom/base/string16.mojom" 6 public_headers = [ "//base/strings/string16.h" ] 17 "mojo_base.mojom.BigString16=base::string16", 18 "mojo_base.mojom.String16=base::string16",
|
/external/libchrome/base/android/ |
D | jni_string_unittest.cc | 24 const string16 kSimpleString = UTF8ToUTF16("SimpleTest16"); in TEST() 26 string16 result = in TEST() 40 const string16 kEmptyString = UTF8ToUTF16(""); in TEST() 42 string16 result = in TEST()
|
D | jni_string.h | 35 string16* result); 36 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str); 37 BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str); 38 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env,
|