/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector2.cpp | 102 void Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath); 359 int npath = 0; local 370 npath--; 382 pt->path[npath++] = link; 385 return Report(pt, lt, npath); // Bingo! 398 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { argument 400 rep->n = npath; 401 for (int i = 0; i < npath; i++) { 403 Link *link0 = &pt->path[i ? i - 1 : npath - 1];
|
/openbsd-current/bin/ksh/ |
H A D | exec.c | 844 char *npath; local 905 npath = search(name, flags & FC_DEFPATH ? def_path : 907 if (npath) { 909 tp->val.s = npath; 911 tp->val.s = str_save(npath, APERM); 912 if (npath != name) 913 afree(npath, ATEMP); 918 (npath = search(name, fpath, R_OK, 928 tp->u.fpath = npath;
|
/openbsd-current/sbin/ncheck_ffs/ |
H A D | ncheck_ffs.c | 421 char *npath; local 467 if (asprintf(&npath, "%s/%s", path, dp->d_name) == -1) 469 scanonedir(dp->d_ino, npath); 470 free(npath);
|
/openbsd-current/usr.sbin/rpki-client/ |
H A D | main.c | 409 char *mftaki, *nfile, *npath = NULL; local 419 if ((npath = strdup(mft->path)) == NULL) 425 entityq_add(npath, nfile, f->type, f->location, rp, NULL, 0, 496 char *nfile, *npath, *host; local 543 npath = NULL; 547 if ((npath = strndup(uri, file - uri)) == NULL) 553 entityq_add(npath, nfile, RTYPE_MFT, DIR_UNKNOWN, repo, NULL, 0,
|
/openbsd-current/usr.sbin/vmd/ |
H A D | vioqcow2.c | 146 virtio_qcow2_get_base(int fd, char *path, size_t npath, const char *dpath) argument 168 if (backingsz >= npath - 1) { 185 strlcpy(path, expanded, npath) >= npath) { 201 if (npath < PATH_MAX ||
|
H A D | virtio.c | 479 virtio_get_base(int fd, char *path, size_t npath, int type, const char *dpath) argument 485 return virtio_qcow2_get_base(fd, path, npath, dpath);
|
/openbsd-current/usr.bin/ssh/ |
H A D | sftp-server.c | 1521 char *path, *npath; local 1544 npath = xstrdup(path + 2); 1546 xasprintf(&path, "%s/%s", cwd, npath); 1547 free(npath); 1550 if (tilde_expand(path, pw->pw_uid, &npath) != 0) { 1556 path = npath; 1560 xasprintf(&npath, "%s/%s", cwd, path); 1562 path = npath;
|
/openbsd-current/sbin/pfctl/ |
H A D | pfctl.c | 843 char *npath, *p; local 862 if ((npath = calloc(1, PATH_MAX)) == NULL) 864 strlcpy(npath, anchorname, PATH_MAX); 870 npath = path; 873 memcpy(pr.anchor, npath, sizeof(pr.anchor)); 941 pfctl_show_rules(dev, npath, opts, format, 975 memcpy(prs.path, npath, sizeof(prs.path)); 986 pfctl_show_rules(dev, npath, opts, 996 if (path != npath) 997 free(npath); [all...] |
/openbsd-current/usr.bin/openssl/ |
H A D | apps.c | 1222 char opath[PATH_MAX], npath[PATH_MAX]; local 1224 if (snprintf(npath, sizeof npath, "%s.%s", serialfile, 1225 new_suffix) >= sizeof npath) { 1245 if (rename(npath, serialfile) == -1) { 1247 npath, serialfile);
|
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/ |
H A D | MM_VMS.pm | 2135 my($npath) = unixify($path); 2137 $npath =~ s{\0$}{}; 2143 while ($npath =~ m#(.*?)\$\((\S+?)\)(.*)#gs) { 2163 $npath = "$head$macro$tail"; 2166 if ($complex) { $npath =~ s#\cB(.*?)\cB#\${$1}#gs; } 2167 $npath;
|
/openbsd-current/libexec/ftpd/ |
H A D | ftpd.c | 2037 char npath[PATH_MAX * 2]; local 2039 p = npath; 2040 ep = &npath[sizeof(npath) - 1]; 2054 reply(257, "\"%s\" %s", npath, message);
|