/external/icu/icu4c/source/test/cintltst/ |
D | cbididat.c | 377 {testText1, ARRAY_LENGTH(testText1), UBIDI_DEFAULT_LTR, -1, -1, 380 {testText2, ARRAY_LENGTH(testText2), UBIDI_DEFAULT_LTR, -1, -1, 383 {testText3, ARRAY_LENGTH(testText3), UBIDI_DEFAULT_LTR, -1, -1, 386 {testText4, ARRAY_LENGTH(testText4), UBIDI_DEFAULT_LTR, -1, -1, 389 {testText5, ARRAY_LENGTH(testText5), UBIDI_DEFAULT_LTR, -1, -1, 392 {testText6, ARRAY_LENGTH(testText6), UBIDI_DEFAULT_LTR, -1, -1, 398 {testText8, ARRAY_LENGTH(testText8), UBIDI_DEFAULT_LTR, -1, -1, 401 {testText9, ARRAY_LENGTH(testText9), 64, -1, -1, 404 {testText10, ARRAY_LENGTH(testText10), 64, -1, -1, 407 {testText11, ARRAY_LENGTH(testText11), UBIDI_DEFAULT_LTR, -1, -1, [all …]
|
D | ccurrtst.c | 30 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro 120 for (i = 0; i < ARRAY_LENGTH(currency); i += 1) in currTest() 122 for (j = 0; j < ARRAY_LENGTH(currency); j += 1) in currTest()
|
D | nccbtst.c | 33 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof((array)[0])) macro 587 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 635 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 644 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 1010 expected, ARRAY_LENGTH(expected), "BOCU-1", in TestSkip() 1063 expected, ARRAY_LENGTH(expected), "CESU-8", in TestSkip() 1071 expected, ARRAY_LENGTH(expected), "CESU-8", in TestSkip() 1510 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in), in TestSub() 1537 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in), in TestSub() 1650 if(!testConvertFromUnicode(u1, ARRAY_LENGTH(u1), s1, ARRAY_LENGTH(s1), "ibm-930", in TestSub() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cbididat.c | 377 {testText1, ARRAY_LENGTH(testText1), UBIDI_DEFAULT_LTR, -1, -1, 380 {testText2, ARRAY_LENGTH(testText2), UBIDI_DEFAULT_LTR, -1, -1, 383 {testText3, ARRAY_LENGTH(testText3), UBIDI_DEFAULT_LTR, -1, -1, 386 {testText4, ARRAY_LENGTH(testText4), UBIDI_DEFAULT_LTR, -1, -1, 389 {testText5, ARRAY_LENGTH(testText5), UBIDI_DEFAULT_LTR, -1, -1, 392 {testText6, ARRAY_LENGTH(testText6), UBIDI_DEFAULT_LTR, -1, -1, 398 {testText8, ARRAY_LENGTH(testText8), UBIDI_DEFAULT_LTR, -1, -1, 401 {testText9, ARRAY_LENGTH(testText9), 64, -1, -1, 404 {testText10, ARRAY_LENGTH(testText10), 64, -1, -1, 407 {testText11, ARRAY_LENGTH(testText11), UBIDI_DEFAULT_LTR, -1, -1, [all …]
|
D | ccurrtst.c | 30 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro 120 for (i = 0; i < ARRAY_LENGTH(currency); i += 1) in currTest() 122 for (j = 0; j < ARRAY_LENGTH(currency); j += 1) in currTest()
|
D | nccbtst.c | 33 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof((array)[0])) macro 583 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 631 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 640 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected), in TestSkip() 1006 expected, ARRAY_LENGTH(expected), "BOCU-1", in TestSkip() 1059 expected, ARRAY_LENGTH(expected), "CESU-8", in TestSkip() 1067 expected, ARRAY_LENGTH(expected), "CESU-8", in TestSkip() 1506 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in), in TestSub() 1533 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in), in TestSub() 1646 if(!testConvertFromUnicode(u1, ARRAY_LENGTH(u1), s1, ARRAY_LENGTH(s1), "ibm-930", in TestSub() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-buffer-serialize.cc | 133 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 136 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 141 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 143 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 194 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() 197 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text() 203 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset)); in _hb_buffer_serialize_glyphs_text() 206 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text() 208 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); in _hb_buffer_serialize_glyphs_text() 296 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); in parse_uint() [all …]
|
D | hb-icu.cc | 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); in hb_icu_unicode_compose() 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); in hb_icu_unicode_compose() 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_compose() 228 ARRAY_LENGTH (decomposed), &icu_err); in hb_icu_unicode_decompose() 259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); in hb_icu_unicode_decompose() 263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose() 283 … unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err); in hb_icu_unicode_decompose() 299 …len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_… in hb_icu_unicode_decompose() 327 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err); in hb_icu_unicode_decompose_compatibility() 333 …len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose_compatibility()
|
D | hb-shape.cc | 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 260 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); in hb_feature_to_string() 264 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); in hb_feature_to_string() 271 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); in hb_feature_to_string() 273 assert (len < ARRAY_LENGTH (s)); in hb_feature_to_string()
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-buffer-serialize.cc | 133 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 136 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 141 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 143 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 194 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() 197 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text() 203 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset)); in _hb_buffer_serialize_glyphs_text() 206 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text() 208 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); in _hb_buffer_serialize_glyphs_text() 296 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); in parse_uint() [all …]
|
D | hb-icu.cc | 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); in hb_icu_unicode_compose() 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); in hb_icu_unicode_compose() 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_compose() 228 ARRAY_LENGTH (decomposed), &icu_err); in hb_icu_unicode_decompose() 259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); in hb_icu_unicode_decompose() 263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose() 283 … unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err); in hb_icu_unicode_decompose() 299 …len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_… in hb_icu_unicode_decompose() 327 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err); in hb_icu_unicode_decompose_compatibility() 333 …len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose_compatibility()
|
D | hb-shape.cc | 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 260 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); in hb_feature_to_string() 264 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); in hb_feature_to_string() 271 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); in hb_feature_to_string() 273 assert (len < ARRAY_LENGTH (s)); in hb_feature_to_string()
|
/external/pixman/test/ |
D | pdf-op-test.c | 41 for (o = 0; o < ARRAY_LENGTH (pdf_ops); ++o) in main() 45 for (s = 0; s < ARRAY_LENGTH (pixels); ++s) in main() 52 for (m = -1; m < ARRAY_LENGTH (pixels); ++m) in main() 61 for (d = 0; d < ARRAY_LENGTH (pixels); ++d) in main()
|
D | gradient-crash-test.c | 109 num_stops = ARRAY_LENGTH (onestop); in main() 114 num_stops = ARRAY_LENGTH (subsetstops); in main() 119 num_stops = ARRAY_LENGTH (stops01); in main() 124 for (p = 0; p < ARRAY_LENGTH (point_pairs); ++p) in main() 139 for (k = 0; k < ARRAY_LENGTH (transformations); ++k) in main()
|
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))]))
|
D | alphamap.c | 293 for (i = 0; i < ARRAY_LENGTH (formats); ++i) in main() 295 for (j = 0; j < ARRAY_LENGTH (formats); ++j) in main() 297 for (a = 0; a < ARRAY_LENGTH (alpha_formats); ++a) in main() 299 for (b = 0; b < ARRAY_LENGTH (alpha_formats); ++b) in main() 301 for (x = 0; x < ARRAY_LENGTH (origins); ++x) in main() 303 for (y = 0; y < ARRAY_LENGTH (origins); ++y) in main()
|
D | check-formats.c | 198 for (i = 0; i < ARRAY_LENGTH (format_list); ++i) in format_from_string() 232 for (i = 0; i < ARRAY_LENGTH (format_list); ++i) in list_formats() 247 for (i = 0; i < ARRAY_LENGTH (op_list); ++i) in list_operators() 272 for (i = 0; i < ARRAY_LENGTH (op_list); ++i) in operator_from_string()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | regcoll.cpp | 20 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro 195 compareArray(*c, decomp, ARRAY_LENGTH(decomp)); in Test4054734() 217 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4054736() 346 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary)); in Test4060154() 361 compareArray(*c, secondary, ARRAY_LENGTH(secondary)); in Test4060154() 397 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4062418() 485 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4066696() 623 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087241() 642 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087243() 675 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4092260() [all …]
|
D | tstnorm.cpp | 23 #define ARRAY_LENGTH(array) LENGTHOF(array) macro 170 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 176 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 187 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 194 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 197 compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 204 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 207 ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 214 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 2); in TestCompatCompose() [all …]
|
D | currcoll.cpp | 33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro 94 for (i = 0; i < ARRAY_LENGTH(currency); i += 1) in currencyTest() 96 for (j = 0; j < ARRAY_LENGTH(currency); j += 1) in currencyTest()
|
/external/icu/icu4c/source/test/intltest/ |
D | tstnorm.cpp | 23 #define ARRAY_LENGTH(array) LENGTHOF(array) macro 170 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 176 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 187 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 194 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 197 compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 204 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 207 ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 214 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 2); in TestCompatCompose() [all …]
|
D | currcoll.cpp | 33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro 94 for (i = 0; i < ARRAY_LENGTH(currency); i += 1) in currencyTest() 96 for (j = 0; j < ARRAY_LENGTH(currency); j += 1) in currencyTest()
|
D | regcoll.cpp | 21 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro 188 compareArray(*c, decomp, ARRAY_LENGTH(decomp)); in Test4054734() 210 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4054736() 339 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary)); in Test4060154() 354 compareArray(*c, secondary, ARRAY_LENGTH(secondary)); in Test4060154() 390 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4062418() 478 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4066696() 616 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087241() 635 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087243() 668 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4092260() [all …]
|
/external/fio/lib/ |
D | num2str.c | 7 #define ARRAY_LENGTH(arr) sizeof(arr) / sizeof((arr)[0]) macro 51 if (post_index >= ARRAY_LENGTH(postfix)) in num2str()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
D | RegOps.java | 175 public static final int ARRAY_LENGTH = 34; field in RegOps 347 case ARRAY_LENGTH: return "array-length"; in opName()
|