| /freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | rb.h | 475 for (pathp = path; pathp->node != NULL; pathp++) { \ 476 int cmp = pathp->cmp = a_cmp(node, pathp->node); \ 488 for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) { \ 545 for (pathp = path; pathp->node != NULL; pathp++) { \ 546 int cmp = pathp->cmp = a_cmp(node, pathp->node); \ 555 pathp->cmp = 1; \ 556 nodep = pathp; \ 557 for (pathp++; pathp->node != NULL; pathp++) { \ 567 pathp--; \ 632 for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) { \ [all …]
|
| /freebsd-14.2/lib/libc/posix1e/ |
| H A D | acl_valid.c | 79 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_file_np() argument 82 if (pathp == NULL || acl == NULL) { in acl_valid_file_np() 90 return (__acl_aclcheck_file(pathp, type, &acl->ats_acl)); in acl_valid_file_np() 94 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_link_np() argument 97 if (pathp == NULL || acl == NULL) { in acl_valid_link_np() 105 return (__acl_aclcheck_link(pathp, type, &acl->ats_acl)); in acl_valid_link_np()
|
| /freebsd-14.2/stand/common/ |
| H A D | ls.c | 51 static int ls_getdir(char **pathp); 154 ls_getdir(char **pathp) in ls_getdir() argument 164 path = malloc(strlen(*pathp) + 2); in ls_getdir() 170 strcpy(path, *pathp); in ls_getdir() 200 *pathp = path; in ls_getdir() 205 *pathp = NULL; in ls_getdir()
|
| /freebsd-14.2/lib/libutil/ |
| H A D | pidfile.c | 123 pidfile_open(const char *pathp, mode_t mode, pid_t *pidptr) in pidfile_open() argument 135 if (pathp == NULL) { in pidfile_open() 141 if (strlcpy(path, pathp, sizeof(path)) >= sizeof(path)) { in pidfile_open() 148 (void)strlcpy(path, pathp, sizeof(path)); in pidfile_open() 344 pidfile_signal(const char *pathp, int sig, pid_t *pidptr) in pidfile_signal() argument 349 fd = flopenat(AT_FDCWD, pathp, in pidfile_signal() 363 errno = pidfile_read(AT_FDCWD, pathp, &pid); in pidfile_signal()
|
| H A D | libutil.h | 123 int pidfile_signal(const char *pathp, int sig, pid_t *pidptr);
|
| /freebsd-14.2/sys/security/audit/ |
| H A D | audit_arg.c | 737 if (*pathp == NULL) in audit_arg_upath() 738 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath() 739 audit_canon_path(td, dirfd, upath, *pathp); in audit_arg_upath() 770 char *upath, char **pathp) in audit_arg_upath_vp() argument 773 if (*pathp == NULL) in audit_arg_upath_vp() 774 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath_vp() 775 audit_canon_path_vp(td, rdir, cdir, upath, *pathp); in audit_arg_upath_vp() 814 audit_arg_upath_canon(char *upath, char **pathp) in audit_arg_upath_canon() argument 817 if (*pathp == NULL) in audit_arg_upath_canon() 818 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath_canon() [all …]
|
| H A D | audit.c | 796 char **pathp; in audit_proc_coredump() local 832 pathp = &ar->k_ar.ar_arg_upath1; in audit_proc_coredump() 833 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_proc_coredump() 834 audit_canon_path(td, AT_FDCWD, path, *pathp); in audit_proc_coredump()
|
| /freebsd-14.2/contrib/nvi/common/ |
| H A D | recover.c | 610 char *name, *p, *t, *rp, *recp, *pathp; local 625 recp = pathp = NULL; 712 t = pathp; 714 pathp = path; 758 if (file_init(sp, frp, pathp, 0)) { 760 free(pathp); 764 free(pathp);
|
| /freebsd-14.2/sys/contrib/libfdt/ |
| H A D | fdt_overlay.c | 104 int fragment, char const **pathp) in overlay_get_target() argument 141 if (pathp) in overlay_get_target() 142 *pathp = path ? path : NULL; in overlay_get_target()
|
| /freebsd-14.2/contrib/libpcap/ |
| H A D | pcap.c | 1773 char **hostp, char **portp, char **pathp, char *ebuf) argument 1791 *pathp = NULL; 1820 *pathp = strdup(source); 1821 if (*pathp == NULL) { 1845 *pathp = strdup(source); 1846 if (*pathp == NULL) { 1877 *pathp = strdup(colonp + 3); 1878 if (*pathp == NULL) { 1906 *pathp = strdup(colonp + 3); 1907 if (*pathp == NULL) { [all …]
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | misc.c | 803 parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp) in parse_user_host_path() argument 813 if (pathp != NULL) in parse_user_host_path() 814 *pathp = NULL; in parse_user_host_path() 849 if (pathp != NULL) { in parse_user_host_path() 850 *pathp = path; in parse_user_host_path() 999 int *portp, char **pathp) in parse_uri() argument 1017 if (pathp != NULL) in parse_uri() 1018 *pathp = NULL; in parse_uri() 1075 if (pathp != NULL) { in parse_uri() 1076 *pathp = path; in parse_uri()
|
| H A D | scp.c | 753 char **pathp) in parse_scp_uri() argument 757 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri() 758 if (r == 0 && *pathp == NULL) in parse_scp_uri() 759 *pathp = xstrdup("."); in parse_scp_uri()
|
| /freebsd-14.2/contrib/nvi/ex/ |
| H A D | ex_cscope.c | 306 char *p, **pathp, *buf; in get_paths() local 347 for (pathp = csc->paths, p = strtok(csc->pbuf, ":"); in get_paths() 349 *pathp++ = p; in get_paths()
|
| /freebsd-14.2/stand/fdt/ |
| H A D | fdt_loader_cmd.c | 1632 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) in fdt_extract_nameloc() argument 1635 char *path = *pathp, *name = NULL, *subpath = NULL; in fdt_extract_nameloc() 1662 *pathp = path; in fdt_extract_nameloc()
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_base.c | 1659 ng_path_parse(char *addr, char **nodep, char **pathp, char **hookp) in ng_path_parse() argument 1716 if (pathp) in ng_path_parse() 1717 *pathp = path; in ng_path_parse()
|