/system/core/init/ |
H A D | ueventd_parser.c | 27 static void parse_line_device(struct parse_state *state, int nargs, char **args); 32 char *args[UEVENTD_PARSER_MAXARGS]; local 48 state.parse_line(&state, nargs, args); 54 args[nargs++] = state.text; 72 static void parse_line_device(struct parse_state* state, int nargs, char **args) argument 74 set_device_permission(nargs, args);
|
H A D | ueventd.c | 111 void set_device_permission(int nargs, char **args) argument 126 if (args[0][0] == '#') 129 name = args[0]; 132 INFO("/sys/ rule %s %s\n",args[0],args[1]); 133 attr = args[1]; 134 args++; 139 ERROR("invalid line ueventd.rc line for '%s'\n", args[0]); 157 perm = strtol(args[1], &endptr, 8); 159 ERROR("invalid mode '%s'\n", args[ [all...] |
H A D | init.h | 31 int (*func)(int nargs, char **args); 33 char *args[1]; member in struct:command 117 char *args[1]; member in struct:service 118 }; /* ^-------'args' MUST be at the end of this struct! */
|
/system/core/libmincrypt/tools/ |
H A D | DumpPublicKey.java | 129 public static void main(String[] args) { argument 130 if (args.length < 1) { 135 for (int i = 0; i < args.length; i++) { 136 FileInputStream input = new FileInputStream(args[i]); 142 System.out.println(i < args.length - 1 ? "," : "");
|
/system/core/toolbox/ |
H A D | setsebool.c | 11 static int do_setsebool(int nargs, char **args) { argument 20 char *name = args[i];
|
/system/core/adb/ |
H A D | utils.c | 79 va_list args; local 82 va_start(args, format); 83 nn = vsnprintf( buff, avail, format, args); 84 va_end(args);
|
H A D | backup_service.c | 40 static void* backup_child_waiter(void* args) { argument 42 backup_harvest_params* params = (backup_harvest_params*) args; 51 int backup_service(BackupOperation op, char* args) { argument 66 D("backup_service(%s, %s)\n", operation, args); 98 // fixed args: [0] is 'bu', [1] is the port number, [2] is the 'operation' string 100 for (p = (char*)args; p && *p; ) { 114 for (p = (char*)args; p && *p; ) {
|
H A D | framebuffer_service.c | 74 const char *args[2] = {command, NULL}; local 75 execvp(command, (char**)args);
|
H A D | file_sync_client.c | 813 sync_ls_build_list_cb_args *args = (sync_ls_build_list_cb_args *)cookie; local 817 copyinfo **dirlist = args->dirlist; 825 ci = mkcopyinfo(args->rpath, args->lpath, name, 1); 829 copyinfo **filelist = args->filelist; 831 ci = mkcopyinfo(args->rpath, args->lpath, name, 0); 846 sync_ls_build_list_cb_args args; local 848 args.filelist = filelist; 849 args [all...] |
/system/core/run-as/ |
H A D | run-as.c | 61 * run-as <package-name> <command> <args> 83 const char* str = "Usage: " PROGNAME " <package-name> <command> [<args>]\n\n"; 92 va_list args; local 95 va_start(args, format); 96 vfprintf(stderr, format, args); 97 va_end(args);
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_mutex.c | 37 va_list args; local 38 va_start(args, format); 39 vfprintf(stderr, format, args); 40 va_end(args);
|
/system/vold/ |
H A D | Ext4.cpp | 72 const char *args[4]; local 75 args[0] = MKEXT4FS_PATH; 76 args[1] = "-J"; 77 args[2] = fsPath; 78 args[3] = NULL; 79 rc = logwrap(3, args, 1);
|
H A D | Fat.cpp | 58 const char *args[5]; local 59 args[0] = FSCK_MSDOS_PATH; 60 args[1] = "-p"; 61 args[2] = "-f"; 62 args[3] = fsPath; 63 args[4] = NULL; 65 rc = logwrap(4, args, 1); 156 const char *args[11]; local 159 args[0] = MKDOSFS_PATH; 160 args[ [all...] |
/system/extras/bugmailer/src/com/android/commands/sendbug/ |
H A D | SendBug.java | 45 public static void main(String[] args) { argument 46 if (args.length == 1) { 47 new SendBug().run(args[0]); 48 } else if (args.length == 2) { 49 new SendBug().run(args[0], args[1]);
|
/system/netd/ |
H A D | NetdConstants.cpp | 35 std::string args = ""; local 37 args += *argp; 38 args += ' '; 41 ALOGE("exec() res=%d for %s", res, args.c_str()); 44 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument 50 arg = va_arg(args, const char *); 86 va_list args; local 87 va_start(args, target); 88 int res = execIptables(target, false, args); 89 va_end(args); 94 va_list args; local [all...] |
H A D | TetherController.cpp | 139 char **args = (char **)malloc(sizeof(char *) * num_processed_args); local 140 args[num_processed_args - 1] = NULL; 141 args[0] = (char *)"/system/bin/dnsmasq"; 142 args[1] = (char *)"--keep-in-foreground"; 143 args[2] = (char *)"--no-resolv"; 144 args[3] = (char *)"--no-poll"; 146 args[4] = (char *)"--dhcp-option-force=43,ANDROID_METERED"; 147 args[5] = (char *)"--pid-file"; 148 args[6] = (char *)""; 154 asprintf(&(args[nextAr 218 char *args[10]; local [all...] |
/system/core/netcfg/ |
H A D | netcfg.c | 116 static int call_func(void *_func, unsigned nargs, char **args) argument 121 return func(args[0]); 125 return func(args[0], args[1]); 129 return func(args[0], args[1], args[2]);
|
/system/bluetooth/tools/ |
H A D | pipetest.c | 105 static void thread_poll(void *args) { argument 106 int fd = (int)args; 115 static void thread_pollin(void *args) { argument 116 int fd = (int)args; 125 static void thread_pollin_rand_delay(void *args) { argument 126 int fd = (int)args; 137 static void thread_read(void *args) { argument 138 int fd = (int)args; 144 static void thread_close(void *args) { argument 145 int fd = (int)args; [all...] |
H A D | sock_shutdown_test.c | 218 static void thread_accept(struct thread_args *args) { argument 220 sleep(args->delay); 221 _accept(args->fd, args->type); 228 struct thread_args args = {-1, type, 0}; local 237 args.fd = fd; 238 pthread_create(&thread, NULL, (void *)thread_accept, (void *)&args);
|
H A D | asocket_test.c | 317 static void thread_delay_close(struct thread_args *args) { argument 319 sleep(args->delay); 320 _close(args->fd, args->type); 324 static void thread_poll(void *args) { argument 325 int fd = (int)args; 334 static void thread_read(void *args) { argument 335 int fd = (int)args; 341 static void thread_pollin(void *args) { argument 342 int fd = (int)args; 358 thread_accept(struct thread_args *args) argument 365 thread_connect(struct thread_args *args) argument 372 thread_delay_close_write(struct thread_args *args) argument 381 thread_accept_write(struct thread_args *args) argument 390 thread_delay_connect(struct thread_args *args) argument 421 struct thread_args args = {-1, type, 1}; local 446 struct thread_args args = {-1, type, 0}; local 474 struct thread_args args = {-1, type, 0}; local 499 struct thread_args args = {-1, type, 1}; local [all...] |
H A D | socktest.c | 331 static void thread_delay_close(struct thread_args *args) { argument 333 sleep(args->delay); 334 _close(args->fd, args->type); 338 static void thread_poll(void *args) { argument 339 int fd = (int)args; 348 static void thread_read(void *args) { argument 349 int fd = (int)args; 355 static void thread_pollin(void *args) { argument 356 int fd = (int)args; 372 thread_accept(struct thread_args *args) argument 379 thread_connect(struct thread_args *args) argument 386 thread_delay_close_write(struct thread_args *args) argument 395 thread_accept_write(struct thread_args *args) argument 404 thread_delay_connect(struct thread_args *args) argument 435 struct thread_args args = {-1, type, 1}; local 460 struct thread_args args = {-1, type, 0}; local 488 struct thread_args args = {-1, type, 0}; local 513 struct thread_args args = {-1, type, 0}; local 543 struct thread_args args = {-1, type, 0}; local 571 struct thread_args args = {-1, type, 1}; local [all...] |
/system/extras/tests/bionic/libc/common/ |
H A D | test_pthread_mutex.c | 49 va_list args; local 51 va_start(args, format); 52 vfprintf(stderr, format, args); 53 va_end(args); 63 va_list args; local 65 va_start(args, format); 66 vfprintf(stderr, format, args); 67 va_end(args);
|
H A D | test_pthread_rwlock.c | 48 va_list args; local 50 va_start(args, format); 51 vfprintf(stderr, format, args); 52 va_end(args); 62 va_list args; local 64 va_start(args, format); 65 vfprintf(stderr, format, args); 66 va_end(args);
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 148 va_list args; local 150 va_start(args, fmt); 151 vsnprintf(line, sizeof(line), fmt, args); 157 vfprintf(stream, fmt, args);
|
/system/core/sh/ |
H A D | nodes.h | 44 union node *args; member in struct:ncmd 73 union node *args; member in struct:nfor
|