/third_party/cef/libcef/browser/native/ |
D | file_dialog_runner_win.cc | 37 static bool GetRegistryDescriptionFromExtension(const std::wstring& file_ext, in GetRegistryDescriptionFromExtension() 38 std::wstring* reg_description) { in GetRegistryDescriptionFromExtension() 41 std::wstring reg_app; in GetRegistryDescriptionFromExtension() 66 std::wstring FormatFilterForExtensions( in FormatFilterForExtensions() 67 const std::vector<std::wstring>& file_ext, in FormatFilterForExtensions() 68 const std::vector<std::wstring>& ext_desc, in FormatFilterForExtensions() 70 const std::wstring all_ext = L"*.*"; in FormatFilterForExtensions() 71 const std::wstring all_desc = in FormatFilterForExtensions() 80 std::wstring result; in FormatFilterForExtensions() 93 std::wstring ext; in FormatFilterForExtensions() [all …]
|
D | javascript_dialog_runner_win.h | 29 void CloseDialog(bool success, const std::wstring& user_input); 35 std::wstring message_text_; 36 std::wstring default_prompt_text_;
|
D | javascript_dialog_runner_win.cc | 42 owner->CloseDialog(false, std::wstring()); in DialogProc() 54 std::wstring user_input; in DialogProc() 142 std::wstring new_window_text = in Run() 143 std::wstring(text) + L" - " + base::UTF16ToWide(display_url); in Run() 175 const std::wstring& user_input) { in CloseDialog()
|
D | native_menu_win.cc | 106 std::wstring label; 217 if (data->label.find(L'\t') != std::wstring::npos) in OnMeasureItem() 274 std::wstring label = data->label; in OnDrawItem() 275 std::wstring accel; in OnDrawItem() 276 std::wstring::size_type tab_pos = label.find(L'\t'); in OnDrawItem() 277 if (tab_pos != std::wstring::npos) { in OnDrawItem() 657 item_data->label = std::wstring(); in AddMenuItemAt() 711 const std::wstring& label) { in SetMenuItemLabel() 723 const std::wstring& label) { in UpdateMenuItemInfoForString() 724 std::wstring formatted = label; in UpdateMenuItemInfoForString()
|
D | native_menu_win.h | 78 const std::wstring& label); 86 const std::wstring& label);
|
/third_party/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 81 using std::wstring; 135 wstring join_paths(const wstring& path1, const wstring& path2) { in join_paths() 153 wstring normalize(wstring path) { in normalize() 158 static const wstring dot(L"."); in normalize() 159 static const wstring dotdot(L".."); in normalize() 162 std::vector<wstring> segments; in normalize() 175 wstring segment(p, segment_start, i - segment_start); in normalize() 215 bool as_windows_path(const char* path, wstring* result) { in as_windows_path() 220 wstring wpath; in as_windows_path() 248 wpath = wstring(L"\\\\?\\") + wpath; in as_windows_path() [all …]
|
D | io_win32_unittest.cc | 90 using std::wstring; 98 bool CreateAllUnder(wstring path); 99 bool DeleteAllUnder(wstring path); 103 wstring wtest_tmpdir; 151 bool CreateEmptyFile(const wstring& path) { in CreateEmptyFile() 214 bool IoWin32Test::CreateAllUnder(wstring path) { in CreateAllUnder() 219 path = wstring(L"\\\\?\\") + path; in CreateAllUnder() 228 if (pos != wstring::npos) { in CreateAllUnder() 229 wstring parent(path, 0, pos); in CreateAllUnder() 238 bool IoWin32Test::DeleteAllUnder(wstring path) { in DeleteAllUnder() [all …]
|
D | io_win32.h | 77 PROTOBUF_EXPORT std::wstring testonly_utf8_to_winpath(const char* path); 104 PROTOBUF_EXPORT bool mbs_to_wcs(const char* s, std::wstring* out, bool inUtf8); 107 PROTOBUF_EXPORT bool utf8_to_wcs(const char* input, std::wstring* out);
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | fsetpos.c | 33 const char *wstring = "This is a test case!"; in fsetpos_0100() local 39 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0100() 59 const char *wstring = "This is a test case!"; in fsetpos_0200() local 64 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0200() 73 wstring = NULL; in fsetpos_0200() 85 const char *wstring = "This is a test case!"; in fsetpos_0300() local 90 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0300() 99 wstring = NULL; in fsetpos_0300()
|
D | fopen.c | 36 const char *wstring = "this is tempory test!"; in fopen_0100() local 44 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0100() 155 const char *wstring = "this is tempory test!"; in fopen_0500() local 163 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0500() 270 const char *wstring = "this is tempory test!"; in fopen_0900() local 278 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0900()
|
/third_party/python/PC/ |
D | python_uwp.cpp | 30 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 …]
|
/third_party/cef/libcef/common/ |
D | crash_reporter_client.h | 49 bool GetAlternativeCrashDumpLocation(std::wstring* crash_dir) override; 50 void GetProductNameAndVersion(const std::wstring& exe_path, 51 std::wstring* product_name, 52 std::wstring* version, 53 std::wstring* special_build, 54 std::wstring* channel_name) override; 55 bool GetCrashDumpLocation(std::wstring* crash_dir) override; 56 bool GetCrashMetricsLocation(std::wstring* metrics_dir) override; 85 std::wstring GetCrashExternalHandler(const std::wstring& exe_dir) override;
|
D | crash_reporter_client.cc | 55 using PathString = std::wstring; 302 bool GetDefaultUserDataDirectory(std::wstring* result, in GetDefaultUserDataDirectory() 303 const std::wstring& install_sub_directory) { in GetDefaultUserDataDirectory() 306 std::wstring user_data_dir = in GetDefaultUserDataDirectory() 332 bool GetDefaultCrashDumpLocation(std::wstring* crash_dir, in GetDefaultCrashDumpLocation() 333 const std::wstring& install_sub_directory) { in GetDefaultCrashDumpLocation() 549 std::wstring process_type = install_static::GetSwitchValueFromCommandLine( in InitializeCrashReportingForProcess() 570 std::wstring* crash_dir) { in GetAlternativeCrashDumpLocation() 578 const std::wstring& exe_path, in GetProductNameAndVersion() 579 std::wstring* product_name, in GetProductNameAndVersion() [all …]
|
D | string_types_impl.cc | 29 std::wstring ASCIIToWide(const base::StringPiece& ascii) { in ASCIIToWide() 31 return std::wstring(ascii.begin(), ascii.end()); in ASCIIToWide() 202 std::wstring str; in cef_string_utf8_to_wide() 223 std::wstring str; in cef_string_utf16_to_wide() 256 const std::wstring& str = ASCIIToWide(std::string(src, src_len)); in cef_string_ascii_to_wide()
|
/third_party/cef/include/internal/ |
D | cef_string_wrappers.h | 90 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring() 91 return std::wstring(s->str, s->length); in to_wstring() 93 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring() 98 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring() 181 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring() 185 std::wstring str; in to_wstring() 187 str = std::wstring(cstr.str, cstr.length); in to_wstring() 191 static inline bool from_wstring(const std::wstring::value_type* data, in from_wstring() 196 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring() 272 static inline std::wstring to_wstring(const struct_type* s) { in to_wstring() [all …]
|
/third_party/vulkan-loader/tests/framework/shim/ |
D | shim.h | 105 std::vector<std::wstring> driver_paths; 106 std::vector<std::wstring> implicit_layer_paths; 107 std::vector<std::wstring> explicit_layer_paths; 110 D3DKMT_Adapter& add_path(fs::path src, std::vector<std::wstring>& dest); 164 …void add_CM_Device_ID(std::wstring const& id, fs::path const& icd_path, fs::path const& layer_path… 165 std::wstring CM_device_ID_list = {L'\0'}; 178 std::wstring app_package_path;
|
/third_party/json/tests/src/ |
D | unit-wstring.cpp | 21 return (std::wstring(L"") == std::wstring(L"\U0001F4A9")); in wstring_is_utf16() 43 std::wstring w = L"[12.2,\"Ⴥaäö\"]"; 53 std::wstring w = L"\"\xDBFF";
|
/third_party/googletest/googlemock/test/ |
D | gmock-matchers-comparisons_test.cc | 1909 Matcher<const wchar_t*> m = StrEq(::std::wstring(L"Hello")); in TEST() 1914 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello"); in TEST() 1918 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST() 1922 ::std::wstring str(L"01204500800"); in TEST() 1924 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST() 1927 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST() 1932 Matcher<::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v"); in TEST() 1936 Matcher<::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST() 1939 ::std::wstring str(L"01204500800"); in TEST() 1941 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST() [all …]
|
/third_party/node/deps/v8/tools/v8windbg/test/ |
D | v8windbg-test.cc | 26 std::wstring extension_path) in LoadExtensionScope() 48 std::wstring extension_path_; 160 std::wstring command_line = in RunTests() 161 std::wstring(L"\"") + this_module_path + L"\\d8.exe\" \"" + in RunTests() 204 p_debug_control, this_module_path + std::wstring(L"\\v8windbg.dll")); in RunTests()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | dxc_helper.cc | 94 std::wstring wide_path(pFilename); in LoadSource() 201 std::wstring(filepath.begin(), filepath.end()) in Compile() 203 std::wstring(entry.begin(), entry.end()) in Compile() 205 std::wstring(profile.begin(), profile.end()) in Compile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ConvertUTF.h | 203 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result); 209 bool ConvertUTF8toWide(const char *Source, std::wstring &Result); 215 bool convertWideToUTF8(const std::wstring &Source, std::string &Result);
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | WindowsUtils.cpp | 34 std::wstring UTF8ToWStr(const char* input) { in UTF8ToWStr() 44 return std::wstring(result.get(), result.get() + (requiredSize - 1)); in UTF8ToWStr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 203 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result); 209 bool ConvertUTF8toWide(const char *Source, std::wstring &Result); 215 bool convertWideToUTF8(const std::wstring &Source, std::string &Result);
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/ |
D | gstwasapi2client.cpp | 155 ActivateDeviceAsync(const std::wstring &device_id) in ActivateDeviceAsync() 498 convert_wstring_to_string (const std::wstring &wstr) in convert_wstring_to_string() 517 return convert_wstring_to_string (std::wstring (raw_hstr)); in convert_hstring_to_string() 520 static std::wstring 532 return std::wstring(); in gst_wasapi2_client_get_default_device_id() 534 std::wstring ret = std::wstring (default_device_id_wstr); in gst_wasapi2_client_get_default_device_id() 556 std::wstring default_device_id_wstring; in gst_wasapi2_client_activate_async() 558 std::wstring target_device_id_wstring; in gst_wasapi2_client_activate_async()
|
/third_party/node/deps/v8/src/base/debug/ |
D | stack_trace_win.cc | 85 std::wstring exe_path_wstring(exe_path); in InitializeSymbols() 88 std::wstring new_path( in InitializeSymbols() 89 std::wstring(symbols_path.get()) + L";" + in InitializeSymbols()
|