HomeSort by relevance Sort by last modified time
    Searched defs:keyword (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium/chrome/browser/ui/views/location_bar/
keyword_hint_view.h 23 // user when the selected url has a corresponding keyword.
39 void SetKeyword(const string16& keyword);
40 string16 keyword() const { return keyword_; } function in class:KeywordHintView
54 // The keyword.
selected_keyword_view.h 35 // The current keyword, or an empty string if no keyword is displayed.
36 void SetKeyword(const string16& keyword);
37 string16 keyword() const { return keyword_; } function in class:SelectedKeywordView
42 // The keyword we're showing. If empty, no keyword is selected.
48 // label contains the complete description of the keyword, the second
  /libcore/luni/src/main/native/
libcore_icu_NativePluralRules.cpp 42 UnicodeString keyword = toPluralRules(address)->select(value); local
43 if (keyword == "zero") {
45 } else if (keyword == "one") {
47 } else if (keyword == "two") {
49 } else if (keyword == "few") {
51 } else if (keyword == "many") {
  /external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/
X500PrincipalTest.java 42 Map<String, String> keyword = new HashMap<String, String>(); local
43 keyword.put("CN", "2.19");
44 keyword.put("OU", "1.2.5.19");
45 keyword.put("O", "1.2.5");
46 X500Principal X500p = new X500Principal("CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US ,CN=DD",keyword);
68 Map<String, String> keyword = new HashMap<String, String>(); local
69 keyword.put("CN", "2.19");
70 keyword.put("OU", "1.2.5.19");
71 keyword.put("O", "1.2.5");
72 X500Principal X500p = new X500Principal("CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US ,CN=DD",keyword);
    [all...]
  /external/chromium/chrome/browser/autocomplete/
autocomplete_popup_model.cc 103 string16 keyword; local
104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword);
113 keyword, is_keyword_hint);
116 keyword, is_keyword_hint);
132 string16* keyword) const {
133 // If the current match is a keyword, return that as the selected keyword.
135 keyword->assign(match.template_url->keyword());
139 // See if the current match's fill_into_edit corresponds to a keyword
    [all...]
autocomplete_edit.h 55 // status of any keyword- or hint-related state.
93 const string16& keyword,
99 const string16 keyword; member in struct:AutocompleteEditModel::State
256 const string16& keyword);
260 // Accessors for keyword-related state (see comments on keyword_ and
262 const string16& keyword() const { return keyword_; } function in class:AutocompleteEditModel
265 // Accepts the current keyword hint as a keyword. It always returns true for
269 // Clears the current keyword. |visible_text| is the (non-keyword) tex
    [all...]
keyword_provider.cc 25 // Helper functor for Start(), for ending keyword mode unless explicitly told
59 : AutocompleteProvider(listener, profile, "Keyword"),
76 : AutocompleteProvider(listener, NULL, "Keyword"),
84 // Helper functor for Start(), for sorting keyword matches by quality.
87 // A keyword is of higher quality when a greater fraction of it has been
91 // probably better rankings than the fraction of the keyword typed. We should
114 string16 keyword;
115 if (!ExtractKeywordFromInput(input, &keyword, remaining_input))
124 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword);
130 // This object ensures we end keyword mode if we exit the function withou
157 string16 keyword, remaining_input; local
464 string16 keyword, remaining_input; local
    [all...]
autocomplete_edit.cc 50 const string16& keyword,
54 keyword(keyword),
121 // NOTE: Be sure and set keyword-related state BEFORE invoking
123 keyword_ = state.keyword;
295 // * the user is not typing a keyword query.
422 // The final parameter to OpenURL, keyword, is not quite correct here: it's
423 // possible to "paste and go" a string that contains a keyword. This is
486 const string16& keyword) {
503 if (template_url_model && !keyword.empty())
834 string16 keyword; local
996 string16 keyword; local
    [all...]
autocomplete_popup_view_gtk.cc 480 string16 keyword; local
481 const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword);
483 is_keyword_hint ? string16() : keyword);
  /external/chromium/chrome/browser/history/
url_database_unittest.cc 125 // Tests adding, querying and deleting keyword visits.
136 // Add a keyword visit.
138 string16 keyword = UTF8ToUTF16("visit"); local
139 ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id, keyword_id, keyword));
143 GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches);
145 ASSERT_EQ(keyword, matches[0].term);
151 EXPECT_EQ(keyword, keyword_search_term_row.term);
153 // Delete the keyword visit.
158 GetMostRecentKeywordSearchTerms(keyword_id, keyword, 10, &matches);
164 // Make sure deleting a URL also deletes a keyword visit
    [all...]
  /external/chromium/chrome/browser/search_engines/
template_url_fetcher.cc 29 const string16& keyword,
53 // Keyword to use.
54 string16 keyword() const { return keyword_; } function in class:TemplateURLFetcher::RequestDelegate
79 const string16& keyword,
87 keyword_(keyword),
129 // Make sure we can still replace the keyword, i.e. the fetch was successful.
158 // Generate new keyword from URL in OSDD for none autodetected case.
159 // Previous keyword was generated from URL where OSDD was placed and
182 // Try to generate a keyword automatically when we are setting the default
183 // provider. The keyword isn't as important in this case
    [all...]
template_url_fetcher_unittest.cc 80 void StartDownload(const string16& keyword,
158 const string16& keyword,
175 keyword, osdd_url, favicon_url, new TemplateURLFetcherTestCallbacks(this),
187 string16 keyword(ASCIIToUTF16("test"));
190 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword));
193 StartDownload(keyword, osdd_file_name,
205 keyword);
213 string16 keyword(ASCIIToUTF16("test"));
216 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword));
219 StartDownload(keyword, osdd_file_name
228 string16 keyword; member in struct:__anon3014
    [all...]
template_url_model.h 67 const char* const keyword; member in struct:TemplateURLModel::Initializer
77 // Generates a suitable keyword for the specified url. Returns an empty
78 // string if a keyword couldn't be generated. If |autodetected| is true, we
84 // Removes any unnecessary characters from a user input keyword.
86 static string16 CleanUserInputKeyword(const string16& keyword);
100 // keyword/url pair, or there is one but it can be replaced. If there is an
101 // existing keyword that can be replaced and template_url_to_replace is
102 // non-NULL, template_url_to_replace is set to the keyword to replace.
106 bool CanReplaceKeyword(const string16& keyword,
117 // Looks up |keyword| and returns the element it maps to. Returns NULL i
    [all...]
template_url.cc 628 void TemplateURL::set_keyword(const string16& keyword) {
629 // Case sensitive keyword matching is confusing. As such, we force all
631 keyword_ = l10n_util::ToLower(keyword);
635 string16 TemplateURL::keyword() const { function in class:TemplateURL
642 // Generate a keyword and cache it.
  /external/chromium/chrome/browser/ui/search_engines/
search_engine_tab_helper.cc 54 // Checks to see if we should generate a keyword based on the OSDD, and if
56 // keyword.
93 // a form submit and use its url to generate the keyword from.
112 string16 keyword = TemplateURLModel::GenerateKeyword(
117 // new keyword will be created when done.
119 keyword,
145 // Only generate a keyword if the previous page wasn't itself a form
152 string16 keyword = local
154 if (keyword.empty())
169 if (!url_model->CanReplaceKeyword(keyword, url, &current_url)
    [all...]
template_url_table_model.cc 191 // Keyword should be domain name. Force it to have LTR directionality.
192 string16 keyword = url.keyword(); local
193 keyword = base::i18n::GetDisplayStringInLTRDirectionality(keyword);
194 return keyword;
269 const string16& keyword,
274 template_url_model_->ResetTemplateURL(template_url, title, keyword, url);
331 const TemplateURL* keyword = &GetTemplateURL(index); local
334 if (current_default == keyword)
    [all...]
  /external/chromium/chrome/browser/importer/
profile_import_process_messages.h 260 WriteParam(m, p.keyword());
287 string16 keyword; local
311 !ReadParam(m, iter, &keyword) ||
345 p->set_keyword(keyword);
436 int, /* default keyword index */
firefox3_importer.cc 49 std::string keyword; member in struct:Firefox3Importer::BookmarkItem
280 // This bookmark has a keyword, we import it to our TemplateURL model.
282 item->title, UTF8ToUTF16(item->keyword), item->url);
515 "b.type, k.keyword, b.dateAdded, h.favicon_id "
534 item->keyword = s.ColumnString(4);
importer_unittest.cc 254 // TODO(jcampan): bug 1169230: we should test keyword importing for IE.
516 const wchar_t* keyword; member in struct:KeywordList
570 EXPECT_EQ(kFirefox2Keywords[kDefaultFirefox2KeywordIndex].keyword,
624 string16 keyword = template_urls[i]->keyword(); local
626 if (template_urls[i]->keyword() ==
627 WideToUTF16Hack(kFirefox2Keywords[j].keyword)) {
640 default_keyword_ = UTF16ToWideHack(default_turl->keyword());
774 EXPECT_EQ(kFirefox3Keywords[kDefaultFirefox3KeywordIndex].keyword,
834 string16 keyword = template_urls[i]->keyword() local
    [all...]
  /external/chromium/chrome/browser/policy/
configuration_policy_pref_store_unittest.cc 541 const char* const keyword = "MyKeyword"; local
551 Value::CreateStringValue(keyword));
573 EXPECT_TRUE(StringValue(keyword).Equals(value));
594 const char* const keyword = "MyKeyword"; local
602 Value::CreateStringValue(keyword));
634 const char* const keyword = "MyKeyword"; local
644 Value::CreateStringValue(keyword));
  /external/chromium/chrome/browser/ui/webui/options/
search_engine_manager_handler.cc 153 dict->SetString("keyword", table_model->GetText(
217 const string16& keyword,
220 list_controller_->ModifyTemplateURL(template_url, title, keyword, url);
222 list_controller_->AddTemplateURL(title, keyword, url);
233 string16 keyword; local
237 !args->GetString(ENGINE_KEYWORD, &keyword) ||
246 validity.SetBoolean("keyword", edit_controller_->IsKeywordValid(keyword));
264 string16 keyword; local
267 !args->GetString(ENGINE_KEYWORD, &keyword) ||
    [all...]
  /external/icu4c/i18n/
selfmt.cpp 101 UnicodeString keyword ; local
143 keyword += ch;
153 //Handle the keyword state
161 keyword += ch;
198 //Matching keyword, phrase pair found
200 //Check validity of keyword
201 if (parsedValuesHash->get(keyword) != NULL) {
206 if (keyword.length() == 0) {
212 //Store the keyword, phrase pair in hashTable
214 parsedValuesHash->put( keyword, ptrPhrase, status)
    [all...]
  /external/bluetooth/glib/gobject/
glib-genmarshal.c 50 gchar *keyword; /* marhaller list keyword [MY_STRING] */ member in struct:__anon2139
57 gchar *keyword; /* marhaller list keyword [MY_STRING] */ member in struct:__anon2140
185 /* keyword sig_name ctype getter */
214 if (strcmp (args[i].keyword, iarg->keyword) == 0)
229 /* keyword sig_name ctype setter */
258 if (strcmp (args[i].keyword, oarg->keyword) == 0
    [all...]
  /external/icu4c/common/
locdispnames.cpp 440 const char *keyword = NULL; local
602 keyword = uenum_next(keywordEnum, &keywordLen, pErrorCode);
604 length3 += uloc_getDisplayKeyword(keyword, displayLocale, dest+length+length3, destCapacity-length-length3, pErrorCode);
606 length3 += uloc_getDisplayKeyword(keyword, displayLocale, NULL, 0, pErrorCode);
612 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, 256, pErrorCode);
619 length3 += uloc_getDisplayKeywordValue(locale, keyword, displayLocale, dest+length+length3, destCapacity-length-length3, pErrorCode);
621 length3 += uloc_getDisplayKeywordValue(locale, keyword, displayLocale, NULL, 0, pErrorCode);
708 uloc_getDisplayKeyword(const char* keyword,
728 keyword,
729 keyword,
    [all...]
  /external/v8/src/
preparser.cc 571 // In ECMA-262 'debugger' is defined as a reserved keyword. In some browser
636 // expressions we always accept the 'in' keyword; see ECMA-262,
761 // The grammar for new expressions is pretty warped. The keyword
1170 const char* keyword = i::Token::String(next); local
    [all...]

Completed in 959 milliseconds

1 2