Searched refs:newdir (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/usr.bin/calendar/
H A Dpom.c111 int olddir, newdir; local
164 newdir = today > tomorrow ? -1 : +1;
165 if (olddir != newdir) {
168 if (olddir == -1 && newdir == +1) {
171 } else if (olddir == +1 && newdir == -1) {
176 olddir = newdir;
189 int newdir; local
202 newdir = before < after ? -1 : +1;
203 if (olddir != newdir)
208 // printf("newdir
[all...]
/freebsd-13-stable/contrib/libarchive/tar/
H A Dutil.c290 set_chdir(struct bsdtar *bsdtar, const char *newdir) argument
293 if (newdir[0] == '/' || newdir[0] == '\\' ||
295 (((newdir[0] >= 'a' && newdir[0] <= 'z') ||
296 (newdir[0] >= 'A' && newdir[0] <= 'Z')) &&
297 newdir[1] == ':' && (newdir[2] == '/' || newdir[
[all...]
H A Dbsdtar.h200 void set_chdir(struct bsdtar *, const char *newdir);
/freebsd-13-stable/contrib/libedit/
H A Dsearch.c218 int newdir = dir; local
240 for (cp = (newdir == ED_SEARCH_PREV_HISTORY) ? STRbck : STRfwd;
269 newdir = ED_SEARCH_NEXT_HISTORY;
274 newdir = ED_SEARCH_PREV_HISTORY;
355 if (redo && newdir == dir) {
358 newdir == ED_SEARCH_PREV_HISTORY ? 0 : 0x7fffffff;
364 el->el_line.cursor = newdir ==
370 newdir ==
384 (ret = ce_search_line(el, newdir))
388 (el_action_t) newdir;
[all...]
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Drename.cc118 in.body.rename.newdir == dst_dir_ino &&
153 in.body.rename.newdir == dst_dir_ino &&
206 in.body.rename.newdir == dst_dir_ino &&
249 in.body.rename.newdir == dst_dir_ino &&
290 in.body.rename.newdir == dst_dir_ino &&
/freebsd-13-stable/usr.sbin/cpucontrol/
H A Dcpucontrol.c488 struct datadir *newdir; local
490 newdir = (struct datadir *)malloc(sizeof(*newdir));
491 if (newdir == NULL)
493 newdir->path = path;
494 SLIST_INSERT_HEAD(&datadirs, newdir, next);
/freebsd-13-stable/sys/fs/ext2fs/
H A Dext2_lookup.c943 struct ext2fs_direct_2 newdir; local
952 newdir.e2d_ino = htole32(ip->i_number);
955 newdir.e2d_namlen = cnp->cn_namelen;
956 newdir.e2d_type = DTTOFT(IFTODT(ip->i_mode));
958 newdir.e2d_namlen = htole16(cnp->cn_namelen);
960 bcopy(cnp->cn_nameptr, newdir.e2d_name, (unsigned)cnp->cn_namelen + 1);
963 error = ext2_htree_add_entry(dvp, &newdir, cnp);
979 return ext2_htree_create_index(dvp, cnp, &newdir);
990 return ext2_add_first_entry(dvp, &newdir, cnp);
992 error = ext2_add_entry(dvp, &newdir);
[all...]
/freebsd-13-stable/usr.sbin/newsyslog/tests/
H A Dlegacy_test.sh230 begin "create file ${name_postfix}" -newdir
308 begin "create file ${name_postfix}" -newdir
377 begin "create file ${name_postfix}" -newdir
438 begin "RFC-5424 - create file ${name_postfix}" -newdir
/freebsd-13-stable/sys/ufs/ufs/
H A Dufs_vnops.c1067 struct direct newdir; local
1114 ufs_makedirentry(ip, cnp, &newdir);
1115 error = ufs_direnter(tdvp, vp, &newdir, cnp, NULL);
1143 struct direct newdir; local
1171 newdir.d_ino = UFS_WINO;
1172 newdir.d_namlen = cnp->cn_namelen;
1173 bcopy(cnp->cn_nameptr, newdir.d_name, (unsigned)cnp->cn_namelen + 1);
1174 newdir.d_type = DT_WHT;
1175 error = ufs_direnter(dvp, NULL, &newdir, cnp, NULL);
1243 struct direct newdir; local
1922 struct direct newdir; local
2721 struct direct newdir; local
[all...]
/freebsd-13-stable/contrib/netbsd-tests/usr.sbin/mtree/
H A Dt_mtree.sh294 mkdir newdir
296 ln -s newdir otherdir
/freebsd-13-stable/sys/fs/fuse/
H A Dfuse_kernel.h457 uint64_t newdir; member in struct:fuse_rename_in
461 uint64_t newdir; member in struct:fuse_rename2_in
H A Dfuse_internal.c741 fri->newdir = VTOI(tdvp);
/freebsd-13-stable/tools/regression/doat/
H A Ddoat.c83 const char *newdir = "newdir"; variable
430 tests[6].tests[2].params[1].cp = newdir;
594 tests[13].tests[5].params[1].cp = newdir;
/freebsd-13-stable/contrib/lib9p/backend/
H A Dfs.c2829 struct l9p_fid *olddir, *newdir; local
2843 newdir = req->lr_fid2;
2844 assert(olddir != NULL && newdir != NULL);
2846 nff = newdir->lo_aux;
2854 error = fs_buildname(newdir, nnp, nnb, sizeof(nnb));
2860 reparenting = olddir != newdir &&
/freebsd-13-stable/contrib/lib9p/pytest/
H A Dp9conn.py493 def did_rename(self, fid, ncomp, newdir=None):
504 - If newdir is None (default), we use stored path.
505 - Otherwise, newdir provides the best approximation
515 if newdir is None:
522 ncomps = newdir.split(b'/')

Completed in 104 milliseconds