Lines Matching defs:current
143 const char *current;
145 current = *state;
147 if (!*current) {
152 current += strspn(current, separator);
153 if (!*current) {
154 *state = current;
158 if (quoted && strchr("\'\"", *current)) {
159 char quotechars[2] = {*current, '\0'};
161 *l = strcspn_escaped(current + 1, quotechars);
162 if (current[*l + 1] == '\0' || current[*l + 1] != quotechars[0] ||
163 (current[*l + 2] && !strchr(separator, current[*l + 2]))) {
165 *state = current;
168 *state = current++ + *l + 2;
170 *l = strcspn_escaped(current, separator);
171 if (current[*l] && !strchr(separator, current[*l])) {
173 *state = current;
176 *state = current + *l;
178 *l = strcspn(current, separator);
179 *state = current + *l;
182 return current;