/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
H A D | predicates.rb | 14 /* With this true, enum is seen as a keyword. False, it's an identifier */ 24 | enumAsKeyword {$enumIs = "keyword"} 52 example "'enum' is a keyword" do 56 parser.stat.should == 'keyword'
|
/external/bison/ |
H A D | maint.mk | 892 halt='do not use CVS keyword expansion' \
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | javascripttokens.py | 57 KEYWORD = 'keyword' 99 def IsKeyword(self, keyword): 100 """Tests if this token is the given keyword. 103 keyword: The keyword to compare to. 106 True if this token is a keyword token with the given name. 108 return self.type == JavaScriptTokenType.KEYWORD and self.string == keyword
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/search_engines/ |
H A D | TemplateUrlService.java | 41 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/autocomplete/ |
H A D | autocomplete_controller.cc | 448 last_default_keyword = result_.default_match()->keyword; 451 result_.default_match()->associated_keyword->keyword; 490 result_.default_match()->associated_keyword->keyword; 493 // updated if fill_into_edit, associated_keyword, or keyword differ. (The 494 // second can change if we've just started Chrome and the keyword database 497 // labeled with the default search provider's keyword--to a URL.) 507 (result_.default_match()->keyword != last_default_keyword))); 519 // Determine if the user's input is an exact keyword match. 526 base::string16 keyword( 528 if (!keyword [all...] |
H A D | autocomplete_provider_unittest.cc | 149 match.keyword = match_keyword_; 164 const base::string16 keyword; member in struct:AutocompleteProviderTest::KeywordTestData 174 // Registers a test TemplateURL under the given keyword. 175 void RegisterTemplateURL(const base::string16 keyword, 228 const base::string16 keyword, 236 data.SetKeyword(keyword); 253 // (1) Make sure that AutocompleteMatch.keyword is set iff there is 324 data2.SetURL("http://keyword/{searchTerms}"); 386 match.keyword = match_data[i].keyword; 227 RegisterTemplateURL( const base::string16 keyword, const std::string& template_url) argument [all...] |
H A D | keyword_extensions_delegate_impl.cc | 139 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 D | search_provider_unittest.cc | 154 keyword_term_(ASCIIToUTF16("keyword")), 204 // Calls QueryForInput(), sets the JSON responses for the default and keyword 307 data.SetURL("http://keyword/{searchTerms}"); 633 // Issues a query that matches the registered keyword and makes sure history 637 QueryForInput(keyword_t_url_->keyword() + ASCIIToUTF16(" ") + term, 651 // Make sure the keyword providers suggest service was queried. 663 // Tell the SearchProvider the keyword suggest query is done. 672 // term keyword. 676 // The match should have an associated keyword. 677 EXPECT_FALSE(match.keyword [all...] |
H A D | shortcuts_backend.cc | 165 normalized_match.transition, match_type, normalized_match.keyword);
|
H A D | shortcuts_backend_unittest.cc | 232 match.keyword = base::UTF8ToUTF16("foo");
|
H A D | shortcuts_provider.cc | 205 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 :
|
H A D | shortcuts_provider.h | 94 // Returns iterator to first item in |shortcuts_map_| matching |keyword|. 97 const base::string16& keyword,
|
H A D | shortcuts_provider_unittest.cc | 61 std::string keyword; member in struct:__anon2936::TestShortcutInfo 332 cur.transition, cur.type, ASCIIToUTF16(cur.keyword)),
|
/external/chromium_org/chrome/browser/extensions/api/omnibox/ |
H A D | omnibox_api.cc | 218 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
|
H A D | omnibox_api.h | 46 // The user has just typed the omnibox keyword. This is sent exactly once in 52 // keyword session. Returns true if someone is listening to this event, and 66 // The user has cleared the keyword, or closed the omnibox popup. This is 169 const TemplateURL* keyword,
|
H A D | omnibox_api_browsertest.cc | 40 // Test that our extension's keyword is suggested to us when we partially type 52 // enter "extension keyword" mode. 60 EXPECT_EQ(ASCIIToUTF16("keyword"), match.keyword); 66 ASCIIToUTF16("keyword suggestio"), base::string16::npos, 73 // First result should be to invoke the keyword with what we typed, 2-4 79 EXPECT_EQ(ASCIIToUTF16("keyword"), result.match_at(0).keyword); 80 EXPECT_EQ(ASCIIToUTF16("keyword suggestio"), 86 EXPECT_EQ(ASCIIToUTF16("keyword"), resul [all...] |
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/ |
H A D | settings_overrides_api.cc | 76 if (search_provider.keyword) 77 data.SetKeyword(base::UTF8ToUTF16(*search_provider.keyword));
|
H A D | settings_overrides_browsertest.cc | 87 EXPECT_EQ(base::ASCIIToUTF16("keyword.de"), extension_provider->keyword());
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_backend_unittest.cc | 2915 base::string16 keyword = base::UTF8ToUTF16("bar"); local 2917 url1_id, keyword_id, keyword)); 2930 url2_id, keyword_id2, keyword)); 2941 url3_id, keyword_id2, keyword)); 2944 backend_->DeleteMatchingURLsForKeyword(keyword_id2, keyword); 2953 // Test that corresponding keyword search terms are deleted for rows 2 & 3,
|
H A D | shortcuts_database.cc | 44 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...] |
H A D | shortcuts_database.h | 54 const base::string16& keyword); 68 base::string16 keyword; member in struct:history::ShortcutsDatabase::Shortcut::MatchCore
|
H A D | shortcuts_database_unittest.cc | 38 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 "
|
/external/chromium_org/chrome/browser/importer/ |
H A D | firefox_importer_browsertest.cc | 208 const base::string16& imported_keyword = template_urls[i]->keyword(); 237 // Newer versions of Firefox can store custom keyword names in json, which
|
H A D | in_process_importer_bridge.cc | 104 // 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
|
H A D | profile_writer.cc | 312 // TemplateURL with this keyword, don't import it again. 313 if (model->GetTemplateURLForKeyword((*i)->keyword()) != NULL) 316 // For search engines if there is already a keyword with the same
|