Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cpp47 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
49 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
50 fd_t fd = OpenFile(file_path); in WriteModuleCoverage()
54 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage()
60 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
83 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
100 InternalFree(file_path); in SanitizerDumpCoverage()
168 const char* file_path = common_flags()->cov_8bit_counters_out; in DumpCoverage() local
169 if (file_path && internal_strlen(file_path)) { in DumpCoverage()
[all …]
H A Dsanitizer_suppressions.cpp34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument
43 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
50 static const char *FindFile(const char *file_path, in FindFile() argument
55 if (!FileExists(file_path) && !IsAbsolutePath(file_path) && in FindFile()
56 GetPathAssumingFileIsRelativeToExec(file_path, new_file_path, in FindFile()
60 return file_path; in FindFile()
63 static const char *FindFile(const char *file_path, char *, uptr) { in FindFile() argument
64 return file_path; in FindFile()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/docker/scripts/llvm_checksum/
H A Dllvm_checksum.py86 def read_and_collapse_svn_subsitutions(file_path): argument
87 with open(file_path, "rb") as f:
91 logging.debug("Replaced svn keyword substitutions in %s", file_path)
106 def add_file_hash(file_path): argument
107 if os.path.islink(file_path) and not os.path.exists(file_path):
108 content = os.readlink(file_path)
110 content = read_and_collapse_svn_subsitutions(file_path)
114 logging.debug("Checksum %s for file %s", file_digest, file_path)
115 files.append((file_path, file_digest))
123 for file_path, file_digest in files:
[all …]
/netbsd-src/tests/fs/vfs/
H A 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.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cc46 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
48 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
49 fd_t fd = OpenFile(file_path); in WriteModuleCoverage()
53 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage()
59 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
82 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
95 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
99 InternalFree(file_path); in SanitizerDumpCoverage()
H A Dsanitizer_suppressions.cc32 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument
41 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cc48 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
50 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
51 fd_t fd = OpenFile(file_path); in WriteModuleCoverage()
55 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage()
61 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
84 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
101 InternalFree(file_path); in SanitizerDumpCoverage()
H A Dsanitizer_suppressions.cc34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument
43 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A 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);
H A 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.old/dist/test/
H A Dct_test.c93 char *file_path = test_mk_file_path(dir, file); in load_pem_cert() local
95 if (file_path != NULL) { in load_pem_cert()
96 BIO *cert_io = BIO_new_file(file_path, "r"); in load_pem_cert()
103 OPENSSL_free(file_path); in load_pem_cert()
111 char *file_path = test_mk_file_path(dir, file); in read_text_file() local
113 if (file_path != NULL) { in read_text_file()
114 BIO *file_io = BIO_new_file(file_path, "r"); in read_text_file()
121 OPENSSL_free(file_path); in read_text_file()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A 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/
H A 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/apache2/llvm/dist/clang/docs/tools/
H A Dgenerate_formatted_state.py110 file_path = os.path.join(root, filename) variable
111 ext = os.path.splitext(file_path)[-1].lower()
117 args = ["clang-format", "-n", file_path]
121 relpath = os.path.relpath(file_path, TOP_DIR)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/builtin_commands/
H A Ddiff.py107 def printDirVsFile(dir_path, file_path): argument
108 if os.path.getsize(file_path):
112 sys.stdout.write(msg % (dir_path, file_path) + "\n")
114 def printFileVsDir(file_path, dir_path): argument
115 if os.path.getsize(file_path):
119 sys.stdout.write(msg % (file_path, dir_path) + "\n")
/netbsd-src/external/apache2/llvm/dist/clang/utils/analyzer/
H A DSATestBenchmark.py25 def _save(data: pd.DataFrame, file_path: str):
26 data.to_csv(file_path, index_label=INDEX_COLUMN)
29 def _load(file_path: str) -> pd.DataFrame:
30 return pd.read_csv(file_path, index_col=INDEX_COLUMN)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A DTest.py222 def __init__(self, suite, path_in_suite, config, file_path = None): argument
226 self.file_path = file_path
291 if self.file_path:
292 return self.file_path
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dinput.c73 const char *file_path; variable
259 total_lines_num (const char *file_path) in total_lines_num() argument
263 if (linemap_get_file_highest_location (line_table, file_path, &l)) in total_lines_num()
277 lookup_file_in_cache_tab (const char *file_path) in lookup_file_in_cache_tab() argument
279 if (file_path == NULL) in lookup_file_in_cache_tab()
289 if (c->file_path && !strcmp (c->file_path, file_path)) in lookup_file_in_cache_tab()
307 diagnostics_file_cache_forcibly_evict_file (const char *file_path) in diagnostics_file_cache_forcibly_evict_file() argument
309 gcc_assert (file_path); in diagnostics_file_cache_forcibly_evict_file()
311 fcache *r = lookup_file_in_cache_tab (file_path); in diagnostics_file_cache_forcibly_evict_file()
316 r->file_path = NULL; in diagnostics_file_cache_forcibly_evict_file()
[all …]
H A Dinput.h86 extern char_span location_get_source_line (const char *file_path, int line);
88 extern bool location_missing_trailing_newline (const char *file_path);
177 void diagnostics_file_cache_forcibly_evict_file (const char *file_path);
/netbsd-src/usr.sbin/makemandb/
H A 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/gcc.old/dist/gcc/c-family/
H A Dc-ppoutput.c401 const char *file_path = LOCATION_FILE (src_loc); in print_line_1() local
403 size_t to_file_len = strlen (file_path); in print_line_1()
409 print.src_file = file_path; in print_line_1()
414 (const unsigned char *) file_path, in print_line_1()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-ppoutput.cc499 const char *file_path = LOCATION_FILE (src_loc); in print_line_1() local
500 size_t to_file_len = strlen (file_path); in print_line_1()
507 (const unsigned char *) file_path, in print_line_1()
512 print.src_file = file_path; in print_line_1()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dgooglebenchmark.py87 file_path=execpath)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/formats/
H A Dgoogletest.py107 file_path=execpath)
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-fs.c2516 char file_path[MAX_PATH]; in TEST_IMPL() local
2550 if (snprintf(file_path, in TEST_IMPL()
2551 sizeof(file_path), in TEST_IMPL()
2557 ASSERT_EQ(uv_fs_lstat(loop, &stat_req, file_path, NULL), 0); in TEST_IMPL()

12