Home
last modified time | relevance | path

Searched refs:parse_item (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/basic/
Dproc-cmdline.c81 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()
Dproc-cmdline.h19 int proc_cmdline_parse_given(const char *line, proc_cmdline_parse_t parse_item, void *data, ProcCmd…
/systemd-251/src/test/
Dtest-proc-cmdline.c16 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()