/external/pixman/test/ |
H A D | trap-crasher.c | 25 pixman_add_trapezoids (dst, 0, 0, ARRAY_LENGTH (traps), traps);
|
H A D | pdf-op-test.c | 41 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 D | rotate-test.c | 46 (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 D | gradient-crash-test.c | 109 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 D | alphamap.c | 293 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 D | cbididat.c | 363 {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 D | cbiditst.h | 29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
|
H A D | ccurrtst.c | 30 #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 D | cbididat.c | 363 {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 D | cbiditst.h | 29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
|
H A D | ccurrtst.c | 30 #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 D | hb-buffer-serialize.cc | 133 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); 136 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); 141 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", 143 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", 194 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); 197 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); 203 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset)); 206 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); 208 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); 296 unsigned int len = MIN (ARRAY_LENGTH (bu [all...] |
H A D | hb-icu.cc | 196 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 D | hb-shape.cc | 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); 206 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->start)); 210 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->end)); 217 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->value)); 219 assert (len < ARRAY_LENGTH (s));
|
/external/harfbuzz_ng/src/ |
H A D | hb-buffer-serialize.cc | 103 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 D | hb-icu.cc | 196 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 D | hb-shape.cc | 61 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 D | currcoll.cpp | 33 #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 D | tstnorm.cpp | 22 #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 D | regcoll.cpp | 20 #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 D | currcoll.cpp | 33 #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 D | tstnorm.cpp | 23 #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 D | regcoll.cpp | 20 #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 D | linear-gradient.c | 34 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 D | RegOps.java | 175 public static final int ARRAY_LENGTH = 34; field in class:RegOps 347 case ARRAY_LENGTH: return "array-length";
|