Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/lib/libc/gen/
H A Dposix_spawnp.c54 char fpath[FILENAME_MAX]; in posix_spawnp() local
108 if (lp + ln + 2 > sizeof(fpath)) { in posix_spawnp()
114 memcpy(fpath, p, lp); in posix_spawnp()
115 fpath[lp] = '/'; in posix_spawnp()
116 memcpy(fpath + lp + 1, file, ln); in posix_spawnp()
117 fpath[lp + ln + 1] = '\0'; in posix_spawnp()
121 * here, using the current fpath as the filename, but in posix_spawnp()
130 if (access(fpath, X_OK) == 0) in posix_spawnp()
136 fpath[0] = '\0'; in posix_spawnp()
141 if (fpath[ in posix_spawnp()
[all...]
/netbsd-src/external/apache2/llvm/dist/libcxx/cmake/Modules/
H A DHandleLibCXXABI.cmake37 foreach(fpath ${LIBCXX_ABILIB_FILES})
40 message(STATUS "Looking for ${fpath} in ${incpath}")
41 if (EXISTS "${incpath}/${fpath}")
43 message(STATUS "Looking for ${fpath} in ${incpath} - found")
44 get_filename_component(dstdir ${fpath} PATH)
45 get_filename_component(ifile ${fpath} NAME)
46 set(src ${incpath}/${fpath})
52 COMMENT "Copying C++ ABI header ${fpath}...")
57 set(dst "${LIBCXX_GENERATED_INCLUDE_DIR}/${dstdir}/${fpath}")
61 COMMENT "Copying C++ ABI header ${fpath}...")
[all …]
/netbsd-src/tests/fs/vfs/
H A Dt_vfsops.c77 char fpath[MAXPATHLEN]; in tfilehandle() local
83 sprintf(fpath, "%s/file", path); in tfilehandle()
84 fd = rump_sys_open(fpath, O_RDWR | O_CREAT, 0777); in tfilehandle()
97 if (rump_sys_getfh(fpath, NULL, &fhsize) == -1) { in tfilehandle()
106 if (rump_sys_getfh(fpath, fhp, &fhsize) == -1) in tfilehandle()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dwciia.py76 def find_owners(fpath): argument
86 if fpath == path:
93 if len(fpath) < len(path):
94 rpos = path.find(fpath)
H A Dllvm-compilers-check115 def is_executable(fpath): argument
116 return os.path.exists(fpath) and os.access(fpath, os.X_OK)
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dfeasible-graph.cc229 auto_vec<const feasible_edge *> fpath; in dump_feasible_path() local
238 fpath.safe_push (pred_fedge); in dump_feasible_path()
243 fpath.reverse (); in dump_feasible_path()
245 for (unsigned i = 0; i < fpath.length (); i++) in dump_feasible_path()
247 const feasible_edge *fedge = fpath[i]; in dump_feasible_path()
/netbsd-src/external/bsd/pkg_install/dist/lib/
H A Dfile.c249 char fpath[MaxPathSize]; in remove_files() local
254 (void) snprintf(fpath, sizeof(fpath), "%s/%s", path, pattern); in remove_files()
255 if ((i=glob(fpath, GLOB_NOSORT, NULL, &globbed)) != 0) { in remove_files()
258 warn("no files matching ``%s'' found", fpath); in remove_files()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dstat-w32.c285 char fpath[PATH_MAX]; in _gl_fstat_by_handle() local
288 && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) in _gl_fstat_by_handle()
289 < sizeof (fpath) in _gl_fstat_by_handle()
290 && (path = fpath, 1))) in _gl_fstat_by_handle()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ct/
H A Dct_log.c140 const char *fpath = ossl_safe_getenv(CTLOG_FILE_EVP); in CTLOG_STORE_load_default_file() local
142 if (fpath == NULL) in CTLOG_STORE_load_default_file()
143 fpath = CTLOG_FILE; in CTLOG_STORE_load_default_file()
145 return CTLOG_STORE_load_file(store, fpath); in CTLOG_STORE_load_default_file()
/netbsd-src/sbin/scan_ffs/
H A Dscan_ffs.c493 const char *fpath; in main() local
497 fpath = NULL; in main()
512 fpath = optarg; in main()
537 if (stat(fpath, &stp)) in main()
538 err(1, "Cannot stat `%s'", fpath); in main()
546 fd = open(fpath, O_RDONLY | O_DIRECT); in main()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ct/
H A Dct_log.c170 const char *fpath = ossl_safe_getenv(CTLOG_FILE_EVP); in CTLOG_STORE_load_default_file() local
172 if (fpath == NULL) in CTLOG_STORE_load_default_file()
173 fpath = CTLOG_FILE; in CTLOG_STORE_load_default_file()
175 return CTLOG_STORE_load_file(store, fpath); in CTLOG_STORE_load_default_file()
/netbsd-src/usr.sbin/npf/npftest/
H A Dnpftest.c86 load_npf_config(const char *fpath) in load_npf_config() argument
96 if ((fd = open(fpath, O_RDONLY)) == -1) { in load_npf_config()
119 printf("Loaded NPF config at '%s'\n", fpath); in load_npf_config()
/netbsd-src/bin/ksh/
H A Dexec.c600 if (!tp->u.fpath) {
613 if (include(tp->u.fpath, 0, (char **) 0, 0) < 0) {
616 cp, tp->u.fpath, strerror(errno));
625 cp, tp->u.fpath);
900 char *fpath; /* for function autoloading */ local
918 if ((fpath = str_val(global("FPATH"))) == null) {
919 tp->u.fpath = (char *) 0;
922 tp->u.fpath = search(name, fpath, R_OK,
974 && (fpath = str_val(global("FPATH"))) != null
975 && (npath = search(name, fpath, R_OK,
[all …]
H A Dtable.h31 char *fpath; /* temporary path to undef function */ member
H A Dc_ksh.c507 if (tp->u.fpath)
509 tp->u.fpath);
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldif/
H A Dldif.c288 #define FILL_PATH(fpath, dir_end, filename) \ argument
289 ((fpath)->bv_len = lutil_strcopy(dir_end, filename) - (fpath)->bv_val)
952 struct berval fpath; /* becomes child pathname */ in ldif_search_entry() local
957 rc = ldif_readdir( op, rs, path, &list, &fpath.bv_len ); in ldif_search_entry()
968 dir_end = fullpath_alloc( &fpath, path, fpath.bv_len ); in ldif_search_entry()
977 FILL_PATH( &fpath, dir_end, BVL_NAME( ptr )); in ldif_search_entry()
979 rc = ldif_read_entry( op, fpath.bv_val, &dn, &ndn, in ldif_search_entry()
983 rc = ldif_search_entry( op, rs, e, scope, &fpath ); in ldif_search_entry()
993 "\"%s\"\n", fpath.bv_val ); in ldif_search_entry()
1002 if ( !BER_BVISNULL( &fpath ) ) in ldif_search_entry()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_diff.c59 do_name_cmp(const char *fpath, const char *tpath) in do_name_cmp() argument
62 fname = strrchr(fpath, '/') + 1; in do_name_cmp()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfile.d4122 immutable fpath = deleteme ~ "_file";
4128 if (fpath.exists) remove(fpath);
4134 write(fpath, "hello world");
4138 core.sys.posix.unistd.symlink((fpath ~ '\0').ptr, (sfpath ~ '\0').ptr);
4142 auto tests = [dpath : Flags(true), fpath : Flags(false, true)];
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfile.d5049 immutable fpath = deleteme ~ "_file";
5055 if (fpath.exists) remove(fpath);
5061 write(fpath, "hello world");
5065 core.sys.posix.unistd.symlink((fpath ~ '\0').ptr, (sfpath ~ '\0').ptr);
5069 auto tests = [dpath : Flags(true), fpath : Flags(false, true)];
/netbsd-src/external/gpl2/gawk/dist/
H A Dawk.texi22208 fpath = pathto($2)
22210 if (fpath == "") @{
22216 if (! (fpath in processed)) @{
22217 processed[fpath] = input[stackptr]
22218 input[++stackptr] = fpath # push onto stack
22222 processed[fpath] > "/dev/stderr"
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog5804 fpath.txt output.
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dinvoke.texi10213 @file{@var{file}.*.tg.dot}, and @file{@var{file}.*.fpath.txt}.
H A Dgcc.info9201 and 'FILE.*.fpath.txt'.