/external/libcxx/test/re/re.traits/ |
D | lookup_collatename.pass.cpp | 110 test(L"NUL", std::wstring(L"\x00", 1)); in main() 111 test(L"alert", std::wstring(L"\x07")); in main() 112 test(L"backspace", std::wstring(L"\x08")); in main() 113 test(L"tab", std::wstring(L"\x09")); in main() 114 test(L"carriage-return", std::wstring(L"\x0D")); in main() 115 test(L"newline", std::wstring(L"\x0A")); in main() 116 test(L"vertical-tab", std::wstring(L"\x0B")); in main() 117 test(L"form-feed", std::wstring(L"\x0C")); in main() 118 test(L"space", std::wstring(L" ")); in main() 119 test(L"exclamation-mark", std::wstring(L"!")); in main() [all …]
|
/external/chromium_org/chrome/installer/util/ |
D | work_item_list.h | 50 const std::wstring& source_path, 51 const std::wstring& dest_path, 52 const std::wstring& temp_dir, 54 const std::wstring& alternative_path = L""); 62 const std::wstring& path, 68 const std::wstring& path, 74 const std::wstring& key_path, 76 const std::wstring& value_name); 91 virtual WorkItem* AddMoveTreeWorkItem(const std::wstring& source_path, 92 const std::wstring& dest_path, [all …]
|
D | channel_info.cc | 68 const std::wstring& ap_value, in FindModifier() 69 std::wstring::size_type* position, in FindModifier() 70 std::wstring::size_type* length) { in FindModifier() 72 std::wstring::size_type mod_position = std::wstring::npos; in FindModifier() 73 std::wstring::size_type mod_length = in FindModifier() 74 std::wstring::traits_type::length(kModifiers[index]); in FindModifier() 76 std::wstring::size_type pos = 0; in FindModifier() 79 if (mod_position == std::wstring::npos) in FindModifier() 86 if (pos == std::wstring::npos) in FindModifier() 92 DCHECK_NE(mod_position, std::wstring::npos); in FindModifier() [all …]
|
D | language_selector.cc | 32 const std::wstring::size_type kScriptSubtagLength = 4; 94 if (!(std::wstring(first->language) < (first + 1)->language) || in IsArraySorted() 126 bool operator<(const LangToOffset& left, const std::wstring& right) { in operator <() 132 bool operator<(const std::wstring& left, const LangToOffset& right) { in operator <() 138 return std::wstring(left.language) < right.language; in operator <() 149 const std::wstring& name, int* offset) { in TryFindOffset() 161 bool GetLanguageOffset(const std::wstring& language, int* offset) { in GetLanguageOffset() 177 bool MatchLanguageOffset(const std::wstring& language, int* offset) { in MatchLanguageOffset() 178 std::wstring primary_language = language.substr(0, language.find(L'-')); in MatchLanguageOffset() 191 void GetCandidatesFromSystem(std::vector<std::wstring>* candidates) { in GetCandidatesFromSystem() [all …]
|
D | language_selector.h | 27 explicit LanguageSelector(const std::vector<std::wstring>& candidates); 35 const std::wstring& matched_candidate() const { return matched_candidate_; } in matched_candidate() 38 std::wstring selected_translation() const { return GetLanguageName(offset_); } in selected_translation() 41 static std::wstring GetLanguageName(int offset); 44 typedef bool (*SelectPred_Fn)(const std::wstring&, int*); 46 static bool SelectIf(const std::vector<std::wstring>& candidates, 48 std::wstring* matched_name, int* matched_offset); 49 void DoSelect(const std::vector<std::wstring>& candidates); 51 std::wstring matched_candidate_;
|
D | work_item_list.cc | 84 const std::wstring& source_path, in AddCopyTreeWorkItem() 85 const std::wstring& dest_path, in AddCopyTreeWorkItem() 86 const std::wstring& temp_dir, in AddCopyTreeWorkItem() 88 const std::wstring& alternative_path) { in AddCopyTreeWorkItem() 106 const std::wstring& path, in AddCreateRegKeyWorkItem() 115 const std::wstring& path, in AddDeleteRegKeyWorkItem() 125 const std::wstring& key_path, in AddDeleteRegValueWorkItem() 127 const std::wstring& value_name) { in AddDeleteRegValueWorkItem() 150 WorkItem* WorkItemList::AddMoveTreeWorkItem(const std::wstring& source_path, in AddMoveTreeWorkItem() 151 const std::wstring& dest_path, in AddMoveTreeWorkItem() [all …]
|
D | set_reg_value_work_item.h | 46 const std::wstring& key_path, 48 const std::wstring& value_name, 49 const std::wstring& value_data, 53 const std::wstring& key_path, 55 const std::wstring& value_name, 60 const std::wstring& key_path, 62 const std::wstring& value_name, 71 std::wstring key_path_; 74 std::wstring value_name_;
|
D | lzma_util.h | 24 static int32 UnPackArchive(const std::wstring& archive, 25 const std::wstring& output_dir, 26 std::wstring* output_file); 31 DWORD OpenArchive(const std::wstring& archivePath); 34 DWORD UnPack(const std::wstring& location); 39 DWORD UnPack(const std::wstring& location, 40 std::wstring* output_file); 49 std::set<std::wstring> directories_created_;
|
D | work_item.h | 98 const std::wstring& path, 105 const std::wstring& path, 111 const std::wstring& key_path, 113 const std::wstring& value_name); 135 const std::wstring& key_path, 137 const std::wstring& value_name, 138 const std::wstring& value_data, 145 const std::wstring& key_path, 147 const std::wstring& value_name, 155 const std::wstring& key_path, [all …]
|
D | work_item.cc | 50 const std::wstring& path, in CreateCreateRegKeyWorkItem() 57 const std::wstring& path, in CreateDeleteRegKeyWorkItem() 64 const std::wstring& key_path, in CreateDeleteRegValueWorkItem() 66 const std::wstring& value_name) { in CreateDeleteRegValueWorkItem() 91 const std::wstring& key_path, in CreateSetRegValueWorkItem() 93 const std::wstring& value_name, in CreateSetRegValueWorkItem() 94 const std::wstring& value_data, in CreateSetRegValueWorkItem() 106 const std::wstring& key_path, in CreateSetRegValueWorkItem() 108 const std::wstring& value_name, in CreateSetRegValueWorkItem() 121 const std::wstring& key_path, in CreateSetRegValueWorkItem() [all …]
|
D | set_reg_value_work_item_unittest.cc | 52 std::wstring parent_key(kTestRoot); in TEST_F() 58 std::wstring name_str(kNameStr); in TEST_F() 59 std::wstring data_str(kDataStr1); in TEST_F() 68 std::wstring name_dword(kNameDword); in TEST_F() 80 std::wstring read_out; in TEST_F() 99 std::wstring parent_key(kTestRoot); in TEST_F() 105 std::wstring name_str(kNameStr); in TEST_F() 106 std::wstring data_str(kDataStr1); in TEST_F() 115 std::wstring name_dword(kNameDword); in TEST_F() 127 std::wstring read_out; in TEST_F() [all …]
|
D | google_update_settings.h | 119 static bool GetBrowser(std::wstring* browser); 124 static bool GetLanguage(std::wstring* language); 131 static bool GetBrand(std::wstring* brand); 140 static bool GetReactivationBrand(std::wstring* brand); 144 static bool GetClient(std::wstring* client); 148 static bool SetClient(const std::wstring& client); 152 static bool GetReferral(std::wstring* referral); 195 const std::wstring& product_guid); 232 const std::wstring& key, 233 const std::wstring& value); [all …]
|
D | l10n_string_util.cc | 40 std::wstring GetLocalizedString(int base_message_id) { in GetLocalizedString() 44 std::wstring localized_string; in GetLocalizedString() 50 localized_string = std::wstring(image->achString, image->nLength); in GetLocalizedString() 67 std::wstring GetLocalizedEulaResource() { in GetLocalizedEulaResource() 74 std::wstring language(GetLanguageSelector().selected_translation()); in GetLocalizedEulaResource() 78 std::wstring resource(L"IDR_OEMPG_"); in GetLocalizedEulaResource() 86 std::wstring url_path = in GetLocalizedEulaResource() 97 return std::wstring(url_canon.get()); in GetLocalizedEulaResource() 101 std::wstring GetCurrentTranslation() { in GetCurrentTranslation()
|
/external/chromium_org/content/browser/accessibility/ |
D | accessibility_win_browsertest.cc | 73 const std::wstring& expected_name, in RecursiveFindNodeInAccessibilityTree() 79 std::wstring name(name_bstr, name_bstr.Length()); in RecursiveFindNodeInAccessibilityTree() 132 void ExecuteScript(const std::wstring& script); 161 void AccessibilityWinBrowserTest::ExecuteScript(const std::wstring& script) { in ExecuteScript() 172 AccessibleChecker(const std::wstring& expected_name, 174 const std::wstring& expected_value); 175 AccessibleChecker(const std::wstring& expected_name, 178 const std::wstring& expected_value); 179 AccessibleChecker(const std::wstring& expected_name, 180 const std::wstring& expected_role, [all …]
|
/external/libcxx/src/ |
D | string.cpp | 137 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() 149 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() 157 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() 165 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() 173 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() 231 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() 239 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() 247 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() 261 stoi(const wstring& str, size_t* idx, int base) in stoi() 273 stol(const wstring& str, size_t* idx, int base) in stol() [all …]
|
/external/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/ |
D | put_string_en_US.pass.cpp | 280 std::wstring v = L"0"; in main() 284 std::wstring ex(str, iter.base()); in main() 288 std::wstring v = L"-1"; in main() 292 std::wstring ex(str, iter.base()); in main() 296 std::wstring v = L"123456789"; in main() 300 std::wstring ex(str, iter.base()); in main() 304 std::wstring v = L"-123456789"; in main() 308 std::wstring ex(str, iter.base()); in main() 312 std::wstring v = L"0"; in main() 317 std::wstring ex(str, iter.base()); in main() [all …]
|
/external/chromium_org/ui/shell_dialogs/ |
D | select_file_dialog_win.cc | 41 std::wstring GetExtensionWithoutLeadingDot(const std::wstring& extension) { in GetExtensionWithoutLeadingDot() 95 static bool GetRegistryDescriptionFromExtension(const std::wstring& file_ext, in GetRegistryDescriptionFromExtension() 96 std::wstring* reg_description) { in GetRegistryDescriptionFromExtension() 99 std::wstring reg_app; in GetRegistryDescriptionFromExtension() 124 std::wstring FormatFilterForExtensions( in FormatFilterForExtensions() 125 const std::vector<std::wstring>& file_ext, in FormatFilterForExtensions() 126 const std::vector<std::wstring>& ext_desc, in FormatFilterForExtensions() 128 const std::wstring all_ext = L"*.*"; in FormatFilterForExtensions() 129 const std::wstring all_desc = in FormatFilterForExtensions() 137 std::wstring result; in FormatFilterForExtensions() [all …]
|
/external/chromium_org/chrome/browser/ |
D | jumplist_updater_win.h | 27 const std::wstring& title() const { return title_; } in title() 28 const std::wstring& icon_path() const { return icon_path_; } in icon_path() 32 std::wstring GetArguments() const; 35 void set_title(const std::wstring& title) { in set_title() 39 void set_icon(const std::wstring& path, int index) { in set_icon() 56 std::wstring title_; 59 std::wstring icon_path_; 95 explicit JumpListUpdater(const std::wstring& app_user_model_id); 121 bool AddCustomCategory(const std::wstring& category_name, 127 std::wstring app_user_model_id_;
|
/external/chromium_org/components/breakpad/app/ |
D | crash_keys_win.h | 41 const std::wstring& exe_path, 42 const std::wstring& type, 43 const std::wstring& profile_type, 47 void SetCrashKeyValue(const std::wstring& key, const std::wstring& value); 48 void ClearCrashKeyValue(const std::wstring& key); 54 void SetPluginPath(const std::wstring& path); 60 typedef std::map<std::wstring, google_breakpad::CustomInfoEntry*>
|
/external/chromium_org/base/strings/ |
D | sys_string_conversions_win.cc | 14 std::string SysWideToUTF8(const std::wstring& wide) { in SysWideToUTF8() 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { in SysUTF8ToWide() 23 std::string SysWideToNativeMB(const std::wstring& wide) { in SysWideToNativeMB() 27 std::wstring SysNativeMBToWide(const StringPiece& native_mb) { in SysNativeMBToWide() 32 std::wstring SysMultiByteToWide(const StringPiece& mb, uint32 code_page) { in SysMultiByteToWide() 34 return std::wstring(); in SysMultiByteToWide() 41 return std::wstring(); in SysMultiByteToWide() 43 std::wstring wide; in SysMultiByteToWide() 51 std::string SysWideToMultiByte(const std::wstring& wide, uint32 code_page) { in SysWideToMultiByte()
|
D | sys_string_conversions_posix.cc | 14 std::string SysWideToUTF8(const std::wstring& wide) { in SysWideToUTF8() 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { in SysUTF8ToWide() 22 std::wstring out; in SysUTF8ToWide() 32 std::string SysWideToNativeMB(const std::wstring& wide) { in SysWideToNativeMB() 36 std::wstring SysNativeMBToWide(const StringPiece& native_mb) { in SysNativeMBToWide() 42 std::string SysWideToNativeMB(const std::wstring& wide) { in SysWideToNativeMB() 102 std::wstring SysNativeMBToWide(const StringPiece& native_mb) { in SysNativeMBToWide() 116 return std::wstring(); in SysNativeMBToWide() 129 return std::wstring(); in SysNativeMBToWide() 131 std::wstring out; in SysNativeMBToWide() [all …]
|
D | sys_string_conversions_unittest.cc | 15 static const std::wstring kSysWideOldItalicLetterA = L"\x10300"; 17 static const std::wstring kSysWideOldItalicLetterA = L"\xd800\xdf00"; 39 std::wstring wide_null(L"a"); in TEST() 68 std::wstring expected_null(L"a"); in TEST() 95 std::wstring wide_null(L"a"); in TEST() 126 std::wstring expected_null(L"a"); in TEST() 164 std::wstring wide = kConvertRoundtripCases[i]; in TEST() 165 std::wstring trip = SysNativeMBToWide(SysWideToNativeMB(wide)); in TEST() 172 std::wstring wide = kConvertRoundtripCases[i]; in TEST() 173 std::wstring trip = SysNativeMBToWide(WideToUTF8(wide)); in TEST() [all …]
|
/external/libcxx/test/strings/string.conversions/ |
D | to_wstring.pass.cpp | 31 std::wstring s = std::to_wstring(T(0)); in test_signed() 37 std::wstring s = std::to_wstring(T(12345)); in test_signed() 43 std::wstring s = std::to_wstring(T(-12345)); in test_signed() 49 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() 70 std::wstring s = std::to_wstring(T(0)); in test_unsigned() 76 std::wstring s = std::to_wstring(T(12345)); in test_unsigned() 82 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_unsigned() 96 std::wstring s = std::to_wstring(T(0)); in test_float() 102 std::wstring s = std::to_wstring(T(12345)); in test_float() [all …]
|
/external/chromium_org/tools/win/split_link/ |
D | split_link.cc | 38 static wstring ErrorMessageToString(DWORD err) { in ErrorMessageToString() 50 wstring ret(msg_buf); in ErrorMessageToString() 55 static void ArgvQuote(const std::wstring& argument, in ArgvQuote() 56 std::wstring* command_line) { in ArgvQuote() 63 for (std::wstring::const_iterator it = argument.begin();; ++it) { in ArgvQuote() 91 static wstring BuildCommandLine(const vector<wstring>& args) { in BuildCommandLine() 92 std::wstring result; in BuildCommandLine() 102 static void RunLinker(const vector<wstring>& prefix, const wchar_t* msg) { in RunLinker() 125 vector<wstring> argv; in RunLinker() 131 wstring cmd = BuildCommandLine(argv); in RunLinker() [all …]
|
/external/chromium_org/third_party/power_gadget/ |
D | PowerGadgetLib.cpp | 40 static bool split(const wstring& s, wstring &path) in split() 43 vector<wstring> output; in split() 45 wstring::size_type prev_pos = 0, pos = 0; in split() 47 while((pos = s.find(L';', pos)) != wstring::npos) in split() 49 wstring substring( s.substr(prev_pos, pos-prev_pos) ); in split() 50 if (substring.find(L"Power Gadget 2.") != wstring::npos) in split() 61 wstring substring(s.substr(prev_pos, pos-prev_pos)); in split() 63 if (substring.find(L"Power Gadget 2.") != wstring::npos) in split() 73 wstring version = path.substr(pos+1, path.length()); in split() 82 static bool GetLibraryLocation(wstring& strLocation) in GetLibraryLocation() [all …]
|