Home
last modified time | relevance | path

Searched refs:arg_size (Results 1 – 2 of 2) sorted by relevance

/system/core/toolbox/
Dioctl.c69 int arg_size = 4; in ioctl_main() local
90 arg_size = xstrtoi(optarg, "argument size"); in ioctl_main()
128 arg_size = 4; in ioctl_main()
133 length = (argc - optind) * arg_size; in ioctl_main()
142 if (rem < arg_size) { in ioctl_main()
145 memcpy(ioctl_argp, &tmp, arg_size); in ioctl_main()
146 ioctl_argp += arg_size; in ioctl_main()
147 rem -= arg_size; in ioctl_main()
/system/core/fastboot/
Dusbtest.c38 static unsigned arg_size = 4096; variable
98 if(usb_write(usb, buf, arg_size) != (int)arg_size) { in test_null()
104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_null()
116 if(usb_read(usb, buf, arg_size) != (int)arg_size) { in test_zero()
122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_zero()
158 arg_size = atoi(arg + 5); in process_args()
170 if(arg_size > 4096) { in process_args()