/external/swiftshader/third_party/llvm-subzero/lib/Demangle/ |
D | ItaniumDemangle.cpp | 40 static const char *parse_type(const char *first, const char *last, C &db); 42 static const char *parse_encoding(const char *first, const char *last, C &db); 44 static const char *parse_name(const char *first, const char *last, C &db, 47 static const char *parse_expression(const char *first, const char *last, C &db); 50 C &db); 53 C &db); 56 C &db); 58 static const char *parse_decltype(const char *first, const char *last, C &db); 117 C &db) { in parse_floating_number() argument 145 db.names.push_back(std::string(num, static_cast<std::size_t>(n))); in parse_floating_number() [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_db.py | 4 from test_all import db, test_support, get_new_environment_path, \ 12 self.db = db.DB() 15 self.db.close() 16 del self.db 21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE) 22 self.assertEqual(db.DB_CREATE, self.db.get_open_flags()) 25 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE | 26 db.DB_THREAD) 27 self.assertEqual(db.DB_CREATE | db.DB_THREAD, self.db.get_open_flags()) 30 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE) [all …]
|
D | test_early_close.py | 8 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path 33 dbenv = db.DBEnv() 35 db.DB_INIT_CDB| db.DB_CREATE |db.DB_THREAD|db.DB_INIT_MPOOL, 38 d = db.DB(dbenv) 39 d2 = db.DB(dbenv) 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 43 self.filename+"2", db.DB_BTREE, db.DB_THREAD, 0666) 48 self.assertRaises(db.DBError, d.get, "test") 51 dbenv = db.DBEnv() [all …]
|
D | test_dbobj.py | 5 from test_all import db, dbobj, test_support, get_new_environment_path, \ 19 del self.db 32 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 33 self.db = TestDB(self.env) 34 self.db.open(self.db_name, db.DB_HASH, db.DB_CREATE) 35 self.db.put('spam', 'eggs') 36 self.assertEqual(self.db.get('spam'), None, 38 self.assertEqual(self.db.get('SPAM'), 'eggs', 40 self.db.close() 45 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) [all …]
|
D | test_misc.py | 7 from test_all import db, dbshelve, hashopen, test_support, get_new_environment_path, get_new_databa… 23 self.assertRaises(db.DBError, dbs.get, "foo") 26 env = db.DBEnv() 29 env.open(self.homeDir, db.DB_CREATE) 36 db = hashopen(self.filename) 37 db.close() 38 rp = repr(db) 42 db = hashopen(self.filename) 45 db[repr(i)] = repr(100*i) 47 db.close() [all …]
|
D | test_dbenv.py | 4 from test_all import db, test_support, get_new_environment_path, \ 12 self.env = db.DBEnv() 21 flags = db.DB_CREATE | db.DB_INIT_MPOOL 26 flags = db.DB_CREATE | db.DB_INIT_MPOOL | \ 27 db.DB_INIT_LOCK | db.DB_THREAD 31 if db.version() >= (4, 7) : 42 self.assertRaises(db.DBInvalidArgError, 45 if db.version() >= (4, 6) : 60 if db.version() >= (4, 4) : 62 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL | [all …]
|
D | test_replication.py | 8 from test_all import db, test_support, have_threads, verbose, \ 19 self.dbenvMaster = db.DBEnv() 20 self.dbenvClient = db.DBEnv() 25 self.dbenvMaster.open(self.homeDirMaster, db.DB_CREATE | db.DB_INIT_TXN 26 | db.DB_INIT_LOG | db.DB_INIT_MPOOL | db.DB_INIT_LOCK | 27 db.DB_INIT_REP | db.DB_RECOVER | db.DB_THREAD, 0666) 28 self.dbenvClient.open(self.homeDirClient, db.DB_CREATE | db.DB_INIT_TXN 29 | db.DB_INIT_LOG | db.DB_INIT_MPOOL | db.DB_INIT_LOCK | 30 db.DB_INIT_REP | db.DB_RECOVER | db.DB_THREAD, 0666) 34 if b==db.DB_EVENT_REP_MASTER : [all …]
|
D | test_basics.py | 14 from test_all import db, test_support, verbose, get_new_environment_path, \ 24 info = db.version() 28 print db.DB_VERSION_STRING 30 self.assertEqual(info, (db.DB_VERSION_MAJOR, db.DB_VERSION_MINOR, 31 db.DB_VERSION_PATCH)) 36 dbtype = db.DB_UNKNOWN # must be set in derived class 52 self.env = db.DBEnv() 58 self.env.open(self.homeDir, self.envflags | db.DB_CREATE) 69 self.d = db.DB(self.env) 81 self.dbopenflags|db.DB_CREATE, self.dbmode) [all …]
|
D | test_lock.py | 9 from test_all import db, test_support, verbose, have_threads, \ 24 self.env = db.DBEnv() 25 self.env.open(self.homeDir, db.DB_THREAD | db.DB_INIT_MPOOL | 26 db.DB_INIT_LOCK | db.DB_CREATE) 42 lock = self.env.lock_get(anID, "some locked thing", db.DB_LOCK_WRITE) 58 args=(db.DB_LOCK_WRITE,))) 60 args=(db.DB_LOCK_READ,))) 62 args=(db.DB_LOCK_READ,))) 64 args=(db.DB_LOCK_WRITE,))) 66 args=(db.DB_LOCK_READ,))) [all …]
|
D | test_associate.py | 10 from test_all import db, dbshelve, test_support, verbose, have_threads, \ 82 self.env = db.DBEnv() 83 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL) 96 dupDB = db.DB(self.env) 97 dupDB.set_flags(db.DB_DUP) 98 dupDB.open(self.filename, "primary", db.DB_BTREE, db.DB_CREATE) 100 secDB = db.DB(self.env) 101 secDB.open(self.filename, "secondary", db.DB_BTREE, db.DB_CREATE) 108 except db.DBError: 117 @unittest.skipUnless(db.version() >= (4, 6), 'Needs 4.6+') [all …]
|
/external/u-boot/drivers/net/ |
D | uli526x.c | 207 struct uli526x_board_info *db; /* board information structure */ in uli526x_initialize() local 228 db = (struct uli526x_board_info *) in uli526x_initialize() 231 dev->priv = db; in uli526x_initialize() 232 db->pdev = devno; in uli526x_initialize() 241 db->ioaddr = dev->iobase; in uli526x_initialize() 244 pci_read_config_dword(devno, PCI_VENDOR_ID, &db->chip_id); in uli526x_initialize() 247 printf("uli526x: chip_id%x\n", db->chip_id); in uli526x_initialize() 260 struct uli526x_board_info *db = dev->priv; in uli526x_init_one() local 276 db->desc_pool_ptr = (uchar *)&desc_pool_array[0]; in uli526x_init_one() 277 db->desc_pool_dma_ptr = (dma_addr_t)&desc_pool_array[0]; in uli526x_init_one() [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_copy_ast.h | 38 int cil_copy_expr(struct cil_db *db, struct cil_list *orig, struct cil_list **new); 40 int cil_copy_block(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 41 int cil_copy_blockabstract(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 42 int cil_copy_blockinherit(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 43 int cil_copy_perm(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 44 int cil_copy_class(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 45 int cil_copy_classorder(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 46 int cil_copy_classmapping(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 47 int cil_copy_permset(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 52 int cil_copy_classpermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, sy… [all …]
|
D | cil_build_ast.h | 40 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum,… 43 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… 45 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_no… 47 int cil_gen_blockabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_n… 49 int cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_no… 51 int cil_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… 53 int cil_gen_classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node… 55 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_… 57 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node … 65 int cil_gen_classpermission(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree… [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | decoder_database_unittest.cc | 26 DecoderDatabase db; in TEST() local 27 EXPECT_EQ(0, db.Size()); in TEST() 28 EXPECT_TRUE(db.Empty()); in TEST() 32 DecoderDatabase db; in TEST() local 37 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 38 EXPECT_EQ(1, db.Size()); in TEST() 39 EXPECT_FALSE(db.Empty()); in TEST() 40 EXPECT_EQ(DecoderDatabase::kOK, db.Remove(kPayloadType)); in TEST() 41 EXPECT_EQ(0, db.Size()); in TEST() 42 EXPECT_TRUE(db.Empty()); in TEST() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_unicodedata.py | 74 self.db = unicodedata 77 del self.db 92 format(self.db.digit(char, -1), '.12g'), 93 format(self.db.numeric(char, -1), '.12g'), 94 format(self.db.decimal(char, -1), '.12g'), 95 self.db.category(char), 96 self.db.bidirectional(char), 97 self.db.decomposition(char), 98 str(self.db.mirrored(char)), 99 str(self.db.combining(char)), [all …]
|
/external/tensorflow/tensorflow/core/summary/ |
D | schema.cc | 22 Status Run(Sqlite* db, const char* sql) { in Run() argument 24 TF_RETURN_IF_ERROR(db->Prepare(sql, &stmt)); in Run() 30 Status SetupTensorboardSqliteDb(Sqlite* db) { in SetupTensorboardSqliteDb() argument 34 db->PrepareOrDie(strings::StrCat("PRAGMA application_id=", in SetupTensorboardSqliteDb() 37 db->PrepareOrDie("PRAGMA user_version=0").StepAndResetOrDie(); in SetupTensorboardSqliteDb() 56 s.Update(Run(db, R"sql( in SetupTensorboardSqliteDb() 68 s.Update(Run(db, R"sql( in SetupTensorboardSqliteDb() 105 s.Update(Run(db, R"sql( in SetupTensorboardSqliteDb() 117 s.Update(Run(db, R"sql( in SetupTensorboardSqliteDb() 139 s.Update(Run(db, R"sql( in SetupTensorboardSqliteDb() [all …]
|
/external/igt-gpu-tools/scripts/ |
D | trace.pl | 30 my (%db, %vdb, %queue, %submit, %notify, %rings, %ctxdb, %ringmap, %reqwait, 445 delete $db{$key} if exists $db{$key}; 489 $db{$key} = \%req; 494 die unless exists $db{$key}; 495 die unless exists $db{$key}->{'start'}; 496 die if exists $db{$key}->{'end'}; 500 $db{$key}->{'end'} = $time; 501 $db{$key}->{'notify'} = $notify{$nkey} 504 delete $db{$key}; 526 foreach my $key (keys %db) { [all …]
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | DatabaseContentProvider.java | 75 protected void bootstrapDatabase(SQLiteDatabase db) { in bootstrapDatabase() argument 86 protected abstract boolean upgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion); in upgradeDatabase() argument 97 protected abstract boolean downgradeDatabase(SQLiteDatabase db, int oldVersion, int newVersion); in downgradeDatabase() argument 107 protected static boolean addColumn(SQLiteDatabase db, String table, String columnName, in addColumn() argument 113 db.execSQL(sb.toString()); in addColumn() 126 protected void onDatabaseOpened(SQLiteDatabase db) { in onDatabaseOpened() argument 139 public void onCreate(SQLiteDatabase db) { in onCreate() argument 140 bootstrapDatabase(db); in onCreate() 144 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 145 upgradeDatabase(db, oldVersion, newVersion); in onUpgrade() [all …]
|
/external/mesa3d/src/freedreno/rnn/ |
D | rnn.c | 60 static void rnn_err(struct rnndb *db, const char *format, ...) _util_printf_format(2, 3); 62 static void rnn_err(struct rnndb *db, const char *format, ...) in rnn_err() argument 68 db->estatus = 1; in rnn_err() 77 struct rnndb *db = calloc(sizeof *db, 1); in rnn_newdb() local 78 return db; in rnn_newdb() 111 static char *getattrib (struct rnndb *db, char *file, int line, xmlAttr *attr) { in getattrib() argument 115 …rnn_err(db, "%s:%d: unknown attribute child \"%s\" in attribute \"%s\"\n", file, line, chain->name… in getattrib() 124 static int getboolattrib (struct rnndb *db, char *file, int line, xmlAttr *attr) { in getboolattrib() argument 125 char *c = getattrib(db, file, line, attr); in getboolattrib() 130 …rnn_err(db, "%s:%d: invalid boolean value \"%s\" in attribute \"%s\"\n", file, line, c, attr->name… in getboolattrib() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_unicodedata.py | 74 self.db = unicodedata 77 del self.db 92 str(self.db.digit(char, -1)), 93 str(self.db.numeric(char, -1)), 94 str(self.db.decimal(char, -1)), 95 self.db.category(char), 96 self.db.bidirectional(char), 97 self.db.decomposition(char), 98 str(self.db.mirrored(char)), 99 str(self.db.combining(char)), [all …]
|
/external/iproute2/lib/ |
D | names.c | 55 struct db_names *db; in db_names_alloc() local 57 db = calloc(1, sizeof(*db)); in db_names_alloc() 58 if (!db) in db_names_alloc() 61 db->size = MAX_ENTRIES; in db_names_alloc() 62 db->hash = calloc(db->size, sizeof(struct db_entry *)); in db_names_alloc() 64 return db; in db_names_alloc() 67 int db_names_load(struct db_names *db, const char *path) in db_names_load() argument 101 entry->next = db->hash[id & (db->size - 1)]; in db_names_load() 102 db->hash[id & (db->size - 1)] = entry; in db_names_load() 111 void db_names_free(struct db_names *db) in db_names_free() argument [all …]
|
/external/python/cpython2/Lib/bsddb/ |
D | dbtables.py | 57 from bsddb3 import db 60 from bsddb import db 166 self.db = None 167 myflags = db.DB_THREAD 169 myflags |= db.DB_CREATE 170 flagsforenv = (db.DB_INIT_MPOOL | db.DB_INIT_LOCK | db.DB_INIT_LOG | 171 db.DB_INIT_TXN | dbflags) 174 dbflags |= db.DB_AUTO_COMMIT 178 flagsforenv = flagsforenv | db.DB_RECOVER 179 self.env = db.DBEnv() [all …]
|
/external/mesa3d/src/intel/isl/ |
D | isl_emit_depth_stencil.c | 65 struct GENX(3DSTATE_DEPTH_BUFFER) db = { in isl_genX() 70 db.SurfaceType = isl_to_gen_ds_surftype[info->depth_surf->dim]; in isl_genX() 71 db.SurfaceFormat = isl_surf_get_depth_format(dev, info->depth_surf); in isl_genX() 72 db.Width = info->depth_surf->logical_level0_px.width - 1; in isl_genX() 73 db.Height = info->depth_surf->logical_level0_px.height - 1; in isl_genX() 74 if (db.SurfaceType == SURFTYPE_3D) in isl_genX() 75 db.Depth = info->depth_surf->logical_level0_px.depth - 1; in isl_genX() 77 db.SurfaceType = isl_to_gen_ds_surftype[info->stencil_surf->dim]; in isl_genX() 78 db.SurfaceFormat = D32_FLOAT; in isl_genX() 79 db.Width = info->stencil_surf->logical_level0_px.width - 1; in isl_genX() [all …]
|
/external/selinux/libsepol/cil/include/cil/ |
D | 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/autotest/frontend/tko/preconfigs/metrics/ |
D | perf | 3 globalFilter[0][db]: hostname 10 seriesFilters[0][0][db]: iteration_key 12 seriesFilters[0][1][db]: test_name 19 seriesFilters[1][0][db]: iteration_key 21 seriesFilters[1][1][db]: test_name 28 seriesFilters[2][0][db]: iteration_key 30 seriesFilters[2][1][db]: test_name 37 seriesFilters[3][0][db]: iteration_key 39 seriesFilters[3][1][db]: test_name 46 seriesFilters[4][0][db]: iteration_key [all …]
|