/external/libchrome/base/ |
file_version_info.h | 12 #include "base/strings/string16.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 [all...] |
environment.h | 13 #include "base/strings/string16.h" 52 typedef string16 NativeEnvironmentString; 66 BASE_EXPORT string16 AlterEnvironment(const wchar_t* env,
|
environment_unittest.cc | 98 string16 e; 105 EXPECT_EQ(string16(L"A=1\0\0", 5), e); 108 changes[L"A"] = string16(); 110 EXPECT_EQ(string16(L"\0\0", 2), e); 114 EXPECT_EQ(string16(L"A=2\0\0", 5), e); 119 EXPECT_EQ(string16(L"A=1\0\0", 5), e); 122 changes[L"A"] = string16(); 124 EXPECT_EQ(string16(L"\0\0", 2), e);
|
/external/libmojo/mojo/public/cpp/bindings/ |
string_traits_string16.h | 8 #include "base/strings/string16.h" 14 struct StringTraits<base::string16> { 15 static bool IsNull(const base::string16& input) { 16 // base::string16 is always converted to non-null mojom string. 20 static void SetToNull(base::string16* output) { 21 // Convert null to an "empty" base::string16. 25 static void* SetUpContext(const base::string16& input); 26 static void TearDownContext(const base::string16& input, void* context); 28 static size_t GetSize(const base::string16& input, void* context); 29 static const char* GetData(const base::string16& input, void* context) [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
string_traits_string16.cc | 14 void* StringTraits<base::string16>::SetUpContext(const base::string16& input) { 19 void StringTraits<base::string16>::TearDownContext(const base::string16& input, 25 size_t StringTraits<base::string16>::GetSize(const base::string16& input, 31 const char* StringTraits<base::string16>::GetData(const base::string16& input, 37 bool StringTraits<base::string16>::Read(StringDataView input, 38 base::string16* output) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/ |
string.s | 5 .string16 "str16"
|
/external/libmojo/mojo/common/ |
common_custom_types_struct_traits.h | 11 #include "mojo/common/string16.mojom.h" 17 struct StructTraits<common::mojom::String16, base::string16> { 18 static std::vector<uint16_t> data(const base::string16& str) { 22 static bool Read(common::mojom::String16DataView data, base::string16* output);
|
common_custom_types_struct_traits.cc | 10 bool StructTraits<common::mojom::String16, base::string16>::Read( 11 common::mojom::String16DataView data, base::string16* out) {
|
common_type_converters.h | 10 #include "base/strings/string16.h" 30 struct MOJO_COMMON_EXPORT TypeConverter<String, base::string16> { 31 static String Convert(const base::string16& input); 35 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, String> { 36 static base::string16 Convert(const String& input); 55 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, Array<uint8_t>> { 56 static base::string16 Convert(const Array<uint8_t>& input); 60 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::string16> { 61 static Array<uint8_t> Convert(const base::string16& input);
|
common_type_converters_unittest.cc | 28 void ExpectEqualsString16(const base::string16& expected, 29 const base::string16& actual) { 33 void ExpectEqualsMojoString(const base::string16& expected, 35 EXPECT_EQ(expected, str.To<base::string16>()); 58 TEST(CommonTypeConvertersTest, String16) { 59 const base::string16 string16(base::ASCIIToUTF16("hello world")); 60 const String mojo_string(String::From(string16)); 62 ExpectEqualsMojoString(string16, mojo_string); 63 EXPECT_EQ(string16, mojo_string.To<base::string16>()) [all...] |
common_type_converters.cc | 31 String TypeConverter<String, base::string16>::Convert( 32 const base::string16& input) { 37 base::string16 TypeConverter<base::string16, String>::Convert( 67 base::string16 TypeConverter<base::string16, Array<uint8_t>>::Convert( 70 return base::string16(); 72 return base::string16(reinterpret_cast<const base::char16*>(&input.front()), 76 Array<uint8_t> TypeConverter<Array<uint8_t>, base::string16>::Convert( 77 const base::string16& input) [all...] |
/external/libchrome/base/strings/ |
string16_unittest.cc | 8 #include "base/strings/string16.h" 15 // We define a custom operator<< for string16 so we can use it with logging. 21 stream << "Empty '" << string16() << "' standard '" 22 << string16(ASCIIToUTF16("Hello, world")) << "'"; 30 string16 initial_surrogate; 32 string16 final_surrogate; 36 string16 surrogate_pair; 42 string16 unterminated_surrogate; 56 string16 str1 = ASCIIToUTF16("hello"); 57 string16 str2 = ASCIIToUTF16("world") [all...] |
nullable_string16.h | 11 #include "base/strings/string16.h" 15 // This class is a simple wrapper for string16 which also contains a null 21 NullableString16(const string16& string, bool is_null) 25 const string16& string() const { return string_; } 29 string16 string_;
|
utf_string_conversions.h | 13 #include "base/strings/string16.h" 32 string16* output); 33 BASE_EXPORT string16 WideToUTF16(const std::wstring& wide); 36 BASE_EXPORT std::wstring UTF16ToWide(const string16& utf16); 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);
|
string_util.h | 20 #include "base/strings/string16.h" 114 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str); 118 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str); 165 BASE_EXPORT const string16& EmptyString16(); 181 BASE_EXPORT bool RemoveChars(const string16& input, 183 string16* output); 193 BASE_EXPORT bool ReplaceChars(const string16& input, 195 const string16& replace_with, 196 string16* output); 214 BASE_EXPORT bool TrimString(const string16& input [all...] |
sys_string_conversions.h | 17 #include "base/strings/string16.h" 66 BASE_EXPORT CFStringRef SysUTF16ToCFStringRef(const string16& utf16); 70 BASE_EXPORT NSString* SysUTF16ToNSString(const string16& utf16); 74 BASE_EXPORT string16 SysCFStringRefToUTF16(CFStringRef ref); 79 BASE_EXPORT string16 SysNSStringToUTF16(NSString* ref);
|
string_number_conversions.h | 15 #include "base/strings/string16.h" 21 // This file contains no "wstring" variants. New code should use string16. If 43 BASE_EXPORT string16 IntToString16(int value); 46 BASE_EXPORT string16 UintToString16(unsigned value); 49 BASE_EXPORT string16 Int64ToString16(int64_t value); 52 BASE_EXPORT string16 Uint64ToString16(uint64_t value); 55 BASE_EXPORT string16 SizeTToString16(size_t value);
|
utf_string_conversions.cc | 95 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { 100 string16 WideToUTF16(const std::wstring& wide) { 109 std::wstring UTF16ToWide(const string16& utf16) { 115 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { 123 string16 WideToUTF16(const std::wstring& wide) { 124 string16 ret; 137 std::wstring UTF16ToWide(const string16& utf16) { 149 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { 159 string16 UTF8ToUTF16(StringPiece utf8) { 161 return string16(utf8.begin(), utf8.end()) [all...] |
string_util.cc | 41 const string16 s16; 166 string16 ToLowerASCII(StringPiece16 str) { 167 return ToLowerASCIIImpl<string16>(str); 174 string16 ToUpperASCII(StringPiece16 str) { 175 return ToUpperASCIIImpl<string16>(str); 210 return CompareCaseInsensitiveASCIIT<string16>(a, b); 222 return CompareCaseInsensitiveASCIIT<string16>(a, b) == 0; 229 const string16& EmptyString16() { 253 bool ReplaceChars(const string16& input, 255 const string16& replace_with [all...] |
string16.h | 11 // string16. We also define char16, which string16 is based upon. 25 // Here, we define string16, which is similar to std::wstring but replaces all 44 typedef std::wstring string16; typedef in namespace:base 137 typedef std::basic_string<char16, base::string16_char_traits> string16; 140 const string16& str); 143 BASE_EXPORT extern void PrintTo(const string16& str, std::ostream* out); 147 // The string class will be explicitly instantiated only once, in string16.cc. 189 // Specialize std::hash for base::string16. Although the style guide forbids 191 // platforms, where base::string16 is a type alias for std::wstring [all...] |
/external/libmojo/base/android/ |
jni_string_unittest.cc | 24 const string16 kSimpleString = UTF8ToUTF16("SimpleTest16"); 26 string16 result = 40 const string16 kEmptyString = UTF8ToUTF16(""); 42 string16 result =
|
jni_string.h | 32 // Convert a Java string to UTF16. Returns a string16. 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, 41 // Convert a string16 to a Java string.
|
jni_string.cc | 77 void ConvertJavaStringToUTF16(JNIEnv* env, jstring str, string16* result) { 99 string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str) { 100 string16 result; 105 string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str) { 109 string16 ConvertJavaStringToUTF16(JNIEnv* env, const JavaRef<jstring>& str) {
|
/external/v8/tools/clang/value_cleanup/tests/ |
values.h | 10 #include "base/strings/string16.h" 30 // Initializes a StringValue with a string16. 31 explicit StringValue(const string16& in_value); 50 void AppendString(const string16& in_value); 52 void AppendStrings(const std::vector<string16>& in_values);
|
/external/libchrome/base/json/ |
json_value_converter.cc | 20 bool BasicValueConverter<string16>::Convert( 21 const base::Value& value, string16* field) const {
|