/external/chromium_org/chrome/browser/predictors/ |
predictor_table_base.cc | 21 void PredictorTableBase::Initialize(sql::Connection* db) { 22 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 23 db_ = db; 31 sql::Connection* PredictorTableBase::DB() { 32 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 37 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 42 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
|
autocomplete_action_predictor_table.cc | 79 CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB)); 83 sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 94 CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB)); 100 sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 113 CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB)); 122 CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB)); 132 CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB)); 136 if (!DB()->BeginTransaction()) 140 sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 146 DB()->RollbackTransaction() [all...] |
logged_in_predictor_table.cc | 56 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 60 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 71 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 75 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 89 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 94 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 108 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 112 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 124 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 130 Statement statement(DB()->GetUniqueStatement [all...] |
resource_prefetch_predictor_tables.cc | 166 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 186 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 193 DB()->BeginTransaction(); 198 DB()->RollbackTransaction(); 200 DB()->CommitTransaction(); 206 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 221 CHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 232 Statement deleter(DB()->GetUniqueStatement( 235 deleter.Assign(DB()->GetUniqueStatement( 238 deleter.Assign(DB()->GetUniqueStatement 404 sql::Connection* db = DB(); local [all...] |
predictor_table_base.h | 27 // DB thread functions. 30 void Initialize(sql::Connection* db); 32 sql::Connection* DB();
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_oaep_encode.c | 40 unsigned char *DB, *seed, *mask; 66 /* allocate ram for DB/mask/salt of size modulus_len */ 67 DB = XMALLOC(modulus_len); 70 if (DB == NULL || mask == NULL || seed == NULL) { 71 if (DB != NULL) { 72 XFREE(DB); 84 /* DB == lhash || PS || 0x01 || M, PS == k - mlen - 2hlen - 2 zeroes */ 87 if ((err = hash_memory(hash_idx, lparam, lparamlen, DB, &x)) != CRYPT_OK) { 91 /* can't pass hash_memory a NULL so use DB with zero length */ 92 if ((err = hash_memory(hash_idx, DB, 0, DB, &x)) != CRYPT_OK) [all...] |
pkcs_1_oaep_decode.c | 39 unsigned char *DB, *seed, *mask; 63 /* allocate ram for DB/mask/salt of size modulus_len */ 64 DB = XMALLOC(modulus_len); 67 if (DB == NULL || mask == NULL || seed == NULL) { 68 if (DB != NULL) { 69 XFREE(DB); 99 /* now read the masked DB */ 100 XMEMCPY(DB, msg + x, modulus_len - hLen - 1); 104 if ((err = pkcs_1_mgf1(hash_idx, DB, modulus_len - hLen - 1, mask, hLen)) != CRYPT_OK) { 118 /* xor against DB */ [all...] |
pkcs_1_pss_encode.c | 39 unsigned char *DB, *mask, *salt, *hash; 64 /* allocate ram for DB/mask/salt/hash of size modulus_len */ 65 DB = XMALLOC(modulus_len); 69 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) { 70 if (DB != NULL) { 71 XFREE(DB); 98 zeromem(DB, 8); 99 if ((err = hash_descriptor[hash_idx].process(&md, DB, 8)) != CRYPT_OK) { 112 /* generate DB = PS || 0x01 || salt, PS == modulus_len - saltlen - hLen - 2 zero bytes */ 114 XMEMSET(DB + x, 0, modulus_len - saltlen - hLen - 2) [all...] |
pkcs_1_pss_decode.c | 37 unsigned char *DB, *mask, *salt, *hash; 62 /* allocate ram for DB/mask/salt/hash of size modulus_len */ 63 DB = XMALLOC(modulus_len); 67 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) { 68 if (DB != NULL) { 69 XFREE(DB); 89 /* copy out the DB */ 91 XMEMCPY(DB, sig + x, modulus_len - hLen - 1); 109 /* xor against DB */ 111 DB[y] ^= mask[y] [all...] |
/external/harfbuzz/src/ |
harfbuzz-shaper.cpp | 47 EX->AL from DB to IB 48 SY->AL from DB to IB 49 SY->PO from DB to IB 50 SY->PR from DB to IB 51 SY->OP from DB to IB 52 AL->PR from DB to IB 53 AL->PO from DB to IB 54 PR->PR from DB to IB 55 PO->PO from DB to IB 56 PR->PO from DB to I [all...] |
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
db.h | 24 // Abstract handle to particular state of a DB. 41 // A DB is a persistent ordered map from keys to values. 42 // A DB is safe for concurrent access from multiple threads without 44 class DB { 53 DB** dbptr); 55 DB() { } 56 virtual ~DB(); 91 // The returned iterator should be deleted before this db is deleted. 94 // Return a handle to the current DB state. Iterators created with 95 // this handle will all observe a stable snapshot of the current DB [all...] |
/external/chromium/chrome/browser/sync/glue/ |
database_model_worker.cc | 15 if (BrowserThread::CurrentlyOn(BrowserThread::DB)) { 16 DLOG(WARNING) << "DoWorkAndWaitUntilDone called from the DB thread."; 21 if (!BrowserThread::PostTask(BrowserThread::DB, FROM_HERE, 24 NOTREACHED() << "Failed to post task to the db thread."; 32 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 42 return BrowserThread::CurrentlyOn(BrowserThread::DB);
|
/external/chromium_org/chrome/browser/sync/glue/ |
shared_change_processor_unittest.cc | 40 db_thread_(BrowserThread::DB) {} 51 BrowserThread::DB, 59 BrowserThread::DB, 63 // This must happen before the DB thread is stopped since 68 // |shared_change_processor_| on the UI and DB threads. 73 // Connect |shared_change_processor_| on the DB thread. 76 BrowserThread::DB, 86 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 93 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 103 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
metadata_db_migration_util.h | 12 #include "third_party/leveldatabase/src/include/leveldb/db.h" 55 // Migrate |db| schema from version 0 to version 1. 56 SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db); 58 // Migrate |db| schema from version 1 to version 2. 59 SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db);
|
/external/chromium/chrome/browser/history/ |
top_sites_backend.cc | 21 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 27 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 39 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 48 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 56 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 63 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 73 BrowserThread::DB, FROM_HERE, NewRunnableMethod( 82 // nulling out db). 86 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 94 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); [all...] |
/external/chromium_org/chrome/browser/history/ |
top_sites_backend.cc | 26 BrowserThread::DB, FROM_HERE, 32 BrowserThread::DB, FROM_HERE, 43 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB).get(), 54 BrowserThread::DB, FROM_HERE, 62 BrowserThread::DB, FROM_HERE, 69 BrowserThread::DB, FROM_HERE, 76 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB).get(), 84 // nulling out db). 88 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 96 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); [all...] |
/external/clang/lib/Tooling/ |
CompilationDatabase.cpp | 38 if (CompilationDatabase *DB = 40 return DB; 56 if (CompilationDatabase *DB = 58 return DB; 78 CompilationDatabase *DB = findCompilationDatabaseFromDirectory(Directory, 81 if (!DB) 84 return DB; 92 CompilationDatabase *DB = findCompilationDatabaseFromDirectory(AbsolutePath, 95 if (!DB) 98 return DB; [all...] |
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_database.h | 20 class DB; 37 explicit LevelDBSnapshot(LevelDBDatabase* db); 40 leveldb::DB* db_; 48 scoped_ptr<LevelDBDatabase>* db, 73 scoped_ptr<leveldb::DB> db_;
|
/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_webdata_backend_impl.cc | 35 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 41 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 50 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 61 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 68 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 79 const std::vector<FormFieldData>& fields, WebDatabase* db) { 80 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); 82 if (!AutofillTable::FromWebDatabase(db)->AddFormFieldValues( 90 // done on the DB thread, and not the UI thread. 101 WebDatabase* db) { [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_pss.c | 87 unsigned char *DB = NULL; 136 DB = OPENSSL_malloc(maskedDBLen); 137 if (!DB) 142 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) 145 DB[i] ^= EM[i]; 147 DB[0] &= 0xFF >> (8 - MSBits); 148 for (i = 0; DB[i] == 0 && i < (maskedDBLen-1); i++) ; 149 if (DB[i++] != 0x1) 165 if (!EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i)) 179 if (DB) [all...] |
/external/openssl/crypto/rsa/ |
rsa_pss.c | 87 unsigned char *DB = NULL; 136 DB = OPENSSL_malloc(maskedDBLen); 137 if (!DB) 142 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) 145 DB[i] ^= EM[i]; 147 DB[0] &= 0xFF >> (8 - MSBits); 148 for (i = 0; DB[i] == 0 && i < (maskedDBLen-1); i++) ; 149 if (DB[i++] != 0x1) 165 if (!EVP_DigestUpdate(&ctx, DB + i, maskedDBLen - i)) 179 if (DB) [all...] |
/external/chromium/chrome/browser/net/ |
sqlite_persistent_cookie_store_unittest.cc | 22 db_thread_(BrowserThread::DB) { 55 new ThreadTestHelper(BrowserThread::DB)); 72 new ThreadTestHelper(BrowserThread::DB)); 87 new ThreadTestHelper(BrowserThread::DB)); 118 // whether the DB file has been modified by checking its size. 124 // Write some large cookies, so the DB will have to expand by several KB. 126 // Each cookie needs a unique timestamp for creation_utc (see DB schema). 136 // Call Flush() and wait until the DB thread is idle. 139 new ThreadTestHelper(BrowserThread::DB)); 175 new ThreadTestHelper(BrowserThread::DB)); [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
fragck.tcl | 30 sqlite3 db [lindex $argv 0] 31 set DB [btree_open [lindex $argv 0] 1000 0] 73 set pageSize [db eval {PRAGMA page_size}] 82 db eval { 140 set csr [btree_cursor $DB $rootpage 0] 144 foreach pg [btree_ovfl_info $DB $csr] {
|
/external/clang/include/clang/Basic/ |
PartialDiagnostic.h | 300 void Emit(const DiagnosticBuilder &DB) const { 308 DB.AddString(DiagStorage->DiagArgumentsStr[i]); 310 DB.AddTaggedVal(DiagStorage->DiagArgumentsVal[i], 316 DB.AddSourceRange(DiagStorage->DiagRanges[i]); 320 DB.AddFixItHint(DiagStorage->FixItHints[i]); 327 DiagnosticBuilder DB(Diags.Report(getDiagID())); 328 Emit(DB); 329 DB.FlushCounts(); 331 DB.Clear(); 390 inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB, [all...] |
/external/chromium_org/android_webview/browser/ |
aw_form_database_service.cc | 32 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB)); 64 BrowserThread::DB, 81 BrowserThread::DB, 106 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
|