Lines Matching refs:TT
57 if (TT.delim) {
61 for (s = data; *s; TT.entries++) {
63 if (TT.n && TT.entries >= TT.n) return *s ? s : (char *)1;
68 if (!FLAG(s)) TT.bytes += sizeof(void *)+1;
70 if (++TT.bytes >= TT.s) return save;
74 if (TT.E && strstart(&ss, TT.E) && ss == s) return (char *)2;
76 entry[TT.entries] = save;
83 long bytes = TT.bytes+sizeof(char *)+strlen(data)+1;
85 if (bytes >= TT.s || (TT.n && TT.entries >= TT.n)) return data;
86 TT.bytes = bytes;
87 if (entry) entry[TT.entries] = data;
88 TT.entries++;
97 if (sig == SIGUSR2 && TT.P>1) TT.P--; in signal_P()
98 else TT.P++; in signal_P()
116 if (!FLAG(s)) TT.s = sysconf(_SC_ARG_MAX) - environ_bytes() - 4096; in xargs_main()
118 TT.delim = '\n'*!FLAG(0); in xargs_main()
130 if (bytes >= TT.s) error_exit("command too long"); in xargs_main()
134 TT.entries = 0; in xargs_main()
135 TT.bytes = bytes; in xargs_main()
144 if (getdelim(&data, &l, TT.delim, stdin)<0) { in xargs_main()
160 if (!TT.entries) { in xargs_main()
166 out = xzalloc((entries+TT.entries+1)*sizeof(char *)); in xargs_main()
168 TT.entries = 0; in xargs_main()
169 TT.bytes = bytes; in xargs_main()
180 if (!TT.tty) TT.tty = xfopen("/dev/tty", "re"); in xargs_main()
181 if (!fyesno(TT.tty, 0)) goto reap_children; in xargs_main()
190 TT.np++; in xargs_main()
193 while (TT.np) { in xargs_main()
194 int xv = (TT.np == TT.P) || (!data && done); in xargs_main()
197 TT.np--; in xargs_main()
214 while (TT.np && -1 != wait(&status)) TT.np--; in xargs_main()
215 if (TT.tty) fclose(TT.tty); in xargs_main()