/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_domainname(int nargs, char **args); 8 int do_exec(int nargs, char **args); 9 int do_export(int nargs, char **args); 10 int do_hostname(int nargs, char **args); 11 int do_ifup(int nargs, char **args); 12 int do_insmod(int nargs, char **args); [all …]
|
D | builtins.c | 137 int do_chdir(int nargs, char **args) in do_chdir() argument 143 int do_chroot(int nargs, char **args) in do_chroot() argument 149 int do_class_start(int nargs, char **args) in do_class_start() argument 159 int do_class_stop(int nargs, char **args) in do_class_stop() argument 165 int do_domainname(int nargs, char **args) in do_domainname() argument 170 int do_exec(int nargs, char **args) in do_exec() argument 175 int do_export(int nargs, char **args) in do_export() argument 181 int do_hostname(int nargs, char **args) in do_hostname() argument 186 int do_ifup(int nargs, char **args) in do_ifup() argument 192 static int do_insmod_inner(int nargs, char **args, int opt_len) in do_insmod_inner() argument [all …]
|
D | init_parser.c | 43 static void *parse_service(struct parse_state *state, int nargs, char **args); 44 static void parse_line_service(struct parse_state *state, int nargs, char **args); 46 static void *parse_action(struct parse_state *state, int nargs, char **args); 47 static void parse_line_action(struct parse_state *state, int nargs, char **args); 55 #define KEYWORD(symbol, flags, nargs, func) \ argument 56 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, }, 60 int (*func)(int nargs, char **args); 61 unsigned char nargs; member 72 #define kw_nargs(kw) (keyword_info[kw].nargs) 154 void parse_line_no_op(struct parse_state *state, int nargs, char **args) in parse_line_no_op() argument [all …]
|
D | ueventd_parser.c | 28 static void parse_line_device(struct parse_state *state, int nargs, char **args); 34 int nargs; in parse_config() local 35 nargs = 0; in parse_config() 48 if (nargs) { in parse_config() 49 state.parse_line(&state, nargs, args); in parse_config() 50 nargs = 0; in parse_config() 54 if (nargs < UEVENTD_PARSER_MAXARGS) { in parse_config() 55 args[nargs++] = state.text; in parse_config() 73 static void parse_line_device(struct parse_state* state, int nargs, char **args) in parse_line_device() argument 75 set_device_permission(nargs, args); in parse_line_device()
|
D | ueventd.c | 76 void set_device_permission(int nargs, char **args) in set_device_permission() argument 88 if (nargs == 0) in set_device_permission() 96 if (!strncmp(name,"/sys/", 5) && (nargs == 5)) { in set_device_permission() 100 nargs--; in set_device_permission() 103 if (nargs != 4) { in set_device_permission()
|
D | init.c | 261 int arg_idx = svc->nargs; in service_start() 267 memcpy(arg_ptrs, svc->args, (svc->nargs * sizeof(char *))); in service_start() 508 ret = cur_command->func(cur_command->nargs, cur_command->args); in execute_one_command() 512 static int wait_for_coldboot_done_action(int nargs, char **args) in wait_for_coldboot_done_action() argument 522 static int property_init_action(int nargs, char **args) in property_init_action() argument 529 static int keychord_init_action(int nargs, char **args) in keychord_init_action() argument 535 static int console_init_action(int nargs, char **args) in console_init_action() argument 576 static int set_init_properties_action(int nargs, char **args) in set_init_properties_action() argument 602 static int property_service_init_action(int nargs, char **args) in property_service_init_action() argument 613 static int signal_init_action(int nargs, char **args) in signal_init_action() argument [all …]
|
D | init.h | 31 int (*func)(int nargs, char **args); 32 int nargs; member 108 int nargs; member
|
D | ueventd_parser.h | 23 void set_device_permission(int nargs, char **args);
|
D | init_parser.h | 31 void queue_builtin_action(int (*func)(int nargs, char **args), char *name);
|
D | parser.h | 31 void (*parse_line)(struct parse_state *state, int nargs, char **args);
|
D | parser.c | 27 for (n = 0; n < svc->nargs; n++) { in DUMP() 42 for (n = 0; n < cmd->nargs; n++) { in DUMP()
|
D | signal_handler.c | 115 cmd->func(cmd->nargs, cmd->args); in wait_for_one_process()
|
/system/core/netcfg/ |
D | netcfg.c | 92 int nargs; member 103 static int call_func(void *_func, unsigned nargs, char **args) in call_func() argument 105 switch(nargs){ in call_func() 149 int nargs = CMDS[n].nargs; in main() local 152 if(argc < nargs) { in main() 157 if(call_func(CMDS[n].func, nargs, argv)) { in main() 162 argc -= nargs; in main() 163 argv += nargs; in main()
|