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

123

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
H A DSetValues003Debuggee.java29 static final int ARRAY_LENGTH = 1; field in class:SetValues003Debuggee
56 arrayField = new DebuggeeSubClass[ARRAY_LENGTH];
57 superClassArrayField = new DebuggeeSuperClass[ARRAY_LENGTH];
58 interfaceArrayField = new DebuggeeInterface[ARRAY_LENGTH];
H A 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/cintltst/
H A 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(testText1
[all...]
H A Dcbiditst.h29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
H A Dccurrtst.c30 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
120 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
122 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
H A Dnccbtst.c33 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof((array)[0])) macro
587 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected),
635 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected),
644 if(!testConvertFromUnicode(expected, ARRAY_LENGTH(expected),
1010 expected, ARRAY_LENGTH(expected), "BOCU-1",
1063 expected, ARRAY_LENGTH(expected), "CESU-8",
1071 expected, ARRAY_LENGTH(expected), "CESU-8",
1510 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in),
1537 if(!testConvertFromUnicode(in, ARRAY_LENGTH(in),
1650 if(!testConvertFromUnicode(u1, ARRAY_LENGTH(u
[all...]
H A Dtrietest.c35 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0])) macro
804 setRanges1, ARRAY_LENGTH(setRanges1),
805 checkRanges1, ARRAY_LENGTH(checkRanges1));
807 setRanges2, ARRAY_LENGTH(setRanges2),
808 checkRanges2, ARRAY_LENGTH(checkRanges2));
810 setRanges3, ARRAY_LENGTH(setRanges3),
811 checkRanges3, ARRAY_LENGTH(checkRanges3));
/external/valgrind/none/tests/solaris/
H A Dstack_prot.c4 #define ARRAY_LENGTH(array) (sizeof((array)) / sizeof(0[(array)])) macro
27 items = fread(map, sizeof(map[0]), ARRAY_LENGTH(map), fi);
28 if (items != ARRAY_LENGTH(map)) {
/external/harfbuzz_ng/src/
H A Dhb-buffer-serialize.cc140 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint));
143 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster));
148 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d",
150 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d",
158 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d",
160 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d",
212 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint));
215 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster));
221 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset));
224 p += MAX (0, snprintf (p, ARRAY_LENGTH (
[all...]
H A Dhb-icu.cc197 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err);
199 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err);
203 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
229 ARRAY_LENGTH (decomposed), &icu_err);
260 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err);
264 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
284 unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
300 len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
328 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err);
334 len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalize
[all...]
H A Dhb-shape.cc72 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp));
276 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start));
280 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end));
287 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value));
289 assert (len < ARRAY_LENGTH (s));
H A Dhb-shaper.cc83 for (unsigned int j = i; j < ARRAY_LENGTH (all_shapers); j++)
H A Dhb-ot-shape-complex-arabic-fallback.hh118 for (unsigned int first_glyph_idx = 0; first_glyph_idx < ARRAY_LENGTH (first_glyphs); first_glyph_idx++)
136 for (unsigned int second_glyph_idx = 0; second_glyph_idx < ARRAY_LENGTH (ligature_table[0].ligatures); second_glyph_idx++)
276 for (unsigned int i = 0; i < ARRAY_LENGTH(arabic_fallback_features) ; i++)
H A Dhb-ot-tag.cc845 ARRAY_LENGTH (ot_languages), sizeof (LangTag),
856 for (i = 0; i < ARRAY_LENGTH (ot_languages_zh); i++)
896 for (i = 0; i < ARRAY_LENGTH (ot_languages); i++)
934 for (unsigned int i = 1; i < ARRAY_LENGTH (ot_languages); i++)
H A Dhb-common.cc137 for (unsigned int i = 0; i < ARRAY_LENGTH (direction_strings); i++)
158 < ARRAY_LENGTH (direction_strings)))
H A Dhb-glib.cc166 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script)))
182 unsigned int count = ARRAY_LENGTH (glib_script_to_script);
H A Dhb-ot-shape-complex-use.cc139 for (unsigned int i = 0; i < ARRAY_LENGTH (basic_features); i++)
145 for (unsigned int i = 0; i < ARRAY_LENGTH (arabic_features); i++)
150 for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++)
H A Dhb-ot-map.cc49 len = ARRAY_LENGTH (lookup_indices);
69 } while (len == ARRAY_LENGTH (lookup_indices));
/external/fio/lib/
H A Dnum2str.c7 #define ARRAY_LENGTH(arr) sizeof(arr) / sizeof((arr)[0]) macro
51 if (post_index >= ARRAY_LENGTH(postfix))
/external/icu/icu4c/source/test/intltest/
H A Dcurrcoll.cpp33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) macro
94 for (i = 0; i < ARRAY_LENGTH(currency); i += 1)
96 for (j = 0; j < ARRAY_LENGTH(currency); j += 1)
H A Dtstnorm.cpp22 #define ARRAY_LENGTH(array) UPRV_LENGTHOF(array) macro
169 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
175 for (i = 0; i < ARRAY_LENGTH(canonTests); i++) {
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
186 staticTest(UNORM_NFD, 0, canonTests, ARRAY_LENGTH(canonTests), 1);
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1);
196 compatTests, ARRAY_LENGTH(compatTests), 1);
203 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2);
206 ARRAY_LENGTH(canonTests), 2);
213 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTest
[all...]
H A Dregcoll.cpp21 #define ARRAY_LENGTH(array) ((int32_t)(sizeof array / sizeof array[0])) macro
192 compareArray(*c, decomp, ARRAY_LENGTH(decomp));
214 compareArray(*c, tests, ARRAY_LENGTH(tests));
343 compareArray(*c, tertiary, ARRAY_LENGTH(tertiary));
358 compareArray(*c, secondary, ARRAY_LENGTH(secondary));
394 compareArray(*c, tests, ARRAY_LENGTH(tests));
482 compareArray(*c, tests, ARRAY_LENGTH(tests));
620 compareArray(*c, tests, ARRAY_LENGTH(tests));
639 compareArray(*c, tests, ARRAY_LENGTH(tests));
672 compareArray(*c, tests, ARRAY_LENGTH(test
[all...]
H A Dcanittst.cpp23 #define ARRAY_LENGTH(array) ((int32_t)(sizeof (array) / sizeof (*array))) macro
151 for (i = 0; i < ARRAY_LENGTH(testArray); ++i) {
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegOps.java175 public static final int ARRAY_LENGTH = 34; field in class:RegOps
347 case ARRAY_LENGTH: return "array-length";
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/
H A DInstructionOffsetMapTest.java52 /*04: 0x04*/ new ImmutableInstruction12x(Opcode.ARRAY_LENGTH, 5, 6),

Completed in 717 milliseconds

123