Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 213) sorted by relevance

123456789

/external/chromium/googleurl/src/
Durl_canon_query.cc70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) { in IsAllASCII() argument
71 int end = query.end(); in IsAllASCII()
72 for (int i = query.begin; i < end; i++) { in IsAllASCII()
97 const url_parse::Component& query, in RunConverter() argument
103 ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16); in RunConverter()
111 const url_parse::Component& query, in RunConverter() argument
114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output); in RunConverter()
119 const url_parse::Component& query, in DoConvertToQueryEncoding() argument
122 if (IsAllASCII<CHAR, UCHAR>(spec, query)) { in DoConvertToQueryEncoding()
124 AppendRaw8BitQueryString(&spec[query.begin], query.len, output); in DoConvertToQueryEncoding()
[all …]
Durl_parse.cc112 ParsePath(spec, full_path, &parsed->path, &parsed->query, &parsed->ref); in DoParseAfterScheme()
228 Component* query, in ParsePath() argument
235 query->reset(); in ParsePath()
280 *query = MakeRange(query_separator + 1, query_end); in ParsePath()
282 query->reset(); in ParsePath()
346 parsed->query.reset(); in DoParsePathURL()
391 parsed->query.reset(); // May use this; reset for convenience. in DoParseMailtoURL()
427 parsed->query = MakeRange(i + 1, path_end); in DoParseMailtoURL()
530 Component* query, in DoExtractQueryKeyValue() argument
533 if (!query->is_nonempty()) in DoExtractQueryKeyValue()
[all …]
Durl_canon_relative.cc286 url_parse::Component path, query, ref; in DoResolveRelativePath() local
290 &query, in DoResolveRelativePath()
338 CanonicalizeQuery(relative_url, query, query_converter, in DoResolveRelativePath()
339 output, &out_parsed->query); in DoResolveRelativePath()
351 if (query.is_valid()) { in DoResolveRelativePath()
354 CanonicalizeQuery(relative_url, query, query_converter, in DoResolveRelativePath()
355 output, &out_parsed->query); in DoResolveRelativePath()
363 if (base_parsed.query.is_valid()) in DoResolveRelativePath()
365 CopyOneComponent(base_url, base_parsed.query, output, &out_parsed->query); in DoResolveRelativePath()
405 replacements.SetQuery(relative_url, relative_parsed.query); in DoResolveRelativeHost()
Durl_parse_unittest.cc83 const char* query; member
101 const char* query; member
344 EXPECT_TRUE(ComponentMatches(url, cases[i].query, parsed.query)); in TEST()
380 ExpectInvalidComponent(parsed.query); in TEST()
435 EXPECT_TRUE(ComponentMatches(url, file_cases[i].query, parsed.query)); in TEST()
483 url_parse::Component query = parsed.query; in NthParameterIs() local
487 if (!url_parse::ExtractQueryKeyValue(url, &query, &key, &value)) { in NthParameterIs()
574 EXPECT_TRUE(ComponentMatches(url, mailto_cases[i].query, parsed.query)); in TEST()
Durl_canon_internal.cc329 DoOverrideComponent(repl_source.query, repl_parsed.query, in SetupOverrideComponents()
330 &source->query, &parsed->query); in SetupOverrideComponents()
365 repl_source.query, repl_parsed.query, in SetupUTF16OverrideComponents()
366 utf8_buffer, &parsed->query); in SetupUTF16OverrideComponents()
380 if (repl_source.query) source->query = utf8_buffer->data(); in SetupUTF16OverrideComponents()
Durl_canon.h477 const url_parse::Component& query,
482 const url_parse::Component& query,
596 query(NULL), in URLComponentSource()
609 query(default_value), in URLComponentSource()
619 const CHAR* query; member
704 sources_.query = s; in SetQuery()
705 components_.query = comp; in SetQuery()
708 sources_.query = Placeholder(); in ClearQuery()
709 components_.query = url_parse::Component(); in ClearQuery()
711 bool IsQueryOverridden() const { return sources_.query != NULL; } in IsQueryOverridden()
Durl_parse_file.cc100 &parsed->path, &parsed->query, &parsed->ref); in DoParseUNC()
117 &parsed->path, &parsed->query, &parsed->ref); in DoParseUNC()
134 &parsed->path, &parsed->query, &parsed->ref); in DoParseLocalFile()
151 parsed->query.reset(); in DoParseFileURL()
Dgurl_unittest.cc84 EXPECT_EQ("q=a", url.query()); in TEST()
100 EXPECT_EQ("", url.query()); in TEST()
118 EXPECT_EQ("q=a", url2.query()); in TEST()
133 EXPECT_EQ("", invalid2.query()); in TEST()
150 EXPECT_EQ("", url.query()); in TEST()
241 const char* query; in TEST() member
263 SetupReplacement(&GURL::Replacements::SetQuery, &repl, cur.query); in TEST()
/external/webkit/WebKit/chromium/src/
DLocalizedStrings.cpp48 static String query(WebLocalizedString::Name name) in query() function
53 static String query(WebLocalizedString::Name name, int numericValue) in query() function
60 return query(WebLocalizedString::SearchableIndexIntroduction); in searchableIndexIntroduction()
65 return query(WebLocalizedString::SubmitButtonDefaultLabel); in submitButtonDefaultLabel()
70 return query(WebLocalizedString::InputElementAltText); in inputElementAltText()
75 return query(WebLocalizedString::ResetButtonDefaultLabel); in resetButtonDefaultLabel()
80 return query(WebLocalizedString::FileButtonChooseFileLabel); in fileButtonChooseFileLabel()
85 return query(WebLocalizedString::FileButtonNoFileSelectedLabel); in fileButtonNoFileSelectedLabel()
90 return query(WebLocalizedString::SearchMenuNoRecentSearchesText); in searchMenuNoRecentSearchesText()
94 return query(WebLocalizedString::SearchMenuRecentSearchesText); in searchMenuRecentSearchesText()
[all …]
/external/webkit/WebCore/inspector/front-end/
DDatabaseQueryView.js129 var query = this.prompt.text;
130 if (!query.length)
133 this.prompt.history.push(query);
137 …this.database.executeSql(query, this._queryFinished.bind(this, query), this._queryError.bind(this,…
140 _queryFinished: function(query, result) argument
146 this._appendQueryResult(query, dataGrid.element);
149 if (query.match(/^create /i) || query.match(/^drop table /i))
153 _queryError: function(query, error) argument
162 this._appendQueryResult(query, message, "error");
165 _appendQueryResult: function(query, result, resultClassName) argument
[all …]
DProfileView.js231 performSearch: function(query, finishedCallback) argument
236 query = query.trim();
238 if (!query.length)
243 var greaterThan = (query.indexOf(">") === 0);
244 var lessThan = (query.indexOf("<") === 0);
245 …var equalTo = (query.indexOf("=") === 0 || ((greaterThan || lessThan) && query.indexOf("=") === 1)…
246 var percentUnits = (query.lastIndexOf("%") === (query.length - 1));
247 … var millisecondsUnits = (query.length > 2 && query.lastIndexOf("ms") === (query.length - 2));
248 var secondsUnits = (!millisecondsUnits && query.lastIndexOf("s") === (query.length - 1));
250 var queryNumber = parseFloat(query);
[all …]
DSourceView.js128 performSearch: function(query, finishedCallback) argument
135 function findSearchMatches(query, finishedCallback) argument
137 this._searchResults = this.sourceFrame.findSearchMatches(query);
144 this._delayedFindSearchMatches = findSearchMatches.bind(this, query, finishedCallback);
149 findSearchMatches.call(this, query, finishedCallback);
/external/webkit/WebCore/storage/
DStorageAreaSync.cpp192 SQLiteStatement query(m_database, "SELECT key, value FROM ItemTable"); in performImport() local
193 if (query.prepare() != SQLResultOk) { in performImport()
201 int result = query.step(); in performImport()
203 itemMap.set(query.getColumnText(0), query.getColumnText(1)); in performImport()
204 result = query.step(); in performImport()
288 SQLiteStatement& query = it->second.isNull() ? remove : insert; in sync() local
290 query.bindText(1, it->first); in sync()
294 query.bindText(2, it->second); in sync()
296 int result = query.step(); in sync()
302 query.reset(); in sync()
/external/webkit/WebKitTools/iExploder/htdocs/
Dwebserver.rb50 ie.test_num = req.query['test'].to_i
51 ie.subtest_num = req.query['subtest'].to_i || 0
52 ie.random_mode = req.query['random']
53 ie.lookup_mode = req.query['lookup']
54 ie.stop_num = req.query['stop'].to_i
/external/webkit/WebCore/xml/
DXSLTProcessorQt.cpp135 QXmlQuery query(QXmlQuery::XSLT20); in transformToString() local
139 query.setMessageHandler(&messageHandler); in transformToString()
143 query.bindVariable(QString(it->first), QXmlItem(QVariant(it->second))); in transformToString()
162 query.setFocus(&inputBuffer); in transformToString()
163 query.setQuery(&styleSheetBuffer, QUrl(stylesheet->href())); in transformToString()
165 query.setUriResolver(&uriResolver); in transformToString()
167 success = query.evaluateTo(&outputBuffer); in transformToString()
/external/wpa_supplicant/
Dndis_events.c404 WCHAR query[256]; in notification_query() local
406 _snwprintf(query, 256, in notification_query()
408 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in notification_query()
410 pSvc, L"WQL", query, 0, 0, pDestSink); in notification_query()
495 WCHAR query[MAX_QUERY_LEN]; in ndis_events_get_adapter() local
520 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
523 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
526 pSvc, L"WQL", query, in ndis_events_get_adapter()
560 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
564 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dndis_events.c404 WCHAR query[256]; in notification_query() local
406 _snwprintf(query, 256, in notification_query()
408 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in notification_query()
410 pSvc, L"WQL", query, 0, 0, pDestSink); in notification_query()
495 WCHAR query[MAX_QUERY_LEN]; in ndis_events_get_adapter() local
520 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
523 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
526 pSvc, L"WQL", query, in ndis_events_get_adapter()
560 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
564 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
[all …]
/external/qemu/android/
Dhw-control.c50 static void hw_control_do_query( HwControl* h, uint8_t* query, int querylen );
92 uint8_t* query, in hw_control_do_query() argument
97 T("%s: query %4d '%.*s'", __FUNCTION__, querylen, querylen, query ); in hw_control_do_query()
99 q = if_starts_with( query, querylen, "power:light:brightness:" ); in hw_control_do_query()
/external/webkit/WebKit/chromium/tests/
DKURLTest.cpp57 const char* query; member
72 const char* query; in TEST() member
93 EXPECT_EQ(cases[i].query, kurl.query()); in TEST()
107 EXPECT_EQ(cases[i].query, kurl.query()); in TEST()
144 EXPECT_EQ(cases[i].query, kurl.query()); in TEST()
198 const char* query; in TEST() member
254 kurl.setQuery(cases[i].query); in TEST()
430 const char query[] = "foo=bar"; in TEST() local
431 kurl.setQuery(query); in TEST()
/external/netcat/data/
Ddns-any.d1 # dns "any for ." query, to udp 53
8 0 # query id = 2
11 1 # flags/opcodes = query, dorecurse
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionClient.java60 String query = url.getQuery(); in execute() local
61 if (query != null && query.length() > 0) { in execute()
62 headers.append("?").append(query); in execute()
/external/webkit/WebKit/chromium/src/js/
DHeapProfilerPanel.js203 performSearch: function(query, finishedCallback) argument
208 query = query.trimWhitespace();
210 if (!query.length)
217 var operationAndNumber = helper.parseOperationAndNumber(query);
221 var percentUnits = helper.percents.test(query);
222 var megaBytesUnits = helper.megaBytes.test(query);
223 var kiloBytesUnits = helper.kiloBytes.test(query);
224 var bytesUnits = helper.bytes.test(query);
245 if (heapSnapshotDataGridNode.constructorName.hasSubstring(query, true))
439 parseOperationAndNumber: function(query) argument
[all …]
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java99 String query = httpRequest.getURI().getQuery(); in dump() local
100 if (query != null && query.length() > 0) { in dump()
101 request.append("?").append(query); in dump()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java73 final String query = uri.getRawQuery(); in parse() local
74 if (query != null && query.length() > 0) { in parse()
76 parse(result, new Scanner(query), encoding); in parse()
/external/chromium/base/
Dtracked_objects.cc123 static std::string UnescapeQuery(const std::string& query) { in UnescapeQuery() argument
125 for (size_t i = 0; i < query.size(); i++) { in UnescapeQuery()
126 char next = query[i]; in UnescapeQuery()
127 if ('%' == next && i + 2 < query.size()) { in UnescapeQuery()
128 std::string hex = query.substr(i + 1, 2); in UnescapeQuery()
148 void ThreadData::WriteHTML(const std::string& query, std::string* output) { in WriteHTML() argument
155 std::string escaped_query = UnescapeQuery(query); in WriteHTML()
913 bool Comparator::ParseQuery(const std::string& query) { in ParseQuery() argument
915 for (size_t i = 0; i < query.size();) { in ParseQuery()
916 size_t slash_offset = query.find('/', i); in ParseQuery()
[all …]

123456789