Home
last modified time | relevance | path

Searched refs:argn (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/skia/third_party/externals/libjpeg-turbo/
Djpegtran.c146 int argn; in parse_switches() local
169 for (argn = 1; argn < argc; argn++) { in parse_switches()
170 arg = argv[argn]; in parse_switches()
173 if (argn <= last_file_arg_seen) { in parse_switches()
193 if (++argn >= argc) /* advance to next argument */ in parse_switches()
195 if (keymatch(argv[argn], "none", 1)) { in parse_switches()
197 } else if (keymatch(argv[argn], "comments", 1)) { in parse_switches()
199 } else if (keymatch(argv[argn], "all", 1)) { in parse_switches()
207 if (++argn >= argc) /* advance to next argument */ in parse_switches()
210 !jtransform_parse_crop_spec(&transformoption, argv[argn])) { in parse_switches()
[all …]
Dwrjpgcom.c409 int argn; in main() local
427 for (argn = 1; argn < argc; argn++) { in main()
428 arg = argv[argn]; in main()
435 if (++argn >= argc) usage(); in main()
436 if ((comment_file = fopen(argv[argn], "r")) == NULL) { in main()
437 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
441 if (++argn >= argc) usage(); in main()
442 comment_arg = argv[argn]; in main()
450 if (strlen(argv[argn]) + 2 >= (size_t)MAX_COM_LENGTH) { in main()
455 strcpy(comment_arg, argv[argn] + 1); in main()
[all …]
Dcjpeg.c269 int argn; in parse_switches() local
292 for (argn = 1; argn < argc; argn++) { in parse_switches()
293 arg = argv[argn]; in parse_switches()
296 if (argn <= last_file_arg_seen) { in parse_switches()
320 if (++argn >= argc) /* advance to next argument */ in parse_switches()
322 if (keymatch(argv[argn], "int", 1)) { in parse_switches()
324 } else if (keymatch(argv[argn], "fast", 2)) { in parse_switches()
326 } else if (keymatch(argv[argn], "float", 2)) { in parse_switches()
362 if (++argn >= argc) /* advance to next argument */ in parse_switches()
364 icc_filename = argv[argn]; in parse_switches()
[all …]
Ddjpeg.c203 int argn; in parse_switches() local
220 for (argn = 1; argn < argc; argn++) { in parse_switches()
221 arg = argv[argn]; in parse_switches()
224 if (argn <= last_file_arg_seen) { in parse_switches()
241 if (++argn >= argc) /* advance to next argument */ in parse_switches()
243 if (sscanf(argv[argn], "%d", &val) != 1) in parse_switches()
250 if (++argn >= argc) /* advance to next argument */ in parse_switches()
252 if (keymatch(argv[argn], "int", 1)) { in parse_switches()
254 } else if (keymatch(argv[argn], "fast", 2)) { in parse_switches()
256 } else if (keymatch(argv[argn], "float", 2)) { in parse_switches()
[all …]
Drdjpgcom.c451 int argn; in main() local
465 for (argn = 1; argn < argc; argn++) { in main()
466 arg = argv[argn]; in main()
480 if (argn < argc - 1) { in main()
484 if (argn < argc) { in main()
485 if ((infile = fopen(argv[argn], READ_BINARY)) == NULL) { in main()
486 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
/third_party/skia/third_party/externals/zlib/contrib/bench/
Dzlib_bench.cc295 static int argn = 1; variable
298 if (argn < argc) in get_option()
299 return !strcmp(argv[argn], option) ? argv[argn++] : nullptr; in get_option()
304 if (argn < argc) in get_compression()
305 *value = isdigit(argv[argn][0]) ? atoi(argv[argn++]) : -1; in get_compression()
328 while (argn < argc && argv[argn][0] == '-') { in main()
341 if (argn >= argc) in main()
343 while (argn < argc) in main()
344 zlib_file(argv[argn++], type); in main()
/third_party/libffi/patch/
Dlibffi-Add-sw64-architecture.patch419 +extend_basic_type(void *valp, int type, int argn)
433 + if (argn < 6)
459 + long i, avn, argn, flags = cif->flags;
473 + argn = 0;
475 + argp[argn++] = (unsigned long)rvalue;
501 + argp[argn] = extend_basic_type(valp, type, argn);
502 + argn++;
508 + argp[argn++] = (unsigned long)valp;
514 + memcpy(argp + argn, valp, size);
515 + argn += FFI_ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
[all …]
/third_party/elfutils/tests/
Daddsections.c313 int argn = 1; in main() local
315 if (strcmp (argv[argn], "--mmap") == 0) in main()
318 argn++; in main()
321 size_t nr = atoi (argv[argn++]); in main()
322 const char *file = argv[argn++]; in main()
325 if (argn < argc) in main()
326 sec_size = atol (argv[argn++]); in main()
Delfcopy.c349 int argn = 1; in main() local
351 if (strcmp (argv[argn], "--mmap") == 0) in main()
354 argn++; in main()
358 if (strcmp (argv[argn], "--reverse-offs") == 0) in main()
361 argn++; in main()
364 const char *in = argv[argn++]; in main()
365 const char *out = argv[argn]; in main()
/third_party/skia/third_party/externals/imgui/misc/fonts/
Dbinary_to_compressed_c.cpp44 int argn = 1; in main() local
47 if (argv[argn][0] == '-') in main()
49 if (strcmp(argv[argn], "-base85") == 0) { use_base85_encoding = true; argn++; } in main()
50 else if (strcmp(argv[argn], "-nocompress") == 0) { use_compression = false; argn++; } in main()
53 fprintf(stderr, "Unknown argument: '%s'\n", argv[argn]); in main()
58 …bool ret = binary_to_compressed_c(argv[argn], argv[argn + 1], use_base85_encoding, use_compression… in main()
60 fprintf(stderr, "Error opening or reading file: '%s'\n", argv[argn]); in main()
/third_party/openssl/test/testutil/
Dprovider.c54 OSSL_PROVIDER **provider, int argn, const char *usage) in test_arg_libctx() argument
58 if (!TEST_ptr(module_name = test_get_argument(argn))) { in test_arg_libctx()
65 test_get_argument(argn + 1), provider, module_name); in test_arg_libctx()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/
Dtirpc_cleaner.c36 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_pcreateerror/
Drpc_clnt_pcreateerror.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/
Dtirpc_clnt_pcreateerror.c38 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/
Drpc_clnt_destroy.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_noprog/
Drpc_svcerr_noprog.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/
Drpc_clntraw_create.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/
Drpc_svcudp_bufcreate.c39 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_unregister/
Drpc_xprt_unregister.c39 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_spcreateerror/
Drpc_clnt_spcreateerror.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/
Drpc_clnt_create.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/
Drpc_pmap_set.c36 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/
Drpc_pmap_unset.c36 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/
Drpc_svc_freeargs.c37 int main(int argn, char *argc[]) in main() argument
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/
Drpc_clnt_control.c37 int main(int argn, char *argc[]) in main() argument

123456789