/system/core/init/ |
D | keywords.h | 3 int do_chroot(int nargs, char **args); 4 int do_chdir(int nargs, char **args); 5 int do_class_start(int nargs, char **args); 6 int do_class_stop(int nargs, char **args); 7 int do_class_reset(int nargs, char **args); 8 int do_domainname(int nargs, char **args); 9 int do_exec(int nargs, char **args); 10 int do_export(int nargs, char **args); 11 int do_hostname(int nargs, char **args); 12 int do_ifup(int nargs, char **args); [all …]
|
D | builtins.c | 201 int do_chdir(int nargs, char **args) in do_chdir() argument 207 int do_chroot(int nargs, char **args) in do_chroot() argument 213 int do_class_start(int nargs, char **args) in do_class_start() argument 223 int do_class_stop(int nargs, char **args) in do_class_stop() argument 229 int do_class_reset(int nargs, char **args) in do_class_reset() argument 235 int do_domainname(int nargs, char **args) in do_domainname() argument 240 int do_exec(int nargs, char **args) in do_exec() argument 245 int do_export(int nargs, char **args) in do_export() argument 251 int do_hostname(int nargs, char **args) in do_hostname() argument 256 int do_ifup(int nargs, char **args) in do_ifup() argument [all …]
|
D | ueventd_parser.c | 27 static void parse_line_device(struct parse_state *state, int nargs, char **args); 33 int nargs; in parse_config() local 34 nargs = 0; in parse_config() 47 if (nargs) { in parse_config() 48 state.parse_line(&state, nargs, args); in parse_config() 49 nargs = 0; in parse_config() 53 if (nargs < UEVENTD_PARSER_MAXARGS) { in parse_config() 54 args[nargs++] = state.text; in parse_config() 72 static void parse_line_device(struct parse_state* state, int nargs, char **args) in parse_line_device() argument 74 set_device_permission(nargs, args); in parse_line_device()
|
D | init_parser.c | 48 static void *parse_service(struct parse_state *state, int nargs, char **args); 49 static void parse_line_service(struct parse_state *state, int nargs, char **args); 51 static void *parse_action(struct parse_state *state, int nargs, char **args); 52 static void parse_line_action(struct parse_state *state, int nargs, char **args); 60 #define KEYWORD(symbol, flags, nargs, func) \ argument 61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, }, 65 int (*func)(int nargs, char **args); 66 unsigned char nargs; member 77 #define kw_nargs(kw) (keyword_info[kw].nargs) 169 void parse_line_no_op(struct parse_state *state, int nargs, char **args) in parse_line_no_op() argument [all …]
|
D | ueventd.c | 111 void set_device_permission(int nargs, char **args) in set_device_permission() argument 123 if (nargs == 0) in set_device_permission() 131 if (!strncmp(name,"/sys/", 5) && (nargs == 5)) { in set_device_permission() 135 nargs--; in set_device_permission() 138 if (nargs != 4) { in set_device_permission()
|
D | init.h | 31 int (*func)(int nargs, char **args); 32 int nargs; member 113 int nargs; member
|
D | ueventd_parser.h | 23 void set_device_permission(int nargs, char **args);
|
D | init.c | 327 int arg_idx = svc->nargs; in service_start() 333 memcpy(arg_ptrs, svc->args, (svc->nargs * sizeof(char *))); in service_start() 527 ret = cur_command->func(cur_command->nargs, cur_command->args); in execute_one_command() 531 static int wait_for_coldboot_done_action(int nargs, char **args) in wait_for_coldboot_done_action() argument 541 static int keychord_init_action(int nargs, char **args) in keychord_init_action() argument 547 static int console_init_action(int nargs, char **args) in console_init_action() argument 691 static int property_service_init_action(int nargs, char **args) in property_service_init_action() argument 702 static int signal_init_action(int nargs, char **args) in signal_init_action() argument 708 static int check_startup_action(int nargs, char **args) in check_startup_action() argument 723 static int queue_property_triggers_action(int nargs, char **args) in queue_property_triggers_action() argument [all …]
|
D | parser.h | 31 void (*parse_line)(struct parse_state *state, int nargs, char **args);
|
D | init_parser.h | 31 void queue_builtin_action(int (*func)(int nargs, char **args), char *name);
|
D | parser.c | 26 for (n = 0; n < svc->nargs; n++) { in DUMP() 41 for (n = 0; n < cmd->nargs; n++) { in DUMP()
|
D | signal_handler.c | 113 cmd->func(cmd->nargs, cmd->args); in wait_for_one_process()
|
/system/core/netcfg/ |
D | netcfg.c | 104 int nargs; member 116 static int call_func(void *_func, unsigned nargs, char **args) in call_func() argument 118 switch(nargs){ in call_func() 162 int nargs = CMDS[n].nargs; in main() local 165 if(argc < nargs) { in main() 170 if(call_func(CMDS[n].func, nargs, argv)) { in main() 175 argc -= nargs; in main() 176 argv += nargs; in main()
|
/system/core/toolbox/ |
D | setsebool.c | 11 static int do_setsebool(int nargs, char **args) { in do_setsebool() argument
|