Home
last modified time | relevance | path

Searched refs:user_input (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
Daddress_validator.cc286 const std::string& user_input = address.GetFieldValue(sub_field_type); in ValidateAddress() local
287 if (!user_input.empty() && in ValidateAddress()
289 !rule.CanonicalizeSubKey(user_input, false, &sub_key)) { in ValidateAddress()
319 virtual Status GetSuggestions(const AddressData& user_input, in GetSuggestions() argument
324 rules_.find(user_input.country_code); in GetSuggestions()
328 loading_rules_.find(user_input.country_code) != loading_rules_.end() in GetSuggestions()
348 if (user_input.GetFieldValue(focused_field).empty()) { in GetSuggestions()
354 country_ruleset.GetLanguageCodeRule(user_input.language_code); in GetSuggestions()
358 if (!user_input.postal_code.empty() && in GetSuggestions()
362 user_input.postal_code, country_rule.GetPostalCodeFormat())) { in GetSuggestions()
[all …]
Drule.cc299 bool Rule::CanonicalizeSubKey(const std::string& user_input, in CanonicalizeSubKey() argument
305 *sub_key = user_input; in CanonicalizeSubKey()
309 return GetMatchingValue(user_input, sub_keys_, sub_keys_, sub_key) || in CanonicalizeSubKey()
310 GetMatchingValue(user_input, sub_names_, sub_keys_, sub_key) || in CanonicalizeSubKey()
312 GetMatchingValue(user_input, sub_lnames_, sub_lnames_, sub_key)) || in CanonicalizeSubKey()
313 GetMatchingValue(user_input, sub_lnames_, sub_keys_, sub_key); in CanonicalizeSubKey()
Drule.h163 bool CanonicalizeSubKey(const std::string& user_input,
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DiSACTest.cc203 int user_input; in Perform() local
209 CHECK_ERROR(scanf("%d", &user_input)); in Perform()
210 swbISACConfig.maxPayloadSizeByte = (uint16_t) user_input; in Perform()
212 CHECK_ERROR(scanf("%d", &user_input)); in Perform()
213 wbISACConfig.maxPayloadSizeByte = (uint16_t) user_input; in Perform()
228 CHECK_ERROR(scanf("%d", &user_input)); in Perform()
229 swbISACConfig.maxRateBitPerSec = (uint32_t) user_input; in Perform()
231 CHECK_ERROR(scanf("%d", &user_input)); in Perform()
232 wbISACConfig.maxRateBitPerSec = (uint32_t) user_input; in Perform()
/external/chromium_org/third_party/libaddressinput/chromium/
Dpreload_address_validator.cc92 const AddressData& user_input, in GetSuggestions() argument
99 if (supplier_->IsPending(user_input.region_code)) { in GetSuggestions()
103 if (!supplier_->IsLoaded(user_input.region_code)) { in GetSuggestions()
108 user_input, in GetSuggestions()
Dpreload_address_validator.h110 const ::i18n::addressinput::AddressData& user_input,
/external/chromium_org/chrome/browser/guest_view/web_view/
Dweb_view_guest.h220 const std::string& user_input);
304 const std::string& user_input);
309 const std::string& user_input);
315 const std::string& user_input);
320 const std::string& user_input);
325 const std::string& user_input);
329 const std::string& user_input);
Djavascript_dialog_helper.cc100 const std::string& user_input) { in OnPermissionResponse() argument
102 base::UTF8ToUTF16(user_input)); in OnPermissionResponse()
Dplugin_permission_helper.h44 const std::string& user_input);
Djavascript_dialog_helper.h45 const std::string& user_input);
Dweb_view_guest.cc704 const std::string& user_input) { in OnWebViewFileSystemPermissionResponse() argument
740 const std::string& user_input) { in OnWebViewGeolocationPermissionResponse() argument
780 const std::string& user_input) { in OnWebViewMediaPermissionResponse() argument
798 const std::string& user_input) { in OnWebViewDownloadPermissionResponse() argument
805 const std::string& user_input) { in OnWebViewPointerLockPermissionResponse() argument
812 const std::string& user_input) { in SetPermission() argument
823 info.callback.Run(allow, user_input); in SetPermission()
1586 const std::string& user_input) { in OnWebViewNewWindowResponse() argument
/external/chromium_org/content/shell/browser/
Dshell_javascript_dialog_win.cc45 base::string16 user_input; in DialogProc() local
56 WriteInto(&user_input, length), length); in DialogProc()
66 owner->callback_.Run(result, user_input); in DialogProc()
/external/lldb/source/Interpreter/
DScriptInterpreterPython.cpp1682 ScriptInterpreterPython::GenerateTypeScriptFunction (StringList &user_input, std::string& output, v… in GenerateTypeScriptFunction() argument
1685 user_input.RemoveBlankLines (); in GenerateTypeScriptFunction()
1689 if (user_input.GetSize() == 0) in GenerateTypeScriptFunction()
1698 if (!GenerateFunction(sstr.GetData(), user_input)) in GenerateTypeScriptFunction()
1707 ScriptInterpreterPython::GenerateScriptAliasFunction (StringList &user_input, std::string &output) in GenerateScriptAliasFunction() argument
1710 user_input.RemoveBlankLines (); in GenerateScriptAliasFunction()
1714 if (user_input.GetSize() == 0) in GenerateScriptAliasFunction()
1721 if (!GenerateFunction(sstr.GetData(),user_input)) in GenerateScriptAliasFunction()
1731 ScriptInterpreterPython::GenerateTypeSynthClass (StringList &user_input, std::string &output, void*… in GenerateTypeSynthClass() argument
1734 user_input.RemoveBlankLines (); in GenerateTypeSynthClass()
[all …]
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/
Djavascript_app_modal_dialog.cc154 const base::string16& user_input, in NotifyDelegate() argument
160 callback_.Run(success, user_input); in NotifyDelegate()
Djavascript_dialog_manager.cc125 const base::string16& user_input);
307 const base::string16& user_input) { in OnDialogClosed() argument
315 callback.Run(success, user_input); in OnDialogClosed()
/external/chromium_org/chrome/browser/extensions/api/webview/
Dwebview_api.cc520 std::string user_input; in RunAsyncSafe() local
521 if (params->user_input) in RunAsyncSafe()
522 user_input = *params->user_input; in RunAsyncSafe()
525 guest->SetPermission(params->request_id, action, user_input); in RunAsyncSafe()
/external/chromium_org/chrome/renderer/resources/extensions/
Dweb_view_events.js326 ok: function(user_input) { argument
328 user_input = user_input || '';
329 WebView.setPermission(getInstanceId(), requestId, 'allow', user_input);
/external/chromium_org/chrome/browser/ui/autofill/
Dmock_address_validator.h35 const ::i18n::addressinput::AddressData& user_input,
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/
Daddress_validator.h148 const AddressData& user_input,
/external/lldb/test/pexpect-2.4/examples/
Drippy.py337 user_input = raw_input (message)
338 if user_input=='?':
340 elif user_input=='':
344 return user_input
/external/chromium_org/components/autofill/content/renderer/
Dpassword_autofill_agent.cc839 const blink::WebInputElement& user_input) { in ShowSuggestionPopup() argument
840 blink::WebFrame* frame = user_input.document().frame(); in ShowSuggestionPopup()
850 GetSuggestions(fill_data, user_input.value(), &suggestions, &realms); in ShowSuggestionPopup()
856 user_input, &form, &field, REQUIRE_NONE); in ShowSuggestionPopup()
858 blink::WebInputElement selected_element = user_input; in ShowSuggestionPopup()
Dpassword_autofill_agent.h151 const blink::WebInputElement& user_input);
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_impl.h164 const base::string16& user_input,
Drender_frame_host_impl.cc868 const base::string16& user_input, in JavaScriptDialogClosed() argument
885 success, user_input); in JavaScriptDialogClosed()
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_guest.h200 const std::string& user_input);

12