/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_util.h | 56 #define CHECKALT(td, upath, pathp, i) \ 60 _error = ibcs2_emul_find(td, upath, UIO_USERSPACE, pathp, i); \ 61 if (*(pathp) == NULL) \ 65 #define CHECKALTEXIST(td, upath, pathp) CHECKALT(td, upath, pathp, 0) 66 #define CHECKALTCREAT(td, upath, pathp) CHECKALT(td, upath, pathp, 1)
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_util.h | 51 #define CHECKALT(td, upath, pathp, i) \ 55 _error = svr4_emul_find(td, upath, UIO_USERSPACE, pathp, i); \ 56 if (*(pathp) == NULL) \ 60 #define CHECKALTEXIST(td, upath, pathp) CHECKALT(td, upath, pathp, 0) 61 #define CHECKALTCREAT(td, upath, pathp) CHECKALT(td, upath, pathp, 1)
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | relocate.h | 25 char *searchpath (const char *name, const char *pathp);
|
H A D | font.h | 63 static FILE *open_file(const char *name, char **pathp);
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | rb.h | 467 } path[sizeof(void *) << 4], *pathp; \ 471 for (pathp = path; pathp->node != NULL; pathp++) { \ 472 int cmp = pathp->cmp = a_cmp(node, pathp->node); \ 475 pathp[1].node = rbtn_left_get(a_type, a_field, \ 476 pathp->node); \ 478 pathp[1].node = rbtn_right_get(a_type, a_field, \ 479 pathp [all...] |
/freebsd-11-stable/lib/libc/posix1e/ |
H A D | acl_valid.c | 80 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) argument 83 if (pathp == NULL || acl == NULL) { 91 return (__acl_aclcheck_file(pathp, type, &acl->ats_acl)); 95 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) argument 98 if (pathp == NULL || acl == NULL) { 106 return (__acl_aclcheck_link(pathp, type, &acl->ats_acl));
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | searchpath.cpp | 97 FILE *search_path::open_file(const char *name, char **pathp) argument 103 if (pathp) 104 *pathp = strsave(name); 132 if (pathp) 133 *pathp = path; 146 FILE *search_path::open_file_cautious(const char *name, char **pathp, argument 153 if (pathp) 154 *pathp = strsave(reading ? "stdin" : "stdout"); 160 if (pathp) 161 *pathp [all...] |
H A D | fontfile.cpp | 62 FILE *font::open_file(const char *nm, char **pathp) argument 66 FILE *fp = font_path.open_file(filename, pathp);
|
H A D | relocate.cpp | 74 char *searchpath(const char *name, const char *pathp) argument 80 fprintf(stderr, "searchpath: pathp: `%s'\n", pathp); 100 char *p = (char *)pathp; 129 char *searchpathext(const char *name, const char *pathext, const char *pathp) argument 139 found = searchpath(namex, pathp);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_util.h | 55 #define LCONVPATH_AT(td, upath, pathp, i, dfd) \ 60 pathp, i, dfd); \ 61 if (*(pathp) == NULL) \ 65 #define LCONVPATH(td, upath, pathp, i) \ 66 LCONVPATH_AT(td, upath, pathp, i, AT_FDCWD) 68 #define LCONVPATHEXIST(td, upath, pathp) LCONVPATH(td, upath, pathp, 0) 69 #define LCONVPATHEXIST_AT(td, upath, pathp, dfd) LCONVPATH_AT(td, upath, pathp, 0, dfd) 70 #define LCONVPATHCREAT(td, upath, pathp) LCONVPAT [all...] |
/freebsd-11-stable/stand/common/ |
H A D | ls.c | 54 static int ls_getdir(char **pathp); 157 ls_getdir(char **pathp) argument 167 path = malloc(strlen(*pathp) + 2); 173 strcpy(path, *pathp); 203 *pathp = path; 208 *pathp = NULL;
|
/freebsd-11-stable/contrib/dtc/ |
H A D | fdtget.c | 155 const char *pathp; local 162 pathp = fdt_get_name(blob, node, NULL); 164 if (pathp == NULL) 165 pathp = "/* NULL pointer error */"; 166 if (*pathp == '\0') 167 pathp = "/"; /* root is nameless */ 169 puts(pathp);
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | recover.c | 626 char *name, *p, *t, *rp, *recp, *pathp; local 641 recp = pathp = NULL; 722 t = pathp; 724 pathp = path; 764 if (file_init(sp, frp, pathp, 0)) { 766 free(pathp); 770 free(pathp);
|
/freebsd-11-stable/sys/contrib/libfdt/ |
H A D | fdt_overlay.c | 93 * @pathp: pointer which receives the path of the target (or NULL) 104 int fragment, char const **pathp) 141 if (pathp) 142 *pathp = path ? path : NULL; 103 overlay_get_target(const void *fdt, const void *fdto, int fragment, char const **pathp) argument
|
/freebsd-11-stable/sys/security/audit/ |
H A D | audit.c | 671 char **pathp; local 707 pathp = &ar->k_ar.ar_arg_upath1; 708 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 709 audit_canon_path(td, AT_FDCWD, path, *pathp);
|
H A D | audit_arg.c | 714 audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp) argument 717 if (*pathp == NULL) 718 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); 719 audit_canon_path(td, dirfd, upath, *pathp);
|
/freebsd-11-stable/contrib/amd/fixmount/ |
H A D | fixmount.c | 156 char *pathp = dir_path; local 173 (char *) &pathp,
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap.c | 1532 * are set to NULL, *pathp is set to point to the source, and 0 is 1537 * to NULL, *pathp is set to point to the device name, and 0 is returned. 1556 * *pathp is set to point to an allocated string containing the 1565 char **hostp, char **portp, char **pathp, char *ebuf) 1583 *pathp = NULL; 1612 *pathp = strdup(source); 1613 if (*pathp == NULL) { 1637 *pathp = strdup(source); 1638 if (*pathp == NULL) { 1669 *pathp [all...] |
/freebsd-11-stable/contrib/groff/src/preproc/html/ |
H A D | pre-html.cpp | 290 char *pathp; local 293 f = font_path.open_file("devps/DESC", &pathp); 294 a_delete pathp; local
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_cscope.c | 303 char *p, **pathp, *buf; local 345 for (pathp = csc->paths, p = strtok(csc->pbuf, ":"); 347 *pathp++ = p;
|
/freebsd-11-stable/sys/dev/wds/ |
H A D | wd7000.c | 517 struct cam_path *pathp; local 620 if (xpt_create_path(&pathp, /* periph */ NULL, 629 wp->path = pathp;
|
/freebsd-11-stable/stand/fdt/ |
H A D | fdt_loader_cmd.c | 1618 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) argument 1621 char *path = *pathp, *name = NULL, *subpath = NULL; 1648 *pathp = path;
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_base.c | 1652 * string, setting *nodep to "NODE" (or NULL if none) and *pathp 1659 ng_path_parse(char *addr, char **nodep, char **pathp, char **hookp) argument 1716 if (pathp) 1717 *pathp = path;
|