Home
last modified time | relevance | path

Searched refs:db_file (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/examples/cpp/route_guide/
Dhelper.cc46 std::ifstream db_file(db_path); in GetDbFileContent() local
47 if (!db_file.is_open()) { in GetDbFileContent()
52 db << db_file.rdbuf(); in GetDbFileContent()
/external/python/cpython3/Lib/test/
Dtest_dbm.py170 db_file = '{}_ndbm.db'.format(_fname)
171 with open(db_file, 'w'):
172 self.addCleanup(test.support.unlink, db_file)
173 self.assertIsNone(self.dbm.whichdb(db_file[:-3]))
/external/rust/crates/grpcio-sys/grpc/tools/distrib/
Dgen_compilation_database.py120 with open("compile_commands.json", "w") as db_file:
121 json.dump(db, db_file, indent=2)
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c144 static sqlite3 * db_open(const char *db_file) in db_open() argument
148 if (sqlite3_open(db_file, &db)) { in db_open()
150 db_file, sqlite3_errmsg(db)); in db_open()
/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.c141 static sqlite3 * db_open(const char *db_file) in db_open() argument
145 if (sqlite3_open(db_file, &db)) { in db_open()
147 "%s: %s", db_file, sqlite3_errmsg(db)); in db_open()
/external/iproute2/lib/
Dbpf.c2295 static void bpf_hash_init(struct bpf_elf_ctx *ctx, const char *db_file) in bpf_hash_init() argument
2303 fp = fopen(db_file, "r"); in bpf_hash_init()
2310 db_file, subpath); in bpf_hash_init()
2317 db_file, pinning); in bpf_hash_init()
/external/tensorflow/tensorflow/python/kernel_tests/
Dreader_ops_test.py760 db_file = "data.mdb" if sys.byteorder == "little" else "data_bigendian.mdb"
761 path = os.path.join(prefix_path, "lmdb", "testdata", db_file)