/external/chromium_org/chrome/installer/util/ |
D | work_item_list.h | 48 const std::wstring& source_key_path, 49 const std::wstring& dest_key_path, 56 const std::wstring& source_path, 57 const std::wstring& dest_path, 58 const std::wstring& temp_dir, 60 const std::wstring& alternative_path = L""); 68 const std::wstring& path); 73 const std::wstring& path); 78 const std::wstring& key_path, 79 const std::wstring& value_name); [all …]
|
D | channel_info.cc | 67 const std::wstring& ap_value, in FindModifier() 68 std::wstring::size_type* position, in FindModifier() 69 std::wstring::size_type* length) { in FindModifier() 71 std::wstring::size_type mod_position = std::wstring::npos; in FindModifier() 72 std::wstring::size_type mod_length = in FindModifier() 73 std::wstring::traits_type::length(kModifiers[index]); in FindModifier() 75 std::wstring::size_type pos = 0; in FindModifier() 78 if (mod_position == std::wstring::npos) in FindModifier() 85 if (pos == std::wstring::npos) in FindModifier() 91 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 | 86 const std::wstring& source_key_path, in AddCopyRegKeyWorkItem() 87 const std::wstring& dest_key_path, in AddCopyRegKeyWorkItem() 96 const std::wstring& source_path, in AddCopyTreeWorkItem() 97 const std::wstring& dest_path, in AddCopyTreeWorkItem() 98 const std::wstring& temp_dir, in AddCopyTreeWorkItem() 100 const std::wstring& alternative_path) { in AddCopyTreeWorkItem() 118 const std::wstring& path) { in AddCreateRegKeyWorkItem() 125 const std::wstring& path) { in AddDeleteRegKeyWorkItem() 133 const std::wstring& key_path, in AddDeleteRegValueWorkItem() 134 const std::wstring& value_name) { in AddDeleteRegValueWorkItem() [all …]
|
D | work_item.cc | 34 const std::wstring& source_key_path, in CreateCopyRegKeyWorkItem() 35 const std::wstring& dest_key_path, in CreateCopyRegKeyWorkItem() 57 HKEY predefined_root, const std::wstring& path) { in CreateCreateRegKeyWorkItem() 62 HKEY predefined_root, const std::wstring& path) { in CreateDeleteRegKeyWorkItem() 68 const std::wstring& key_path, in CreateDeleteRegValueWorkItem() 69 const std::wstring& value_name) { in CreateDeleteRegValueWorkItem() 93 const std::wstring& key_path, in CreateSetRegValueWorkItem() 94 const std::wstring& value_name, in CreateSetRegValueWorkItem() 95 const std::wstring& value_data, in CreateSetRegValueWorkItem() 103 const std::wstring& key_path, in CreateSetRegValueWorkItem() [all …]
|
D | work_item.h | 73 const std::wstring& source_key_path, 74 const std::wstring& dest_key_path, 96 HKEY predefined_root, const std::wstring& path); 101 HKEY predefined_root, const std::wstring& path); 106 const std::wstring& key_path, 107 const std::wstring& value_name); 129 const std::wstring& key_path, 130 const std::wstring& value_name, 131 const std::wstring& value_data, 138 const std::wstring& key_path, [all …]
|
D | google_update_settings.h | 110 static bool GetBrowser(std::wstring* browser); 115 static bool GetLanguage(std::wstring* language); 122 static bool GetBrand(std::wstring* brand); 131 static bool GetReactivationBrand(std::wstring* brand); 135 static bool GetClient(std::wstring* client); 139 static bool SetClient(const std::wstring& client); 143 static bool GetReferral(std::wstring* referral); 162 static std::wstring GetChromeChannel(bool system_install); 185 const std::wstring& product_guid); 222 const std::wstring& key, [all …]
|
D | set_reg_value_work_item.h | 46 const std::wstring& key_path, 47 const std::wstring& value_name, 48 const std::wstring& value_data, 51 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, 52 const std::wstring& value_name, DWORD value_data, 55 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, 56 const std::wstring& value_name, int64 value_data, 64 std::wstring key_path_; 67 std::wstring value_name_;
|
/external/chromium_org/content/browser/accessibility/ |
D | accessibility_win_browsertest.cc | 79 const std::wstring& expected_name, in RecursiveFindNodeInAccessibilityTree() 85 std::wstring name(name_bstr, name_bstr.Length()); in RecursiveFindNodeInAccessibilityTree() 136 void ExecuteScript(const std::wstring& script); 181 void AccessibilityWinBrowserTest::ExecuteScript(const std::wstring& script) { in ExecuteScript() 183 std::wstring(), script); in ExecuteScript() 193 AccessibleChecker(const std::wstring& expected_name, 195 const std::wstring& expected_value); 196 AccessibleChecker(const std::wstring& expected_name, 199 const std::wstring& expected_value); 200 AccessibleChecker(const std::wstring& expected_name, [all …]
|
/external/chromium_org/chrome_frame/ |
D | simple_resource_loader.cc | 37 : public std::unary_function<const std::wstring&, bool> { 39 explicit CompareInsensitiveASCII(const std::wstring& value) in CompareInsensitiveASCII() 43 bool operator()(const std::wstring& comparand) { in operator ()() 53 const std::wstring& value, in PushBackIfAbsent() 54 std::vector<std::wstring>* collection) { in PushBackIfAbsent() 66 const std::wstring& language, in PushBackWithFallbackIfAbsent() 67 std::vector<std::wstring>* collection) { in PushBackWithFallbackIfAbsent() 75 std::wstring::size_type dash_pos = language.find(L'-'); in PushBackWithFallbackIfAbsent() 89 std::vector<std::wstring> language_tags; in SimpleResourceLoader() 123 std::vector<std::wstring>* language_tags) { in GetPreferredLanguages() [all …]
|
/external/chromium/base/ |
D | utf_offset_string_conversions.cc | 26 std::wstring* output, in ConvertUnicode() 31 LimitOffset<std::wstring>(src_len)); in ConvertUnicode() 72 std::wstring* output, in UTF8ToWideAndAdjustOffset() 86 std::wstring* output, in UTF8ToWideAndAdjustOffsets() 92 std::wstring UTF8ToWideAndAdjustOffset(const base::StringPiece& utf8, in UTF8ToWideAndAdjustOffset() 97 std::wstring result; in UTF8ToWideAndAdjustOffset() 105 std::wstring UTF8ToWideAndAdjustOffsets(const base::StringPiece& utf8, in UTF8ToWideAndAdjustOffsets() 108 std::wstring result; in UTF8ToWideAndAdjustOffsets() 121 std::wstring* output, in UTF16ToWideAndAdjustOffset() 125 *offset_for_adjustment = std::wstring::npos; in UTF16ToWideAndAdjustOffset() [all …]
|
D | file_util_deprecated.h | 29 BASE_API FILE* OpenFile(const std::wstring& filename, const char* mode); 32 BASE_API void AppendToPath(std::wstring* path, const std::wstring& new_ending); 36 BASE_API std::wstring GetFileExtensionFromPath(const std::wstring& path); 39 BASE_API bool Delete(const std::wstring& path, bool recursive); 40 BASE_API bool CopyDirectory(const std::wstring& from_path, 41 const std::wstring& to_path, 43 BASE_API int ReadFile(const std::wstring& filename, char* data, int size); 44 BASE_API int WriteFile(const std::wstring& filename,
|
D | sys_string_conversions.h | 34 BASE_API std::string SysWideToUTF8(const std::wstring& wide); 35 BASE_API std::wstring SysUTF8ToWide(const StringPiece& utf8); 40 BASE_API std::string SysWideToNativeMB(const std::wstring& wide); 41 BASE_API std::wstring SysNativeMBToWide(const StringPiece& native_mb); 50 BASE_API std::wstring SysMultiByteToWide(const StringPiece& mb, 52 BASE_API std::string SysWideToMultiByte(const std::wstring& wide, 67 CFStringRef SysWideToCFStringRef(const std::wstring& wide); 72 NSString* SysWideToNSString(const std::wstring& wide); 77 std::wstring SysCFStringRefToWide(CFStringRef ref); 83 std::wstring SysNSStringToWide(NSString* ref);
|
/external/chromium/chrome/browser/ |
D | shell_integration_win.cc | 41 std::wstring GetProfileIdFromPath(const FilePath& profile_path) { in GetProfileIdFromPath() 44 return std::wstring(); in GetProfileIdFromPath() 53 return std::wstring(); in GetProfileIdFromPath() 57 std::wstring basenames = profile_path.DirName().BaseName().value() + in GetProfileIdFromPath() 60 std::wstring profile_id; in GetProfileIdFromPath() 89 std::wstring* expected_app_id) const; 92 bool GetShortcutAppId(IShellLink* shell_link, std::wstring* app_id) const; 173 std::wstring expected_app_id; in MigrateWin7ShortcutsInPath() 179 std::wstring existing_app_id; in MigrateWin7ShortcutsInPath() 197 std::wstring* expected_app_id) const { in GetExpectedAppId() [all …]
|
/external/chromium/chrome/browser/ui/ |
D | input_window_dialog_win.cc | 28 const std::wstring& window_title, 29 const std::wstring& label, 30 const std::wstring& contents, 37 const std::wstring& window_title() const { return window_title_; } in window_title() 38 const std::wstring& label() const { return label_; } in label() 39 const std::wstring& contents() const { return contents_; } in contents() 48 std::wstring window_title_; 49 std::wstring label_; 50 std::wstring contents_; 74 virtual std::wstring GetWindowTitle() const; [all …]
|
/external/chromium/chrome/browser/ui/views/ |
D | shell_dialogs_win.cc | 38 std::wstring AppendExtensionIfNeeded(const std::wstring& filename, in AppendExtensionIfNeeded() 39 const std::wstring& filter_selected, in AppendExtensionIfNeeded() 40 const std::wstring& suggested_ext) { in AppendExtensionIfNeeded() 42 std::wstring return_value = filename; in AppendExtensionIfNeeded() 49 std::wstring file_extension(file_util::GetFileExtensionFromPath(filename)); in AppendExtensionIfNeeded() 50 std::wstring key(L"." + file_extension); in AppendExtensionIfNeeded() 73 static bool GetRegistryDescriptionFromExtension(const std::wstring& file_ext, in GetRegistryDescriptionFromExtension() 74 std::wstring* reg_description) { in GetRegistryDescriptionFromExtension() 77 std::wstring reg_app; in GetRegistryDescriptionFromExtension() 102 std::wstring FormatFilterForExtensions( in FormatFilterForExtensions() [all …]
|
D | external_protocol_dialog.cc | 36 std::wstring command = in RunExternalProtocolDialog() 62 std::wstring ExternalProtocolDialog::GetDialogButtonLabel( in GetDialogButtonLabel() 72 std::wstring ExternalProtocolDialog::GetWindowTitle() const { in GetWindowTitle() 120 const std::wstring& command) in ExternalProtocolDialog() 132 std::wstring message_text = UTF16ToWide(l10n_util::GetStringFUTF16( in ExternalProtocolDialog() 147 std::wstring(), in ExternalProtocolDialog() 164 std::wstring ExternalProtocolDialog::GetApplicationForProtocol( in GetApplicationForProtocol() 170 std::wstring url_spec = ASCIIToWide(url.possibly_invalid_spec()); in GetApplicationForProtocol() 171 std::wstring cmd_key_path = in GetApplicationForProtocol() 175 if (split_offset == std::wstring::npos) in GetApplicationForProtocol() [all …]
|
/external/chromium_org/chrome/test/security_tests/ |
D | ipc_security_tests.cc | 36 bool PipeNameFromCommandLine(std::wstring* pipe_name) { in PipeNameFromCommandLine() 37 std::wstring cl(::GetCommandLineW()); in PipeNameFromCommandLine() 39 std::wstring::size_type pos = cl.find(key_name, 0); in PipeNameFromCommandLine() 40 if (std::wstring::npos == pos) { in PipeNameFromCommandLine() 44 if (std::wstring::npos == pos) { in PipeNameFromCommandLine() 61 std::wstring::size_type pos2 = pos; in PipeNameFromCommandLine() 74 bool InfoFromPipeName(const std::wstring& pipe_name, std::wstring* parent_id, in InfoFromPipeName() 75 std::wstring* channel_id) { in InfoFromPipeName() 76 std::wstring::size_type pos = pipe_name.find(L".", 0); in InfoFromPipeName() 77 if (std::wstring::npos == pos) { in InfoFromPipeName() [all …]
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | bookmarks_helper.h | 41 const std::wstring& title, 50 const std::wstring& title, 60 const std::wstring& title, 67 const std::wstring& title) WARN_UNUSED_RESULT; 74 const std::wstring& title) WARN_UNUSED_RESULT; 83 const std::wstring& title) WARN_UNUSED_RESULT; 89 const std::wstring& new_title); 170 const std::wstring& title) WARN_UNUSED_RESULT; 176 const std::wstring& title) WARN_UNUSED_RESULT; 189 std::wstring IndexedURLTitle(int i); [all …]
|
/external/chromium_org/chrome_frame/test/ |
D | chrome_frame_ui_test_utils.h | 86 bool SetValue(const std::wstring& value); 89 bool GetName(std::wstring* name); 92 bool GetRoleText(std::wstring* role_text); 95 bool GetValue(std::wstring* value); 132 bool GetWindowClassName(std::wstring* class_name); 142 bool GetSelectedText(std::wstring* text); 152 std::wstring GetDescription(); 156 std::wstring GetTree(); 197 AccObjectMatcher(const std::wstring& name = L"", 198 const std::wstring& role_text = L"", [all …]
|
D | mock_ie_event_sink_test.h | 103 void ExpectNavigation(bool is_cf, const std::wstring& url); 109 void ExpectNavigationOptionalBefore(bool is_cf, const std::wstring& url); 116 const std::wstring& url); 144 testing::ExpectationSet ExpectNavigationCardinality(const std::wstring& url, 268 const std::wstring&)); 280 MockIEEventSinkTest(int port, const std::wstring& address, 292 void LaunchIEAndNavigate(const std::wstring& url); 295 void LaunchIENavigateAndLoop(const std::wstring& url, 300 std::wstring GetTestUrl(const std::wstring& relative_path); 304 base::FilePath GetTestFilePath(const std::wstring& relative_path); [all …]
|
/external/chromium/chrome/browser/password_manager/ |
D | ie7_password.h | 19 std::wstring url_hash; 33 std::wstring* username, 34 std::wstring* password); 38 bool DecryptPassword(const std::wstring& url, 40 std::wstring* username, std::wstring* password); 43 std::wstring GetUrlHash(const std::wstring& url);
|
/external/chromium_org/ui/shell_dialogs/ |
D | select_file_dialog_win.cc | 43 std::wstring GetExtensionWithoutLeadingDot(const std::wstring& extension) { in GetExtensionWithoutLeadingDot() 97 static bool GetRegistryDescriptionFromExtension(const std::wstring& file_ext, in GetRegistryDescriptionFromExtension() 98 std::wstring* reg_description) { in GetRegistryDescriptionFromExtension() 101 std::wstring reg_app; in GetRegistryDescriptionFromExtension() 126 std::wstring FormatFilterForExtensions( in FormatFilterForExtensions() 127 const std::vector<std::wstring>& file_ext, in FormatFilterForExtensions() 128 const std::vector<std::wstring>& ext_desc, in FormatFilterForExtensions() 130 const std::wstring all_ext = L"*.*"; in FormatFilterForExtensions() 131 const std::wstring all_desc = in FormatFilterForExtensions() 139 std::wstring result; in FormatFilterForExtensions() [all …]
|
/external/chromium/net/tools/dump_cache/ |
D | dump_cache.cc | 28 int GetMajorVersion(const std::wstring& input_path); 29 int DumpContents(const std::wstring& input_path); 30 int DumpHeaders(const std::wstring& input_path); 31 int RunSlave(const std::wstring& input_path, const std::wstring& pipe_number); 32 int CopyCache(const std::wstring& output_path, HANDLE pipe, bool copy_to_text); 33 HANDLE CreateServer(std::wstring* pipe_number); 75 const std::wstring& pipe_number, int version) { in LaunchSlave() 77 std::wstring hacked_command_line = command_line.command_line_string(); in LaunchSlave() 78 const std::wstring old_exe(L"dump_cache"); in LaunchSlave() 85 std::wstring new_program; in LaunchSlave() [all …]
|