/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/extras/verity/ |
H A D | KeystoreSigner.java | 169 public static void main(String[] args) throws Exception { argument 170 if (args.length < 2) { 178 if ("-verify".equals(args[0])) { 179 ks.parse(Utils.read(args[1])); 193 String privkeyFname = args[0]; 194 String certFname = args[1]; 195 String outfileFname = args[2]; 199 for (int i = 3; i < args.length; i++) { 200 ks.addPublicKey(Utils.read(args[i]));
|
H A D | VerityVerifier.java | 141 public static void main(String[] args) throws Exception { argument 142 if (args.length != 2) { 149 X509Certificate cert = Utils.loadPEMCertificate(args[1]); 151 RandomAccessFile img = openImage(args[0]);
|
H A D | BootSignature.java | 290 public static void main(String[] args) throws Exception { argument 293 if ("-verify".equals(args[0])) { 294 /* args[1] is the path to a signed boot image */ 295 verifySignature(args[1]); 297 /* args[0] is the target name, typically /boot 298 args[1] is the path to a boot image to sign 299 args[2] is the path to a private key 300 args[3] is the path to the matching public key certificate 301 args[4] is the path where to output the signed boot image 303 doSignature(args[ [all...] |
/system/extras/tests/memtest/ |
H A D | bandwidth.cpp | 257 bool runThreadedTest(thread_arg_t args[], int num_threads, int run_time) { argument 263 args[i].run = &run; 265 (void*)&args[i]); 289 args[i].bench->getName(), args[i].avg_mb); 307 thread_arg_t args[cpu_list.size()]; local 312 args[i].core = *it; 313 args[i].bench = createBandwidthBenchmarkObject(values); 314 if (!args[i].bench) { 326 if (!runThreadedTest(args, cpu_lis 344 thread_arg_t args[num_threads]; local [all...] |
/system/extras/tests/bionic/libc/common/ |
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);
|
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);
|
/system/core/libsparse/ |
H A D | simg_dump.py | 36 opts, args = getopt.getopt(sys.argv[1:], 49 if len(args) == 0: 53 for path in args:
|
/system/core/init/ |
H A D | init.c | 199 if (stat(svc->args[0], &s) != 0) { 200 ERROR("cannot find '%s', disabling '%s'\n", svc->args[0], svc->name); 206 ERROR("service '%s' must be one-shot to use dynamic args, disabling\n", 207 svc->args[0]); 222 INFO("computing context for service '%s'\n", svc->args[0]); 229 rc = getfilecon(svc->args[0], &fcon); 298 for (n = 0; svc->args[n]; n++) { 299 INFO("args[%d] = '%s'\n", n, svc->args[n]); 335 if (execve(svc->args[ 458 char *args = NULL; local 577 wait_for_coldboot_done_action(int nargs, char **args) argument 602 mix_hwrng_into_linux_rng_action(int nargs, char **args) argument 665 keychord_init_action(int nargs, char **args) argument 671 console_init_action(int nargs, char **args) argument 812 property_service_init_action(int nargs, char **args) argument 828 signal_init_action(int nargs, char **args) argument 838 queue_property_triggers_action(int nargs, char **args) argument 847 bootchart_init_action(int nargs, char **args) argument [all...] |
H A D | parser.c | 27 RAW(" '%s'", svc->args[n]); 42 RAW(" %s", cmd->args[n]);
|
/system/core/adb/ |
H A D | disable_verity_service.c | 39 va_list args; local 40 va_start (args, format); 41 vsnprintf (buffer, sizeof(buffer), format, args); 42 va_end (args);
|
H A D | sysdeps.h | 157 va_list args; local 158 va_start( args, options ); 159 mode = va_arg( args, int ); 160 va_end( args ); 336 va_list args; local 337 va_start( args, options ); 338 mode = va_arg( args, int ); 339 va_end( args );
|
H A D | file_sync_client.c | 825 sync_ls_build_list_cb_args *args = (sync_ls_build_list_cb_args *)cookie; local 829 copyinfo **dirlist = args->dirlist; 837 ci = mkcopyinfo(args->rpath, args->lpath, name, 1); 841 copyinfo **filelist = args->filelist; 843 ci = mkcopyinfo(args->rpath, args->lpath, name, 0); 858 sync_ls_build_list_cb_args args; local 860 args.filelist = filelist; 861 args [all...] |
H A D | framebuffer_service.c | 74 const char *args[2] = {command, NULL}; local 75 execvp(command, (char**)args);
|
/system/core/healthd/ |
H A D | BatteryPropertiesRegistrar.h | 43 status_t dump(int fd, const Vector<String16>& args);
|
/system/netd/server/ |
H A D | ClatdController.cpp | 91 char *args[] = { local 102 if (execv(kClatdPath, args)) {
|
H A D | NetlinkHandler.cpp | 129 va_list args; local 130 va_start(args, format); 131 if (vasprintf(&msg, format, args) >= 0) { 137 va_end(args);
|
/system/core/fastbootd/other/sign/src/ |
H A D | SignImg.java | 130 public static void main(String[] args) { argument 132 if (args.length < 4) { 141 PrivateKey key = getPrivateKey(args[1]); 146 CMSTypedData body = getCMSContent(args[0]); 149 X509Certificate cert = (X509Certificate) readCert(args[2]); 168 File file = new File(args[3]);
|
/system/core/libmincrypt/tools/ |
H A D | DumpPublicKey.java | 231 public static void main(String[] args) { argument 232 if (args.length < 1) { 238 for (int i = 0; i < args.length; i++) { 239 FileInputStream input = new FileInputStream(args[i]); 254 System.err.println(args[i] + ": unsupported signature algorithm \"" + 262 System.out.println(i < args.length - 1 ? "," : "");
|
/system/core/libutils/ |
H A D | String8.cpp | 212 va_list args; local 213 va_start(args, fmt); 215 String8 result(formatV(fmt, args)); 217 va_end(args); 221 String8 String8::formatV(const char* fmt, va_list args) argument 224 result.appendFormatV(fmt, args); 315 va_list args; local 316 va_start(args, fmt); 318 status_t result = appendFormatV(fmt, args); 320 va_end(args); 324 appendFormatV(const char* fmt, va_list args) argument [all...] |
/system/core/logd/ |
H A D | LogAudit.cpp | 73 va_list args; local 76 va_start(args, fmt); 77 int rc = vasprintf(&str, fmt, args); 78 va_end(args);
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | args.c | 1 /* $NetBSD: args.c,v 1.38 2013/07/17 12:55:48 christos Exp $ */ 39 static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94"; 41 __RCSID("$NetBSD: args.c,v 1.38 2013/07/17 12:55:48 christos Exp $"); 89 } args[] = { variable in typeref:struct:arg 110 * args -- parse JCL syntax of dd. 137 if (!(ap = bsearch(&tmp, args, 138 __arraycount(args), sizeof(*args), c_arg))) {
|
/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/logwrapper/ |
H A D | logwrap.c | 41 #define ERROR(fmt, args...) \ 43 fprintf(stderr, fmt, ## args); \ 44 ALOG(LOG_ERROR, "logwrapper", fmt, ## args); \ 47 #define FATAL_CHILD(fmt, args...) \ 49 ERROR(fmt, ## args); \
|
/system/extras/micro_bench/ |
H A D | micro_bench.cpp | 66 int args[MAX_ARGS]; member in struct:__anon263 191 int iters = cmd_data.args[1]; \ 265 size_t size = cmd_data.args[0]; \ 279 size_t size = cmd_data.args[0]; \ 306 size_t size = cmd_data.args[0]; \ 339 size_t size = cmd_data.args[0]; \ 373 int delay = cmd_data.args[0]; 435 int size = cmd_data.args[0]; 673 cmd_data->args[i] = -1; 732 cmd_data->args[cmd_dat [all...] |