Home
last modified time | relevance | path

Searched refs:npath (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/usr.bin/make/filemon/
H A Dfilemon_ktrace.c129 unsigned npath; member
458 if (S->i >= S->npath) in filemon_dispatch()
480 if (S->i == S->npath && S->syscode == ret->ktr_code) in filemon_dispatch()
587 unsigned npath, in syscall_enter() argument
594 S = calloc(1, offsetof(struct filemon_state, path[npath])); in syscall_enter()
601 S->npath = npath; in syscall_enter()
602 for (i = 0; i < npath; i++) in syscall_enter()
615 assert(S->i == S->npath); in show_paths()
631 for (i = 0; i < S->npath; i++) { in show_paths()
632 const char *q = S->npath > 1 ? "'" : ""; in show_paths()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cc101 void Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath);
360 int npath = 0; in CycleCheck() local
371 npath--; in CycleCheck()
383 pt->path[npath++] = link; in CycleCheck()
386 return Report(pt, lt, npath); // Bingo! in CycleCheck()
399 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { in Report() argument
401 rep->n = npath; in Report()
402 for (int i = 0; i < npath; i++) { in Report()
404 Link *link0 = &pt->path[i ? i - 1 : npath - 1]; in Report()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cpp102 void Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath);
359 int npath = 0; in CycleCheck() local
370 npath--; in CycleCheck()
382 pt->path[npath++] = link; in CycleCheck()
385 return Report(pt, lt, npath); // Bingo! in CycleCheck()
398 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { in Report() argument
400 rep->n = npath; in Report()
401 for (int i = 0; i < npath; i++) { in Report()
403 Link *link0 = &pt->path[i ? i - 1 : npath - 1]; in Report()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cc103 void Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath);
362 int npath = 0; in CycleCheck() local
373 npath--; in CycleCheck()
385 pt->path[npath++] = link; in CycleCheck()
388 return Report(pt, lt, npath); // Bingo! in CycleCheck()
401 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { in Report() argument
403 rep->n = npath; in Report()
404 for (int i = 0; i < npath; i++) { in Report()
406 Link *link0 = &pt->path[i ? i - 1 : npath - 1]; in Report()
/netbsd-src/lib/libc/gen/
H A Dgetttyent.c241 char npath[PATH_MAX]; in setttyentpath() local
242 (void)snprintf(npath, sizeof(npath), "%s.%s", path, in setttyentpath()
244 if ((tf = fopen(npath, "re")) != NULL) in setttyentpath()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dparseinfo.c409 char *npath = xcanonicalize_file_name (path); in parse_config() local
417 if (!strncmp (nprefix, npath, strlen (nprefix)) in parse_config()
419 && strlen (npath) == strlen (nprefix)) in parse_config()
421 && npath[strlen (nprefix)] == '/'))) in parse_config()
430 free (npath); in parse_config()
/netbsd-src/libexec/ftpd/
H A Dcmds.c828 char npath[MAXPATHLEN * 2]; in replydirname() local
830 p = npath; in replydirname()
831 ep = &npath[sizeof(npath) - 1]; in replydirname()
845 reply(257, "\"%s\" %s", npath, message); in replydirname()
/netbsd-src/bin/ksh/
H A Dexec.c901 char *npath; local
963 npath = search(name, flags & FC_DEFPATH ? def_path : path,
965 if (npath) {
967 tp->val.s = npath;
969 tp->val.s = str_save(npath, APERM);
970 afree(npath, ATEMP);
975 && (npath = search(name, fpath, R_OK,
986 tp->u.fpath = npath;
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dtransited.c519 size_t *npath) in _krb5_find_capath() argument
528 *npath = 0; in _krb5_find_capath()
573 *npath = n; in _krb5_find_capath()
604 *npath = hier_state.num; in _krb5_find_capath()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsftp-server.c1527 char *path, *npath; in process_extended_expand() local
1550 npath = xstrdup(path + 2); in process_extended_expand()
1552 xasprintf(&path, "%s/%s", cwd, npath); in process_extended_expand()
1553 free(npath); in process_extended_expand()
1556 if (tilde_expand(path, pw->pw_uid, &npath) != 0) { in process_extended_expand()
1562 path = npath; in process_extended_expand()
1566 xasprintf(&npath, "%s/%s", cwd, path); in process_extended_expand()
1568 path = npath; in process_extended_expand()