Home
last modified time | relevance | path

Searched refs:delims (Results 1 – 2 of 2) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/internals/
A Dparse_config.c18 const char *delims = "# \t"; in parse_main() local
23 getopt32(argv, "n:m:d:f:", &ntokens, &mintokens, &delims, &flags); in parse_main()
180 unsigned flags, const char *delims) in config_read() argument
213 line += strspn(line, delims + 1); in config_read()
215 if (line[0] == '\0' || line[0] == delims[0]) in config_read()
222 for (t = 0; *line && *line != delims[0] && t < ntokens; t++) { in config_read()
229 line += strcspn(line, delims[0] ? delims : delims + 1); in config_read()
232 line = strchrnul(line, delims[0]); in config_read()
236 while (strchr(delims + 1, line[-1]) != NULL) in config_read()
242 if (line[0] == delims[0]) in config_read()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/include/internal/
A Dparse_config.h50 int config_read(parser_t *parser, char ***tokens, unsigned flags, const char *delims) FAST_FUNC att…

Completed in 3 milliseconds