Searched refs:args (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/edify/ |
D | expr.c | 406 char** args = malloc(count * sizeof(char*)); in ReadArgs() local 411 args[i] = Evaluate(state, argv[i]); in ReadArgs() 412 if (args[i] == NULL) { in ReadArgs() 416 free(args[j]); in ReadArgs() 418 free(args); in ReadArgs() 421 *(va_arg(v, char**)) = args[i]; in ReadArgs() 424 free(args); in ReadArgs() 432 Value** args = malloc(count * sizeof(Value*)); in ReadValueArgs() local 437 args[i] = EvaluateValue(state, argv[i]); in ReadValueArgs() 438 if (args[i] == NULL) { in ReadValueArgs() [all …]
|
D | parser.y | 42 } args; member 48 %type <args> arglist
|
/bootable/recovery/updater/ |
D | install.c | 532 char** args = ReadVarArgs(state, argc, argv); in SetPermFn() local 533 if (args == NULL) return NULL; in SetPermFn() 539 int uid = strtoul(args[0], &end, 0); in SetPermFn() 540 if (*end != '\0' || args[0][0] == 0) { in SetPermFn() 541 ErrorAbort(state, "%s: \"%s\" not a valid uid", name, args[0]); in SetPermFn() 545 int gid = strtoul(args[1], &end, 0); in SetPermFn() 546 if (*end != '\0' || args[1][0] == 0) { in SetPermFn() 547 ErrorAbort(state, "%s: \"%s\" not a valid gid", name, args[1]); in SetPermFn() 552 int dir_mode = strtoul(args[2], &end, 0); in SetPermFn() 553 if (*end != '\0' || args[2][0] == 0) { in SetPermFn() [all …]
|
/bootable/recovery/minadbd/ |
D | utils.c | 79 va_list args; in buff_add() local 82 va_start(args, format); in buff_add() 83 nn = vsnprintf( buff, avail, format, args); in buff_add() 84 va_end(args); in buff_add()
|
D | sysdeps.h | 155 va_list args; in unix_open() local 156 va_start( args, options ); in unix_open() 157 mode = va_arg( args, int ); in unix_open() 158 va_end( args ); in unix_open() 314 va_list args; in unix_open() local 315 va_start( args, options ); in unix_open() 316 mode = va_arg( args, int ); in unix_open() 317 va_end( args ); in unix_open()
|
D | adb.h | 280 int backup_service(BackupOperation operation, char* args);
|
/bootable/recovery/ |
D | install.cpp | 112 const char** args = (const char**)malloc(sizeof(char*) * 5); in try_update_binary() local 113 args[0] = binary; in try_update_binary() 114 args[1] = EXPAND(RECOVERY_API_VERSION); // defined in Android.mk in try_update_binary() 117 args[2] = temp; in try_update_binary() 118 args[3] = (char*)path; in try_update_binary() 119 args[4] = NULL; in try_update_binary() 124 execv(binary, (char* const*)args); in try_update_binary()
|
/bootable/recovery/mtdutils/ |
D | flash_image.c | 33 va_list args; in die() local 34 va_start(args, msg); in die() 36 vsnprintf(buf, sizeof(buf), msg, args); in die() 37 va_end(args); in die()
|
/bootable/recovery/minzip/ |
D | Zip.c | 742 CopyProcessArgs *args = (CopyProcessArgs *)cookie; in copyProcessFunction() local 743 if (dataLen <= args->bufLen) { in copyProcessFunction() 744 memcpy(args->buf, data, dataLen); in copyProcessFunction() 745 args->buf += dataLen; in copyProcessFunction() 746 args->bufLen -= dataLen; in copyProcessFunction() 758 CopyProcessArgs args; in mzReadZipEntry() local 761 args.buf = buf; in mzReadZipEntry() 762 args.bufLen = bufLen; in mzReadZipEntry() 764 (void *)&args); in mzReadZipEntry()
|