/external/chromium_org/third_party/sqlite/src/test/ |
fts3e.test | 32 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 33 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test'); 34 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test'); 39 SELECT docid FROM t1 ORDER BY docid; 45 SELECT docid FROM t1 WHERE c LIKE '%test' ORDER BY docid; 51 SELECT docid FROM t1 WHERE c LIKE 'That%' ORDER BY docid; 56 # Test lookup by docid (QUERY_DOCID). This kind of query happens fo [all...] |
fts4aa.test | 33 INSERT INTO t1(docid,words) VALUES(1001001,'In the beginning God created the heaven and the earth.'); 34 INSERT INTO t1(docid,words) VALUES(1001002,'And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.'); 35 INSERT INTO t1(docid,words) VALUES(1001003,'And God said, Let there be light: and there was light.'); 36 INSERT INTO t1(docid,words) VALUES(1001004,'And God saw the light, that it was good: and God divided the light from the darkness.'); 37 INSERT INTO t1(docid,words) VALUES(1001005,'And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.'); 38 INSERT INTO t1(docid,words) VALUES(1001006,'And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.'); 39 INSERT INTO t1(docid,words) VALUES(1001007,'And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so.'); 40 INSERT INTO t1(docid,words) VALUES(1001008,'And God called the firmament Heaven. And the evening and the morning were the second day.'); 41 INSERT INTO t1(docid,words) VALUES(1001009,'And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so.'); 42 INSERT INTO t1(docid,words) VALUES(1001010,'And God called the dry land Earth; and the gathering together of the waters (…) [all...] |
fts3b.test | 139 # fts3 adds a new implicit column, docid, which acts as an alias for 150 # Test that docid is present and identical to rowid. 153 SELECT rowid FROM t4 WHERE rowid <> docid; 157 # Test that docid is hidden. 164 # Test that docid can be selected. 167 SELECT docid, * FROM t4 WHERE rowid = 1; 171 # Test that docid can be used in WHERE. 174 SELECT docid, * FROM t4 WHERE docid = 1; 187 # Test that the docid can be forced on insert [all...] |
fts3_common.tcl | 50 set docid 0 57 # First varint of a doclist-entry is the docid. Delta-compressed 58 # with respect to the docid of the previous entry. 60 incr docid [gobble_varint doclist] 61 if {[info exists D($zTerm,$docid)]} { 65 set D($zTerm,$docid) 1 76 set C($docid,$iCol,$iPos) $zTerm 90 set iDoc $E(docid) 97 set es "Error at docid=$iDoc col=$iCol pos=$pos. Index is missing" 101 set es "Error at docid=$iDoc col=$iCol pos=$pos. Index [all...] |
fts3c.test | 52 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 53 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test'); 54 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test'); 66 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid; 108 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 109 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test'); 110 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test'); 111 DELETE FROM t1 WHERE docid = 1; 122 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid; 163 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test') [all...] |
fts3d.test | 54 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 55 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test'); 56 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test'); 58 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 70 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid; 93 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test'); 94 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test'); 95 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test'); 96 DELETE FROM t1 WHERE docid IN (1,3); 100 INSERT INTO t1 (docid, c) SELECT docid, c FROM t1old [all...] |
fts3near.test | 33 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/0 three'} 36 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 two'} 39 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 three'} 42 execsql {SELECT docid FROM t1 WHERE content MATCH 'three NEAR/1 one'} 45 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/1 five'} 48 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/2 five'} 51 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR four'} 54 execsql {SELECT docid FROM t1 WHERE content MATCH 'four NEAR three'} 57 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/0 three'} 60 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/2 one' [all...] |
fts3rnd.test | 27 # generated as in step 1. The docid is a pseudo-randomly selected 39 # SELECT docid FROM <tbl> WHERE <tbl> MATCH '<query>' 130 execsql { INSERT INTO t1(docid, a, b, c) VALUES($rowid, $a, $b, $c) } 187 foreach docid [lsort -integer [array names a]] { 188 if { [lindex [lsort -integer $a($docid)] end] } { 190 foreach i {0 1 2} hit $a($docid) { 193 lappend ret $docid $matchinfo 321 SELECT docid, mit(matchinfo(t1)) FROM t1 WHERE t1 MATCH $term 333 SELECT docid FROM t1 WHERE t1 MATCH $match 343 SELECT docid FROM t1 WHERE t1 MATCH $matc [all...] |
fts3comp1.test | 69 # full-text index and by-docid queries too. 80 SELECT a, b FROM t1 WHERE docid = 2 97 DELETE FROM t1 WHERE docid = 1;
|
e_fts3.test | 153 INSERT INTO pages(docid, title, body) 157 SELECT docid, * FROM pages 165 SELECT docid, * FROM pages 172 SELECT docid, * FROM pages 176 read_test 1.2.1.9 { SELECT docid, * FROM pages } {} 179 INSERT INTO pages(rowid, docid, title, body) VALUES(1, 2, 'A title', 'A document body'); 217 INSERT INTO mail(docid, subject, body) 221 INSERT INTO mail(docid, subject, body) 225 INSERT INTO mail(docid, subject, body) 316 foreach {tn docid content} [all...] |
fts3cov.test | 53 SELECT docid FROM t1 WHERE t1 MATCH 'chilly'; 116 # <docid> <column 0 offset-list> 0x01 <column N> <column N offset-list> 133 INSERT INTO t2(docid, [join $cols ,]) VALUES(1, [join $vals ,]) 136 INSERT INTO t2(docid, [join $cols ,]) VALUES(200, [join $vals ,]) 139 INSERT INTO t2(docid, [join $cols ,]) VALUES(60000, [join $vals ,]) 157 INSERT INTO t3(docid, x) 249 # Update the docid of a row. Test this in two scenarios: 262 UPDATE t7 SET docid = 5; 263 SELECT docid, * FROM t7; 269 UPDATE t7 SET docid = 1 WHERE docid = 6 [all...] |
fts3malloc.test | 100 2 "SELECT * FROM ft WHERE docid = 1" {one neung} 101 3 "SELECT * FROM ft WHERE docid = 2" {two song} 102 4 "SELECT * FROM ft WHERE docid = 3" {{one two} {neung song}} 265 3 {SELECT count(*), sum(docid) FROM ft WHERE a MATCH 'o*'} { 269 4 {SELECT count(*), sum(docid) FROM ft WHERE a MATCH '"two three four"'} { 278 execsql { DELETE FROM ft WHERE docid>=32 }
|
fts3query.test | 63 SELECT docid FROM zoink WHERE zoink MATCH '(apple oranges) AND apple' 68 SELECT docid FROM zoink WHERE zoink MATCH 'apple AND (oranges apple)' 92 execsql { SELECT docid FROM foobar WHERE description MATCH '"high sp d"' }
|
/development/samples/Vault/src/com/example/android/vault/ |
VaultProvider.java | 220 private EncryptedDocument getDocument(long docId) throws GeneralSecurityException { 221 final File file = new File(mDocumentsDir, String.valueOf(docId)); 222 return new EncryptedDocument(docId, file, mDataKey, mMacKey); 228 private void includeDocument(MatrixCursor result, long docId) 230 final EncryptedDocument doc = getDocument(docId); 232 throw new FileNotFoundException("Missing document " + docId); 296 private void initDocument(long docId, String mimeType, String displayName) 298 final EncryptedDocument doc = getDocument(docId); 303 meta.put(Document.COLUMN_DOCUMENT_ID, docId); 318 final long docId = Long.parseLong(documentId) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadStorageProvider.java | 105 public String createDocument(String docId, String mimeType, String displayName) 144 public void deleteDocument(String docId) throws FileNotFoundException { 148 if (mDm.remove(Long.parseLong(docId)) != 1) { 149 throw new IllegalStateException("Failed to delete " + docId); 157 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { 160 if (DOC_ID_ROOT.equals(docId)) { 167 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); 181 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) 260 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) 265 final long id = Long.parseLong(docId); [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 59 // docId format: root:path/to/file 75 public String docId; 152 root.docId = getDocIdForFile(path); 206 private File getFileForDocId(String docId) throws FileNotFoundException { 207 final int splitIndex = docId.indexOf(':', 1); 208 final String tag = docId.substring(0, splitIndex); 209 final String path = docId.substring(splitIndex + 1); 223 throw new FileNotFoundException("Missing file for " + docId + " at " + target); 228 private void includeFile(MatrixCursor result, String docId, File file) 230 if (docId == null) [all...] |
TestDocumentsProvider.java | 311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) 319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { 393 private static void includeFile(MatrixCursor result, String docId, int flags) { 395 row.add(Document.COLUMN_DOCUMENT_ID, docId); 396 row.add(Document.COLUMN_DISPLAY_NAME, docId); 400 if (MY_DOC_ID.equals(docId)) { 403 } else if (MY_DOC_NULL.equals(docId)) {
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 164 private static Ident getIdentForDocId(String docId) { 166 final int split = docId.indexOf(':'); 168 ident.type = docId; 171 ident.type = docId.substring(0, split); 172 ident.id = Long.parseLong(docId.substring(split + 1)); 199 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { 202 final Ident ident = getIdentForDocId(docId); 280 throw new UnsupportedOperationException("Unsupported document " + docId); 290 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) 294 final Ident ident = getIdentForDocId(docId); [all...] |
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | 816 private String docid; field in class:AbstractMessageParser.Video 818 public Video(String docid, String text) { 820 this.docid = docid; 823 public String getDocID() { return docid; } 840 info.add(getRssUrl(docid)); 841 info.add(getURL(docid)); 846 public static String getRssUrl(String docid) { 848 + "?type=docid&output=rss&sourceid=gtalk&docid=" + docid 875 private String docid; field in class:AbstractMessageParser.YouTubeVideo [all...] |
/developers/samples/android/content/documentsUi/StorageProvider/StorageProviderSample/src/main/java/com/example/android/storageprovider/ |
MyCloudProvider.java | 470 * @param docId the document ID representing the desired file (may be null if given file) 471 * @param file the File object representing the desired file (may be null if given docID) 474 private void includeFile(MatrixCursor result, String docId, File file) 476 if (docId == null) { 477 docId = getDocIdForFile(file); 479 file = getFileForDocId(docId); 509 row.add(Document.COLUMN_DOCUMENT_ID, docId); 523 * @param docId the document ID representing the desired file 527 private File getFileForDocId(String docId) throws FileNotFoundException { 529 if (docId.equals(ROOT)) [all...] |
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
MyCloudProvider.java | 470 * @param docId the document ID representing the desired file (may be null if given file) 471 * @param file the File object representing the desired file (may be null if given docID) 474 private void includeFile(MatrixCursor result, String docId, File file) 476 if (docId == null) { 477 docId = getDocIdForFile(file); 479 file = getFileForDocId(docId); 509 row.add(Document.COLUMN_DOCUMENT_ID, docId); 523 * @param docId the document ID representing the desired file 527 private File getFileForDocId(String docId) throws FileNotFoundException { 529 if (docId.equals(ROOT)) [all...] |
/external/clang/www/ |
clang_video-07-25-2007.html | 22 <li><a href="http://video.google.com/videoplay?docid=1921156852099786640">Google Tech Talk Video (19:00-)</a> (Note: the Clang lecture starts at 19 minutes into the video.)
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_write.c | 209 /* 1 */ "SELECT NOT EXISTS(SELECT docid FROM %Q.'%q_content' WHERE rowid!=?)", 233 /* 19 */ "DELETE FROM %Q.'%q_docsize' WHERE docid = ?", 235 /* 21 */ "SELECT size FROM %Q.'%q_docsize' WHERE docid=?", 278 sqlite3_int64 iDocid, /* Docid to bind for SQL_SELECT_DOCSIZE */ 314 sqlite3_int64 iDocid, /* Docid to read size data for */ 455 ** Add a docid/column/position entry to a PendingList structure. Non-zero 465 sqlite3_int64 iDocid, /* Docid for entry to add */ 517 ** pending-terms hash-table. The docid used is that currently stored in 594 ** contents of the document with docid iDocid. 629 ** fts3InsertData(). Parameter iDocid is the docid of the new row [all...] |
fts3Int.h | 147 ** automatically. Variable iPrevDocid is the docid of the most recently 194 ** SELECT docid FROM ex1 WHERE b MATCH 'one two three'; 244 ** Variable pCurrent always points to the start of a docid field within 245 ** aDoclist. Since the doclist is usually scanned in docid order, this can 246 ** be used to accelerate seeking to the required docid within the doclist.
|
fts3.c | 61 ** A doclist (document list) holds a docid-sorted list of hits for a 63 ** A docid is the unique integer identifier for a single document. 73 ** varint docid; 99 ** The 123 value is the first docid. For column zero in this document 104 ** 234 at I is the next docid. It has one position 72 (72-2) and then 108 ** a single docid. A "column-list" is the set of positions for a single 110 ** a document record consists of a docid followed by a position-list and 280 ** Since we're using a segmented structure, with no docid-oriented 283 ** write an empty doclist (varint(docid) varint(POS_END)), for updates 285 ** data for a particular docid with newer data, so deletes or update 2094 sqlite3_int64 docid; local [all...] |