Home
last modified time | relevance | path

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

123456789

/external/libffi/src/alpha/
Dffi.c192 extend_basic_type(void *valp, int type, int argn) in extend_basic_type() argument
206 if (argn < 6) in extend_basic_type()
232 long i, avn, argn, flags = cif->flags; in ffi_call_int() local
246 argn = 0; in ffi_call_int()
248 argp[argn++] = (unsigned long)rvalue; in ffi_call_int()
274 argp[argn] = extend_basic_type(valp, type, argn); in ffi_call_int()
275 argn++; in ffi_call_int()
281 argp[argn++] = (unsigned long)valp; in ffi_call_int()
287 memcpy(argp + argn, valp, size); in ffi_call_int()
288 argn += FFI_ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_call_int()
[all …]
/external/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()
/external/strace/
Dfadvise.c42 int argn; in SYS_FUNC() local
45 argn = printllval(tcp, ", %lld", 1); in SYS_FUNC()
46 tprintf(", %" PRI_klu ", ", tcp->u_arg[argn++]); in SYS_FUNC()
47 printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???"); in SYS_FUNC()
54 int argn; in SYS_FUNC() local
57 argn = printllval(tcp, ", %lld, ", 1); in SYS_FUNC()
58 argn = printllval(tcp, "%lld, ", argn); in SYS_FUNC()
62 printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???"); in SYS_FUNC()
Dsync_file_range.c36 int argn; in SYS_FUNC() local
39 argn = printllval(tcp, ", %lld, ", 1); in SYS_FUNC()
40 argn = printllval(tcp, "%lld, ", argn); in SYS_FUNC()
41 printflags(sync_file_range_flags, tcp->u_arg[argn], in SYS_FUNC()
Dsync_file_range2.c36 int argn; in SYS_FUNC() local
42 argn = printllval(tcp, ", %lld, ", 2); in SYS_FUNC()
43 argn = printllval(tcp, "%lld", argn); in SYS_FUNC()
Dlookup_dcookie.c37 int argn = printllval(tcp, "%llu", 0); in SYS_FUNC() local
42 printaddr(tcp->u_arg[argn]); in SYS_FUNC()
44 printstrn(tcp, tcp->u_arg[argn], tcp->u_rval); in SYS_FUNC()
47 tprintf(", %" PRI_klu, tcp->u_arg[argn + 1]); in SYS_FUNC()
Dfanotify.c71 int argn = getllval(tcp, &mask, 2); in SYS_FUNC() local
78 if ((int) tcp->u_arg[argn] == FAN_NOFD) { in SYS_FUNC()
82 print_dirfd(tcp, tcp->u_arg[argn]); in SYS_FUNC()
84 printpath(tcp, tcp->u_arg[argn + 1]); in SYS_FUNC()
Dreadahead.c5 int argn; in SYS_FUNC() local
8 argn = printllval(tcp, ", %lld", 1); in SYS_FUNC()
9 tprintf(", %" PRI_klu, tcp->u_arg[argn]); in SYS_FUNC()
Dfallocate.c11 int argn; in SYS_FUNC() local
22 argn = printllval(tcp, "%lld, ", 2); in SYS_FUNC()
25 printllval(tcp, "%lld", argn); in SYS_FUNC()
Dpathtrace.c292 int argn = getllval(tcp, &mask, 2); in pathtrace_match_set() local
293 return fdmatch(tcp, tcp->u_arg[argn], set) || in pathtrace_match_set()
294 upathmatch(tcp, tcp->u_arg[argn + 1], set); in pathtrace_match_set()
/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/
Dffi.c214 long i, avn, argn; in ffi_closure_osf_inner() local
219 argn = 0; in ffi_closure_osf_inner()
226 argn = 1; in ffi_closure_osf_inner()
250 avalue[i] = &argp[argn]; in ffi_closure_osf_inner()
254 if (argn < 6) in ffi_closure_osf_inner()
258 *(float *)&argp[argn - 6] = *(double *)&argp[argn - 6]; in ffi_closure_osf_inner()
259 avalue[i] = &argp[argn - 6]; in ffi_closure_osf_inner()
262 avalue[i] = &argp[argn]; in ffi_closure_osf_inner()
266 avalue[i] = &argp[argn - (argn < 6 ? 6 : 0)]; in ffi_closure_osf_inner()
271 avalue[i] = (long double *) argp[argn]; in ffi_closure_osf_inner()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/
Dffi.c546 int i, argn; in ffi_closure_sparc_inner_v8() local
562 argn = 1; in ffi_closure_sparc_inner_v8()
574 avalue[i] = (void *)gpr[argn++]; in ffi_closure_sparc_inner_v8()
580 && (argn % 2) != 0) in ffi_closure_sparc_inner_v8()
583 scratch[0] = gpr[argn]; in ffi_closure_sparc_inner_v8()
584 scratch[1] = gpr[argn+1]; in ffi_closure_sparc_inner_v8()
587 argn += 2; in ffi_closure_sparc_inner_v8()
592 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_sparc_inner_v8()
593 avalue[i] = ((char *) &gpr[argn]) - arg_types[i]->size; in ffi_closure_sparc_inner_v8()
611 int i, argn, fp_slot_max; in ffi_closure_sparc_inner_v9() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/
Dffi.c773 int i, avn, argn, seen_int; in ffi_closure_mips_inner_O32() local
780 argn = 0; in ffi_closure_mips_inner_O32()
785 argn = 1; in ffi_closure_mips_inner_O32()
808 if (arg_types[i]->alignment == 8 && (argn & 0x1)) in ffi_closure_mips_inner_O32()
809 argn++; in ffi_closure_mips_inner_O32()
814 *(SINT8 *) &avalue[i] = (SINT8) ar[argn]; in ffi_closure_mips_inner_O32()
819 *(UINT8 *) &avalue[i] = (UINT8) ar[argn]; in ffi_closure_mips_inner_O32()
824 *(SINT16 *) &avalue[i] = (SINT16) ar[argn]; in ffi_closure_mips_inner_O32()
829 *(UINT16 *) &avalue[i] = (UINT16) ar[argn]; in ffi_closure_mips_inner_O32()
833 avaluep[i] = (char *) &ar[argn]; in ffi_closure_mips_inner_O32()
[all …]
/external/libffi/src/sparc/
Dffi64.c512 int i, argn, argx, nargs, flags, nfixedargs; in ffi_closure_sparc_inner_v9() local
527 argn = 1; in ffi_closure_sparc_inner_v9()
530 argn = 0; in ffi_closure_sparc_inner_v9()
533 for (i = 0; i < nargs; i++, argn = argx) in ffi_closure_sparc_inner_v9()
537 void *a = &gpr[argn]; in ffi_closure_sparc_inner_v9()
540 argx = argn + 1; in ffi_closure_sparc_inner_v9()
550 argx = argn + FFI_ALIGN (z, 8) / 8; in ffi_closure_sparc_inner_v9()
551 if (named && argn < 16) in ffi_closure_sparc_inner_v9()
554 int argn_mask = (0xffff00 >> argn) & 0xff00; in ffi_closure_sparc_inner_v9()
558 a = ffi_struct_float_merge (size_mask, gpr+argn, fpr+argn); in ffi_closure_sparc_inner_v9()
[all …]
/external/libffi/src/mips/
Dffi.c815 int i, avn, argn, seen_int; in ffi_closure_mips_inner_O32() local
821 argn = 0; in ffi_closure_mips_inner_O32()
826 argn = 1; in ffi_closure_mips_inner_O32()
836 if (arg_types[i]->alignment == 8 && (argn & 0x1)) in ffi_closure_mips_inner_O32()
837 argn++; in ffi_closure_mips_inner_O32()
856 *(SINT8 *) &avalue[i] = (SINT8) ar[argn]; in ffi_closure_mips_inner_O32()
861 *(UINT8 *) &avalue[i] = (UINT8) ar[argn]; in ffi_closure_mips_inner_O32()
866 *(SINT16 *) &avalue[i] = (SINT16) ar[argn]; in ffi_closure_mips_inner_O32()
871 *(UINT16 *) &avalue[i] = (UINT16) ar[argn]; in ffi_closure_mips_inner_O32()
875 avaluep[i] = (char *) &ar[argn]; in ffi_closure_mips_inner_O32()
[all …]
/external/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()
327 while (argn < argc && argv[argn][0] == '-') { in main()
340 if (argn >= argc) in main()
342 while (argn < argc) in main()
343 zlib_file(argv[argn++], type); in main()
/external/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()
/external/tensorflow/tensorflow/core/platform/
Dplatform_strings_test.cc142 for (int argn = 1; argn != argc; argn++) { in main() local
143 rc |= PrintStrings(argv[argn]); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/
Dtirpc_cleaner.c36 int main(int argn, char *argc[]) in main() argument
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.c36 static bool lua_isinteger(lua_State *L, int argn) { in lua_isinteger() argument
38 LUPB_UNUSED(argn); in lua_isinteger()

123456789