Home
last modified time | relevance | path

Searched refs:sq (Results 1 – 3 of 3) sorted by relevance

/busybox-1.35.0/testsuite/
Dcp.tests8 sq='`' # GNU cp: `
9 sq="'" # bbox cp: '
33 cp: omitting directory ${sq}dir'
34 cp: omitting directory ${sq}dir_symlink'
46 cp: omitting directory ${sq}dir'
58 cp: omitting directory ${sq}dir'
70 cp: omitting directory ${sq}dir'
71 cp: omitting directory ${sq}dir_symlink'
83 cp: omitting directory ${sq}dir'
84 cp: omitting directory ${sq}dir_symlink'
/busybox-1.35.0/shell/
Dhush.c7805 static struct squirrel *append_squirrel(struct squirrel *sq, int i, int orig, int moved) in append_squirrel() argument
7807 sq = xrealloc(sq, (i + 2) * sizeof(sq[0])); in append_squirrel()
7808 sq[i].orig_fd = orig; in append_squirrel()
7809 sq[i].moved_to = moved; in append_squirrel()
7810 sq[i+1].orig_fd = -1; /* end marker */ in append_squirrel()
7811 return sq; in append_squirrel()
7814 static struct squirrel *add_squirrel(struct squirrel *sq, int fd, int avoid_fd) in add_squirrel() argument
7820 if (sq) for (; sq[i].orig_fd >= 0; i++) { in add_squirrel()
7822 if (fd == sq[i].moved_to) { in add_squirrel()
7823 sq[i].moved_to = dup_CLOEXEC(sq[i].moved_to, avoid_fd); in add_squirrel()
[all …]
Dash.c5682 add_squirrel_closed(struct redirtab *sq, int fd) in add_squirrel_closed() argument
5686 if (!sq) in add_squirrel_closed()
5689 for (i = 0; sq->two_fd[i].orig_fd != EMPTY; i++) { in add_squirrel_closed()
5691 if (fd == sq->two_fd[i].orig_fd) { in add_squirrel_closed()
5703 sq->two_fd[i].orig_fd = fd; in add_squirrel_closed()
5704 sq->two_fd[i].moved_to = CLOSED; in add_squirrel_closed()
5708 save_fd_on_redirect(int fd, int avoid_fd, struct redirtab *sq) in save_fd_on_redirect() argument
5727 if (!sq) in save_fd_on_redirect()
5753 for (i = 0; sq->two_fd[i].orig_fd != EMPTY; i++) { in save_fd_on_redirect()
5755 if (fd == sq->two_fd[i].moved_to) { in save_fd_on_redirect()
[all …]