/external/libvorbis/test/ |
D | test.c | 43 gen_windowed_sine (data_out, ARRAY_LEN (data_out), 0.95); in main() 49 for (k = 0 ; k < ARRAY_LEN (sample_rates); k ++) { in main() 57 set_data_in (data_in, ARRAY_LEN (data_in), 3.141); in main() 59 write_vorbis_data_or_die (filename, sample_rates [k], q, data_out, ARRAY_LEN (data_out),ch); in main() 60 read_vorbis_data_or_die (filename, sample_rates [k], data_in, ARRAY_LEN (data_in)); in main() 62 if (check_output (data_in, ARRAY_LEN (data_in), (.15f - .1f*q)) != 0) in main()
|
D | util.h | 18 #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0])) macro
|
/external/toybox/ |
D | main.c | 44 top = ARRAY_LEN(toy_list)-1; in toy_find() 93 toys.toycount = ARRAY_LEN(toy_list); in toy_singleinit() 170 for (i=1; i<ARRAY_LEN(toy_list); i++) { in toybox_main()
|
D | toys.h | 146 #define ARRAY_LEN(array) (sizeof(array)/sizeof(*array)) macro
|
/external/toybox/toys/other/ |
D | nsenter.c | 124 for (i = 0; i<ARRAY_LEN(flags); i++) in unshare_main() 134 for (i = 0; i<ARRAY_LEN(flags); i++) { in unshare_main()
|
D | rfkill.c | 53 for (i = 0; i < ARRAY_LEN(rftypes); i++) in rfkill_main() 55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX); in rfkill_main()
|
D | oneit.c | 74 for (i = 0; i<ARRAY_LEN(pipes); i++) xsignal(pipes[i], oneit_signaled); in oneit_main()
|
D | ifconfig.c | 465 } else for (i = 0; i < ARRAY_LEN(try); i++) { in ifconfig_main()
|
/external/toybox/toys/pending/ |
D | brctl.c | 251 for (i = 0; i < ARRAY_LEN(ss); i++) { in br_set_stp() 254 if (i >= ARRAY_LEN(ss)) error_exit("invalid stp state"); in br_set_stp() 317 for (i = 0; i < ARRAY_LEN(cc); i++) { in brctl_main() 333 if (i == ARRAY_LEN(cc)) { in brctl_main()
|
D | dd.c | 116 for (i = 0; i < ARRAY_LEN(suffixes); i++) in strsuftoll() 305 if (!(res = bsearch(&key, operands, ARRAY_LEN(operands), sizeof(struct pair), in dd_main() 339 if (!(res = bsearch(&key, clist, ARRAY_LEN(clist), in dd_main()
|
D | ps.c | 299 for (i = 0; i<ARRAY_LEN(typos) && !field->which; i++) { in ps_main() 314 if (i == ARRAY_LEN(typos)) error_exit("bad -o %.*s", end-type, type); in ps_main()
|
D | openvt.c | 47 for (i = 0; i < ARRAY_LEN(console_name); i++) {
|
D | netstat.c | 170 int sz = ARRAY_LEN(state_label); in display_data() 347 int sz = ARRAY_LEN(ss_type);//sizeof(ss_type)/sizeof(ss_type[0]); in show_unix_sockets() 351 sz = ARRAY_LEN(ss_state);//sizeof(ss_state)/sizeof(ss_state[0]); in show_unix_sockets()
|
D | dhcp.c | 253 .len = ARRAY_LEN(filter_instr), 396 int count, size = ARRAY_LEN(options_list); in strtoopt() 510 int size = ARRAY_LEN(options_list), count, ret = -1; in fill_envp() 934 int size = ARRAY_LEN(options_list); in set_xopt() 1061 int count, optlen, size = ARRAY_LEN(options_list); in dhcpc_parseoptions() 1255 int count, size = ARRAY_LEN(options_list); in free_option_stores()
|
D | dhcpd.c | 393 int count, size = ARRAY_LEN(options_list); in strtoopt() 563 int len, linelen, tcount, count, size = ARRAY_LEN(keywords); in parse_server_config() 811 int count, size = ARRAY_LEN(options_list); in set_reqparam() 902 int count, size = ARRAY_LEN(options_list); in set_maxlease()
|
D | arp.c | 137 for (j = 0; j < ARRAY_LEN(f); j++) { in check_flags()
|
D | ip.c | 227 parseRPDB("/etc/iproute2/rt_dsfield", alist, ARRAY_LEN(rt_dsfield)); in getlist() 244 parseRPDB("/etc/iproute2/rt_protos", alist, ARRAY_LEN(rt_protos)); in getlist() 252 parseRPDB("/etc/iproute2/rt_realms", alist, ARRAY_LEN(rt_realms)); in getlist() 264 parseRPDB("/etc/iproute2/rt_scopes", alist, ARRAY_LEN(rt_scope)); in getlist() 274 parseRPDB("/etc/iproute2/rt_tables", alist, ARRAY_LEN(rt_tables)); in getlist()
|
D | fdisk.c | 138 int i, adjust = 0, size = ARRAY_LEN(sys_types); in list_types() 400 int i, size = ARRAY_LEN(sys_types); in get_type()
|
/external/toybox/toys/lsb/ |
D | su.c | 77 for (i=0; i < ARRAY_LEN(stuff); i++) if (stuff[i]) putenv(stuff[i]); in su_main()
|
D | mount.c | 111 for (i = 0; i < ARRAY_LEN(opts); i++) if (!strcasecmp(opts[i].name, new)) { 121 if (more && i == ARRAY_LEN(opts)) {
|
/external/toybox/lib/ |
D | password.c | 17 for (i = 0; i < ARRAY_LEN(al); i++) { in get_salt()
|