HomeSort by relevance Sort by last modified time
    Searched refs:db (Results 1 - 25 of 1718) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/tools/
contacts-db-schema.sh 20 db=/data/data/com.android.providers.contacts/databases/contacts2.db
26 adb shell "(ls $db >/dev/null)&& sqlite3 $db \"select name, sql from sqlite_master where type in('table','index', 'view') order by name\"" |
29 adb shell "(ls $db >/dev/null)&& sqlite3 $db \"select * from sqlite_stat1 order by tbl, idx, stat\""
  /external/tensorflow/tensorflow/contrib/tensorboard/db/
schema_test.cc 15 #include "tensorflow/contrib/tensorboard/db/schema.h"
26 Sqlite* db; local
27 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db));
28 core::ScopedUnref unref_db(db);
29 TF_ASSERT_OK(SetupTensorboardSqliteDb(db));
schema.cc 15 #include "tensorflow/contrib/tensorboard/db/schema.h"
22 Status Run(Sqlite* db, const char* sql) {
24 TF_RETURN_IF_ERROR(db->Prepare(sql, &stmt));
30 Status SetupTensorboardSqliteDb(Sqlite* db) {
34 db->PrepareOrDie(strings::StrCat("PRAGMA application_id=",
37 db->PrepareOrDie("PRAGMA user_version=0").StepAndResetOrDie();
56 s.Update(Run(db, R"sql(
68 s.Update(Run(db, R"sql(
105 s.Update(Run(db, R"sql(
117 s.Update(Run(db, R"sql
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
SQLiteTransaction.java 29 * @param db A writable database.
32 protected abstract boolean performTransaction(SQLiteDatabase db);
38 public void run(SQLiteDatabase db) {
39 db.beginTransaction();
41 if (performTransaction(db)) {
42 db.setTransactionSuccessful();
45 db.endTransaction();
  /frameworks/compile/mclinker/lib/Support/
Demangle.cpp 45 Db db(a);
46 db.cv = 0;
47 db.ref = 0;
48 db.encoding_depth = 0;
49 db.parsed_ctor_dtor_cv = false;
50 db.tag_templates = true;
51 db.template_param.emplace_back(a);
52 db.fix_forward_references = false;
53 db.try_to_parse_template_args = true
    [all...]
  /frameworks/support/persistence/db/ktx/src/test/java/androidx/sqlite/db/
SupportSQLiteDatabaseTest.kt 17 package androidx.sqlite.db
27 val db = mock(SupportSQLiteDatabase::class.java)
28 db.transaction {}
29 verify(db).beginTransaction()
33 val db = mock(SupportSQLiteDatabase::class.java)
34 db.transaction(exclusive = false) {}
35 verify(db).beginTransactionNonExclusive()
39 val db = mock(SupportSQLiteDatabase::class.java)
40 db.transaction(exclusive = true) {}
41 verify(db).beginTransaction(
    [all...]
  /external/selinux/libsepol/cil/include/cil/
cil.h 42 extern void cil_db_init(cil_db_t **db);
43 extern void cil_db_destroy(cil_db_t **db);
45 extern int cil_add_file(cil_db_t *db, char *name, char *data, size_t size);
47 extern int cil_compile(cil_db_t *db);
48 extern int cil_build_policydb(cil_db_t *db, sepol_policydb_t **sepol_db);
49 extern int cil_userprefixes_to_string(cil_db_t *db, char **out, size_t *size);
50 extern int cil_selinuxusers_to_string(cil_db_t *db, char **out, size_t *size);
51 extern int cil_filecons_to_string(cil_db_t *db, char **out, size_t *size);
52 extern void cil_set_disable_dontaudit(cil_db_t *db, int disable_dontaudit);
53 extern void cil_set_multiple_decls(cil_db_t *db, int multiple_decls)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
comfort_noise_unittest.cc 23 MockDecoderDatabase db; local
25 ComfortNoise cn(fs, &db, &sync_buffer);
26 EXPECT_CALL(db, Die()); // Called when |db| goes out of scope.
  /external/autotest/frontend/db/backends/afe/
creation.py 1 from django.db.backends.mysql.creation import *
introspection.py 1 from django.db.backends.mysql.introspection import *
validation.py 1 from django.db.backends.mysql.validation import *
  /external/autotest/frontend/db/backends/afe_sqlite/
creation.py 1 from django.db.backends.sqlite3.creation import *
introspection.py 1 from django.db.backends.sqlite3.introspection import *
  /external/python/cpython2/Lib/bsddb/test/
test_db.py 4 from test_all import db, test_support, get_new_environment_path, \
9 class DB(unittest.TestCase):
12 self.db = db.DB()
15 self.db.close()
16 del self.db
19 class DB_general(DB) :
21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE
    [all...]
test_early_close.py 2 is closed before its DB objects.
8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path
10 # We're going to get warnings in this module about trying to close the db when
18 message='DB could not be closed in',
33 dbenv = db.DBEnv()
35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL,
38 d = db.DB(dbenv
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/
test_db.py 4 from test_all import db, test_support, get_new_environment_path, \
9 class DB(unittest.TestCase):
12 self.db = db.DB()
15 self.db.close()
16 del self.db
19 class DB_general(DB) :
21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE
    [all...]
test_early_close.py 2 is closed before its DB objects.
8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path
10 # We're going to get warnings in this module about trying to close the db when
18 message='DB could not be closed in',
33 dbenv = db.DBEnv()
35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL,
38 d = db.DB(dbenv
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/
test_db.py 4 from test_all import db, test_support, get_new_environment_path, \
9 class DB(unittest.TestCase):
12 self.db = db.DB()
15 self.db.close()
16 del self.db
19 class DB_general(DB) :
21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE
    [all...]
test_early_close.py 2 is closed before its DB objects.
8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path
10 # We're going to get warnings in this module about trying to close the db when
18 message='DB could not be closed in',
33 dbenv = db.DBEnv()
35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL,
38 d = db.DB(dbenv
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_db.py 4 from test_all import db, test_support, get_new_environment_path, \
9 class DB(unittest.TestCase):
12 self.db = db.DB()
15 self.db.close()
16 del self.db
19 class DB_general(DB) :
21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE
    [all...]
test_early_close.py 2 is closed before its DB objects.
8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path
10 # We're going to get warnings in this module about trying to close the db when
18 message='DB could not be closed in',
33 dbenv = db.DBEnv()
35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL,
38 d = db.DB(dbenv
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_db.py 4 from test_all import db, test_support, get_new_environment_path, \
9 class DB(unittest.TestCase):
12 self.db = db.DB()
15 self.db.close()
16 del self.db
19 class DB_general(DB) :
21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE
    [all...]
test_early_close.py 2 is closed before its DB objects.
8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path
10 # We're going to get warnings in this module about trying to close the db when
18 message='DB could not be closed in',
33 dbenv = db.DBEnv()
35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL,
38 d = db.DB(dbenv
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 55 * A {@link SQLiteOpenHelper} that handles DB management of SMS and MMS tables.
242 static final String DATABASE_NAME = "mmssms.db";
287 private static void removeUnferencedCanonicalAddresses(SQLiteDatabase db) {
288 Cursor c = db.query(MmsSmsProvider.TABLE_THREADS, new String[] { "recipient_ids" },
294 int rows = db.delete("canonical_addresses", null, null);
320 int rows = db.delete("canonical_addresses", sb.toString(), null);
328 public static void updateThread(SQLiteDatabase db, long thread_id) {
330 updateThreads(db, null, null);
333 updateThreads(db, "(thread_id = ?)", new String[]{ String.valueOf(thread_id) });
340 public static void updateThreads(SQLiteDatabase db, String where, String[] whereArgs)
1829 SQLiteDatabase db = super.getWritableDatabase(); local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/src/
cxa_demangle.cpp 226 struct Db
244 Db(arena<N>& ar) :
252 const char* parse_type(const char* first, const char* last, Db& db);
253 const char* parse_encoding(const char* first, const char* last, Db& db);
254 const char* parse_name(const char* first, const char* last, Db& db,
256 const char* parse_expression(const char* first, const char* last, Db& db);
    [all...]

Completed in 564 milliseconds

1 2 3 4 5 6 7 8 91011>>