Searched refs:ntokens (Results 1 – 1 of 1) sorted by relevance
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/internals/ |
A D | parse_config.c | 20 int mintokens = 0, ntokens = 128; in parse_main() local 23 getopt32(argv, "n:m:d:f:", &ntokens, &mintokens, &delims, &flags); in parse_main() 30 char **t = xmalloc(sizeof(char *) * ntokens); in parse_main() 31 while ((n = config_read(p, t, ntokens, mintokens, delims, flags)) != 0) { in parse_main() 183 int ntokens, mintokens; in config_read() local 189 ntokens = flags & 0xFF; in config_read() 196 parser->data_len += 1 + ntokens * sizeof(char *); in config_read() 219 memset(*tokens, 0, sizeof(*tokens[0]) * ntokens); in config_read() 222 for (t = 0; *line && *line != delims[0] && t < ntokens; t++) { in config_read() 227 if ((t != ntokens-1) || !(flags & PARSE_GREEDY)) { in config_read()
|
Completed in 3 milliseconds