Searched refs:ARRAY_LENGTH (Results 1 - 25 of 96) sorted by relevance

1234

/external/pixman/test/
H A Dtrap-crasher.c25 pixman_add_trapezoids (dst, 0, 0, ARRAY_LENGTH (traps), traps);
H A Dpdf-op-test.c41 for (o = 0; o < ARRAY_LENGTH (pdf_ops); ++o)
45 for (s = 0; s < ARRAY_LENGTH (pixels); ++s)
52 for (m = -1; m < ARRAY_LENGTH (pixels); ++m)
61 for (d = 0; d < ARRAY_LENGTH (pixels); ++d)
H A Drotate-test.c46 (formats[prng_rand_n (ARRAY_LENGTH (formats))])
49 (ops[prng_rand_n (ARRAY_LENGTH (ops))])
52 (&(transforms[prng_rand_n (ARRAY_LENGTH (transforms))]))
H A Dgradient-crash-test.c109 num_stops = ARRAY_LENGTH (onestop);
114 num_stops = ARRAY_LENGTH (subsetstops);
119 num_stops = ARRAY_LENGTH (stops01);
124 for (p = 0; p < ARRAY_LENGTH (point_pairs); ++p)
139 for (k = 0; k < ARRAY_LENGTH (transformations); ++k)
H A Dalphamap.c293 for (i = 0; i < ARRAY_LENGTH (formats); ++i)
295 for (j = 0; j < ARRAY_LENGTH (formats); ++j)
297 for (a = 0; a < ARRAY_LENGTH (alpha_formats); ++a)
299 for (b = 0; b < ARRAY_LENGTH (alpha_formats); ++b)
301 for (x = 0; x < ARRAY_LENGTH (origins); ++x)
303 for (y = 0; y < ARRAY_LENGTH (origins); ++y)
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbididat.c363 {testText1, ARRAY_LENGTH(testText1), UBIDI_DEFAULT_LTR, -1, -1,
366 {testText2, ARRAY_LENGTH(testText2), UBIDI_DEFAULT_LTR, -1, -1,
369 {testText3, ARRAY_LENGTH(testText3), UBIDI_DEFAULT_LTR, -1, -1,
372 {testText4, ARRAY_LENGTH(testText4), UBIDI_DEFAULT_LTR, -1, -1,
375 {testText5, ARRAY_LENGTH(testText5), UBIDI_DEFAULT_LTR, -1, -1,
378 {testText6, ARRAY_LENGTH(testText6), UBIDI_DEFAULT_LTR, -1, -1,
384 {testText8, ARRAY_LENGTH(testText8), UBIDI_DEFAULT_LTR, -1, -1,
387 {testText9, ARRAY_LENGTH(testText9), UBIDI_DEFAULT_LTR, -1, -1,
390 {testText10, ARRAY_LENGTH(testText10), UBIDI_DEFAULT_LTR, -1, -1,
393 {testText11, ARRAY_LENGTH(testText1
[all...]
H A Dcbiditst.h29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
H A Dccurrtst.c30 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
120 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
122 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
/external/icu4c/test/cintltst/
H A Dcbididat.c363 {testText1, ARRAY_LENGTH(testText1), UBIDI_DEFAULT_LTR, -1, -1,
366 {testText2, ARRAY_LENGTH(testText2), UBIDI_DEFAULT_LTR, -1, -1,
369 {testText3, ARRAY_LENGTH(testText3), UBIDI_DEFAULT_LTR, -1, -1,
372 {testText4, ARRAY_LENGTH(testText4), UBIDI_DEFAULT_LTR, -1, -1,
375 {testText5, ARRAY_LENGTH(testText5), UBIDI_DEFAULT_LTR, -1, -1,
378 {testText6, ARRAY_LENGTH(testText6), UBIDI_DEFAULT_LTR, -1, -1,
384 {testText8, ARRAY_LENGTH(testText8), UBIDI_DEFAULT_LTR, -1, -1,
387 {testText9, ARRAY_LENGTH(testText9), UBIDI_DEFAULT_LTR, -1, -1,
390 {testText10, ARRAY_LENGTH(testText10), UBIDI_DEFAULT_LTR, -1, -1,
393 {testText11, ARRAY_LENGTH(testText1
[all...]
H A Dcbiditst.h29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
H A Dccurrtst.c30 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
120 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
122 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-buffer-serialize.cc103 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint);
106 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster);
111 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d",
113 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d",
164 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint);
167 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster);
173 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset);
176 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance);
178 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance);
248 unsigned int len = MIN (ARRAY_LENGTH (bu
[all...]
H A Dhb-icu.cc196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err);
198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err);
202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
228 ARRAY_LENGTH (decomposed), &icu_err);
259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err);
263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
283 unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
299 len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
327 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err);
333 len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalize
[all...]
H A Dhb-shape.cc61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp));
184 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->start);
188 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->end);
195 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->value);
197 assert (len < ARRAY_LENGTH (s));
/external/harfbuzz_ng/src/
H A Dhb-buffer-serialize.cc103 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint);
106 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster);
111 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d",
113 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d",
164 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint);
167 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster);
173 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset);
176 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance);
178 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance);
248 unsigned int len = MIN (ARRAY_LENGTH (bu
[all...]
H A Dhb-icu.cc196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err);
198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err);
202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
228 ARRAY_LENGTH (decomposed), &icu_err);
259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err);
263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
283 unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
299 len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
327 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err);
333 len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalize
[all...]
H A Dhb-shape.cc61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp));
184 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->start);
188 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->end);
195 len += snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->value);
197 assert (len < ARRAY_LENGTH (s));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcurrcoll.cpp33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
94 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
96 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
H A Dtstnorm.cpp22 #define ARRAY_LENGTH(array) LENGTHOF(array) macro
169 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
175 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
186 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1);
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1);
196 compatTests, ARRAY_LENGTH(compatTests), 1);
203 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2);
206 ARRAY_LENGTH(canonTests), 2);
213 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTest
[all...]
H A Dregcoll.cpp20 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro
195 compareArray(*c, decomp, ARRAY_LENGTH(decomp));
217 compareArray(*c, tests, ARRAY_LENGTH(tests));
346 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary));
361 compareArray(*c, secondary, ARRAY_LENGTH(secondary));
397 compareArray(*c, tests, ARRAY_LENGTH(tests));
485 compareArray(*c, tests, ARRAY_LENGTH(tests));
623 compareArray(*c, tests, ARRAY_LENGTH(tests));
642 compareArray(*c, tests, ARRAY_LENGTH(tests));
675 compareArray(*c, tests, ARRAY_LENGTH(test
[all...]
/external/icu4c/test/intltest/
H A Dcurrcoll.cpp33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
94 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
96 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
H A Dtstnorm.cpp23 #define ARRAY_LENGTH(array) LENGTHOF(array) macro
170 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
176 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
187 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1);
194 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1);
197 compatTests, ARRAY_LENGTH(compatTests), 1);
204 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2);
207 ARRAY_LENGTH(canonTests), 2);
214 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTest
[all...]
H A Dregcoll.cpp20 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro
195 compareArray(*c, decomp, ARRAY_LENGTH(decomp));
217 compareArray(*c, tests, ARRAY_LENGTH(tests));
346 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary));
361 compareArray(*c, secondary, ARRAY_LENGTH(secondary));
397 compareArray(*c, tests, ARRAY_LENGTH(tests));
485 compareArray(*c, tests, ARRAY_LENGTH(tests));
623 compareArray(*c, tests, ARRAY_LENGTH(tests));
642 compareArray(*c, tests, ARRAY_LENGTH(tests));
675 compareArray(*c, tests, ARRAY_LENGTH(test
[all...]
/external/pixman/demos/
H A Dlinear-gradient.c34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegOps.java175 public static final int ARRAY_LENGTH = 34; field in class:RegOps
347 case ARRAY_LENGTH: return "array-length";

Completed in 427 milliseconds

1234