Searched refs:parse_item (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/basic/ |
D | proc-cmdline.c | 81 int proc_cmdline_parse_given(const char *line, proc_cmdline_parse_t parse_item, void *data, ProcCmd… in proc_cmdline_parse_given() argument 85 assert(parse_item); in proc_cmdline_parse_given() 106 r = parse_item(word, value, data); in proc_cmdline_parse_given() 114 int proc_cmdline_parse(proc_cmdline_parse_t parse_item, void *data, ProcCmdlineFlags flags) { in proc_cmdline_parse() argument 118 assert(parse_item); in proc_cmdline_parse() 128 r = proc_cmdline_parse_given(line, parse_item, data, flags); in proc_cmdline_parse() 140 return proc_cmdline_parse_given(line, parse_item, data, flags); in proc_cmdline_parse()
|
D | proc-cmdline.h | 19 int proc_cmdline_parse_given(const char *line, proc_cmdline_parse_t parse_item, void *data, ProcCmd…
|
/systemd-251/src/test/ |
D | test-proc-cmdline.c | 16 static int parse_item(const char *key, const char *value, void *data) { in parse_item() function 25 assert_se(proc_cmdline_parse(parse_item, &obj, PROC_CMDLINE_STRIP_RD_PREFIX) >= 0); in TEST()
|