/external/webkit/Source/WebCore/css/ |
MediaQueryMatcher.cpp | 34 MediaQueryMatcher::Listener::Listener(PassRefPtr<MediaQueryListListener> listener, PassRefPtr<MediaQueryList> query) 36 , m_query(query) 104 PassRefPtr<MediaQueryList> MediaQueryMatcher::matchMedia(const String& query) 109 RefPtr<MediaList> media = MediaList::create(query, false); 113 void MediaQueryMatcher::addListener(PassRefPtr<MediaQueryListListener> listener, PassRefPtr<MediaQueryList> query) 119 if (*m_listeners[i]->listener() == *listener && m_listeners[i]->query() == query) 123 m_listeners.append(new Listener(listener, query)); 126 void MediaQueryMatcher::removeListener(MediaQueryListListener* listener, MediaQueryList* query) 132 if (*m_listeners[i]->listener() == *listener && m_listeners[i]->query() == query) [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngine.java | 43 public void startSearch(Context context, String query, Bundle appData, String extraData); 48 public Cursor getSuggestions(Context context, String query); 66 * Checks whether this search engine should be sent zero char query.
|
/external/chromium/chrome/browser/google/ |
google_util.cc | 17 // A helper method for adding a query param to |url|. 21 std::string query(url.query()); 22 if (!query.empty()) 23 query += "&"; 24 query += param_name + "=" + param_value; 26 repl.SetQueryStr(query);
|
/external/chromium/chrome/browser/sync/util/ |
user_settings_posix.cc | 48 SQLStatement query; local 49 query.prepare(dbhandle.get(), 52 query.bind_string(0, service_name.c_str()); 54 if (SQLITE_ROW == query.step()) { 56 query.column_blob_as_string(1, &encrypted_service_token); 61 *username = query.column_string(0);
|
user_settings_unittest.cc | 72 const char* query = "INSERT INTO db_version VALUES(?)"; local 73 sql::Statement s(db.GetUniqueStatement(query)); 75 LOG(FATAL) << query << "\n" << db.GetErrorMessage(); 79 LOG(FATAL) << query << "\n" << db.GetErrorMessage(); 88 const char* query = "INSERT INTO shares VALUES(?, ?, ?)"; local 89 sql::Statement s(db.GetUniqueStatement(query)); 91 LOG(FATAL) << query << "\n" << db.GetErrorMessage(); 101 LOG(FATAL) << query << "\n" << db.GetErrorMessage(); 122 const char* query = "INSERT INTO db_version VALUES(?)"; local 123 sql::Statement s(db.GetUniqueStatement(query)); 135 const char* query = "INSERT INTO signin_types VALUES(?, ?)"; local 186 const char* query = "SELECT version FROM db_version"; local 218 const char* query = "SELECT version FROM db_version"; local [all...] |
user_settings.cc | 35 void ExecOrDie(sqlite3* dbhandle, const char *query) { 37 statement.prepare(dbhandle, query); 39 LOG(FATAL) << query << "\n" << sqlite3_errmsg(dbhandle); 293 SQLStatement query; local 294 query.prepare(dbhandle.get(), 297 query.bind_string(0, signin); 298 query.bind_string(1, primary_email); 299 int query_result = query.step(); 301 int32 count = query.column_int(0); 302 query.reset() 335 SQLStatement query; local 395 SQLStatement query; local 447 SQLStatement query; local [all...] |
/external/netcat/data/ |
dns-any.d | 1 # dns "any for ." query, to udp 53 8 0 # query id = 2 11 1 # flags/opcodes = query, dorecurse
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockShortcutRepository.java | 45 public void getShortcutsForQuery(String query, Collection<Corpus> corporaToQuery, 47 ShortcutCursor cursor = getShortcutsForQuery(query, corporaToQuery); 54 public ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> corporaToQuery) { 56 ShortcutCursor cursor = new ShortcutCursor(query, null, null, null); 57 cursor.add(MockSource.SOURCE_1.createSuggestion(query + "_1_shortcut")); 58 cursor.add(MockSource.SOURCE_2.createSuggestion(query + "_2_shortcut"));
|
MockSource.java | 43 public SuggestionData createSuggestion(String query) { 45 .setText1(query) 47 .setSuggestionQuery(query); 136 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { 137 if (query.length() == 0) { 140 ListSuggestionCursor cursor = new ListSuggestionCursor(query); 141 cursor.add(createSuggestion(query + "_1")); 142 cursor.add(createSuggestion(query + "_2")); 143 return new Result(query, cursor); 146 public SuggestionData createSuggestion(String query) { [all...] |
/external/webkit/Tools/TestResultServer/model/ |
testfile.py | 66 query = TestFile.all() 68 query = query.filter("master =", master) 70 query = query.filter("builder =", builder) 72 query = query.filter("test_type =", test_type) 74 query = query.filter("name =", name) 76 files = query.order("-date").fetch(limit [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
WebCorpus.java | 79 private boolean isUrl(String query) { 80 return Patterns.WEB_URL.matcher(query).matches(); 83 public Intent createSearchIntent(String query, Bundle appData) { 84 if (isUrl(query)) { 85 return createBrowseIntent(query); 87 return mWebSearchSource.createSearchIntent(query, appData); 93 private Intent createBrowseIntent(String query) { 98 String url = URLUtil.guessUrl(query); 153 protected List<Source> getSourcesToQuery(String query, boolean onlyCorpus) { 156 if (mBrowserSource != null && query.length() > 0) [all...] |
SingleSourceCorpus.java | 60 public CorpusResult getSuggestions(String query, int queryLimit, boolean onlyCorpus) { 62 SourceResult sourceResult = mSource.getSuggestions(query, queryLimit, true); 64 return new SingleSourceCorpusResult(this, query, sourceResult, latency); 83 public Intent createSearchIntent(String query, Bundle appData) { 84 return mSource.createSearchIntent(query, appData);
|
QueryTask.java | 42 * Creates a new query task. 44 * @param query Query to run. 48 * get called on. If null, the method is called on the query thread. 52 public QueryTask(String query, int queryLimit, SuggestionCursorProvider<C> provider, 54 mQuery = query; 77 public static <C extends SuggestionCursor> void startQueries(String query, 84 QueryTask.startQuery(query, maxResultsPerProvider, provider, 89 public static <C extends SuggestionCursor> void startQuery(String query, 95 QueryTask<C> task = new QueryTask<C>(query, maxResultsPerProvider, provider, handler [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
directory_backing_store.cc | 51 int ExecQuery(sqlite3* dbhandle, const char* query) { 53 int result = statement.prepare(dbhandle, query); 135 string query; local 136 query.reserve(kUpdateStatementBufferSize); 139 query.push_back(separator); 141 query.append(column->name); 142 query.push_back(' '); 143 query.append(column->spec); 145 query.push_back(')'); 146 return query; 334 string query = "DELETE FROM metas WHERE metahandle IN ("; local 583 SQLStatement query; local 612 SQLStatement query; local 627 SQLStatement query; local 639 string query; local 695 string query = "DROP TABLE IF EXISTS "; local 747 SQLStatement query; local 1173 string query = "CREATE TABLE "; local 1207 string query = "CREATE TABLE "; local 1233 string query = "CREATE TABLE "; local [all...] |
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
CrashingSuggestionProvider.java | 48 public Cursor query(Uri uri, String[] projectionIn, String selection, method in class:CrashingSuggestionProvider 50 Log.d(TAG, "query(" + uri + ")"); 53 String query = null; local 55 query = path.get(path.size()-1); 58 if ("crash".equals(query)) { 61 } else if ("exit".equals(query)) { 66 if ("icon".equals(query)) { 79 } else if ("icon2".equals(query)) {
|
HangingSuggestionProvider.java | 43 public Cursor query(Uri uri, String[] projectionIn, String selection, method in class:HangingSuggestionProvider 45 Log.d(TAG, "query(" + uri + ")"); 48 String query = null; local 50 query = path.get(path.size()-1); 53 if ("hang".equals(query)) { 58 if ("icon".equals(query)) { 71 } else if ("icon2".equals(query)) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserProviderTests.java | 97 String query = "\u30ae\u30e3\u30e9\u30ea\u30fc"; local 98 assertInsertQuery("http://www.example.com/sdaga", title, query); 104 String query = "\u30ad\u30e3\u30e9\u30ea\u30fc"; local 105 assertInsertQuery("http://www.example.com/sdaga", title, query); 112 private void assertInsertQuery(String url, String title, String query) { 114 assertQueryReturns(url, title, query); 117 private void assertQueryReturns(String url, String title, String query) { 118 Cursor c = getBookmarksSuggest(query); 120 assertTrue(title + " not matched by " + query, c.getCount() > 0); 121 assertTrue("More than one result for " + query, c.getCount() == 1) [all...] |
/external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/ |
webserver.rb | 50 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/Source/WebCore/inspector/front-end/ |
DatabaseQueryView.js | 33 this.element.addStyleClass("query"); 40 this.promptElement.className = "database-query-prompt"; 129 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, query)); 140 _queryFinished: function(query, columnNames, values) 143 var trimmedQuery = query.trim() [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQuery.java | 24 * A SQLite program that represents a query that reads the resulting rows into a CursorWindow. 44 * Create a persistent query object. 46 * @param db The database that this query object is associated with 47 * @param query The SQL string for this query. 50 /* package */ SQLiteQuery(SQLiteDatabase db, String query, int offsetIndex, String[] bindArgs) { 51 super(db, query); 58 * This constructor is used when the current Query object is now associated with a different 61 * @param db The database that this query object is associated with 62 * @param query the instance of {@link SQLiteQuery} to be replace [all...] |
SQLiteQueryBuilder.java | 54 * Mark the query as DISTINCT. 56 * @param distinct if true the query is DISTINCT, otherwise it isn't 72 * Sets the list of tables to query. Multiple tables can be specified to perform a join. 77 * @param inTables the list of tables to query on 84 * Append a chunk to the WHERE clause of the query. All chunks appended are surrounded 85 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 88 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 103 * Append a chunk to the WHERE clause of the query. All chunks appended are surrounded 104 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 107 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter> 209 StringBuilder query = new StringBuilder(120); local 288 public Cursor query(SQLiteDatabase db, String[] projectionIn, method in class:SQLiteQueryBuilder 327 public Cursor query(SQLiteDatabase db, String[] projectionIn, method in class:SQLiteQueryBuilder 551 StringBuilder query = new StringBuilder(128); local [all...] |
/bionic/libc/private/ |
resolv_cache.h | 76 RESOLV_CACHE_NOTFOUND, /* the cache doesn't know about this query */ 82 const void* query, 88 /* add a (query,answer) to the cache, only call if _resolv_cache_lookup 93 const void* query,
|
/external/chromium/chrome/browser/history/ |
query_parser.cc | 67 // A QueryNodeWord is a single word in the query. 73 virtual int AppendToSQLiteQuery(string16* query) const; 115 int QueryNodeWord::AppendToSQLiteQuery(string16* query) const { 116 query->append(word_); 120 *query += L'*'; 130 virtual int AppendToSQLiteQuery(string16* query) const { 131 return AppendChildrenToString(query); 156 int AppendChildrenToString(string16* query) const; 187 int QueryNodeList::AppendChildrenToString(string16* query) const { 192 query->push_back(L' ') [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | 181 String query = "insert into zoo(id, family, name) values(?, ?, 'unknown animal')"; local 182 ps = conn.prepareStatement(query); 200 String query = "update zoo set name='Masha', family=? where id=?;"; local 201 ps = conn.prepareStatement(query); 221 String query = "create table hutch (id integer not null, animal_id integer, address char(20), primary key (id));"; local 222 ps = conn.prepareStatement(query); 233 String query = "select name, family from zoo where id = ?"; local 234 ps = conn.prepareStatement(query); 245 String query = "select name, family from zoo where id = ?"; local 246 ps = conn.prepareStatement(query); 256 String query = "update zoo set name='Masha', family=? where id=?;"; local 294 String query = "select * from zoo where id = ?"; local 346 String query = "update zoo set name='Masha', family='cat' where id=?;"; local 373 String query = "update zoo set name='Masha', family='cat' where id=?;"; local 386 String query = "select * from zoo where id = ?"; local 410 String query = "select * from zoo where id = ?"; local 442 String query = "select * from zoo where id = ? and family=?"; local 489 String query = "insert into type (IntVal) values (?);"; local 544 String query = "insert into type (LongVal) values (?);"; local 597 String query = "insert into type (FloatVal) values (?);"; local 650 String query = "insert into type (DoubleVal) values (?);"; local 706 String query = "insert into type (charStr) values (?);"; local 778 String query = "insert into type (TText) values (?);"; local 858 String query = "insert into type (TextVal) values (?);"; local 933 String query = "insert into type (MText) values (?);"; local 1002 String query = "insert into type (LText) values (?);"; local 1071 String query = "insert into type (Sint) values (?);"; local 1139 String query = "insert into type (BoolVal) values (?);"; local 1198 String query = "insert into type (Tint) values (?);"; local 1265 String query = "insert into type (LBlob) values (?);"; local 1313 String query = "insert into type (DecVal) values (?);"; local 1361 String query = "insert into type (dateVal) values (?);"; local 1419 String query = "insert into type (dateVal) values (?);"; local 1464 String query = "insert into type (BoolVal, IntVal) values ('true', ?);"; local 1556 String query = "insert into person (name, address) values ('Hans', ?);"; local 1640 String query = "insert into type (IntVal) values (?);"; local 1739 String query = "insert into type (IntVal) values (?);"; local 1832 String query = "insert into type (IntVal) values (?);"; local 1928 String query = "insert into type (timeVal) values (?);"; local 1988 String query = "insert into type (timeVal) values (?);"; local 2040 String query = "insert into type (TS) values (?);"; local 2115 String query = "insert into type (timeVal) values (?);"; local 2163 String query = "insert into type (TText) values (?);"; local 2181 String query = "insert into type (TText) values (?);"; local 2213 String query = "insert into type (TText) values (?);"; local 2228 String query = "insert into type (TText) values (?);"; local 2239 String query = "insert into type (TText) values (?);"; local 2254 String query = "insert into type (TText) values (?);"; local [all...] |
/external/llvm/utils/ |
plotNLT.pl | 36 $query = "Select RUN, VALUE from Tests where TEST = '$test' AND NAME = '$prog' ORDER BY RUN"; 37 #print "\n$query\n"; 39 my $sth = $dbh->prepare( $query) || die "Can't prepare statement: $DBI::errstr";;
|