Home
last modified time | relevance | path

Searched refs:wstring (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/external/libcxx/test/std/re/re.traits/
Dlookup_collatename.pass.cpp121 test(L"NUL", std::wstring(L"\x00", 1)); in main()
122 test(L"alert", std::wstring(L"\x07")); in main()
123 test(L"backspace", std::wstring(L"\x08")); in main()
124 test(L"tab", std::wstring(L"\x09")); in main()
125 test(L"carriage-return", std::wstring(L"\x0D")); in main()
126 test(L"newline", std::wstring(L"\x0A")); in main()
127 test(L"vertical-tab", std::wstring(L"\x0B")); in main()
128 test(L"form-feed", std::wstring(L"\x0C")); in main()
129 test(L"space", std::wstring(L" ")); in main()
130 test(L"exclamation-mark", std::wstring(L"!")); in main()
[all …]
/external/llvm-project/libcxx/test/std/re/re.traits/
Dlookup_collatename.pass.cpp120 test(L"NUL", std::wstring(L"\x00", 1)); in main()
121 test(L"alert", std::wstring(L"\x07")); in main()
122 test(L"backspace", std::wstring(L"\x08")); in main()
123 test(L"tab", std::wstring(L"\x09")); in main()
124 test(L"carriage-return", std::wstring(L"\x0D")); in main()
125 test(L"newline", std::wstring(L"\x0A")); in main()
126 test(L"vertical-tab", std::wstring(L"\x0B")); in main()
127 test(L"form-feed", std::wstring(L"\x0C")); in main()
128 test(L"space", std::wstring(L" ")); in main()
129 test(L"exclamation-mark", std::wstring(L"!")); in main()
[all …]
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc44 using std::wstring;
68 wstring UTF8ToWide(const string &utf8) { in UTF8ToWide()
70 return wstring(); in UTF8ToWide()
77 return wstring(); in UTF8ToWide()
83 wstring result(buf); in UTF8ToWide()
88 string WideToMBCP(const wstring &wide, unsigned int cp) { in WideToMBCP()
110 bool GetFileContents(const wstring &filename, vector<char> *contents) { in GetFileContents()
144 bool CheckParameters(const map<wstring, wstring> &parameters) { in CheckParameters() argument
145 for (map<wstring, wstring>::const_iterator pos = parameters.begin(); in CheckParameters()
147 const wstring &str = pos->first; in CheckParameters()
[all …]
Dhttp_upload.h49 using std::wstring;
62 const wstring& url,
63 const wstring& path,
65 wstring* response_body,
75 const wstring& url,
77 wstring* response_body,
92 const wstring& url,
93 const map<wstring, wstring>& parameters,
94 const map<wstring, wstring>& files,
96 wstring *response_body,
[all …]
Dsymbol_collector_client.h37 using std::wstring;
41 wstring upload_url;
43 wstring upload_key;
65 wstring& api_url,
66 wstring& api_key,
72 wstring& api_url,
73 wstring& api_key,
74 const wstring& upload_key,
75 const wstring& debug_file,
76 const wstring& debug_id);
[all …]
Dsymbol_collector_client.cc13 wstring& api_url, in CreateUploadUrl()
14 wstring& api_key, in CreateUploadUrl()
16 wstring url = api_url + in CreateUploadUrl()
19 wstring response; in CreateUploadUrl()
48 wstring upload_url = upload_url_match[1].str(); in CreateUploadUrl()
58 wstring upload_key = upload_key_match[1].str(); in CreateUploadUrl()
67 wstring& api_url, in CompleteUpload()
68 wstring& api_key, in CompleteUpload()
69 const wstring& upload_key, in CompleteUpload()
70 const wstring& debug_file, in CompleteUpload()
[all …]
Dpdb_source_line_writer.h50 using std::wstring;
68 bool Open(const wstring &file, FileFormat format);
80 bool SetCodeFile(const wstring &exe_file);
153 bool FileIDIsCached(const wstring &file) { in FileIDIsCached()
158 void CacheFileID(const wstring &file, DWORD id) { in CacheFileID()
163 void StoreDuplicateFileID(const wstring &file, DWORD id) { in StoreDuplicateFileID()
164 unordered_map<wstring, DWORD>::iterator iter = unique_files_.find(file); in StoreDuplicateFileID()
201 wstring code_file_;
214 unordered_map<wstring, DWORD> unique_files_;
Dmodule_info.h37 using std::wstring;
42 wstring debug_file;
51 wstring debug_identifier;
55 wstring cpu;
62 wstring code_file;
70 wstring code_identifier;
Dpe_util.h39 using std::wstring;
44 bool ReadModuleInfo(const wstring& pe_file, PDBModuleInfo* info);
47 bool ReadPEInfo(const wstring& pe_file, PEModuleInfo* info);
51 bool PrintPEFrameData(const wstring& pe_file, FILE* out_file);
55 wstring GenerateDebugIdentifier(DWORD age, GUID signature);
59 wstring GenerateDebugIdentifier(DWORD age, DWORD signature);
/external/libcxx/src/
Dstring.cpp132 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
144 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
152 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
160 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
168 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
226 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
234 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
242 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
256 stoi(const wstring& str, size_t* idx, int base) in stoi()
268 stol(const wstring& str, size_t* idx, int base) in stol()
[all …]
/external/llvm-project/libcxx/src/
Dstring.cpp138 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
150 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
158 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
166 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
174 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer()
232 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
240 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
248 as_float( const string& func, const wstring& s, size_t* idx ) in as_float()
262 stoi(const wstring& str, size_t* idx, int base) in stoi()
274 stol(const wstring& str, size_t* idx, int base) in stol()
[all …]
/external/google-breakpad/src/tools/windows/dump_syms/
Ddump_syms_unittest.cc67 void TrimLastComponent(const std::wstring& path, in TrimLastComponent()
68 std::wstring* trimmed, in TrimLastComponent()
69 std::wstring* component) { in TrimLastComponent()
85 bool GetSelfDirectory(std::wstring* self_dir) { in GetSelfDirectory()
86 std::wstring command_line = GetCommandLineW(); in GetSelfDirectory()
100 void RunCommand(const std::wstring& command_line, in RunCommand()
156 void GetFileContents(const std::wstring& path, std::string* content) { in GetFileContents()
172 std::wstring self_dir; in SetUp()
180 std::wstring dump_syms_exe;
181 std::wstring testdata_dir;
[all …]
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
Dput_string_en_US.pass.cpp282 std::wstring v = L"0"; in main()
286 std::wstring ex(str, iter.base()); in main()
290 std::wstring v = L"-1"; in main()
294 std::wstring ex(str, iter.base()); in main()
298 std::wstring v = L"123456789"; in main()
302 std::wstring ex(str, iter.base()); in main()
306 std::wstring v = L"-123456789"; in main()
310 std::wstring ex(str, iter.base()); in main()
314 std::wstring v = L"0"; in main()
319 std::wstring ex(str, iter.base()); in main()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
Dput_string_en_US.pass.cpp282 std::wstring v = L"0"; in main()
286 std::wstring ex(str, iter.base()); in main()
290 std::wstring v = L"-1"; in main()
294 std::wstring ex(str, iter.base()); in main()
298 std::wstring v = L"123456789"; in main()
302 std::wstring ex(str, iter.base()); in main()
306 std::wstring v = L"-123456789"; in main()
310 std::wstring ex(str, iter.base()); in main()
314 std::wstring v = L"0"; in main()
319 std::wstring ex(str, iter.base()); in main()
[all …]
/external/protobuf/src/google/protobuf/io/
Dio_win32.cc77 using std::wstring;
131 wstring join_paths(const wstring& path1, const wstring& path2) { in join_paths()
149 wstring normalize(wstring path) { in normalize()
154 static const wstring dot(L"."); in normalize()
155 static const wstring dotdot(L".."); in normalize()
158 std::vector<wstring> segments; in normalize()
171 wstring segment(p, segment_start, i - segment_start); in normalize()
211 bool as_windows_path(const char* path, wstring* result) { in as_windows_path()
216 wstring wpath; in as_windows_path()
244 wpath = wstring(L"\\\\?\\") + wpath; in as_windows_path()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-redundant-string-init-msvc.cpp18 typedef basic_string<wchar_t> wstring; typedef
43 std::wstring a = L""; in g()
46 std::wstring b(L""); in g()
49 std::wstring c = LR"()"; in g()
52 std::wstring d(LR"()"); in g()
56 std::wstring u = L"u"; in g()
57 std::wstring w(L"w"); in g()
58 std::wstring x = LR"(x)"; in g()
59 std::wstring y(LR"(y)"); in g()
60 std::wstring z; in g()
Dboost-use-to-string.cpp9 using wstring = basic_string<wchar_t>; typedef
78 std::string fun(const std::wstring &) {} in fun() argument
92 fun(boost::lexical_cast<std::wstring>(a)); in test_to_wstring()
95 fun(boost::lexical_cast<std::wstring>(b)); in test_to_wstring()
98 fun(boost::lexical_cast<std::wstring>(c)); in test_to_wstring()
101 fun(boost::lexical_cast<std::wstring>(d)); in test_to_wstring()
104 fun(boost::lexical_cast<std::wstring>(e)); in test_to_wstring()
107 fun(boost::lexical_cast<std::wstring>(f)); in test_to_wstring()
112 fun(boost::lexical_cast<std::wstring>(g)); in test_to_wstring()
113 fun(boost::lexical_cast<std::wstring>(h)); in test_to_wstring()
[all …]
/external/google-breakpad/src/client/windows/sender/
Dcrash_report_sender.h50 using std::wstring;
68 explicit CrashReportSender(const wstring &checkpoint_file);
90 ReportResult SendCrashReport(const wstring &url,
91 const map<wstring, wstring> &parameters,
92 const map<wstring, wstring> &files,
93 wstring *report_code);
109 wstring checkpoint_file_;
/external/google-breakpad/src/tools/windows/symupload/
Dsymupload.cc62 using std::wstring;
76 static bool GetFileVersionString(const wchar_t *filename, wstring *version) { in GetFileVersionString()
118 wstring *temp_file_path, in DumpSymbolsToTempFile()
165 const wstring& debug_file, in DoSymUploadV2()
166 const wstring& debug_id, in DoSymUploadV2()
167 const wstring& symbol_file, in DoSymUploadV2()
169 wstring url(api_url); in DoSymUploadV2()
170 wstring key(api_key); in DoSymUploadV2()
198 wstring signed_url = uploadUrlResponse.upload_url; in DoSymUploadV2()
199 wstring upload_key = uploadUrlResponse.upload_key; in DoSymUploadV2()
[all …]
/external/libchrome/base/strings/
Dsys_string_conversions_unittest.cc18 static const std::wstring kSysWideOldItalicLetterA = L"\x10300";
20 static const std::wstring kSysWideOldItalicLetterA = L"\xd800\xdf00";
42 std::wstring wide_null(L"a"); in TEST()
71 std::wstring expected_null(L"a"); in TEST()
100 std::wstring wide_null(L"a"); in TEST()
133 std::wstring expected_null(L"a"); in TEST()
173 std::wstring wide = kConvertRoundtripCases[i]; in TEST()
174 std::wstring trip = SysNativeMBToWide(SysWideToNativeMB(wide)); in TEST()
181 std::wstring wide = kConvertRoundtripCases[i]; in TEST()
182 std::wstring trip = SysNativeMBToWide(WideToUTF8(wide)); in TEST()
[all …]
Dsys_string_conversions_posix.cc16 std::string SysWideToUTF8(const std::wstring& wide) { in SysWideToUTF8()
21 std::wstring SysUTF8ToWide(StringPiece utf8) { in SysUTF8ToWide()
24 std::wstring out; in SysUTF8ToWide()
33 std::string SysWideToNativeMB(const std::wstring& wide) { in SysWideToNativeMB()
37 std::wstring SysNativeMBToWide(StringPiece native_mb) { in SysNativeMBToWide()
43 std::string SysWideToNativeMB(const std::wstring& wide) { in SysWideToNativeMB()
103 std::wstring SysNativeMBToWide(StringPiece native_mb) { in SysNativeMBToWide()
117 return std::wstring(); in SysNativeMBToWide()
131 return std::wstring(); in SysNativeMBToWide()
133 std::wstring out; in SysNativeMBToWide()
[all …]
/external/libcxx/test/std/strings/string.conversions/
Dto_wstring.pass.cpp32 std::wstring s = std::to_wstring(T(0)); in test_signed()
38 std::wstring s = std::to_wstring(T(12345)); in test_signed()
44 std::wstring s = std::to_wstring(T(-12345)); in test_signed()
50 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_signed()
58 std::wstring s = std::to_wstring(std::numeric_limits<T>::min()); in test_signed()
71 std::wstring s = std::to_wstring(T(0)); in test_unsigned()
77 std::wstring s = std::to_wstring(T(12345)); in test_unsigned()
83 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_unsigned()
97 std::wstring s = std::to_wstring(T(0)); in test_float()
103 std::wstring s = std::to_wstring(T(12345)); in test_float()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.conversions/
Dto_wstring.pass.cpp33 std::wstring s = std::to_wstring(T(0)); in test_signed()
39 std::wstring s = std::to_wstring(T(12345)); in test_signed()
45 std::wstring s = std::to_wstring(T(-12345)); in test_signed()
51 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_signed()
57 std::wstring s = std::to_wstring(std::numeric_limits<T>::min()); in test_signed()
68 std::wstring s = std::to_wstring(T(0)); in test_unsigned()
74 std::wstring s = std::to_wstring(T(12345)); in test_unsigned()
80 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_unsigned()
92 std::wstring s = std::to_wstring(T(0)); in test_float()
98 std::wstring s = std::to_wstring(T(12345)); in test_float()
[all …]
/external/python/cpython3/PC/
Dpython_uwp.cpp30 static std::wstring
40 return std::wstring(path) + L"\\local-packages"; in get_user_base()
46 return std::wstring(); in get_user_base()
49 static std::wstring
57 return std::wstring(id.FamilyName()); in get_package_family()
64 return std::wstring(); in get_package_family()
67 static std::wstring
75 return std::wstring(path.Path()); in get_package_home()
82 return std::wstring(); in get_package_home()
89 std::wstring executable; in set_process_name()
[all …]
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.h80 using std::wstring;
167 ExceptionHandler(const wstring& dump_path,
178 ExceptionHandler(const wstring& dump_path,
189 ExceptionHandler(const wstring& dump_path,
210 ExceptionHandler(const wstring& dump_path,
220 wstring dump_path() const { return dump_path_; } in dump_path()
221 void set_dump_path(const wstring &dump_path) { in set_dump_path()
240 static bool WriteMinidump(const wstring &dump_path,
251 const wstring& dump_path,
289 void Initialize(const wstring& dump_path,
[all …]

12345678910>>...20