/external/harfbuzz_ng/src/ |
D | hb-buffer-serialize.cc | 141 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 144 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 149 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 152 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 159 …p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLAG_D… in _hb_buffer_serialize_glyphs_json() 166 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 168 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 227 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_text() 230 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_text() 236 …p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", x+pos[i].x_offset, y+pos[i].y_offs… in _hb_buffer_serialize_glyphs_text() [all …]
|
D | hb-icu.cc | 186 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); in hb_icu_unicode_compose() 188 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); in hb_icu_unicode_compose() 192 …len = unorm2_normalize (unorm2_getNFCInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (no… in hb_icu_unicode_compose() 219 ARRAY_LENGTH (decomposed), &icu_err); in hb_icu_unicode_decompose() 250 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); in hb_icu_unicode_decompose() 254 …len = unorm2_normalize (unorm2_getNFDInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (no… in hb_icu_unicode_decompose() 274 …unorm2_normalize (unorm2_getNFCInstance (&icu_err), normalized, len, recomposed, ARRAY_LENGTH (rec… in hb_icu_unicode_decompose() 290 …alize (unorm2_getNFCInstance (&icu_err), normalized, len, recomposed, ARRAY_LENGTH (recomposed), &… in hb_icu_unicode_decompose()
|
D | hb-common.cc | 168 for (unsigned int i = 0; i < ARRAY_LENGTH (direction_strings); i++) in hb_direction_from_string() 189 < ARRAY_LENGTH (direction_strings))) in hb_direction_to_string() 723 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 747 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint32() 828 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_float() 1035 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); in hb_feature_to_string() 1039 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); in hb_feature_to_string() 1046 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); in hb_feature_to_string() 1048 assert (len < ARRAY_LENGTH (s)); in hb_feature_to_string() 1116 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%g", (double) variation->value)); in hb_variation_to_string() [all …]
|
D | hb-ot-cff1-table.cc | 126 if (sid < ARRAY_LENGTH (standard_encoding_to_code)) in lookup_standard_encoding_for_code() 134 if (sid < ARRAY_LENGTH (expert_encoding_to_code)) in lookup_expert_encoding_for_code() 142 if (glyph < ARRAY_LENGTH (expert_charset_to_sid)) in lookup_expert_charset_for_sid() 150 if (glyph < ARRAY_LENGTH (expert_subset_charset_to_sid)) in lookup_expert_subset_charset_for_sid() 158 if (code < ARRAY_LENGTH (standard_encoding_to_sid)) in lookup_standard_encoding_for_sid()
|
D | hb-ot-name-language.cc | 448 ARRAY_LENGTH (hb_ms_language_map)); in _hb_ot_name_language_for_ms_code() 456 ARRAY_LENGTH (hb_mac_language_map)); in _hb_ot_name_language_for_mac_code()
|
D | hb-dsalgs.hh | 270 #undef ARRAY_LENGTH 272 static inline unsigned int ARRAY_LENGTH (const Type (&)[n]) { return n; } in ARRAY_LENGTH() function 541 len = MIN (ARRAY_LENGTH (buf) - 1, len); in hb_codepoint_parse() 600 for (unsigned int i = 0; i < ARRAY_LENGTH (u.vec); i++) in process() 604 for (unsigned int i = 0; i < ARRAY_LENGTH (u.v); i++) in process() 619 for (unsigned int i = 0; i < ARRAY_LENGTH (u.vec); i++) in operator ~() 623 for (unsigned int i = 0; i < ARRAY_LENGTH (u.v); i++) in operator ~()
|
D | hb-ot-shape-complex-myanmar.cc | 107 for (unsigned int i = 0; i < ARRAY_LENGTH (basic_features); i++) in collect_features_myanmar() 115 for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++) in collect_features_myanmar() 118 for (unsigned int i = 0; i < ARRAY_LENGTH (positioning_features); i++) in collect_features_myanmar()
|
D | hb-map.hh | 244 if (unlikely (shift >= ARRAY_LENGTH (prime_mod))) in prime_for() 245 return prime_mod[ARRAY_LENGTH (prime_mod) - 1]; in prime_for()
|
D | hb-ot-shape-complex-arabic-fallback.hh | 115 …for (unsigned int first_glyph_idx = 0; first_glyph_idx < ARRAY_LENGTH (first_glyphs); first_glyph_… in arabic_fallback_synthesize_lookup_ligature() 133 …for (unsigned int second_glyph_idx = 0; second_glyph_idx < ARRAY_LENGTH (ligature_table[0].ligatur… in arabic_fallback_synthesize_lookup_ligature() 266 for (unsigned int i = 0; i < ARRAY_LENGTH(arabic_fallback_features) ; i++) in arabic_fallback_plan_init_unicode()
|
D | hb-ot-shape-complex-use.cc | 152 for (unsigned int i = 0; i < ARRAY_LENGTH (basic_features); i++) in collect_features_use() 159 for (unsigned int i = 0; i < ARRAY_LENGTH (arabic_features); i++) in collect_features_use() 164 for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++) in collect_features_use() 168 for (unsigned int i = 0; i < ARRAY_LENGTH (positioning_features); i++) in collect_features_use()
|
D | hb-ot-tag.cc | 267 ARRAY_LENGTH (ot_languages), sizeof (LangTag), in hb_ot_tags_from_language() 421 for (i = 0; i < ARRAY_LENGTH (ot_languages); i++) in hb_ot_tag_to_language() 508 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-glib.cc | 176 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script))) in hb_glib_script_to_script() 192 unsigned int count = ARRAY_LENGTH (glib_script_to_script); in hb_glib_script_from_script()
|
D | hb-subset.cc | 275 count = ARRAY_LENGTH (table_tags); in hb_subset() 288 } while (success && count == ARRAY_LENGTH (table_tags)); in hb_subset()
|
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()
|
/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() 86 for (i = 0; i < ARRAY_LENGTH(messages); ++i) { in TEST()
|
D | queue-test.c | 40 #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) macro 325 for (i = 0; i < ARRAY_LENGTH(dummy_interfaces); 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()
|
D | SetValues003Test.java | 35 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/ |
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/icu/icu4c/source/i18n/ |
D | number_longnames.cpp | 26 constexpr int32_t ARRAY_LENGTH = StandardPlural::Form::COUNT + 2; variable 64 for (int32_t i = 0; i < ARRAY_LENGTH; i++) { in PluralTableSink() 181 UnicodeString simpleFormats[ARRAY_LENGTH]; in forMeasureUnit() 198 UnicodeString primaryData[ARRAY_LENGTH]; in forCompoundUnit() 201 UnicodeString secondaryData[ARRAY_LENGTH]; in forCompoundUnit() 237 UnicodeString simpleFormats[ARRAY_LENGTH]; in forCurrencyLongNames()
|
/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 165 String[] measureData = new String[ARRAY_LENGTH]; in getUnitDisplayName() 175 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() 203 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() 221 String[] primaryData = new String[ARRAY_LENGTH]; in forCompoundUnit() 223 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 169 String[] measureData = new String[ARRAY_LENGTH]; in getUnitDisplayName() 179 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() 207 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() 225 String[] primaryData = new String[ARRAY_LENGTH]; in forCompoundUnit() 227 String[] secondaryData = new String[ARRAY_LENGTH]; in forCompoundUnit()
|