Lines Matching refs:TT
47 // If !entry count TT.bytes and TT.entries, stopping at max.
57 if (TT.delim) {
67 if (TT.n && TT.entries >= TT.n)
73 // We ought to add sizeof(char *) to TT.bytes to be correct, but we don't
77 if (++TT.bytes >= TT.s && TT.s) return save;
81 if (TT.E && strstart(&save, TT.E)) return (char *)2;
82 if (entry) entry[TT.entries] = save;
83 ++TT.entries;
88 TT.bytes += sizeof(char *)+strlen(data)+1;
89 if ((TT.s && TT.bytes >= TT.s) || (TT.n && TT.entries >= TT.n)) return data;
90 if (entry) entry[TT.entries] = data;
91 TT.entries++;
110 if (!TT.s || TT.s > bytes) TT.s = bytes;
112 TT.delim = '\n'*!FLAG(0);
124 if (bytes >= TT.s) error_exit("argument too long");
128 TT.entries = 0;
129 TT.bytes = bytes;
137 if (getdelim(&data, (size_t *)&l, TT.delim, stdin)<0) {
155 if (!TT.entries) {
162 out = xzalloc((entries+TT.entries+1)*sizeof(char *));
164 TT.entries = 0;
165 TT.bytes = bytes;
176 if (!TT.tty) TT.tty = xfopen("/dev/tty", "re");
177 if (!fyesno(TT.tty, 0)) goto skip;
215 if (TT.tty) fclose(TT.tty);