/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | history_data.cc | 18 // A struct used to sort query entries by time. 20 EntrySortData() : query(NULL), update_time(NULL) {} 21 EntrySortData(const std::string* query, argument 23 : query(query), 27 const std::string* query; member in struct:app_list::__anon4955::EntrySortData 52 void HistoryData::Add(const std::string& query, const std::string& result_id) { argument 53 Associations::iterator assoc_it = associations_.find(query); 55 // Creates a primary association if query is seen for the first time. 57 Data& data = associations_[query]; 173 const std::string& query = *entries[i].query; local [all...] |
H A D | omnibox_provider.cc | 162 void OmniboxProvider::Start(const base::string16& query) { argument 164 query, base::string16::npos, base::string16(), GURL(),
|
H A D | search_controller.cc | 103 base::string16 query; local 104 base::TrimWhitespace(search_box_->text(), base::TRIM_ALL, &query); 110 (*it)->Start(query);
|
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
H A D | people_provider.cc | 35 const char kQueryField[] = "query"; 55 void PeopleProvider::Start(const base::string16& query) { argument 57 if (!IsValidQuery(query)) { 62 query_ = base::UTF16ToUTF8(query); 83 // we'll create the full query URL and fetch it. 88 // start our query. 129 GURL PeopleProvider::GetQueryUrl(const std::string& query) { argument 136 query); 142 // |query_| can be NULL when the query is scheduled but then canceled.
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_provider.cc | 62 void WebstoreProvider::Start(const base::string16& query) { argument 64 if (!IsValidQuery(query)) { 69 query_ = base::UTF16ToUTF8(query); 89 // Add a placeholder result which when clicked will run the user's query in a 100 // |query_| can be NULL when the query is scheduled but then canceled.
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | start_page_service.cc | 190 const base::string16& query, bool is_final) { 197 OnSpeechResult(query, is_final)); 189 OnSpeechResult( const base::string16& query, bool is_final) argument
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_search_prerenderer.cc | 103 void InstantSearchPrerenderer::Commit(const base::string16& query) { argument 106 SearchTabHelper::FromWebContents(prerender_contents())->Submit(query); 111 const base::string16& query) const { 112 if (!source || query.empty() || !prerender_handle_ || 114 !prerender_contents() || !QueryMatchesPrefetch(query)) { 118 // InstantSearchPrerenderer can commit query to the prerendered page only if 156 const base::string16& query) const { 159 return last_instant_suggestion_.text == query;
|
/external/chromium_org/chrome/browser/ui/webui/app_list/ |
H A D | start_page_handler.cc | 231 base::string16 query; local 233 CHECK(args->GetString(0, &query)); 237 query, is_final);
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | fileicon_source.cc | 37 // Assuming the url is of the form '/path?query', convert the path portion into 38 // a FilePath and return the resulting |file_path| and |query|. The path 42 std::string* query) { 51 query->assign(gurl.query()); 62 // Simple parser for data on the query. 63 void ParseQueryParams(const std::string& query, argument 72 base::SplitStringIntoKeyValuePairs(query, '=', '&', ¶meters); 134 std::string query; local 138 GetFilePathAndQuery(url_path, &file_path, &query); 40 GetFilePathAndQuery(const std::string& url, base::FilePath* file_path, std::string* query) argument [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | cookies_view_handler.cc | 218 base::string16 query; local 219 if (!args->GetString(0, &query)) 224 cookies_tree_model_->UpdateSearchResults(query);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | dns_sd_server.cc | 161 if (parser.header().flags & net::dns_protocol::kFlagResponse) // Not a query. 168 DnsQueryRecord query; local 171 bool success = parser.ReadRecord(&query); 173 ProccessQuery(current_ttl, query, &builder); 195 void DnsSdServer::ProccessQuery(uint32 current_ttl, const DnsQueryRecord& query, argument 199 switch (query.qtype) { 202 log = "Processing PTR query"; 203 if (query.qname == serv_params_.service_type_ || 204 query.qname == serv_params_.secondary_service_type_) { 205 builder->AppendPtr(query [all...] |
/external/chromium_org/components/bookmarks/browser/ |
H A D | bookmark_utils_unittest.cc | 90 QueryFields query; local 91 query.word_phrase_query.reset(new base::string16); 93 *query.word_phrase_query = ASCIIToUTF16(""); 94 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 99 *query.word_phrase_query = ASCIIToUTF16(" "); 100 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 105 *query.word_phrase_query = ASCIIToUTF16("foo"); 106 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 113 *query.word_phrase_query = ASCIIToUTF16("cnn"); 114 GetBookmarksMatchingProperties(model.get(), query, 10 149 QueryFields query; local 186 QueryFields query; local 223 QueryFields query; local [all...] |
/external/chromium_org/components/cronet/android/ |
H A D | chromium_url_request_context.cc | 125 std::string query = base::android::ConvertJavaStringToUTF8(env, filter); local 126 std::string json = base::StatisticsRecorder::ToJSON(query);
|
/external/chromium_org/components/enhanced_bookmarks/ |
H A D | enhanced_bookmark_utils.cc | 17 const std::string& query) { 19 base::string16 query16 = base::UTF8ToUTF16(query); 29 // Search the title for the query. 15 FindBookmarksWithQuery( BookmarkModel* bookmark_model, const std::string& query) argument
|
/external/chromium_org/components/omnibox/ |
H A D | base_search_provider_unittest.cc | 124 base::string16 query = base::ASCIIToUTF16("weather los angeles"); local 134 query, AutocompleteMatchType::SEARCH_HISTORY, query, base::string16(), 136 std::string(), false, 1300, true, false, query); 142 query, AutocompleteMatchType::SEARCH_SUGGEST, query, base::string16(), 144 std::string(), false, 850, true, false, query); 168 query, AutocompleteMatchType::SEARCH_HISTORY, query, base::string16(), 170 std::string(), false, 1300, true, false, query); [all...] |
/external/chromium_org/components/url_fixer/ |
H A D | url_fixer_unittest.cc | 38 const url::Component query; member in struct:SegmentCase 50 url::Component(), // query 60 url::Component(), // query 63 { "about:host/path?query#ref", "about", 70 url::Component(16, 5), // query 73 { "about://host/path?query#ref", "about", 80 url::Component(18, 5), // query 83 { "chrome:host/path?query#ref", "chrome", 90 url::Component(17, 5), // query 93 { "chrome://host/path?query#re [all...] |
/external/chromium_org/content/browser/media/ |
H A D | media_browsertest.cc | 35 std::string query = media::GetURLQueryString(query_params); local 43 gurl = http_test_server->GetURL("files/" + html_page + "?" + query); 46 query);
|
/external/chromium_org/content/test/ppapi/ |
H A D | ppapi_test.cc | 73 std::string query = BuildQuery(std::string(), test_case); local 74 replacements.SetQuery(query.c_str(), url::Component(0, query.size()));
|
/external/chromium_org/extensions/browser/updater/ |
H A D | manifest_fetch_data.cc | 35 std::string query = local 36 full_url_.has_query() ? full_url_.query() + "&" : std::string(); 37 query += base_query_params; 39 replacements.SetQueryStr(query);
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | query_tracker.cc | 129 // There was no error so start the query on the service. 134 // set the query as completed and return the error. 210 Query* query = new Query(id, target, info); local 212 queries_.insert(std::make_pair(id, query)); 214 return query; 226 Query* query = it->second; local 227 // When you delete a query you can't mark its memory as unused until it's 231 removed_queries_.push_back(query); 245 Query* query = *it; local 246 if (query [all...] |
/external/chromium_org/net/proxy/ |
H A D | dhcp_proxy_script_fetcher_win.cc | 127 scoped_refptr<AdapterQuery> query) { 131 // and a previous query was cancelled before it completed. 132 if (query.get() != last_query_.get()) 146 const std::set<std::string>& adapter_names = query->adapter_names(); 126 OnGetCandidateAdapterNamesDone( scoped_refptr<AdapterQuery> query) argument
|
H A D | proxy_resolver_perftest.cc | 120 // Do a query to warm things up. In the case of internal-fetch proxy 137 const PacQuery& query = queries[i % queries_len]; local 142 GURL(query.query_url), &proxy_info, net::CompletionCallback(), NULL, 148 ASSERT_EQ(query.expected_result, proxy_info.ToPacString());
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ContentSearchUtils.cpp | 91 PassOwnPtr<ScriptRegexp> createSearchRegex(const String& query, bool caseSensitive, bool isRegex) argument 93 String regexSource = isRegex ? query : createSearchRegexSource(query); 97 PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex) argument 101 OwnPtr<ScriptRegexp> regex = ContentSearchUtils::createSearchRegex(query, caseSensitive, isRegex);
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
H A D | SQLiteStatement.cpp | 62 CString query = m_query.stripWhiteSpace().utf8(); local 66 WTF_LOG(SQLDatabase, "SQL - prepare - %s", query.data()); 70 size_t lengthIncludingNullCharacter = query.length() + 1; 73 int error = sqlite3_prepare_v2(m_database.sqlite3Handle(), query.data(), lengthIncludingNullCharacter, &m_statement, &tail); 76 WTF_LOG(SQLDatabase, "sqlite3_prepare16 failed (%i)\n%s\n%s", error, query.data(), sqlite3_errmsg(m_database.sqlite3Handle()));
|
/external/chromium_org/third_party/freetype/src/cache/ |
H A D | ftcbasic.c | 73 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; local 76 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); 86 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; local 91 family->attrs = query->attrs; 284 FTC_BasicQueryRec query; local 308 query.attrs.scaler.face_id = type->face_id; 309 query.attrs.scaler.width = type->width; 310 query.attrs.scaler.height = type->height; 311 query.attrs.load_flags = (FT_UInt)type->flags; 314 query 360 FTC_BasicQueryRec query; local 472 FTC_BasicQueryRec query; local 550 FTC_BasicQueryRec query; local [all...] |