Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 8 of 8) sorted by relevance

/netbsd/src/tests/fs/vfs/
Dt_rwtoro.c50 static char file_path[MAXPATHLEN]; variable
96 snprintf(file_path, sizeof(file_path), "%s/file", prefix); in open_file_ro()
97 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_ro()
99 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); in open_file_ro()
106 snprintf(file_path, sizeof(file_path), "%s/file", prefix); in open_file_ro_unlink()
107 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_ro_unlink()
109 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); in open_file_ro_unlink()
110 RL(rump_sys_unlink(file_path)); in open_file_ro_unlink()
117 snprintf(file_path, sizeof(file_path), "%s/file", prefix); in open_file_rw()
118 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); in open_file_rw()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dinput.h113 extern char_span location_get_source_line (const char *file_path, int line);
115 extern bool location_missing_trailing_newline (const char *file_path);
136 file_cache_slot *lookup_or_add_file (const char *file_path);
137 void forcibly_evict_file (const char *file_path);
150 file_cache_slot *add_file (const char *file_path);
151 file_cache_slot *lookup_file (const char *file_path);
247 void diagnostics_file_cache_forcibly_evict_file (const char *file_path);
Dinput.cc68 const char *file_path, FILE *fp, unsigned highest_use_count);
313 total_lines_num (const char *file_path) in total_lines_num() argument
317 if (linemap_get_file_highest_location (line_table, file_path, &l)) in total_lines_num()
331 file_cache::lookup_file (const char *file_path) in lookup_file() argument
333 gcc_assert (file_path); in lookup_file()
340 if (c->get_file_path () && !strcmp (c->get_file_path (), file_path)) in lookup_file()
358 diagnostics_file_cache_forcibly_evict_file (const char *file_path) in diagnostics_file_cache_forcibly_evict_file() argument
360 gcc_assert (file_path); in diagnostics_file_cache_forcibly_evict_file()
365 global_dc->m_file_cache->forcibly_evict_file (file_path); in diagnostics_file_cache_forcibly_evict_file()
369 file_cache::forcibly_evict_file (const char *file_path) in forcibly_evict_file() argument
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dct_test.c94 char *file_path = test_mk_file_path(dir, file); in load_pem_cert() local
96 if (file_path != NULL) { in load_pem_cert()
97 BIO *cert_io = BIO_new_file(file_path, "r"); in load_pem_cert()
104 OPENSSL_free(file_path); in load_pem_cert()
112 char *file_path = test_mk_file_path(dir, file); in read_text_file() local
114 if (file_path != NULL) { in read_text_file()
115 BIO *file_io = BIO_new_file(file_path, "r"); in read_text_file()
122 OPENSSL_free(file_path); in read_text_file()
/netbsd/src/sbin/dmctl/
Ddmctl.c458 char *file_path; in dmctl_table_reload() local
463 file_path = NULL; in dmctl_table_reload()
471 file_path = argv[0]; in dmctl_table_reload()
473 while ((params = parse_stdin(file_path)) != NULL) { in dmctl_table_reload()
552 parse_stdin(char *file_path) in parse_stdin() argument
560 if (file_path) { in parse_stdin()
561 if ((fp = fopen(file_path, "r")) == NULL) in parse_stdin()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsolib-darwin.c41 CORE_ADDR file_path; member
269 gdb::unique_xmalloc_ptr<char> file_path in darwin_current_sos() local
271 if (file_path == nullptr) in darwin_current_sos()
279 newobj->so_name = file_path.get (); in darwin_current_sos()
/netbsd/src/usr.sbin/makemandb/
Dmakemandb.c89 char *file_path; member
822 rec->file_path = estrdup(file); in update_db()
914 warnx("%s: Missing section number", rec->file_path); in set_section()
1669 rc = sqlite3_bind_text(stmt, idx, rec->file_path, -1, NULL); in insert_into_db()
1702 warnx("Trying to update index for %s", rec->file_path); in insert_into_db()
1707 rec->file_path); in insert_into_db()
1740 sqlite3_bind_text(stmt, idx, rec->file_path, -1, NULL); in insert_into_db()
1754 warnx("Failed at %s\n%s", rec->file_path, sqlite3_errmsg(db)); in insert_into_db()
1899 free(rec->file_path); in cleanup()
1900 rec->file_path = NULL; in cleanup()
/netbsd/src/external/gpl3/gdb/dist/libiberty/testsuite/
Ddemangle-expected545 bool std::operator< <file_path, std::string>(std::pair<file_path, std::string> const&, std::pair<fi…
546 std::operator< <file_path, std::string>