/ndk/sources/third_party/googletest/googletest/src/ |
gtest-printers.cc | 119 // Depending on the value of a char (or wchar_t), we print it in one 133 inline bool IsPrintableAscii(wchar_t c) { 143 switch (static_cast<wchar_t>(c)) { 186 // Prints a wchar_t c as if it's part of a string literal, escaping it when 188 static CharFormat PrintAsStringLiteralTo(wchar_t c, ostream* os) { 197 return PrintAsCharLiteralTo<wchar_t>(c, os); 205 static_cast<wchar_t>(static_cast<unsigned char>(c)), os); 244 // Prints a wchar_t as a symbol if it is printable or as its internal 246 void PrintTo(wchar_t wc, ostream* os) { 247 PrintCharAndCodeTo<wchar_t>(wc, os) [all...] |
/external/chromium_org/sandbox/win/src/ |
policy_opcodes_unittest.cc | 62 const wchar_t* txt = L"S231L"; 64 const wchar_t* result3 = NULL; 149 const wchar_t* txt1 = L"1234"; 150 const wchar_t txt2[] = L"123"; 176 const wchar_t* txt = L"abcdef"; 229 const wchar_t* txt1 = L"the quick fox jumps over the lazy dog"; 230 const wchar_t txt2[] = L"the quick"; 231 const wchar_t txt3[] = L" fox jumps"; 232 const wchar_t txt4[] = L"the lazy dog"; 233 const wchar_t txt5[] = L"jumps over" [all...] |
handle_dispatcher.cc | 63 BYTE buffer[sizeof(OBJECT_TYPE_INFORMATION) + 32 * sizeof(wchar_t)]; 66 ULONG size = sizeof(buffer) - sizeof(wchar_t); 72 type_info->Name.Buffer[type_info->Name.Length / sizeof(wchar_t)] = L'\0';
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_win_unittest.cc | 33 base::win::ScopedHGlobal<wchar_t>(medium.hGlobal).get(); 52 HGLOBAL glob = GlobalAlloc(GPTR, sizeof(wchar_t) * (input.size() + 1)); 55 base::win::ScopedHGlobal<wchar_t> global_lock(glob); 56 wchar_t* buffer_handle = global_lock.get(); 89 HGLOBAL glob = GlobalAlloc(GPTR, sizeof(wchar_t) * (input.size() + 1)); 92 base::win::ScopedHGlobal<wchar_t> global_lock(glob); 93 wchar_t* buffer_handle = global_lock.get(); 101 HGLOBAL glob = GlobalAlloc(GPTR, sizeof(wchar_t) * (input2.size() + 1)); 104 base::win::ScopedHGlobal<wchar_t> global_lock(glob); 105 wchar_t* buffer_handle = global_lock.get() [all...] |
/external/chromium_org/chrome/installer/util/ |
install_util.cc | 42 const wchar_t kStageBinaryPatching[] = L"binary_patching"; 43 const wchar_t kStageBuilding[] = L"building"; 44 const wchar_t kStageConfiguringAutoLaunch[] = L"configuring_auto_launch"; 45 const wchar_t kStageCopyingPreferencesFile[] = L"copying_prefs"; 46 const wchar_t kStageCreatingShortcuts[] = L"creating_shortcuts"; 47 const wchar_t kStageEnsemblePatching[] = L"ensemble_patching"; 48 const wchar_t kStageExecuting[] = L"executing"; 49 const wchar_t kStageFinishing[] = L"finishing"; 50 const wchar_t kStagePreconditions[] = L"preconditions"; 51 const wchar_t kStageRefreshingPolicy[] = L"refreshing_policy" [all...] |
shell_util.h | 206 static const wchar_t* kRegURLProtocol; 209 static const wchar_t* kRegDefaultIcon; 212 static const wchar_t* kRegShellPath; 216 static const wchar_t* kRegShellOpen; 220 static const wchar_t* kRegStartMenuInternet; 224 static const wchar_t* kRegClasses; 228 static const wchar_t* kRegRegisteredApplications; 232 static const wchar_t* kAppPathsRegistryKey; 233 static const wchar_t* kAppPathsRegistryPathName; 236 static const wchar_t* kRegVistaUrlPrefs [all...] |
l10n_string_util.cc | 61 wchar_t full_exe_path[MAX_PATH]; 86 scoped_ptr<wchar_t[]> url_canon(new wchar_t[count]);
|
/external/chromium_org/testing/gtest/test/ |
gtest-printers_test.cc | 318 // wchar_t. 319 TEST(PrintBuiltInTypeTest, Wchar_t) { 336 EXPECT_EQ("L'\\x576' (1398)", Print(static_cast<wchar_t>(0x576))); 337 EXPECT_EQ("L'\\xC74D' (51021)", Print(static_cast<wchar_t>(0xC74D))); 340 // Test that Int64 provides more storage than wchar_t. 341 TEST(PrintTypeSizeTest, Wchar_t) { 342 EXPECT_LT(sizeof(wchar_t), sizeof(testing::internal::Int64)); 415 // of unsigned short. Defining an overload for const wchar_t* in that case 419 // wchar_t is implemented as a native type. 422 // const wchar_t* [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-printers_test.cc | 323 // wchar_t. 324 TEST(PrintBuiltInTypeTest, Wchar_t) { 341 EXPECT_EQ("L'\\x576' (1398)", Print(static_cast<wchar_t>(0x576))); 342 EXPECT_EQ("L'\\xC74D' (51021)", Print(static_cast<wchar_t>(0xC74D))); 345 // Test that Int64 provides more storage than wchar_t. 346 TEST(PrintTypeSizeTest, Wchar_t) { 347 EXPECT_LT(sizeof(wchar_t), sizeof(testing::internal::Int64)); 420 // of unsigned short. Defining an overload for const wchar_t* in that case 424 // wchar_t is implemented as a native type. 427 // const wchar_t* [all...] |
/external/chromium_org/chrome_frame/ |
utils.cc | 53 const wchar_t kBodyTag[] = L"body"; 54 const wchar_t kContentAttribName[] = L"content"; 55 const wchar_t kChromeContentPrefix[] = L"chrome="; 56 const wchar_t kChromeMimeType[] = L"application/chromepage"; 57 const wchar_t kChromeProtocolPrefix[] = L"gcf:"; 58 const wchar_t kHttpEquivAttribName[] = L"http-equiv"; 59 const wchar_t kIexploreProfileName[] = L"iexplore"; 60 const wchar_t kMetaTag[] = L"meta"; 61 const wchar_t kRundllProfileName[] = L"rundll32"; 62 const wchar_t kXUACompatValue[] = L"x-ua-compatible" [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
codecvt_utf16_out.pass.cpp | 31 typedef std::codecvt_utf16<wchar_t> C; 33 wchar_t w = 0x40003; 35 const wchar_t* wp = nullptr; 78 typedef std::codecvt_utf16<wchar_t, 0x1000> C; 80 wchar_t w = 0x40003; 82 const wchar_t* wp = nullptr; 125 typedef std::codecvt_utf16<wchar_t, 0x10ffff, std::generate_header> C; 127 wchar_t w = 0x40003; 129 const wchar_t* wp = nullptr; 181 typedef std::codecvt_utf16<wchar_t, 0x10FFFF, std::little_endian> C [all...] |
/external/chromium/base/ |
utf_offset_string_conversions_unittest.cc | 18 // Given a null-terminated string of wchar_t with each wchar_t representing 19 // a UTF-16 code unit, returns a string16 made up of wchar_t's in the input. 20 // Each wchar_t should be <= 0xFFFF and a non-BMP character (> U+FFFF) 22 // *even* where wchar_t is 32-bit (Linux and Mac). 26 string16 BuildString16(const wchar_t* s) { 67 const wchar_t* wide;
|
utf_string_conversions_unittest.cc | 16 const wchar_t* const kConvertRoundtripCases[] = { 31 // wchar_t is 16 or 32 bits. 71 const wchar_t* wide; 111 EXPECT_EQ(static_cast<wchar_t>(0), converted[0]); 122 // This test is only valid when wchar_t == UTF-16. 125 const wchar_t* utf16; 154 // This test is only valid when wchar_t == UTF-32. 157 const wchar_t* utf32; 188 static wchar_t wmulti[] = {
|
/external/chromium_org/printing/ |
printing_context_win_unittest.cc | 52 if (!OpenPrinter(const_cast<wchar_t*>(printer_name.c_str()), &printer, NULL)) 92 size_t driver_size = 2 + sizeof(wchar_t) * lstrlen(info_2.get()->pDriverName); 93 size_t printer_size = 2 + sizeof(wchar_t) * 95 size_t port_size = 2 + sizeof(wchar_t) * lstrlen(info_2.get()->pPortName); 110 dev_names->wDriverOffset = sizeof(DEVNAMES) / sizeof(wchar_t); 114 driver_size / sizeof(wchar_t); 118 printer_size / sizeof(wchar_t);
|
/external/lzma/CPP/Common/ |
CommandLineParser.cpp | 17 wchar_t c = src[i];
48 static const wchar_t kSwitchID1 = '-';
49 // static const wchar_t kSwitchID2 = '/';
51 static const wchar_t kSwitchMinus = '-';
52 static const wchar_t *kStopSwitchParsing = L"--";
54 static bool IsItSwitchChar(wchar_t c)
182 wchar_t c = s[pos];
|
/external/chromium_org/base/strings/ |
string16.h | 10 // wchar_t is not implemented as a 2-byte type. You can access this class as 14 // On Windows, wchar_t is 2 bytes, and it can conveniently handle UTF-16/UCS-2 17 // On many other platforms, sizeof(wchar_t) is 4 bytes by default. We can make 20 // the system's native C library -- which was built with a 4-byte wchar_t! 21 // It's wasteful to use 4-byte wchar_t strings to carry UTF-16 data, and it's 22 // entirely improper on those systems where the encoding of wchar_t is defined 39 typedef wchar_t char16; 41 typedef std::char_traits<wchar_t> string16_char_traits; 169 // std::basic_string<char> (string) and std::basic_string<wchar_t> (wstring).
|
utf_string_conversions_unittest.cc | 16 const wchar_t* const kConvertRoundtripCases[] = { 31 // wchar_t is 16 or 32 bits. 71 const wchar_t* wide; 111 EXPECT_EQ(static_cast<wchar_t>(0), converted[0]); 122 // This test is only valid when wchar_t == UTF-16. 125 const wchar_t* utf16; 154 // This test is only valid when wchar_t == UTF-32. 157 const wchar_t* utf32; 188 static wchar_t wmulti[] = {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/ |
xlocale.c | 36 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) { 42 size_t mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, 49 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l) { 66 size_t mbsrtowcs_l(wchar_t *__dest, const char **__src, size_t __len, 73 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t __l) { 97 size_t wcsxfrm_l(wchar_t *__ws1, const wchar_t *__ws2, size_t __n, 110 int isw##ctype##_l(wchar_t __c, locale_t __l) { \
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
integer_traits.hpp | 100 class integer_traits<wchar_t> 101 : public std::numeric_limits<wchar_t>, 105 public detail::integer_traits_base<wchar_t, WCHAR_MIN, WCHAR_MAX> 108 public detail::integer_traits_base<wchar_t, 0, 0xffff> 116 // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as int. 121 public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX> 123 // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as unsigned int. 125 // (also, std::numeric_limits<wchar_t> appears to return the wrong values). 126 public detail::integer_traits_base<wchar_t, 0, UINT_MAX>
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscmp.c | 48 wcscmp(const wchar_t *s1, const wchar_t *s2) 54 /* XXX assumes wchar_t = int */
|
wcsncmp.c | 42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) 49 /* XXX assumes wchar_t = int */
|
/development/host/windows/usb/api/ |
adb_api_private_defines.h | 44 AdbInstanceEnumEntry(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
60 void Set(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
70 (device_name_.length() + 1) * sizeof(wchar_t));
|
/external/chromium/chrome/common/ |
chrome_paths_win.cc | 46 wchar_t path_buf[MAX_PATH]; 74 app::win::ScopedCoMem<wchar_t> path_buf; 88 wchar_t system_buffer[MAX_PATH];
|
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
port_monitor_dll.cc | 33 const wchar_t kChromeExePath[] = L"google\\chrome\\application\\chrome.exe"; 34 const wchar_t kChromeExePathRegValue[] = L"PathToChromeExe"; 35 const wchar_t kChromeProfilePathRegValue[] = L"PathToChromeProfile";
|
/external/clang/test/FixIt/ |
format.mm | 10 const wchar_t wchar_data = L'a'; 11 NSLog(@"%C", wchar_data); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short') but the argument has type 'wchar_t'}} 20 NSLog(@"%C", wchar_data); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short') but the argument has type 'wchar_t'}}
|