| /freebsd-13.1/contrib/bmake/filemon/ |
| H A D | filemon_ktrace.c | 129 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()
|
| /freebsd-13.1/contrib/llvm-project/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; 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()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | ma.setp.c | 286 int npath, i, len; in savepaths() local 289 for (npath = 0, pe = pathhead; pe; npath++, pe = pe->pnext) { in savepaths() 296 paths[npath] = p; in savepaths()
|
| /freebsd-13.1/sys/fs/ext2fs/ |
| H A D | ext2_extents.c | 1039 struct ext4_extent_path *npath; in ext4_ext_insert_extent() local 1044 npath = NULL; in ext4_ext_insert_extent() 1068 KASSERT(npath == NULL, in ext4_ext_insert_extent() 1071 error = ext4_ext_find_extent(ip, next, &npath); in ext4_ext_insert_extent() 1075 if (npath->ep_depth != path->ep_depth) { in ext4_ext_insert_extent() 1080 eh = npath[depth].ep_header; in ext4_ext_insert_extent() 1082 path = npath; in ext4_ext_insert_extent() 1156 if (npath) { in ext4_ext_insert_extent() 1157 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent() 1158 free(npath, M_EXT2EXTENTS); in ext4_ext_insert_extent()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_client/ |
| H A D | commit_util.c | 1611 const char *npath = item->path; in do_item_commit() local 1621 notify = svn_wc_create_notify(npath, in do_item_commit() 1625 notify = svn_wc_create_notify(npath, svn_wc_notify_commit_replaced, in do_item_commit() 1631 notify = svn_wc_create_notify(npath, svn_wc_notify_commit_deleted, in do_item_commit() 1637 notify = svn_wc_create_notify(npath, svn_wc_notify_commit_copied, in do_item_commit() 1640 notify = svn_wc_create_notify(npath, svn_wc_notify_commit_added, in do_item_commit() 1657 notify = svn_wc_create_notify(npath, svn_wc_notify_commit_modified, in do_item_commit()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | sftp-server.c | 1530 char *path, *npath; in process_extended_expand() local 1553 npath = xstrdup(path + 2); in process_extended_expand() 1555 xasprintf(&path, "%s/%s", cwd, npath); in process_extended_expand() 1558 if (tilde_expand(path, pw->pw_uid, &npath) != 0) { in process_extended_expand() 1563 path = npath; in process_extended_expand() 1567 xasprintf(&npath, "%s/%s", cwd, path); in process_extended_expand() 1569 path = npath; in process_extended_expand()
|
| /freebsd-13.1/contrib/sendmail/src/ |
| H A D | queue.c | 8009 char npath[MAXPATHLEN]; local 8024 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath)); 8052 if (link(opath, npath) == 0) 8055 SYNC_DIR(npath, true); 8069 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath)); 8070 if (link(opath, npath) == 0) 8073 SYNC_DIR(npath, true); 8081 opath, npath, sm_errstring(errno));
|
| /freebsd-13.1/contrib/lib9p/pytest/ |
| H A D | p9conn.py | 528 npath = b'/'.join(ncomps) 531 self.live_fids[fid] = npath
|