Home
last modified time | relevance | path

Searched refs:full_path (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dprov_config_test.c78 char *full_path = NULL; in test_path_config() local
84 full_path = OPENSSL_zalloc(strlen(module_path) + strlen(P_TEST_PATH) + 1); in test_path_config()
85 if (!TEST_ptr(full_path)) in test_path_config()
88 strcpy(full_path, module_path); in test_path_config()
89 full_path = strcat(full_path, P_TEST_PATH); in test_path_config()
90 TEST_info("full path is %s", full_path); in test_path_config()
91 rc = stat(full_path, &sbuf); in test_path_config()
92 OPENSSL_free(full_path); in test_path_config()
/freebsd/sbin/nvmecontrol/
H A Dnvmecontrol.c172 char full_path[MAXPATHLEN]; in open_dev() local
175 strlcpy(full_path, str, sizeof(full_path)); in open_dev()
177 snprintf(full_path, sizeof(full_path), _PATH_DEV"%s", str); in open_dev()
178 *fd = open(full_path, write ? O_RDWR : O_RDONLY); in open_dev()
181 err(EX_OSFILE, "could not open %s%s", full_path, in open_dev()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.cpp57 internal_snprintf(full_path, kMaxPathLength, "%s.%s.%zu", path_prefix, in ReopenIfNecessary()
60 internal_snprintf(full_path, kMaxPathLength, "%s.%zu", path_prefix, pid); in ReopenIfNecessary()
63 internal_strlcat(full_path, common_flags()->log_suffix, kMaxPathLength); in ReopenIfNecessary()
66 fd = OpenFile(full_path, WrOnly, &err); in ReopenIfNecessary()
70 WriteToFile(kStderrFd, full_path, internal_strlen(full_path)); in ReopenIfNecessary()
126 return full_path; in GetReportPath()
H A Dsanitizer_file.h42 char full_path[kMaxPathLength]; member
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c136 zfsctl_snapshot_alloc(const char *full_name, const char *full_path, spa_t *spa, in zfsctl_snapshot_alloc() argument
144 se->se_path = kmem_strdup(full_path); in zfsctl_snapshot_alloc()
761 int path_len, char *full_path) in zfsctl_snapshot_path_objset() argument
788 snprintf(full_path, path_len, "%s/.zfs/snapshot/%s", in zfsctl_snapshot_path_objset()
1166 char *full_name, *full_path, *options; in zfsctl_snapshot_mount() local
1181 full_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in zfsctl_snapshot_mount()
1229 snprintf(full_path, MAXPATHLEN, "%s/.zfs/snapshot/%s", in zfsctl_snapshot_mount()
1258 dprintf("mount; name=%s path=%s\n", full_name, full_path); in zfsctl_snapshot_mount()
1261 argv[9] = full_path; in zfsctl_snapshot_mount()
1266 full_path, error); in zfsctl_snapshot_mount()
[all …]
/freebsd/contrib/kyua/model/
H A Dtest_program.cpp173 const fs::path full_path = _pimpl->root / _pimpl->binary; in absolute_path() local
174 return full_path.is_absolute() ? full_path : full_path.to_absolute(); in absolute_path()
/freebsd/contrib/libpcap/
H A Dpcap-usb-linux.c464 char full_path[USB_LINE_LEN]; in usb_activate() local
501 snprintf(full_path, USB_LINE_LEN, "/dev/"USBMON_DEV_PREFIX"%d", in usb_activate()
503 handle->fd = open(full_path, O_RDONLY, 0); in usb_activate()
537 full_path); in usb_activate()
547 "Can't open USB bus file %s", full_path); in usb_activate()