Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/external/chromium/chrome/browser/ui/webui/options/
Dlanguage_options_handler_unittest.cc58 ASSERT_TRUE(entry->GetString("id", &input_method_id)); in TEST()
59 ASSERT_TRUE(entry->GetString("displayName", &display_name)); in TEST()
70 ASSERT_TRUE(entry->GetString("id", &input_method_id)); in TEST()
71 ASSERT_TRUE(entry->GetString("displayName", &display_name)); in TEST()
79 ASSERT_TRUE(entry->GetString("id", &input_method_id)); in TEST()
80 ASSERT_TRUE(entry->GetString("displayName", &display_name)); in TEST()
88 ASSERT_TRUE(entry->GetString("id", &input_method_id)); in TEST()
89 ASSERT_TRUE(entry->GetString("displayName", &display_name)); in TEST()
113 ASSERT_TRUE(entry->GetString("code", &language_code)); in TEST()
114 ASSERT_TRUE(entry->GetString("displayName", &display_name)); in TEST()
[all …]
Dautofill_options_handler.cc112 if (list->GetString(i, &value)) in SetValueList()
284 if (!args->GetString(0, &guid)) { in RemoveAddress()
296 if (!args->GetString(0, &guid)) { in RemoveCreditCard()
308 if (!args->GetString(0, &guid)) { in LoadAddressEditor()
349 if (!args->GetString(0, &guid)) { in LoadCreditCardEditor()
385 if (!args->GetString(0, &guid)) { in SetAddress()
397 if (args->GetString(2, &value)) in SetAddress()
399 if (args->GetString(3, &value)) in SetAddress()
401 if (args->GetString(4, &value)) in SetAddress()
403 if (args->GetString(5, &value)) in SetAddress()
[all …]
Dsync_setup_handler.cc49 if (!result->GetString("user", username) || in GetAuthData()
50 !result->GetString("pass", password) || in GetAuthData()
51 !result->GetString("captcha", captcha) || in GetAuthData()
52 !result->GetString("access_code", access_code)) { in GetAuthData()
127 !result->GetString("passphrase", &config->secondary_passphrase)) in GetConfiguration()
139 return result->GetString("passphrase", passphrase); in GetPassphrase()
150 return result->GetString("option", option) && in GetFirstPassphrase()
151 result->GetString("passphrase", passphrase); in GetFirstPassphrase()
369 if (!args->GetString(0, &json)) { in HandleSubmitAuth()
391 if (!args->GetString(0, &json)) { in HandleConfigure()
[all …]
Dcontent_settings_handler.cc567 if (!(args->GetString(0, &group) && in SetContentFilter()
568 args->GetString(1, &setting))) { in SetContentFilter()
597 CHECK(args->GetString(arg_i++, &type_string)); in RemoveException()
603 bool rv = args->GetString(arg_i++, &origin); in RemoveException()
605 rv = args->GetString(arg_i++, &embedding_origin); in RemoveException()
615 bool rv = args->GetString(arg_i++, &origin); in RemoveException()
617 rv = args->GetString(arg_i++, &setting); in RemoveException()
630 bool rv = args->GetString(arg_i++, &mode); in RemoveException()
634 rv = args->GetString(arg_i++, &pattern); in RemoveException()
655 CHECK(args->GetString(arg_i++, &type_string)); in SetException()
[all …]
Dimport_data_handler.cc71 if (!args->GetString(0, &string_value) || in ImportData()
78 if (args->GetString(1, &string_value) && string_value == "true") { in ImportData()
81 if (args->GetString(2, &string_value) && string_value == "true") { in ImportData()
84 if (args->GetString(3, &string_value) && string_value == "true") { in ImportData()
87 if (args->GetString(4, &string_value) && string_value == "true") { in ImportData()
Dsearch_engine_manager_handler.cc236 if (!args->GetString(ENGINE_NAME, &name) || in CheckSearchEngineInfoValidity()
237 !args->GetString(ENGINE_KEYWORD, &keyword) || in CheckSearchEngineInfoValidity()
238 !args->GetString(ENGINE_URL, &url) || in CheckSearchEngineInfoValidity()
239 !args->GetString(3, &modelIndex)) { in CheckSearchEngineInfoValidity()
266 if (!args->GetString(ENGINE_NAME, &name) || in EditCompleted()
267 !args->GetString(ENGINE_KEYWORD, &keyword) || in EditCompleted()
268 !args->GetString(ENGINE_URL, &url)) { in EditCompleted()
/external/chromium/base/i18n/
Dbreak_iterator_unittest.cc29 EXPECT_EQ(space, iter.GetString()); in TEST()
32 EXPECT_EQ(UTF8ToUTF16("foo"), iter.GetString()); in TEST()
35 EXPECT_EQ(space, iter.GetString()); in TEST()
38 EXPECT_EQ(UTF8ToUTF16("bar"), iter.GetString()); in TEST()
41 EXPECT_EQ(UTF8ToUTF16("!"), iter.GetString()); in TEST()
44 EXPECT_EQ(space, iter.GetString()); in TEST()
47 EXPECT_EQ(UTF8ToUTF16("\n"), iter.GetString()); in TEST()
50 EXPECT_EQ(UTF8ToUTF16("pouet"), iter.GetString()); in TEST()
53 EXPECT_EQ(space, iter.GetString()); in TEST()
56 EXPECT_EQ(UTF8ToUTF16("boom"), iter.GetString()); in TEST()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_rlz_module.cc80 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &product_name)); in RunImpl()
85 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &ap_name)); in RunImpl()
91 EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &event_name)); in RunImpl()
105 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &ap_name)); in RunImpl()
123 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &product_name)); in RunImpl()
142 EXTENSION_FUNCTION_VALIDATE(access_points_list->GetString(i, &ap_name)); in RunImpl()
149 EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &signature)); in RunImpl()
152 EXTENSION_FUNCTION_VALIDATE(args_->GetString(3, &brand)); in RunImpl()
155 EXTENSION_FUNCTION_VALIDATE(args_->GetString(4, &id)); in RunImpl()
158 EXTENSION_FUNCTION_VALIDATE(args_->GetString(5, &lang)); in RunImpl()
[all …]
Dextension_test_api.cc40 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
52 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
71 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url)); in RunImpl()
78 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
Dapps_promo.cc51 return local_state->GetString(prefs::kNTPWebStorePromoButton); in GetPromoButtonText()
57 return local_state->GetString(prefs::kNTPWebStorePromoId); in GetPromoId()
63 return local_state->GetString(prefs::kNTPWebStorePromoHeader); in GetPromoHeaderText()
69 return GURL(local_state->GetString(prefs::kNTPWebStorePromoLink)); in GetPromoLink()
75 return local_state->GetString(prefs::kNTPWebStorePromoExpire); in GetPromoExpireText()
203 return prefs_->GetString(prefs::kNTPWebStorePromoLastId); in GetLastPromoId()
Dextension_cookies_unittest.cc115 EXPECT_TRUE(cookie_value1->GetString(keys::kNameKey, &string_value)); in TEST_F()
117 EXPECT_TRUE(cookie_value1->GetString(keys::kValueKey, &string_value)); in TEST_F()
119 EXPECT_TRUE(cookie_value1->GetString(keys::kDomainKey, &string_value)); in TEST_F()
123 EXPECT_TRUE(cookie_value1->GetString(keys::kPathKey, &string_value)); in TEST_F()
133 EXPECT_TRUE(cookie_value1->GetString(keys::kStoreIdKey, &string_value)); in TEST_F()
155 EXPECT_TRUE(cookie_store_value->GetString(keys::kIdKey, &string_value)); in TEST_F()
/external/chromium/chrome/browser/chromeos/
Dcustomization_document.cc100 if (root_->GetString(kVersionAttr, &result) && in LoadManifestFromString()
122 if (locale_dictionary->GetString(entry_name, &result)) in GetLocaleSpecificString()
129 if (default_dictionary->GetString(entry_name, &result)) in GetLocaleSpecificString()
163 root_->GetString(kInitialLocaleAttr, &initial_locale_); in Init()
164 root_->GetString(kInitialTimezoneAttr, &initial_timezone_); in Init()
165 root_->GetString(kKeyboardLayoutAttr, &keyboard_layout_); in Init()
166 root_->GetString(kRegistrationUrlAttr, &registration_url_); in Init()
176 hwid_dictionary->GetString(kHwidMaskAttr, &hwid_mask)) { in Init()
181 if (hwid_dictionary->GetString(kInitialLocaleAttr, &result)) in Init()
184 if (hwid_dictionary->GetString(kInitialTimezoneAttr, &result)) in Init()
[all …]
Dlocale_change_guard.cc100 prefs->GetString(prefs::kApplicationLocale); in Observe()
134 std::string to_locale = prefs->GetString(prefs::kApplicationLocale); in Check()
142 std::string from_locale = prefs->GetString(prefs::kApplicationLocaleBackup); in Check()
146 if (prefs->GetString(prefs::kApplicationLocaleAccepted) == to_locale) in Check()
186 if (prefs->GetString(prefs::kApplicationLocale) != to_locale_) in AcceptLocaleChange()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_setup_message_handler.cc29 args->GetString(0, &json); in HandleSubmitAuth()
43 if (!result->GetString("user", &username) || in HandleSubmitAuth()
44 !result->GetString("pass", &password) || in HandleSubmitAuth()
45 !result->GetString("captcha", &captcha) || in HandleSubmitAuth()
46 !result->GetString("access_code", &access_code)) { in HandleSubmitAuth()
/external/chromium/chrome/browser/web_resource/
Dpromo_resource_service.cc179 return local_state->GetString(prefs::kNTPPromoLocale); in GetPromoLocale()
214 if (a_dic->GetString("name", &promo_signal)) { in UnpackPromoSignal()
216 a_dic->GetString("question", &promo_build); in UnpackPromoSignal()
235 a_dic->GetString("inproduct", &promo_start_string); in UnpackPromoSignal()
236 a_dic->GetString("tooltip", &promo_string); in UnpackPromoSignal()
242 a_dic->GetString("inproduct", &promo_end_string); in UnpackPromoSignal()
305 if (!a_dic->GetString("name", &name)) in UnpackWebStoreSignal()
318 if (!a_dic->GetString(kAnswerIdProperty, &promo_id) || in UnpackWebStoreSignal()
319 !a_dic->GetString(kWebStoreHeaderProperty, &promo_header) || in UnpackWebStoreSignal()
320 !a_dic->GetString(kWebStoreButtonProperty, &promo_button) || in UnpackWebStoreSignal()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/util/
DStringEncoder.java26 public static String GetString(byte[] data) in GetString() method in StringEncoder
28 return GetString(data, 0, data.length); in GetString()
31 public static String GetString(byte[] data, int off, int len) in GetString() method in StringEncoder
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc166 if (!args->GetString("username", &username) || in Login()
167 !args->GetString("password", &password)) { in Login()
373 if (!args->GetString("key", &key) || !args->Get("value", &value)) { in SetProxySettings()
393 if (!args->GetString("service_path", &service_path) || in ConnectToWifiNetwork()
394 !args->GetString("password", &password) || in ConnectToWifiNetwork()
395 !args->GetString("identity", &identity) || in ConnectToWifiNetwork()
396 !args->GetString("certpath", &certpath)) { in ConnectToWifiNetwork()
431 if (!args->GetString("ssid", &ssid) || in ConnectToHiddenWifiNetwork()
432 !args->GetString("security", &security) || in ConnectToHiddenWifiNetwork()
433 !args->GetString("password", &password) || in ConnectToHiddenWifiNetwork()
[all …]
Dautomation_util.cc190 if (!args->GetString("url", &url)) { in GetCookiesJSON()
235 if (!args->GetString("url", &url)) { in DeleteCookieJSON()
239 if (!args->GetString("name", &name)) { in DeleteCookieJSON()
266 if (!args->GetString("url", &url)) { in SetCookieJSON()
281 if (!cookie_dict->GetString("name", &name)) { in SetCookieJSON()
285 if (!cookie_dict->GetString("value", &value)) { in SetCookieJSON()
290 !cookie_dict->GetString("domain", &domain)) { in SetCookieJSON()
295 !cookie_dict->GetString("path", &path)) { in SetCookieJSON()
/external/chromium/chrome/browser/prefs/
Dproxy_config_dictionary.cc36 return dict_->GetString(kProxyMode, &mode_str) in GetMode()
41 return dict_->GetString(kProxyPacUrl, out); in GetPacUrl()
45 return dict_->GetString(kProxyServer, out); in GetProxyServer()
49 return dict_->GetString(kProxyBypassList, out); in GetBypassList()
/external/chromium/chrome/browser/ui/webui/
Dmost_visited_handler.cc186 bool r = args->GetString(0, &tmp_string); in HandleAddPinnedURL()
190 r = args->GetString(1, &tmp_string16); in HandleAddPinnedURL()
194 r = args->GetString(2, &tmp_string); in HandleAddPinnedURL()
200 r = args->GetString(3, &tmp_string); in HandleAddPinnedURL()
206 r = args->GetString(4, &tmp_string); in HandleAddPinnedURL()
255 if (dict->GetString("faviconUrl", &tmp_string)) in GetPinnedURLAtIndex()
257 if (dict->GetString("thumbnailUrl", &tmp_string)) in GetPinnedURLAtIndex()
260 if (dict->GetString("url", &tmp_string)) in GetPinnedURLAtIndex()
265 return dict->GetString("title", &page->title); in GetPinnedURLAtIndex()
/external/chromium/chrome/common/extensions/
Dextension_l10n_util_unittest.cc273 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
291 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
310 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
313 ASSERT_TRUE(manifest.GetString(keys::kDescription, &result)); in TEST()
335 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
338 ASSERT_TRUE(manifest.GetString(keys::kDescription, &result)); in TEST()
341 ASSERT_TRUE(manifest.GetString(action_title, &result)); in TEST()
360 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
363 ASSERT_TRUE(manifest.GetString(keys::kDescription, &result)); in TEST()
366 ASSERT_TRUE(manifest.GetString(keys::kOmniboxKeyword, &result)); in TEST()
[all …]
/external/chromium/chrome/browser/sync/syncable/
Dmodel_type_unittest.cc50 EXPECT_TRUE(value->GetString(0, &types[0])); in TEST_F()
51 EXPECT_TRUE(value->GetString(1, &types[1])); in TEST_F()
64 EXPECT_TRUE(value->GetString(0, &types[0])); in TEST_F()
65 EXPECT_TRUE(value->GetString(1, &types[1])); in TEST_F()
/external/chromium/chrome/browser/
Dbrowser_signin.cc185 json_args.GetString("user", &user); in HandleSigninInit()
197 if (!args->GetString(0, &json)) in HandleSubmitAuth()
207 !result->GetString("user", &username) || in HandleSubmitAuth()
208 !result->GetString("pass", &password) || in HandleSubmitAuth()
209 !result->GetString("captcha", &captcha) || in HandleSubmitAuth()
210 !result->GetString("access_code", &access_code)) { in HandleSubmitAuth()
251 profile_->GetPrefs()->GetString(prefs::kGoogleServicesUsername); in GetSignedInUsername()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-port.cc198 const String full_flag = (Message() << GTEST_FLAG_PREFIX << flag).GetString(); in FlagToEnvVar()
205 return env_var.GetString(); in FlagToEnvVar()
234 printf("%s", msg.GetString().c_str()); in ParseInt32()
251 printf("%s", msg.GetString().c_str()); in ParseInt32()
275 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
/external/chromium/chrome/common/
Dweb_apps.cc248 CHECK(definition->GetString("launch_url", &app_url_string)); in ParseWebAppFromDefinitionFile()
261 CHECK(permissions_value->GetString(i, &permission)); in ParseWebAppFromDefinitionFile()
273 CHECK(urls_value->GetString(i, &url_string)); in ParseWebAppFromDefinitionFile()
298 if (!icons_value->GetString(*iter, &icon_url_string) || in ParseWebAppFromDefinitionFile()
316 CHECK(definition->GetString("name", &web_app->title)); in ParseWebAppFromDefinitionFile()
317 definition->GetString("description", &web_app->description); in ParseWebAppFromDefinitionFile()
318 definition->GetString("launch_container", &web_app->launch_container); in ParseWebAppFromDefinitionFile()

12345678910>>...13