/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
|
/external/chromium_org/components/search_engines/ |
H A D | default_search_manager.cc | 42 const char DefaultSearchManager::kKeyword[] = "keyword"; 163 url_dict.SetString(kKeyword, data.keyword()); 272 prepopulated_urls[i]->SetKeyword(prefs_default_search_->keyword()); 310 base::string16 keyword; local 312 url_dict->GetString(kKeyword, &keyword); 313 if (search_url.empty() || keyword.empty()) 317 prefs_default_search_->SetKeyword(keyword);
|
H A D | default_search_manager_unittest.cc | 34 EXPECT_EQ(expected->keyword(), actual->keyword()); 54 entry->SetString("keyword", update ? "new_fook" : "fook"); 70 entry->SetString("keyword", update ? "new_bark" : "bark"); 75 entry->SetString("keyword", "bazk"); 85 EXPECT_FALSE(data->keyword().empty()); 90 entry->SetString(DefaultSearchManager::kKeyword, data->keyword()); 247 EXPECT_NE(manager.GetDefaultSearchEngine(NULL)->keyword(), 248 first_default.keyword());
|
H A D | template_url_prepopulate_data_unittest.cc | 124 entry->SetString("keyword", "fook"); 142 EXPECT_EQ(ASCIIToUTF16("fook"), t_urls[0]->keyword()); 167 EXPECT_EQ(ASCIIToUTF16("fook"), t_urls[0]->keyword()); 187 entry->SetString("keyword", "bark"); 192 entry->SetString("keyword", "bazk"); 210 entry->SetString("keyword", "fook"); 234 EXPECT_NE(ASCIIToUTF16("fook"), t_urls[i]->keyword()); 266 ASSERT_FALSE(t_urls[i]->keyword().empty());
|
H A D | default_search_policy_handler.cc | 281 // For the name and keyword, default to the host if not specified. If 283 // "file:///c:/..."), use "_" to guarantee that the keyword is non-empty. 284 std::string name, keyword; local 285 dict->GetString(DefaultSearchManager::kKeyword, &keyword); 294 if (keyword.empty()) 367 // For the name and keyword, default to the host if not specified. If 369 // keyword is non-empty. 370 std::string name, keyword; local 378 if (!prefs->GetString(prefs::kDefaultSearchProviderKeyword, &keyword) || 379 keyword [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | plurfmt.cpp | 410 // The keyword is empty until we need to match against a non-explicit, not-"other" value. 411 // Then we get the keyword from the selector. 413 // or if the only non-explicit keyword is "other".) 414 UnicodeString keyword; local 417 // to avoid matching the keyword again (duplicates are allowed) 423 // We remember the first matching-keyword sub-message if we have not seen 427 // We avoid matching the keyword twice by also setting haveKeywordMatch=true 428 // at the first keyword match. 449 // plural keyword like "few" or "other" 454 if(0 == keyword [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | plurfmt.cpp | 410 // The keyword is empty until we need to match against a non-explicit, not-"other" value. 411 // Then we get the keyword from the selector. 413 // or if the only non-explicit keyword is "other".) 414 UnicodeString keyword; local 417 // to avoid matching the keyword again (duplicates are allowed) 423 // We remember the first matching-keyword sub-message if we have not seen 427 // We avoid matching the keyword twice by also setting haveKeywordMatch=true 428 // at the first keyword match. 449 // plural keyword like "few" or "other" 454 if(0 == keyword [all...] |
H A D | ucol_res.cpp | 409 ucol_getKeywordValues(const char *keyword, UErrorCode *status) { argument 413 // hard-coded to accept exactly one collation keyword 414 // modify if additional collation keyword is added later 415 if (keyword==NULL || uprv_strcmp(keyword, KEYWORDS[0])!=0) 443 * -values is the temp location for the keyword values 551 const char* keyword, const char* locale, 554 // N.B.: Resource name is "collations" but keyword is "collation" 556 "collations", keyword, locale, 550 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity, const char* keyword, const char* locale, UBool* isAvailable, UErrorCode* status) argument
|
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | neverallow.c | 23 const char *keyword = "self"; local 24 size_t keyword_size = strlen(keyword), len; 100 if (len == keyword_size && !strncmp(start, keyword, keyword_size)) { 372 const char *keyword = "neverallow"; local 373 size_t keyword_size = strlen(keyword), len; 393 if (len != keyword_size || strncmp(start, keyword, keyword_size))
|
/external/chromium_org/tools/resources/ |
H A D | list_unused_grit_header.py | 189 any(keyword in rest_of_the_file for keyword in SPECIAL_KEYWORDS))
|
/external/e2fsprogs/lib/ss/ |
H A D | ct_c.sed | 54 # Dispatch based on the keyword.... illegal keywords are prefixed by ERROR: 61 s/^/ERROR: unknown keyword: / 65 # Handle the command_table keyword 73 # Handle the request keyword --- this is the heart of the sed script. 156 # Handle the end keyword --- it's basically ignored.
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontDescription.h | 107 Size(unsigned keyword, float value, bool isAbsolute) argument 108 : keyword(keyword) 113 unsigned keyword : 4; // FontDescription::keywordSize member in struct:blink::FontDescription::Size 236 unsigned m_keywordSize : 4; // We cache whether or not a font is currently represented by a CSS keyword (e.g., medium). If so,
|
/external/chromium_org/chrome/browser/ui/webui/omnibox/ |
H A D | omnibox_ui_handler.cc | 82 mojo::String::From(input.associated_keyword->keyword); 84 result->keyword = mojo::String::From(input.keyword);
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
H A D | lexer_unittest.py | 50 def _MakeLexTokenForKeyword(keyword, **kwargs): 51 """Makes a LexToken for the given keyword.""" 52 return _MakeLexToken(keyword.upper(), keyword.lower(), **kwargs)
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | coll.h | 740 * collation. At this point, the only recognized keyword for this 750 * Given a keyword, create a string enumeration of all values 751 * for that keyword that are currently in use. 752 * @param keyword a particular keyword as enumerated by 753 * ucol_getKeywords. If any other keyword is passed in, status is set 756 * @return a string enumeration over collation keyword values, or NULL 760 static StringEnumeration* U_EXPORT2 getKeywordValues(const char *keyword, UErrorCode& status); 766 * plus input keyword and that value has different behavior than creation with the 768 * @param keyword on [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
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 :
|
/external/chromium_org/components/omnibox/ |
H A D | base_search_provider.cc | 109 // that if this match is from a keyword provider, then the user is in keyword 134 // This may be NULL if the template corresponding to the keyword has been 135 // deleted or there is no keyword set. 206 match.keyword = template_url->keyword(); 238 match.fill_into_edit.append(match.keyword + base::char16(' ')); 403 if (match.keyword == i.first->second.keyword) {
|
H A D | keyword_provider_unittest.cc | 75 { "nonsub", "http://nonsubstituting-keyword.com/", "nonsub" }, 150 // verbatim query for this keyword match should not be returned. (It's 157 // Clean up keyword input properly. "http" and "https" are the only 238 // Exact keyword matches with remaining text should return nothing. 244 // Exact keyword matches with remaining text when the keyword is an 245 // extension keyword should return something. This is tested in 273 base::string16 keyword(ASCIIToUTF16("foo")); 274 data.SetKeyword(keyword); 278 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword)); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
H A D | DataTransfer.cpp | 442 bool DataTransfer::hasDropZoneType(const String& keyword) argument 444 if (keyword.startsWith("file:")) 445 return hasFileOfType(keyword.substring(5)); 447 if (keyword.startsWith("string:")) 448 return hasStringOfType(keyword.substring(7));
|
/external/chromium_org/v8/src/ |
H A D | scanner.cc | 991 #define KEYWORD(keyword, token) \ 993 /* 'keyword' is a char array, so sizeof(keyword) is */ \ 994 /* strlen(keyword) plus 1 for the NUL char. */ \ 995 const int keyword_length = sizeof(keyword) - 1; \ 999 input[1] == keyword[1] && \ 1000 (keyword_length <= 2 || input[2] == keyword[2]) && \ 1001 (keyword_length <= 3 || input[3] == keyword[3]) && \ 1002 (keyword_length <= 4 || input[4] == keyword[4]) && \ 1003 (keyword_length <= 5 || input[5] == keyword[ [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | locdispnames.cpp | 587 UEnumeration* kenum = NULL; /* keyword enumeration */ 658 /* adjust for call to get keyword */ 766 uloc_getDisplayKeyword(const char* keyword, argument 786 keyword, 787 keyword, 798 const char* keyword, 819 /* get the keyword value */ 821 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, capacity, status); 824 * if the keyword is equal to currency .. then to get the display name 827 if(uprv_stricmp(keyword, _kCurrenc 797 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | locdispnames.cpp | 587 UEnumeration* kenum = NULL; /* keyword enumeration */ 658 /* adjust for call to get keyword */ 766 uloc_getDisplayKeyword(const char* keyword, argument 786 keyword, 787 keyword, 798 const char* keyword, 819 /* get the keyword value */ 821 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, capacity, status); 824 * if the keyword is equal to currency .. then to get the display name 827 if(uprv_stricmp(keyword, _kCurrenc 797 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/ |
H A D | server.py | 105 def send_header(self, keyword, value): 106 if keyword == 'Last-Modified': 114 keyword,
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | arch.h | 79 const char *keyword; member in struct:yasm_arch_machine 95 * Call yasm_arch_keyword() to get the keyword of a particular #yasm_arch. 97 const char *keyword; member in struct:yasm_arch_module 211 /** Default machine keyword. 236 /** Get the keyword used to select an architecture. 238 * \return Architecture keyword. 256 * \param machine keyword of machine in use (must be one listed in 258 * \param parser keyword of parser in use 443 (((yasm_arch_base *)arch)->module->keyword)
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | coll.h | 717 * collation. At this point, the only recognized keyword for this 727 * Given a keyword, create a string enumeration of all values 728 * for that keyword that are currently in use. 729 * @param keyword a particular keyword as enumerated by 730 * ucol_getKeywords. If any other keyword is passed in, status is set 733 * @return a string enumeration over collation keyword values, or NULL 737 static StringEnumeration* U_EXPORT2 getKeywordValues(const char *keyword, UErrorCode& status); 743 * plus input keyword and that value has different behavior than creation with the 745 * @param keyword on [all...] |