Searched refs:nargs (Results 1 – 9 of 9) sorted by relevance
/system/core/init/ |
D | ueventd_parser.cpp | 33 static void parse_line_device(struct parse_state *state, int nargs, char **args); 40 #define KEYWORD(symbol, flags, nargs) \ argument 41 [ K_##symbol ] = { #symbol, nargs + 1, flags, }, 45 unsigned char nargs; member 54 #define kw_nargs(kw) (keyword_info[kw].nargs) 122 static void parse_line_subsystem(struct parse_state *state, int nargs, in parse_line_subsystem() argument 128 if (nargs == 0) { in parse_line_subsystem() 157 int nargs, char **args) in parse_new_section() argument 160 nargs > 1 ? args[1] : ""); in parse_new_section() 164 state->context = parse_subsystem(state, nargs, args); in parse_new_section() [all …]
|
D | ueventd.cpp | 96 void set_device_permission(int nargs, char **args) in set_device_permission() argument 109 if (nargs == 0) in set_device_permission() 117 if (!strncmp(name,"/sys/", 5) && (nargs == 5)) { in set_device_permission() 121 nargs--; in set_device_permission() 124 if (nargs != 4) { in set_device_permission()
|
D | ueventd_parser.h | 25 void set_device_permission(int nargs, char **args);
|
D | ueventd_keywords.h | 3 #define KEYWORD(symbol, flags, nargs) K_##symbol, argument
|
D | parser.h | 31 void (*parse_line)(struct parse_state *state, int nargs, char **args);
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 62 parser.add_argument('--pem_file', nargs='?', default='roots.pem') 63 parser.add_argument('--output_dir', nargs='?', default='files') 64 parser.add_argument('--timestamp_file', nargs='?', default='TIMESTAMP')
|
/system/core/lmkd/ |
D | lmkd.c | 348 int nargs; in ctrl_command_handler() local 355 nargs = len / sizeof(int) - 1; in ctrl_command_handler() 356 if (nargs < 0) in ctrl_command_handler() 363 targets = nargs / 2; in ctrl_command_handler() 364 if (nargs & 0x1 || targets > (int)ARRAY_SIZE(lowmem_adj)) in ctrl_command_handler() 369 if (nargs != 3) in ctrl_command_handler() 374 if (nargs != 1) in ctrl_command_handler()
|
/system/extras/memcpy-perf/ |
D | graph_memcpy.py | 8 parser.add_argument("--files", nargs='+', type=str, help="files to graph", default=None)
|
/system/core/mkbootimg/ |
D | mkbootimg | 78 def __init__(self, option_strings, dest, nargs=None, **kwargs): argument
|