Searched defs:keyword (Results 26 - 50 of 169) sorted by relevance

1234567

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dpreproc.h49 const char *keyword; member in struct:yasm_preproc_module
/external/chromium_org/chrome/browser/autocomplete/
H A Dkeyword_extensions_delegate_impl.cc139 base::string16 keyword, remaining_input; local
142 input, &keyword, &remaining_input))
146 model->GetTemplateURLForKeyword(keyword));
160 base::string16 keyword, remaining_input;
162 input, &keyword, &remaining_input);
165 model->GetTemplateURLForKeyword(keyword);
177 // the full keyword had been typed.
186 template_url, input, keyword.length(),
H A Dshortcuts_provider.cc205 match.keyword = shortcut.match_core.keyword;
365 ShortcutsProvider::FindFirstMatch(const base::string16& keyword, argument
369 backend->shortcuts_map().lower_bound(keyword);
370 // Lower bound not necessarily matches the keyword, check for item pointed by
371 // the lower bound iterator to at least start with keyword.
373 StartsWith(it->first, keyword, true)) ? it :
/external/chromium_org/chrome/browser/history/
H A Dshortcuts_database_unittest.cc38 std::string keyword; member in struct:__anon4103::ShortcutsDatabaseTestInfo
69 EXPECT_EQ(is_v2, connection.DoesColumnExist("omni_box_shortcuts", "keyword"));
129 info.transition, info.type, ASCIIToUTF16(info.keyword)),
252 "SELECT fill_into_edit, url, transition, type, keyword "
H A Dshortcuts_database.cc44 s->BindString16(10, shortcut.match_core.keyword);
75 const base::string16& keyword)
84 keyword(keyword) {
144 "transition, type, keyword, last_access_time, number_of_hits) "
155 "transition=?, type=?, keyword=?, last_access_time=?, "
192 "description, description_class, transition, type, keyword, "
211 s.ColumnString16(10)), // keyword
228 "keyword VARCHAR, last_access_time INTEGER, "
233 // transition, type, and keyword column
66 MatchCore( const base::string16& fill_into_edit, const GURL& destination_url, const base::string16& contents, const std::string& contents_class, const base::string16& description, const std::string& description_class, int transition, int type, const base::string16& keyword) argument
[all...]
/external/chromium_org/chrome/browser/search_engines/
H A Dsearch_provider_install_data_unittest.cc127 const base::string16& keyword);
180 const base::string16& keyword) {
182 data.short_name = keyword;
183 data.SetKeyword(keyword);
178 AddNewTemplateURL( const std::string& url, const base::string16& keyword) argument
H A Dtemplate_url_service_test_util.cc141 const std::string& keyword,
150 enabled, name, keyword, search_url, suggest_url, icon_url, encodings,
138 SetManagedDefaultSearchPreferences( bool enabled, const std::string& name, const std::string& keyword, const std::string& search_url, const std::string& suggest_url, const std::string& icon_url, const std::string& encodings, const std::string& alternate_url, const std::string& search_terms_replacement_key) argument
/external/chromium_org/chrome/common/importer/
H A Dimporter_data_types.h53 base::string16 keyword; member in struct:importer::URLKeywordInfo
/external/chromium_org/components/history/core/browser/
H A Durl_database_unittest.cc160 // Tests adding, querying and deleting keyword visits.
171 // Add a keyword visit.
173 base::string16 keyword = base::UTF8ToUTF16("visit"); local
174 ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id, keyword_id, keyword));
178 GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches);
180 ASSERT_EQ(keyword, matches[0].term);
186 EXPECT_EQ(keyword, keyword_search_term_row.term);
188 // Delete the keyword visit.
193 GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches);
199 // Make sure deleting a URL also deletes a keyword visi
273 base::string16 keyword = base::UTF8ToUTF16("visit"); local
[all...]
/external/chromium_org/components/search_engines/
H A Dtemplate_url_data.h28 // The shortcut for this TemplateURL. |keyword| must be non-empty.
29 void SetKeyword(const base::string16& keyword);
30 const base::string16& keyword() const { return keyword_; } function in struct:TemplateURLData
67 // bookmark keyword from another browser.
H A Dtemplate_url_fetcher.cc25 const base::string16& keyword,
41 base::string16 keyword() const { return keyword_; } function in class:TemplateURLFetcher::RequestDelegate
66 const base::string16& keyword,
75 keyword_(keyword),
109 // Make sure we can still replace the keyword, i.e. the fetch was successful.
136 // Use the parser-generated new keyword from the URL in the OSDD for the
138 // URL that hosted the OSDD, which results in the wrong keyword when the
141 keyword_ = template_url_->keyword();
170 // since it is better when generated keyword in many cases.
181 // Mark the keyword a
64 RequestDelegate( TemplateURLFetcher* fetcher, const base::string16& keyword, const GURL& osdd_url, const GURL& favicon_url, const URLFetcherCustomizeCallback& url_fetcher_customize_callback, const ConfirmAddSearchProviderCallback& confirm_add_callback, ProviderType provider_type) argument
217 ScheduleDownload( const base::string16& keyword, const GURL& osdd_url, const GURL& favicon_url, const URLFetcherCustomizeCallback& url_fetcher_customize_callback, const ConfirmAddSearchProviderCallback& confirm_add_callback, ProviderType provider_type) argument
[all...]
H A Dtemplate_url_fetcher_unittest.cc52 void StartDownload(const base::string16& keyword,
118 const base::string16& keyword,
140 keyword, osdd_url, favicon_url,
156 base::string16 keyword(ASCIIToUTF16("test"));
159 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword));
162 StartDownload(keyword, osdd_file_name,
172 keyword);
181 base::string16 keyword(ASCIIToUTF16("test"));
184 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword));
187 StartDownload(keyword, osdd_file_nam
117 StartDownload( const base::string16& keyword, const std::string& osdd_file_name, TemplateURLFetcher::ProviderType provider_type, bool check_that_file_exists) argument
195 base::string16 keyword; member in struct:__anon6799
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DBasicShapeFunctions.cpp48 CSSValueID keyword = orientation == HORIZONTAL ? CSSValueRight : CSSValueBottom;
50 return pool.createValue(Pair::create(pool.createIdentifierValue(keyword), pool.createValue(center.length(), style), Pair::DropIdenticalValues));
152 CSSValueID keyword = CSSValueTop; local
154 keyword = CSSValueCenter;
156 keyword = value->getValueID();
158 keyword = pair->first()->getValueID();
164 switch (keyword) {
H A DFontSize.cpp120 // factors for each keyword value.
131 float FontSize::fontSizeForKeyword(const Document* document, unsigned keyword, FixedPitchFontType fixedPitchFontType) argument
133 ASSERT(keyword >= 1 && keyword <= 8);
142 int col = (keyword - 1);
148 return std::max(fontSizeFactors[keyword - 1] * mediumSize, minLogicalSize);
/external/chromium_org/third_party/icu/source/i18n/
H A Dselfmt.cpp86 SelectFormat::format(const UnicodeString& keyword, argument
93 // Check for the validity of the keyword
94 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) {
101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status);
126 const UnicodeString& keyword, UErrorCode& ec) {
141 if(pattern.partSubstringMatches(part, keyword)) {
142 // keyword matches
125 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) argument
/external/icu/icu4c/source/i18n/
H A Dselfmt.cpp86 SelectFormat::format(const UnicodeString& keyword, argument
93 // Check for the validity of the keyword
94 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) {
101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status);
126 const UnicodeString& keyword, UErrorCode& ec) {
141 if(pattern.partSubstringMatches(part, keyword)) {
142 // keyword matches
125 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) argument
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/search_engines/
H A DTemplateUrlService.java41 public static TemplateUrl create(int id, String shortName, String keyword) { argument
42 return new TemplateUrl(id, shortName, keyword);
45 public TemplateUrl(int index, String shortName, String keyword) { argument
48 mKeyword = keyword;
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_api.cc218 const std::string& keyword = OmniboxInfo::GetKeyword(extension); local
219 if (!keyword.empty()) {
228 extension->id(), extension->name(), keyword,
364 const TemplateURL* keyword,
367 DCHECK(keyword->GetType() == TemplateURL::OMNIBOX_API_EXTENSION);
370 GetOmniboxDefaultSuggestion(profile, keyword->GetExtensionId()));
362 ApplyDefaultSuggestionForExtensionKeyword( Profile* profile, const TemplateURL* keyword, const base::string16& remaining_input, AutocompleteMatch* match) argument
/external/chromium_org/chrome/browser/importer/
H A Din_process_importer_bridge.cc104 // Creates a TemplateURL with the |keyword| and |url|. |title| may be empty.
107 const base::string16& keyword,
114 if (keyword.empty())
117 data.SetKeyword(keyword);
120 data.short_name = title.empty() ? keyword : title;
240 url_keywords[i].keyword,
106 CreateTemplateURL(const base::string16& title, const base::string16& keyword, const GURL& url) argument
/external/chromium_org/chrome/browser/profile_resetter/
H A Dautomatic_profile_resetter_delegate_unittest.cc204 data.SetKeyword(base::ASCIIToUTF16("keyword"));
377 const char kTestKeyword[] = "keyword";
429 std::string keyword; local
430 ASSERT_TRUE(details->GetString("keyword", &keyword));
433 base::ASCIIToUTF16(keyword));
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsearch_engines_helper.cc43 " keyword: " + base::UTF16ToASCII(turl->keyword()) + " url: " +
51 (turl1->keyword() == turl2->keyword()) &&
98 << default_a->keyword() << " B's default: "
99 << default_b->keyword();
103 << " and keyword: " << default_a->keyword();
109 // Convenience helper for consistently generating the same keyword for a given
148 verifier_turl->keyword());
184 CreateTestTemplateURL(Profile* profile, int seed, const base::string16& keyword, const std::string& sync_guid) argument
192 CreateTestTemplateURL(Profile* profile, int seed, const base::string16& keyword, const std::string& url, const std::string& sync_guid) argument
218 EditSearchEngine(int profile_index, const base::string16& keyword, const base::string16& short_name, const base::string16& new_keyword, const std::string& url) argument
[all...]
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_popup_model.cc162 base::string16 keyword; local
166 match.GetKeywordUIState(service, &keyword, &is_keyword_hint);
170 keyword, is_keyword_hint);
173 keyword, is_keyword_hint);
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dsearch_engine_manager_handler.cc183 dict->SetString("keyword", table_model->GetText(
265 const base::string16& keyword,
269 list_controller_->ModifyTemplateURL(template_url, title, keyword, url);
271 list_controller_->AddTemplateURL(title, keyword, url);
280 base::string16 keyword; local
284 !args->GetString(ENGINE_KEYWORD, &keyword) ||
293 validity.SetBoolean("keyword", edit_controller_->IsKeywordValid(keyword));
311 base::string16 keyword; local
314 !args->GetString(ENGINE_KEYWORD, &keyword) ||
262 OnEditedKeyword( TemplateURL* template_url, const base::string16& title, const base::string16& keyword, const std::string& url) argument
[all...]
/external/chromium_org/components/omnibox/
H A Dautocomplete_match.h167 // A static version GetTemplateURL() that takes the match's keyword and
169 // associated with |keyword| if it exists; otherwise returns the TemplateURL
173 const base::string16& keyword,
181 // the match's keyword is known, it can be passed in. Otherwise, it can be
188 const base::string16& keyword);
202 // Gets data relevant to whether there should be any special keyword-related
203 // UI shown for this match. If this match represents a selected keyword, i.e.
204 // the UI should be "in keyword mode", |keyword| will be set to the keyword
352 base::string16 keyword; member in struct:AutocompleteMatch
[all...]
H A Dkeyword_provider.cc26 // Helper functor for Start(), for sorting keyword matches by quality.
29 // A keyword is of higher quality when a greater fraction of it has been
33 // better rankings than the fraction of the keyword typed. We should
37 return t_url1->keyword().length() < t_url2->keyword().length();
41 // Helper for KeywordProvider::Start(), for ending keyword mode unless
101 // Return first token as keyword.
127 base::string16 keyword, remaining_input;
128 if (!ExtractKeywordFromInput(*input, &keyword, &remaining_input))
132 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword);
191 CreateVerbatimMatch( const base::string16& text, const base::string16& keyword, const AutocompleteInput& input) argument
231 base::string16 keyword, remaining_input; local
325 ExtractKeywordFromInput(const AutocompleteInput& input, base::string16* keyword, base::string16* remaining_input) argument
376 const base::string16& keyword = template_url->keyword(); local
[all...]

Completed in 530 milliseconds

1234567