Home
last modified time | relevance | path

Searched refs:db_path (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_msilib.py25 db, db_path = init_database()
43 self.addCleanup(unlink, db_path)
46 db, db_path = init_database()
53 self.addCleanup(unlink, db_path)
56 db, db_path = init_database()
76 os.unlink(db_path)
84 db_path = os.path.join(TESTFN, 'test.msi')
86 msilib.OpenDatabase(db_path, msilib.MSIDBOPEN_CREATE)
90 db, db_path = init_database()
94 self.addCleanup(unlink, db_path)
[all …]
/external/grpc-grpc/examples/cpp/route_guide/
Dhelper.cc31 std::string db_path; in GetDbFileContent() local
40 db_path = argv_1.substr(start_position + 1); in GetDbFileContent()
44 db_path = "route_guide_db.json"; in GetDbFileContent()
46 std::ifstream db_file(db_path); in GetDbFileContent()
48 std::cout << "Failed to open " << db_path << std::endl; in GetDbFileContent()
Droute_guide_server.cc170 void RunServer(const std::string& db_path) { in RunServer() argument
172 RouteGuideImpl service(db_path); in RunServer()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/
Drun-find-all-symbols.py79 db_path = 'compile_commands.json'
84 build_path = find_compilation_database(db_path)
89 database = json.load(open(os.path.join(build_path, db_path)))
/external/llvm-project/clang-tools-extra/clang-tidy/tool/
Drun-clang-tidy.py239 db_path = 'compile_commands.json'
245 build_path = find_compilation_database(db_path)
266 database = json.load(open(os.path.join(build_path, db_path)))
/external/elfutils/debuginfod/
Ddebuginfod.cxx389 static string db_path; variable
473 case 'd': db_path = string(arg); break; in parse_opt()
2871 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size in thread_main_scanner()
3151 (void) statfs_free_enough_p(db_path, "database"); // report sqlite filesystem size in groom()
3289 db_path = string(getenv("HOME") ?: "/") + string("/.debuginfod.sqlite"); /* XDG? */ in main()
3329 rc = sqlite3_open_v2 (db_path.c_str(), &db, (SQLITE_OPEN_READWRITE in main()
3337 (void) unlink (db_path.c_str()); in main()
3339 "cannot open %s, deleted database: %s", db_path.c_str(), sqlite3_errmsg(db)); in main()
3344 "cannot open %s, consider deleting database: %s", db_path.c_str(), sqlite3_errmsg(db)); in main()
3350 rc = sqlite3_open_v2 (db_path.c_str(), &dbq, (SQLITE_OPEN_READONLY in main()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dreader_ops_test.py762 self.db_path = os.path.join(self.get_temp_dir(), "data.mdb")
763 shutil.copy(path, self.db_path)
771 self.evaluate(queue.enqueue([self.db_path]))
789 [self.db_path], num_epochs=None)
809 self.evaluate(queue.enqueue([self.db_path]))
826 [self.db_path], num_epochs=None)
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_client.js114 fs.readFile(path.resolve(argv.db_path), function(err, data) {
Droute_guide_server.js237 fs.readFile(path.resolve(argv.db_path), function(err, data) {
/external/rust/crates/rusqlite/src/
Dlib.rs766 let db_path = db_filename(db); in from_handle() localVariable
771 path: db_path, in from_handle()
1063 let db_path = path.join(OsStr::from_bytes(&[0xFF])); in test_invalid_unicode_file_names() localVariable
1065 let db = Connection::open(&db_path).unwrap(); in test_invalid_unicode_file_names()
1073 let db = Connection::open(&db_path).unwrap(); in test_invalid_unicode_file_names()
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_server.js227 fs.readFile(path.resolve(argv.db_path), function(err, data) {
Droute_guide_client.js103 fs.readFile(path.resolve(argv.db_path), function(err, data) {
/external/grpc-grpc/examples/cpp/
Dcpptutorial.md298 void RunServer(const std::string& db_path) {
300 RouteGuideImpl service(db_path);