Searched refs:kw_nargs (Results 1 – 2 of 2) sorted by relevance
/system/core/init/ |
D | ueventd_parser.c | 54 #define kw_nargs(kw) (keyword_info[kw].nargs) macro 183 int kw_nargs = kw_nargs(kw); in parse_line() local 185 if (nargs < kw_nargs) { in parse_line() 186 parse_error(state, "%s requires %d %s\n", args[0], kw_nargs - 1, in parse_line() 187 kw_nargs > 2 ? "arguments" : "argument"); in parse_line()
|
D | init_parser.c | 74 #define kw_nargs(kw) (keyword_info[kw].nargs) macro 655 int i, kw, kw_nargs; in parse_line_service() local 744 kw_nargs = kw_nargs(kw); in parse_line_service() 745 if (nargs < kw_nargs) { in parse_line_service() 746 parse_error(state, "%s requires %d %s\n", args[0], kw_nargs - 1, in parse_line_service() 747 kw_nargs > 2 ? "arguments" : "argument"); in parse_line_service() 863 n = kw_nargs(kw); in parse_line_action()
|