Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
37 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
46 cmd = ([os.path.abspath(os.path.join(THIS_DIR, FUZZER))] + sys.argv[2:]
/freebsd/lib/libefivar/
H A Defivar-dp-xlate.c128 efi_hd_to_unix(struct gmesh *mesh, const_efidp dp, char **dev, char **relpath, char **abspath) in efi_hd_to_unix() argument
289 asprintf(abspath, "/%s", *relpath); in efi_hd_to_unix()
291 asprintf(abspath, "%s/%s", mnt[i].f_mntonname, *relpath); in efi_hd_to_unix()
346 efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath) in efivar_device_path_to_unix_path() argument
355 if (dp == NULL || dev == NULL || relpath == NULL || abspath == NULL) in efivar_device_path_to_unix_path()
360 *abspath = NULL; in efivar_device_path_to_unix_path()
403 rv = efi_hd_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
406 rv = efi_cdrom_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
408 rv = efi_floppy_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
410 rv = efi_zpool_to_unix(&mesh, walker, dev, relpath, abspath); in efivar_device_path_to_unix_path()
H A Defivar-dp.h66 int efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath);
/freebsd/tests/sys/vfs/
H A Dlookup_cap_dotdot.c40 static char *abspath; variable
58 asprintf(&abspath, "%s/testdir/d1/f1", cwd); in prepare_dotdot_tests()
104 ATF_REQUIRE(open(abspath, O_RDONLY) >= 0); in ATF_TC_BODY()
105 ATF_REQUIRE(openat(dirfd, abspath, O_RDONLY) >= 0); in ATF_TC_BODY()
203 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, abspath, O_RDONLY) < 0); in ATF_TC_BODY()
/freebsd/contrib/wpa/src/
H A Dbuild.rules10 BUILDDIR ?= $(abspath $(ROOTDIR)build)
12 ABSROOT := $(abspath $(ROOTDIR))
17 _PROJ := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
103 $(Q)$(MAKE) -C $(ROOTDIR)$(dir $(@:$(BUILDDIR)/$(PROJ)/%=%)) OUT=$(abspath $(dir $@))/
H A Dlib.rules2 _LIBNAME := $(notdir $(patsubst %/,%,$(dir $(abspath $(_LIBMK)))))
/freebsd/contrib/capsicum-test/
H A Dfexecve.cc175 char *abspath = realpath(exec_prog_.c_str(), NULL); in TEST_F() local
185 execveat(AT_FDCWD, abspath, argv_pass_, null_envp, 0)); in TEST_F()
187 execveat(dfd, abspath, argv_pass_, null_envp, 0)); in TEST_F()
204 free(abspath); in TEST_F()
/freebsd/contrib/wpa/hostapd/
H A DMakefile25 CFLAGS += -I$(abspath ../src)
26 CFLAGS += -I$(abspath ../src/utils)
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py119 return os.path.abspath(GetFlag('source_dir'))
125 return os.path.abspath(GetFlag('build_dir'))
159 path = os.path.abspath(
/freebsd/usr.sbin/efivar/
H A Defiutil.c121 char *dev, *relpath, *abspath; in efi_print_load_option() local
168 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_print_load_option()
175 free(abspath); in efi_print_load_option()
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.c747 char *dev, *relpath, *abspath; in print_loadopt_str() local
792 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in print_loadopt_str()
794 printf("%*s%s:%s %s\n", indent + 4, "", dev, relpath, abspath); in print_loadopt_str()
797 free(abspath); in print_loadopt_str()
1001 char *name, *dev, *relpath, *abspath; in report_esp_device() local
1041 if (efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath) != 0) in report_esp_device()
1044 if (abspath == NULL) in report_esp_device()
1047 abspath[strlen(abspath) - strlen(relpath) - 1] = '\0'; in report_esp_device()
1048 printf("%s\n", abspath); in report_esp_device()
1054 free(abspath); in report_esp_device()
/freebsd/usr.sbin/efidp/
H A Defidp.c170 char *walker, *dev, *relpath, *abspath; in efi_to_unix() local
177 rv = efivar_device_path_to_unix_path(dp, &dev, &relpath, &abspath); in efi_to_unix()
179 printf("%s:%s %s\n", dev, relpath, abspath); in efi_to_unix()
/freebsd/contrib/wpa/wpa_supplicant/
H A DMakefile39 CFLAGS += -I$(abspath ../src)
40 CFLAGS += -I$(abspath ../src/utils)
/freebsd/sys/contrib/openzfs/contrib/pyzfs/docs/source/
H A Dconf.py22 sys.path.insert(0, os.path.abspath('../..'))
/freebsd/contrib/libcbor/doc/source/
H A Dconf.py22 sys.path.append(os.path.abspath(os.path.dirname(__file__)))
/freebsd/contrib/libucl/python/
H A Dsetup.py12 LIB_ROOT = os.path.abspath(os.path.join(__file__, os.pardir, os.pardir))
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c960 char *abspath = malloc(MAXPATHLEN); in draid_verify() local
961 if (abspath == NULL) in draid_verify()
964 if (realpath(argv[optind], abspath) != NULL) in draid_verify()
965 strlcpy(filename, abspath, sizeof (filename)); in draid_verify()
969 free(abspath); in draid_verify()
/freebsd/share/mk/
H A Dmeta2deps.py141 def abspath(path, cwd, last_dir=None, debug=0, debug_out=sys.stderr): function
513 cwd = abspath(w[2], cwd, None, self.debug, self.debug_out)
619 dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
/freebsd/contrib/bmake/mk/
H A Dmeta2deps.py141 def abspath(path, cwd, last_dir=None, debug=0, debug_out=sys.stderr): function
513 cwd = abspath(w[2], cwd, None, self.debug, self.debug_out)
619 dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
/freebsd/contrib/bmake/
H A Dmain.c1146 const char *abspath = cached_realpath(argv0, pathbuf); in InitVarMake() local
1148 if (abspath != NULL && abspath[0] == '/' && in InitVarMake()
1150 make = abspath; in InitVarMake()
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in754 testgroup = TestGroup(os.path.abspath(pathname),
1060 value = set(os.path.abspath(p) for p in value.split(','))
1065 setattr(parser.values, option.dest, os.path.abspath(value))
1137 options.pathnames = [os.path.abspath(path) for path in pathnames]
/freebsd/libexec/tftpd/tests/
H A Dfunctional.c451 TFTPD_TC_DEFINE(abspath,)
1246 TFTPD_TC_ADD(tp, abspath); in ATF_TP_ADD_TCS()
/freebsd/crypto/openssl/doc/man5/
H A Dconfig.pod51 be enforced with the B<abspath> and B<includedir> pragmas, described below.
60 .pragma [=] abspath:value