/external/harfbuzz_ng/src/ |
D | test-number.cc | 103 assert (ARRAY_LENGTH (str) == 4); in main() 104 const char *end = str + ARRAY_LENGTH (str); in main() 116 assert (ARRAY_LENGTH (str) == 5); in main() 117 const char *end = str + ARRAY_LENGTH (str); in main() 129 assert (ARRAY_LENGTH (str) == 5); in main() 130 const char *end = str + ARRAY_LENGTH (str); in main() 142 const char *end = str + ARRAY_LENGTH (str); in main() 159 const char *end = str + ARRAY_LENGTH (str) - 1; in main() 175 const char *end = str + ARRAY_LENGTH (str) - 1; in main() 191 const char *end = str + ARRAY_LENGTH (str) - 1; in main() [all …]
|
D | hb-buffer-serialize.cc | 145 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 148 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 153 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 156 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 163 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLA… in _hb_buffer_serialize_glyphs_json() 170 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 172 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 231 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() 234 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text() 240 …p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", x+pos[i].x_offset, y+pos[i].y_o… in _hb_buffer_serialize_glyphs_text() [all …]
|
D | hb-ucd.cc | 140 ARRAY_LENGTH (_hb_ucd_dm2_u32_map), in hb_ucd_compose() 150 ARRAY_LENGTH (_hb_ucd_dm2_u64_map), in hb_ucd_compose() 174 if (i < ARRAY_LENGTH (_hb_ucd_dm1_p0_map) + ARRAY_LENGTH (_hb_ucd_dm1_p2_map)) in hb_ucd_decompose() 176 if (i < ARRAY_LENGTH (_hb_ucd_dm1_p0_map)) in hb_ucd_decompose() 180 i -= ARRAY_LENGTH (_hb_ucd_dm1_p0_map); in hb_ucd_decompose() 186 i -= ARRAY_LENGTH (_hb_ucd_dm1_p0_map) + ARRAY_LENGTH (_hb_ucd_dm1_p2_map); in hb_ucd_decompose() 188 if (i < ARRAY_LENGTH (_hb_ucd_dm2_u32_map)) in hb_ucd_decompose() 195 i -= ARRAY_LENGTH (_hb_ucd_dm2_u32_map); in hb_ucd_decompose()
|
D | hb-icu.cc | 193 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); in hb_icu_unicode_compose() 195 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); in hb_icu_unicode_compose() 199 …len = unorm2_normalize (unorm2_getNFCInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (no… in hb_icu_unicode_compose() 226 ARRAY_LENGTH (decomposed), &icu_err); in hb_icu_unicode_decompose() 257 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); in hb_icu_unicode_decompose() 261 …len = unorm2_normalize (unorm2_getNFDInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (no… in hb_icu_unicode_decompose() 281 …unorm2_normalize (unorm2_getNFCInstance (&icu_err), normalized, len, recomposed, ARRAY_LENGTH (rec… in hb_icu_unicode_decompose() 297 …alize (unorm2_getNFCInstance (&icu_err), normalized, len, recomposed, ARRAY_LENGTH (recomposed), &… in hb_icu_unicode_decompose()
|
D | hb-common.cc | 167 for (unsigned int i = 0; i < ARRAY_LENGTH (direction_strings); i++) in hb_direction_from_string() 188 < ARRAY_LENGTH (direction_strings))) in hb_direction_to_string() 967 len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); in hb_feature_to_string() 971 len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); in hb_feature_to_string() 978 len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); in hb_feature_to_string() 980 assert (len < ARRAY_LENGTH (s)); in hb_feature_to_string() 1052 len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%g", (double) variation->value)); in hb_variation_to_string() 1054 assert (len < ARRAY_LENGTH (s)); in hb_variation_to_string()
|
D | hb-ot-name-language-static.hh | 454 ARRAY_LENGTH (hb_ms_language_map)); in _hb_ot_name_language_for_ms_code() 462 ARRAY_LENGTH (hb_mac_language_map)); in _hb_ot_name_language_for_mac_code()
|
D | hb-pool.hh | 86 for (unsigned i = 0; i < ARRAY_LENGTH (arrayZ) - 1; i++) in thread() 89 * (T**) &arrayZ[ARRAY_LENGTH (arrayZ) - 1] = nullptr; in thread()
|
D | hb-ot-cff1-table.cc | 130 if (sid < ARRAY_LENGTH (standard_encoding_to_code)) in lookup_standard_encoding_for_code() 138 if (sid < ARRAY_LENGTH (expert_encoding_to_code)) in lookup_expert_encoding_for_code() 146 if (glyph < ARRAY_LENGTH (expert_charset_to_sid)) in lookup_expert_charset_for_sid() 154 if (glyph < ARRAY_LENGTH (expert_subset_charset_to_sid)) in lookup_expert_subset_charset_for_sid() 162 if (code < ARRAY_LENGTH (standard_encoding_to_sid)) in lookup_standard_encoding_for_sid()
|
D | hb-cff-interp-dict-common.hh | 106 for (unsigned i = 0, count = 0; count < ARRAY_LENGTH (buf); ++i, ++count) in parse_bcd() 135 if (unlikely (count == ARRAY_LENGTH (buf))) break; in parse_bcd()
|
D | hb-ot-shape-complex-arabic-fallback.hh | 116 …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() 269 for (unsigned int i = 0; i < ARRAY_LENGTH(arabic_fallback_features) ; i++) in arabic_fallback_plan_init_unicode()
|
D | hb-ot-tag.cc | 282 tag_idx + i < ARRAY_LENGTH (ot_languages) && in hb_ot_tags_from_language() 433 for (i = 0; i < ARRAY_LENGTH (ot_languages); i++) in hb_ot_tag_to_language() 533 for (unsigned int i = 1; i < ARRAY_LENGTH (ot_languages); i++) in test_langs_sorted()
|
D | hb-ot-os2-unicode-ranges.hh | 237 ARRAY_LENGTH (_hb_os2_unicode_ranges), in _hb_ot_os2_get_unicode_range_bit()
|
D | hb-string-array.hh | 72 assert (i < ARRAY_LENGTH (HB_STRING_ARRAY_OFFS_NAME) - 1); in HB_STRING_ARRAY_NAME()
|
D | hb-cache.hh | 47 for (unsigned i = 0; i < ARRAY_LENGTH (values); i++) in clear()
|
D | hb-aat-layout-morx-table.hh | 465 …if (match_length && match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] == buffe… in transition() 468 match_positions[match_length++ % ARRAY_LENGTH (match_positions)] = buffer->out_len; in transition() 502 buffer->move_to (match_positions[--cursor % ARRAY_LENGTH (match_positions)]); in transition() 530 … unsigned int lig_end = match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] + 1u; in transition() 535 buffer->move_to (match_positions[--match_length % ARRAY_LENGTH (match_positions)]); in transition() 540 …buffer->merge_out_clusters (match_positions[cursor % ARRAY_LENGTH (match_positions)], buffer->out_… in transition()
|
/external/wayland/tests/ |
D | list-test.c | 93 assert(i < ARRAY_LENGTH(reference)); in TEST() 97 assert(i == ARRAY_LENGTH(reference)); in TEST() 101 assert(i < ARRAY_LENGTH(reference)); in TEST() 102 assert(e->i == reference[ARRAY_LENGTH(reference) - i - 1]); in TEST() 105 assert(i == ARRAY_LENGTH(reference)); in TEST() 143 assert(validate_list(&list, reference1, ARRAY_LENGTH(reference1))); in TEST() 146 assert(validate_list(&list, reference2, ARRAY_LENGTH(reference2))); in TEST() 165 assert(validate_list(&list, reference1, ARRAY_LENGTH(reference1))); in TEST() 175 assert(validate_list(&other, reference2, ARRAY_LENGTH(reference2))); in TEST() 178 assert(validate_list(&list, reference3, ARRAY_LENGTH(reference3))); in TEST()
|
D | message-test.c | 49 for (i = 0; i < ARRAY_LENGTH(messages); ++i) { in TEST() 88 for (i = 0; i < ARRAY_LENGTH(messages); ++i) { in TEST()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
D | SetValues003Debuggee.java | 29 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()
|
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/java/com/android/dx/mockito/inline/tests/ |
D | MemoryLeaks.java | 29 private static final int ARRAY_LENGTH = 1 << 20; // 4 MB field in MemoryLeaks 35 a.largeArray = new int[ARRAY_LENGTH]; in callMethodWithMocksCycalically() 68 private final int[] largeArray = new int[ARRAY_LENGTH];
|
/external/icu/icu4c/source/i18n/ |
D | number_longnames.cpp | 27 constexpr int32_t ARRAY_LENGTH = StandardPlural::Form::COUNT + 2; variable 65 for (int32_t i = 0; i < ARRAY_LENGTH; i++) { in PluralTableSink() 209 UnicodeString simpleFormats[ARRAY_LENGTH]; in forMeasureUnit() 225 UnicodeString primaryData[ARRAY_LENGTH]; in forCompoundUnit() 228 UnicodeString secondaryData[ARRAY_LENGTH]; in forCompoundUnit() 262 UnicodeString simpleFormats[ARRAY_LENGTH]; in getUnitDisplayName() 276 UnicodeString simpleFormats[ARRAY_LENGTH]; in getUnitPattern() 296 UnicodeString simpleFormats[ARRAY_LENGTH]; in forCurrencyLongNames()
|
/external/icu/icu4c/source/test/intltest/ |
D | tstnorm.cpp | 27 #define ARRAY_LENGTH(array) UPRV_LENGTHOF(array) macro 171 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 177 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) { in TestPrevious() 187 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 188 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 195 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 198 compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() 205 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 208 ARRAY_LENGTH(canonTests), 2); in TestCanonCompose() 215 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 2); in TestCompatCompose() [all …]
|
/external/mockito/subprojects/inline/src/test/java/org/mockitoinline/bugs/ |
D | SelfSpyReferenceMemoryLeakTest.java | 14 private static final int ARRAY_LENGTH = 1 << 20; // 4 MB field in SelfSpyReferenceMemoryLeakTest 29 private final int[] largeArray = new int[ARRAY_LENGTH];
|
D | CyclicMockMethodArgumentMemoryLeakTest.java | 14 private static final int ARRAY_LENGTH = 1 << 20; // 4 MB field in CyclicMockMethodArgumentMemoryLeakTest 20 a.largeArray = new int[ARRAY_LENGTH]; in no_memory_leak_when_cyclically_calling_method_with_mocks()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | LongNameHandler.java | 28 private static final int ARRAY_LENGTH = StandardPlural.COUNT + 2; field in LongNameHandler 173 String[] measureData = new String[ARRAY_LENGTH]; in getUnitDisplayName() 183 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() 211 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() 228 String[] primaryData = new String[ARRAY_LENGTH]; in forCompoundUnit() 230 String[] secondaryData = new String[ARRAY_LENGTH]; in forCompoundUnit()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | LongNameHandler.java | 32 private static final int ARRAY_LENGTH = StandardPlural.COUNT + 2; field in LongNameHandler 177 String[] measureData = new String[ARRAY_LENGTH]; in getUnitDisplayName() 187 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() 215 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() 232 String[] primaryData = new String[ARRAY_LENGTH]; in forCompoundUnit() 234 String[] secondaryData = new String[ARRAY_LENGTH]; in forCompoundUnit()
|