Home
last modified time | relevance | path

Searched refs:ARRAY_LENGTH (Results 1 – 25 of 106) sorted by relevance

12345

/external/icu/icu4c/source/test/cintltst/
Dcbididat.c377 {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 …]
Dccurrtst.c30 #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()
Dnccbtst.c33 #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/
Dcbididat.c377 {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 …]
Dccurrtst.c30 #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()
Dnccbtst.c33 #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/
Dhb-buffer-serialize.cc133 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 …]
Dhb-icu.cc196 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()
Dhb-shape.cc61 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/
Dhb-buffer-serialize.cc133 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 …]
Dhb-icu.cc196 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()
Dhb-shape.cc61 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/
Dpdf-op-test.c41 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()
Dgradient-crash-test.c109 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()
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))]))
Dalphamap.c293 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()
Dcheck-formats.c198 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/
Dregcoll.cpp20 #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 …]
Dtstnorm.cpp23 #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 …]
Dcurrcoll.cpp33 #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/
Dtstnorm.cpp23 #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 …]
Dcurrcoll.cpp33 #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()
Dregcoll.cpp21 #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/
Dnum2str.c7 #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/
DRegOps.java175 public static final int ARRAY_LENGTH = 34; field in RegOps
347 case ARRAY_LENGTH: return "array-length"; in opName()

12345