Home
last modified time | relevance | path

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

123

/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 …]
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 …]
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()
Dtrietest.c35 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
804 setRanges1, ARRAY_LENGTH(setRanges1), in TrieTest()
805 checkRanges1, ARRAY_LENGTH(checkRanges1)); in TrieTest()
807 setRanges2, ARRAY_LENGTH(setRanges2), in TrieTest()
808 checkRanges2, ARRAY_LENGTH(checkRanges2)); in TrieTest()
810 setRanges3, ARRAY_LENGTH(setRanges3), in TrieTest()
811 checkRanges3, ARRAY_LENGTH(checkRanges3)); in TrieTest()
Dcbiditst.h29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
/external/harfbuzz_ng/src/
Dhb-buffer-serialize.cc140 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json()
143 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json()
148 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json()
150 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json()
158 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json()
160 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json()
212 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text()
215 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text()
221 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()
224 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text()
[all …]
Dhb-icu.cc197 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); in hb_icu_unicode_compose()
199 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); in hb_icu_unicode_compose()
203 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_compose()
229 ARRAY_LENGTH (decomposed), &icu_err); in hb_icu_unicode_decompose()
260 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); in hb_icu_unicode_decompose()
264 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose()
284 … unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err); in hb_icu_unicode_decompose()
300 …len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_… in hb_icu_unicode_decompose()
328 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err); in hb_icu_unicode_decompose_compatibility()
334 …len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); in hb_icu_unicode_decompose_compatibility()
Dhb-shape.cc72 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint()
276 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); in hb_feature_to_string()
280 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); in hb_feature_to_string()
287 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); in hb_feature_to_string()
289 assert (len < ARRAY_LENGTH (s)); in hb_feature_to_string()
Dhb-ot-shape-complex-arabic-fallback.hh118 …for (unsigned int first_glyph_idx = 0; first_glyph_idx < ARRAY_LENGTH (first_glyphs); first_glyph_… in arabic_fallback_synthesize_lookup_ligature()
136 …for (unsigned int second_glyph_idx = 0; second_glyph_idx < ARRAY_LENGTH (ligature_table[0].ligatur… in arabic_fallback_synthesize_lookup_ligature()
276 for (unsigned int i = 0; i < ARRAY_LENGTH(arabic_fallback_features) ; i++) in arabic_fallback_plan_init_unicode()
Dhb-ot-tag.cc845 ARRAY_LENGTH (ot_languages), sizeof (LangTag), in hb_ot_tag_from_language()
856 for (i = 0; i < ARRAY_LENGTH (ot_languages_zh); i++) in hb_ot_tag_from_language()
896 for (i = 0; i < ARRAY_LENGTH (ot_languages); i++) in hb_ot_tag_to_language()
934 for (unsigned int i = 1; i < ARRAY_LENGTH (ot_languages); i++) in test_langs_sorted()
Dhb-common.cc137 for (unsigned int i = 0; i < ARRAY_LENGTH (direction_strings); i++) in hb_direction_from_string()
158 < ARRAY_LENGTH (direction_strings))) in hb_direction_to_string()
Dhb-glib.cc166 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script))) in hb_glib_script_to_script()
182 unsigned int count = ARRAY_LENGTH (glib_script_to_script); in hb_glib_script_from_script()
Dhb-ot-shape-complex-use.cc139 for (unsigned int i = 0; i < ARRAY_LENGTH (basic_features); i++) in collect_features_use()
145 for (unsigned int i = 0; i < ARRAY_LENGTH (arabic_features); i++) in collect_features_use()
150 for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++) in collect_features_use()
Dhb-shaper.cc83 for (unsigned int j = i; j < ARRAY_LENGTH (all_shapers); j++) in _hb_shapers_get()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DSetValues003Debuggee.java29 static final int ARRAY_LENGTH = 1; field in SetValues003Debuggee
56 arrayField = new DebuggeeSubClass[ARRAY_LENGTH]; in run()
57 superClassArrayField = new DebuggeeSuperClass[ARRAY_LENGTH]; in run()
58 interfaceArrayField = new DebuggeeInterface[ARRAY_LENGTH]; in run()
DSetValues003Test.java35 private static final int VALID_INDEX = SetValues003Debuggee.ARRAY_LENGTH - 1;
36 private static final int INVALID_INDEX = SetValues003Debuggee.ARRAY_LENGTH;
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp22 #define ARRAY_LENGTH(array) UPRV_LENGTHOF(array) macro
169 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious()
175 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious()
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp()
186 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp()
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp()
196 compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp()
203 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2); in TestCanonCompose()
206 ARRAY_LENGTH(canonTests), 2); in TestCanonCompose()
213 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 2); in TestCompatCompose()
[all …]
Dregcoll.cpp21 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro
192 compareArray(*c, decomp, ARRAY_LENGTH(decomp)); in Test4054734()
214 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4054736()
343 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary)); in Test4060154()
358 compareArray(*c, secondary, ARRAY_LENGTH(secondary)); in Test4060154()
394 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4062418()
482 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4066696()
620 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087241()
639 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4087243()
672 compareArray(*c, tests, ARRAY_LENGTH(tests)); in Test4092260()
[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()
Dcanittst.cpp23 #define ARRAY_LENGTH(array) ((int32_t)(sizeof (array) / sizeof (*array))) macro
151 for (i = 0; i < ARRAY_LENGTH(testArray); ++i) { in TestBasic()
/external/valgrind/none/tests/solaris/
Dstack_prot.c4 #define ARRAY_LENGTH(array) (sizeof((array)) / sizeof(0[(array)])) macro
27 items = fread(map, sizeof(map[0]), ARRAY_LENGTH(map), fi); in main()
28 if (items != ARRAY_LENGTH(map)) { in main()
/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()
/external/icu/icu4c/source/test/letest/
Dtestdata.cpp629 le_int32 testCount = ARRAY_LENGTH(testInputs);
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c48 #define ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0])) macro
195 ARRAY_LENGTH(exception_signals)];
1309 for (i = 0; i < ARRAY_LENGTH(guards); i++) { in _test_free()
1415 for (i = 0; i < ARRAY_LENGTH(exception_codes); i++) { in exception_filter()
1502 for (i = 0; i < ARRAY_LENGTH(exception_signals); i++) { in _run_test()
1542 for (i = 0; i < ARRAY_LENGTH(exception_signals); i++) { in _run_test()

123