Home
last modified time | relevance | path

Searched refs:GetAsString (Results 1 – 25 of 74) sorted by relevance

123

/external/chromium/chrome/common/extensions/
Durl_pattern_unittest.cc321 TEST(ExtensionURLPatternTest, GetAsString) { in TEST() argument
328 pattern.GetAsString().c_str()); in TEST()
335 << pattern1.GetAsString() << ", " << pattern2.GetAsString(); in TestPatternOverlap()
337 << pattern2.GetAsString() << ", " << pattern1.GetAsString(); in TestPatternOverlap()
389 EXPECT_EQ("http://*/*", all_urls[0].GetAsString()); in TEST()
390 EXPECT_EQ("https://*/*", all_urls[1].GetAsString()); in TEST()
391 EXPECT_EQ("file:///*", all_urls[2].GetAsString()); in TEST()
392 EXPECT_EQ("ftp://*/*", all_urls[3].GetAsString()); in TEST()
393 EXPECT_EQ("chrome://*/*", all_urls[4].GetAsString()); in TEST()
395 EXPECT_EQ("http://google.com/foo", all_schemes[0].GetAsString()); in TEST()
[all …]
Dextension_messages.cc88 WriteParam(m, p.GetAsString()); in Write()
104 LogParam(p.GetAsString(), l); in Log()
Duser_script_unittest.cc164 EXPECT_EQ(script1.url_patterns()[i].GetAsString(), in TEST()
165 script2.url_patterns()[i].GetAsString()); in TEST()
Durl_pattern.h198 std::string GetAsString() const;
/external/chromium/chrome/browser/extensions/
Duser_script_master_unittest.cc166 script.url_patterns()[0].GetAsString()); in TEST_F()
168 script.url_patterns()[1].GetAsString()); in TEST_F()
212 script.url_patterns()[0].GetAsString()); in TEST_F()
233 script_list[0].url_patterns()[0].GetAsString()); in TEST_F()
254 script_list[0].url_patterns()[0].GetAsString()); in TEST_F()
Dconvert_user_script_unittest.cc45 EXPECT_EQ("http://www.google.com/*", script.url_patterns()[0].GetAsString()); in TEST()
83 EXPECT_EQ("http://*/*", script.url_patterns()[0].GetAsString()); in TEST()
84 EXPECT_EQ("https://*/*", script.url_patterns()[1].GetAsString()); in TEST()
Dconvert_web_app_unittest.cc131 extension->web_extent().patterns()[0].GetAsString()); in TEST()
173 extension->web_extent().patterns()[0].GetAsString()); in TEST()
Dexternal_policy_extension_loader.cc56 if (!(*it)->GetAsString(&extension_desc)) { in StartLoading()
/external/chromium/chrome/browser/metrics/
Dmetrics_service_unittest.cc72 (*it)->GetAsString(&str); // Base64 encoded "Hello world!" string. in TEST()
78 (*it)->GetAsString(&str); // MD5 for encoded "Hello world!" string. in TEST()
112 EXPECT_TRUE((*(list.begin() + 1))->GetAsString(&actual_first)); in TEST()
116 EXPECT_TRUE((*(list.end() - 2))->GetAsString(&actual_last)); in TEST()
195 EXPECT_TRUE((*(list.end() - 1))->GetAsString(&checksum)); in TEST()
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.cc906 if (value->GetAsString(&type_string)) { in ParseValue()
913 return value->GetAsString(&name_); in ParseValue()
915 return value->GetAsString(&carrier_); in ParseValue()
955 return value->GetAsString(&MEID_); in ParseValue()
957 return value->GetAsString(&IMEI_); in ParseValue()
959 return value->GetAsString(&IMSI_); in ParseValue()
961 return value->GetAsString(&ESN_); in ParseValue()
963 return value->GetAsString(&MDN_); in ParseValue()
965 return value->GetAsString(&MIN_); in ParseValue()
967 return value->GetAsString(&model_id_); in ParseValue()
[all …]
/external/chromium/chrome/common/
Djson_pref_store_unittest.cc105 EXPECT_TRUE(actual->GetAsString(&string_value)); in TEST_F()
112 EXPECT_TRUE(actual->GetAsString(&path)); in TEST_F()
119 EXPECT_TRUE(actual->GetAsString(&path)); in TEST_F()
149 EXPECT_TRUE(actual->GetAsString(&string_value)); in TEST_F()
/external/chromium/base/
Dvalues.cc114 bool Value::GetAsString(std::string* out_value) const { in GetAsString() function in Value
118 bool Value::GetAsString(string16* out_value) const { in GetAsString() function in Value
241 bool StringValue::GetAsString(std::string* out_value) const { in GetAsString() function in StringValue
247 bool StringValue::GetAsString(string16* out_value) const { in GetAsString() function in StringValue
261 return GetAsString(&lhs) && other->GetAsString(&rhs) && lhs == rhs; in Equals()
448 return value->GetAsString(out_value); in GetString()
457 return value->GetAsString(out_value); in GetString()
552 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
562 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
758 return value->GetAsString(out_value); in GetString()
[all …]
Dvalues.h94 virtual bool GetAsString(std::string* out_value) const;
95 virtual bool GetAsString(string16* out_value) const;
161 virtual bool GetAsString(std::string* out_value) const;
162 virtual bool GetAsString(string16* out_value) const;
Dvalues_unittest.cc140 ASSERT_TRUE(narrow_value->GetAsString(&narrow)); in TEST_F()
141 ASSERT_TRUE(narrow_value->GetAsString(&utf16)); in TEST_F()
145 ASSERT_TRUE(utf16_value->GetAsString(&narrow)); in TEST_F()
146 ASSERT_TRUE(utf16_value->GetAsString(&utf16)); in TEST_F()
394 ASSERT_TRUE(copy_string->GetAsString(&copy_string_value)); in TEST_F()
395 ASSERT_TRUE(copy_string->GetAsString(&copy_string16_value)); in TEST_F()
404 ASSERT_TRUE(copy_string16->GetAsString(&copy_string_value)); in TEST_F()
405 ASSERT_TRUE(copy_string16->GetAsString(&copy_string16_value)); in TEST_F()
Dvalue_conversions.cc45 if (!value.GetAsString(&str)) in GetValueAsFilePath()
/external/chromium/chrome/browser/chromeos/
Dproxy_cros_settings_provider.cc50 if (in_value->GetAsString(&val)) { in DoSet()
56 if (in_value->GetAsString(&val)) { in DoSet()
68 if (in_value->GetAsString(&val)) { in DoSet()
82 if (in_value->GetAsString(&val)) { in DoSet()
150 if (in_value->GetAsString(&val)) { in DoSet()
164 if (in_value->GetAsString(&val)) { in DoSet()
/external/chromium/chrome/browser/prefs/
Dpref_value_store_unittest.cc303 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
310 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
317 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
324 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
331 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
338 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
346 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
353 EXPECT_TRUE(value->GetAsString(&actual_str_value)); in TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dbug_report_ui.cc603 (*i)->GetAsString(&problem_type_str); in HandleSendReport()
615 (*i)->GetAsString(&page_url); in HandleSendReport()
623 (*i)->GetAsString(&description); in HandleSendReport()
631 (*i)->GetAsString(&screenshot_path); in HandleSendReport()
647 (*i)->GetAsString(&user_email); in HandleSendReport()
655 (*i)->GetAsString(&sys_info_checkbox); in HandleSendReport()
Dhistory2_ui.cc224 if (!string_value->GetAsString(&string16_value)) in HandleRemoveURLsOnOneDay()
315 string_value->GetAsString(query); in ExtractSearchHistoryArguments()
324 string_value->GetAsString(&string16_value); in ExtractSearchHistoryArguments()
/external/chromium/chrome/browser/ui/webui/options/
Dcore_options_handler.cc217 if (!callback->GetAsString(&callback_function)) in HandleFetchPrefs()
232 if (!list_member->GetAsString(&pref_name)) in HandleFetchPrefs()
260 !list_member->GetAsString(&pref_name)) in HandleObservePrefs()
316 CHECK(value->GetAsString(&json_string)); in HandleSetPref()
/external/chromium/base/json/
Djson_reader_unittest.cc46 ASSERT_TRUE(root->GetAsString(&value)); in TEST()
174 ASSERT_TRUE(root->GetAsString(&str_val)); in TEST()
182 ASSERT_TRUE(root->GetAsString(&str_val)); in TEST()
191 ASSERT_TRUE(root->GetAsString(&str_val)); in TEST()
200 ASSERT_TRUE(root->GetAsString(&str_val)); in TEST()
448 ASSERT_TRUE(root->GetAsString(&str_val)); in TEST()
/external/chromium/webkit/glue/
Dglue_serialize.cc37 std::string GetAsString() { in GetAsString() function
423 return obj.GetAsString(); in HistoryItemToString()
462 *serialized_item = obj.GetAsString(); in HistoryItemToVersionedString()
476 return obj.GetAsString(); in CreateHistoryStateForURL()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store.cc422 bool result = value->GetAsString(&string_value); in ApplyDownloadDirPolicy()
546 if (!proxy_policies_[kPolicyProxyMode]->GetAsString(&mode_value)) { in CheckProxySettings()
644 CHECK(proxy_policies_[kPolicyProxyMode]->GetAsString(&string_mode)); in ApplyProxySettings()
689 proxy_policies_[kPolicyProxyPacUrl]->GetAsString(&pac_url); in ApplyProxySettings()
701 proxy_policies_[kPolicyProxyServer]->GetAsString(&proxy_server); in ApplyProxySettings()
704 proxy_policies_[kPolicyProxyBypassList]->GetAsString(&bypass_list); in ApplyProxySettings()
728 iter->second->GetAsString(&tmp) && in HasProxyPolicy()
/external/chromium/chrome/browser/printing/
Dprint_dialog_cloud_unittest.cc71 expected->GetAsString(&expected_string);
72 arg.GetAsString(&arg_string);
/external/chromium/chrome/browser/autocomplete/
Dsearch_provider.cc448 !query_val->GetAsString(&query_str) || in ParseSuggestResults()
488 !suggestion_val->GetAsString(&suggestion_str)) in ParseSuggestResults()
500 type_val->GetAsString(&type_str) && (type_str == "NAVIGATION")) { in ParseSuggestResults()
509 site_val->GetAsString(&site_name)) { in ParseSuggestResults()

123