Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/mit/isl/dist/
H A Dpy-compile113 filetrans="filepath = path"
115 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
146 if not os.path.exists(filepath) or not (len(filepath) >= 3
147 and filepath[-3:] == '.py'):
152 py_compile.compile(filepath, $import_call(filepath), path)
154 py_compile.compile(filepath, filepath + 'c', path)
170 if not os.path.exists(filepath) or not (len(filepath) >= 3
171 and filepath[-3:] == '.py'):
176 py_compile.compile(filepath, $import_call(filepath$import_arg2), path)
178 py_compile.compile(filepath, filepath + 'o', path)
/netbsd-src/tests/lib/libc/gen/posix_spawn/
H A Dt_spawn.c235 spawn_chdir(const char *dirpath, const char *filepath, int operation, in spawn_chdir() argument
244 if (filepath) in spawn_chdir()
245 empty_outfile(filepath); in spawn_chdir()
347 char *chdirwd, *filepath; in ATF_TC_BODY() local
350 error = asprintf(&filepath, "%s/%s", relative_dir, FILENAME); in ATF_TC_BODY()
352 unlink(filepath); in ATF_TC_BODY()
353 free(filepath); in ATF_TC_BODY()
363 error = asprintf(&filepath, "%s/%s", chdirwd, FILENAME); in ATF_TC_BODY()
369 printf("filepath: %s\n", filepath); in ATF_TC_BODY()
372 spawn_chdir(relative_dir, filepath, 1, 0); in ATF_TC_BODY()
[all …]
/netbsd-src/libexec/ld.elf_so/
H A Dload.c114 _rtld_load_object(const char *filepath, int flags) in _rtld_load_object() argument
119 size_t pathlen = strlen(filepath); in _rtld_load_object()
122 if (pathlen == obj->pathlen && !strcmp(obj->path, filepath)) in _rtld_load_object()
134 if ((fd = open(filepath, O_RDONLY)) == -1) { in _rtld_load_object()
135 _rtld_error("Cannot open \"%s\"", filepath); in _rtld_load_object()
139 _rtld_error("Cannot fstat \"%s\"", filepath); in _rtld_load_object()
153 strcmp(_rtld_objself.path, filepath) == 0) { in _rtld_load_object()
160 obj = _rtld_map_object(filepath, fd, &sb); in _rtld_load_object()
164 _rtld_digest_dynamic(filepath, obj); in _rtld_load_object()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-go/
H A Dllvm-go.go73 bin, _ := filepath.Split(os.Args[0])
74 configpath = filepath.Join(bin, "llvm-config")
164 path := filepath.Join(tmpgopath, "src", p.pkgpath)
165 err := os.MkdirAll(filepath.Dir(path), os.ModePerm)
171 if !filepath.IsAbs(abspath) {
172 abspath = filepath.Join(srcdir, abspath)
184 newgopathlist = append(newgopathlist, filepath.SplitList(os.Getenv("GOPATH"))...)
185 newgopath := strings.Join(newgopathlist, string(filepath.ListSeparator))
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dhardlink.c64 lookup_file_by_inode (const char *filepath) in lookup_file_by_inode() argument
72 file = strrchr (filepath, '/'); in lookup_file_by_inode()
76 file = filepath; in lookup_file_by_inode()
112 p = findnode (hp->data, filepath); in lookup_file_by_inode()
117 p->key = xstrdup (filepath); in lookup_file_by_inode()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_common.cc61 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument
63 if (!filepath) return nullptr; in StripPathPrefix()
64 if (!strip_path_prefix) return filepath; in StripPathPrefix()
65 const char *res = filepath; in StripPathPrefix()
66 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
H A Dsanitizer_win.cc413 const char *filepath; member
437 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap()
448 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap()
449 } else if (mi.filepath[0]) { in DumpProcessMap()
450 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common.cc59 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument
61 if (!filepath) return nullptr; in StripPathPrefix()
62 if (!strip_path_prefix) return filepath; in StripPathPrefix()
63 const char *res = filepath; in StripPathPrefix()
64 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
H A Dsanitizer_win.cc415 const char *filepath; member
439 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap()
450 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap()
451 } else if (mi.filepath[0]) { in DumpProcessMap()
452 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
H A Dsanitizer_common.h203 const char *StripPathPrefix(const char *filepath,
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common.cpp59 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() argument
61 if (!filepath) return nullptr; in StripPathPrefix()
62 if (!strip_path_prefix) return filepath; in StripPathPrefix()
63 const char *res = filepath; in StripPathPrefix()
64 if (const char *pos = internal_strstr(filepath, strip_path_prefix)) in StripPathPrefix()
H A Dsanitizer_win.cpp463 const char *filepath; member
487 module_infos[i].filepath = modules[i].full_name(); in DumpProcessMap()
498 mi.filepath[0] ? mi.filepath : "[no name]"); in DumpProcessMap()
499 } else if (mi.filepath[0]) { in DumpProcessMap()
500 Printf("\t??\?-??? %s\n", mi.filepath); in DumpProcessMap()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/logger/
H A Dfilelogger.d212 const string filepath = tmpFolder ~ "/bug15771/minas/oops/"; variable
213 const string filename = filepath ~ "output.txt";
214 assert(!exists(filepath));
220 assert(exists(filepath));
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/logger/
H A Dfilelogger.d219 const string filepath = tmpFolder ~ "/bug15771/minas/oops/"; variable
220 const string filename = filepath ~ "output.txt";
221 assert(!exists(filepath));
227 assert(exists(filepath));
/netbsd-src/external/apache2/llvm/dist/llvm/tools/sancov/
H A Dcoverage-report-server.py154 filepath = os.path.join(self.src_path, filename)
155 if not os.path.exists(filepath):
166 with open(filepath, 'r', encoding='utf8') as f:
/netbsd-src/usr.sbin/rbootd/
H A Drmpproto.c290 char *filename, filepath[RMPBOOTDATA+1]; in SendBootRepl() local
320 dst1 = filepath; in SendBootRepl()
341 if ((filename = strrchr(filepath,'/')) != NULL) in SendBootRepl()
344 filename = filepath; in SendBootRepl()
/netbsd-src/external/bsd/atf/dist/atf-sh/
H A Datf-sh.cpp55 const atf::fs::path filepath(filename); in fix_plain_name() local
56 if (filepath.branch_path().str() == ".") in fix_plain_name()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_path.c429 int filepath, in _krb5_expand_path_tokens() argument
432 return _krb5_expand_path_tokensv(context, path_in, filepath, ppath_out, NULL); in _krb5_expand_path_tokens()
464 int filepath, in _krb5_expand_path_tokensv() argument
595 if (filepath && *ppath_out) { in _krb5_expand_path_tokensv()
H A Dcache.c193 int filepath; in allocate_ccache() local
195 filepath = (strcmp("FILE", ops->prefix) == 0 in allocate_ccache()
199 ret = _krb5_expand_path_tokens(context, residual, filepath, &exp_residual); in allocate_ccache()
419 int filepath; in _krb5_expand_default_cc_name() local
421 filepath = (strncmp("FILE:", str, 5) == 0 in _krb5_expand_default_cc_name()
425 return _krb5_expand_path_tokens(context, str, filepath, res); in _krb5_expand_default_cc_name()
517 int filepath; in krb5_cc_set_default_name() local
604 filepath = (strncmp("FILE:", p, 5) == 0 in krb5_cc_set_default_name()
608 ret = _krb5_expand_path_tokens(context, p, filepath, &exp_p); in krb5_cc_set_default_name()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/formats/
H A Dbase.py22 filepath = os.path.join(source_path, filename)
23 if not os.path.isdir(filepath):
/netbsd-src/usr.sbin/sysinst/
H A Dpartman.c103 char filepath[STRSIZE]; member
937 if (strlen(dev_ptr->filepath) < 1) in pm_vnd_menufmt()
941 pm_fmt_disk_line(m->mw, dev, dev_ptr->filepath, in pm_vnd_menufmt()
944 pm_fmt_disk_line(m->mw, dev, dev_ptr->filepath, in pm_vnd_menufmt()
982 msg_string(MSG_vnd_path_fmt), dev_ptr->filepath); in pm_vnd_edit_menufmt()
1051 dev_ptr->filepath, dev_ptr->filepath, STRSIZE); in pm_vnd_set_value()
1052 if (dev_ptr->filepath[0] != '/') { in pm_vnd_set_value()
1053 strlcpy(buf, dev_ptr->filepath, MOUNTLEN); in pm_vnd_set_value()
1054 snprintf(dev_ptr->filepath, MOUNTLEN, "/%s", in pm_vnd_set_value()
1057 if (dev_ptr->filepath[strlen(dev_ptr->filepath) - 1] in pm_vnd_set_value()
[all …]
/netbsd-src/sys/arch/hpc/stand/hpcboot/menu/
H A Dmenu.cpp529 TCHAR filepath[MAX_PATH]; in _open_log_file() local
537 wsprintf(filepath, TEXT("\\%s\\%s"), path, filename); in _open_log_file()
538 _logfile = CreateFile(filepath, GENERIC_WRITE, 0, 0, in _open_log_file()
543 wsprintf(path, TEXT("log file is %s\n"), filepath); in _open_log_file()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dformat.py208 filepath = os.path.join(sourcePath, filename)
209 if not os.path.isdir(filepath):
/netbsd-src/usr.sbin/makefs/v7fs/
H A Dv7fs_populate.c134 const char *filepath) in file_copy() argument
167 if ((fd = open(filepath, O_RDONLY)) == -1) { in file_copy()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-201779 * lang.opt (fmodule-filepath=): Rename to fmodule-file.
947 (d_init_options): Handle -fmodule-filepath= and -Wspeculative.
952 (fmodule-filepath=): Declare.

12