HomeSort by relevance Sort by last modified time
    Searched refs:ARRAY_LEN (Results 1 - 25 of 42) sorted by null

1 2

  /external/libvorbis/test/
util.h 18 #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0]))
test.c 43 gen_windowed_sine (data_out, ARRAY_LEN (data_out), 0.95);
49 for (k = 0 ; k < ARRAY_LEN (sample_rates); k ++) {
57 set_data_in (data_in, ARRAY_LEN (data_in), 3.141);
59 write_vorbis_data_or_die (filename, sample_rates [k], q, data_out, ARRAY_LEN (data_out),ch);
60 read_vorbis_data_or_die (filename, sample_rates [k], data_in, ARRAY_LEN (data_in));
62 if (check_output (data_in, ARRAY_LEN (data_in), (.15f - .1f*q)) != 0)
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
small_struct.rs 36 #define ARRAY_LEN 3
39 small_struct arr[ARRAY_LEN];
55 for (int idx = 0; idx < ARRAY_LEN; idx ++) {
81 for (int idx = 0; idx < ARRAY_LEN; idx ++) {
small_struct_2.rs 36 #define ARRAY_LEN 3
39 small_struct_2 arr[ARRAY_LEN];
55 for (int idx = 0; idx < ARRAY_LEN; idx ++) {
81 for (int idx = 0; idx < ARRAY_LEN; idx ++) {
  /external/toybox/toys/android/
start.c 45 if (!start) ss = services+ARRAY_LEN(services)-2, direction = -1;
  /external/toybox/toys/other/
chrt.c 45 for (pol = 0; pol<ARRAY_LEN(polnames); pol++) if (polnames[pol])
58 if ((pol &= ~SCHED_RESET_ON_FORK)<ARRAY_LEN(polnames)) s = polnames[pol];
nsenter.c 131 for (i = 0; i<ARRAY_LEN(flags); i++)
146 for (i = 0; i<ARRAY_LEN(flags); i++) {
oneit.c 68 for (i = 0; i<ARRAY_LEN(pipes); i++) xsignal(pipes[i], oneit_signaled);
blkid.c 92 if (i == ARRAY_LEN(fstypes)) {
login.c 57 for (count = 0; count < ARRAY_LEN(forbid); count++) unsetenv(forbid[count]);
  /external/toybox/toys/net/
microcom.c 64 for (i = 0; i < ARRAY_LEN(speeds); i++) if (speeds[i] == speed) break;
65 if (i == ARRAY_LEN(speeds)) error_exit("unknown speed: %s", TT.s);
rfkill.c 53 for (i = 0; i < ARRAY_LEN(rftypes); i++)
55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX);
netstat.c 158 int sz = ARRAY_LEN(state_label);
210 if (type>ARRAY_LEN(types)) type = 0;
211 if (state>ARRAY_LEN(states) || (state==1 && !flags)) state = 0;
321 for (dest = 0; dest < ARRAY_LEN(flagarray); dest++)
  /device/google/contexthub/util/nanotool/
contexthub.cpp 89 for (size_t i = 0; i < ARRAY_LEN(sensor_aliases_); i++) {
100 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) {
114 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) {
120 for (unsigned int i = 0; i < ARRAY_LEN(sensor_aliases_); i++) {
134 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) {
136 if (i < ARRAY_LEN(sensor_names_) - 1) {
251 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) {
262 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) {
contexthub.h 33 #define ARRAY_LEN(arr) (sizeof(arr) / sizeof(arr[0]))
  /external/toybox/toys/lsb/
su.c 77 for (i=0; i < ARRAY_LEN(stuff); i++) if (stuff[i]) putenv(stuff[i]);
mount.c 113 for (i = 0; i < ARRAY_LEN(opts); i++) if (!strcasecmp(opts[i].name, new)) {
123 if (more && i == ARRAY_LEN(opts)) {
  /external/toybox/toys/pending/
brctl.c 251 for (i = 0; i < ARRAY_LEN(ss); i++) {
254 if (i >= ARRAY_LEN(ss)) error_exit("invalid stp state");
317 for (i = 0; i < ARRAY_LEN(cc); i++) {
330 if (i == ARRAY_LEN(cc)) help_exit("invalid option '%s'", *toys.optargs);
openvt.c 48 for (i = 0; i < ARRAY_LEN(console_name); i++) {
dd.c 139 for (i = 0; i<ARRAY_LEN(convs); i++)
141 if (i == ARRAY_LEN(convs)) error_exit("bad conv=%.*s", len, ss);
  /external/toybox/
main.c 44 top = ARRAY_LEN(toy_list)-1;
108 toys.toycount = ARRAY_LEN(toy_list);
187 for (i=1; i<ARRAY_LEN(toy_list); i++) {
toys.h 127 #define ARRAY_LEN(array) (sizeof(array)/sizeof(*array))
  /external/toybox/toys/posix/
file.c 86 for (i = 0; i<ARRAY_LEN(type); i++) if (j==type[i].val) break;
87 if (i<ARRAY_LEN(type)) printf("%s", type[i].name);
206 if (s[9]<ARRAY_LEN(colors)) c = colors[s[9]];
cp.c 380 for (i=0; i<ARRAY_LEN(cp_preserve); i++)
386 for (i=0; i<ARRAY_LEN(cp_preserve); i++)
388 if (i == ARRAY_LEN(cp_preserve)) {
  /external/toybox/lib/
interestingtimes.c 176 for (i = 0; i<ARRAY_LEN(scan_key_list); i++) {

Completed in 840 milliseconds

1 2