Lines Matching refs:tok_count
117 ssize_t tok_count;
125 tok_count = 0;
136 while ((ch = *cp) != 0 && (user_terminator != 0 || tok_count < token_len)) {
176 if (tok_count < token_len) {
177 token[tok_count].u.offset = LEN(token_buffer);
178 token[tok_count].type = HEADER_TOK_QSTRING;
185 if (tok_count < token_len) {
200 if (tok_count < token_len)
203 if (tok_count < token_len) {
205 tok_count++;
214 if (tok_count < token_len) {
215 token[tok_count].u.offset = LEN(token_buffer);
216 token[tok_count].type = ch;
219 tok_count++;
228 if (tok_count < token_len) {
229 token[tok_count].u.offset = LEN(token_buffer);
230 token[tok_count].type = HEADER_TOK_TOKEN;
236 if (tok_count < token_len)
239 if (tok_count < token_len) {
241 tok_count++;
250 if (tok_count == 0 && ch == 0)
258 for (n = 0; n < tok_count; n++)
263 tok_count > 0 ? token[0].u.value : "",
264 tok_count > 1 ? token[1].u.value : "",
265 tok_count > 2 ? token[2].u.value : "");
267 return (tok_count);