HomeSort by relevance Sort by last modified time
    Searched defs:LENGTH (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
results.js 52 // Enum for indexing into the run-length encoded results in the JSON files.
53 // 0 is where the count is length is stored. 1 is the value.
55 LENGTH: 0,
102 for (var i = 0; i < testResults.length; i++) {
  /cts/tests/tests/util/src/android/util/cts/
LongSparseArrayTest.java 29 private static final int LENGTH = VALUES.length;
37 int length = VALUES.length; local
39 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
48 for (int i = 0; i < length; i++) {
57 assertEquals(LENGTH, sparseArray.size());
60 assertEquals(LENGTH, sparseArray.size());
102 int length = VALUES.length local
    [all...]
SparseArrayTest.java 25 private static final int LENGTH = VALUES.length;
33 int length = VALUES.length; local
35 for (int i = 0; i < length; i++) {
40 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
53 assertEquals(LENGTH, sparseArray.size());
56 assertEquals(LENGTH, sparseArray.size());
98 int length = VALUES.length local
    [all...]
SparseLongArrayTest.java 29 private static final int LENGTH = VALUES.length;
37 int length = VALUES.length; local
39 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
48 for (int i = 0; i < length; i++) {
57 assertEquals(LENGTH, sparseArray.size());
60 assertEquals(LENGTH, sparseArray.size());
98 int length = VALUES.length local
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/
pagemap.h 65 static const int LENGTH = 1 << BITS;
84 return n <= LENGTH - x; // an overflow-free way to do "x + n <= LENGTH"
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SparseArrayTest.java 41 private static final int LENGTH = VALUES.length;
51 int length = VALUES.length; local
53 for (int i = 0; i < length; i++) {
58 for (int i = 0; i < length; i++) {
62 for (int i = 0; i < length; i++) {
71 assertEquals(LENGTH, sparseArray.size());
74 assertEquals(LENGTH, sparseArray.size());
117 int length = VALUES.length local
    [all...]
  /external/smack/src/org/xbill/DNS/
Header.java 23 /** The length of a DNS Header in wire format. */
24 public static final int LENGTH = 12;
57 for (int i = 0; i < counts.length; i++)
74 for (int i = 0; i < counts.length; i++)
132 for (int i = 0; i < array.length; i++)
282 System.arraycopy(counts, 0, h.counts, 0, counts.length);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 33 private static final int LENGTH = 20; // constant defining loop limit
72 for ( int i = 0; i < LENGTH; i++ ) {
75 assertFalse("unexpected: myBytes.length != i :: i==" + i +
76 " myBytes.length=" + myBytes.length, myBytes.length != i);
91 for ( int i = 0; i < LENGTH; i+=INCR ) {
132 // case1: sequencies are of the same length
133 for ( int i = 1; i < LENGTH; i+=INCR ) {
143 for ( int k = 1; k < LENGTH; k+=INCR )
    [all...]
SHA1_MessageDigestTest.java 49 * whose length are in the LENGTHS array below.
50 * Numbers in the LENGTH array cover diapason from 1 to 9999
128 private static final int LENGTH = 100; //
153 byte[] bytes = new byte[LENGTH];
154 for (int i = 0; i < bytes.length; i++ ) {
158 md.update(bytes, 0, LENGTH);
163 assertEquals("digest.length != digestClone.length :: " + digestClone.length,
164 digest.length, digestClone.length)
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
pagemap.h 71 static const int LENGTH = 1 << BITS;
90 return n <= LENGTH - x; // an overflow-free way to do "x + n <= LENGTH"
134 static const int LENGTH = 1 << BITS;
175 // Make sure we divided LENGTH evenly.
176 ASSERT(sizeof(committed_) * 8 == (LENGTH * sizeof(*array_)) >> kPageShift);
210 if (n > LENGTH - x)
249 size_t length = (last_page - first_page + 1) << kPageShift; local
258 ASSERT(info.RegionSize >= length); // Entire length is uncommitted
    [all...]
  /external/libppp/src/
chap_ms.c 191 #define LENGTH 20
196 unsigned char digest[LENGTH];
200 buf = malloc(2*LENGTH + 1);
204 for (i = 0; i < LENGTH; i++) {
  /external/qemu/distrib/zlib-1.2.3/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
37 LENLENS, /* i: waiting for code length code lengths */
38 CODELENS, /* i: waiting for length/lit and distance code lengths */
39 LEN, /* i: waiting for length/lit code */
40 LENEXT, /* i: waiting for length extra bits */
46 LENGTH, /* i: waiting for 32-bit length (gzip) */
73 CHECK -> LENGTH -> DONE
97 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_cavlc.c 50 * of certain decoded symbol value and the length of the corresponding variable
51 * length code word. For example, total_zeros information field consists of
52 * 4 bits symbol value (bits [4,7]) along with four bits to represent length
55 /* macro to obtain length of the coeff token information field, bits [0,4] */
57 /* macro to obtain length of the other information fields, bits [0,3] */
58 #define LENGTH(vlc) ((vlc) & 0xF)
73 * [5 bits for tot.coeff.] [6 bits for tr.ones] [5 bits for VLC length]
173 /* fixed 6 bit length VLC, nC <= 8 */
198 * [4 bits for info] [4 bits for VLC length] */
305 * [4 bits for info] [4bits for VLC length]
    [all...]
  /frameworks/base/obex/javax/obex/
HeaderSet.java 71 * Represents the OBEX Length header. This is the length of the object in
74 * The value of <code>LENGTH</code> is 0xC3 (195).
76 public static final int LENGTH = 0xC3;
198 private byte[] mWho; // length prefixed byte sequence
200 private byte[] mAppParam; // byte sequence of the form tag length value
280 case LENGTH:
286 throw new IllegalArgumentException("Length must be a Long");
290 throw new IllegalArgumentException("Length must be between 0 and 0xFFFFFFFF");
319 mTarget = new byte[((byte[])headerValue).length];
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 34 private static final int LENGTH = 20; // constant defining loop limit
73 for (int i = 0; i < LENGTH; i++) {
75 assertFalse("unexpected: myBytes.length != i :: i==" + i + " myBytes.length="
76 + myBytes.length, myBytes.length != i);
89 for (int i = 0; i < LENGTH; i += INCR) {
126 // case1: sequencies are of the same length
127 for (int i = 1; i < LENGTH; i += INCR) {
136 for (int k = 1; k < LENGTH; k += INCR)
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 33 private static final long LENGTH = 100;
54 mAssetFileDes = new AssetFileDescriptor(mFd, START_OFFSET, LENGTH);
102 byte[] dataFromFile = new byte[FILE_DATA.length];
105 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) {
108 readLength, FILE_DATA.length - readLength);
110 assertEquals(FILE_DATA.length, readLength);
155 assertEquals(LENGTH, mAssetFileDes.getLength());
  /external/chromium_org/third_party/zlib/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /external/zlib/src/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
cnumtst.c 36 #define LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
780 for (i = 0; i < LENGTH(values); ++i) {
785 len = unum_format(spellout_def, value, buffer, LENGTH(buffer), NULL, &status);
792 ustrToAstr(buffer, len, logbuf, LENGTH(logbuf));
793 log_verbose("formatted %d as '%s', length: %d\n", value, logbuf, len);
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
transrt.cpp 139 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates
190 for (int32_t i = 0; i < decomp.length(); ++i) {
209 for (int32_t i = 0; i < decomp.length(); ++i) {
442 for (int32_t i = 0; i < a.length(); i += UTF_CHAR_LENGTH(cp)) {
537 int32_t length = transliteratorID.extract(str, 100, NULL, status); local
538 str[length] = 0;
542 int32_t length = transliteratorID.extract(str, 100, NULL, status); local
543 str[length] = 0;
550 for (int i = 0; i < irrelevants.length(); ++i) {
    [all...]
  /external/icu4c/test/intltest/
transrt.cpp 140 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates
191 for (int32_t i = 0; i < decomp.length(); ++i) {
210 for (int32_t i = 0; i < decomp.length(); ++i) {
443 for (int32_t i = 0; i < a.length(); i += U16_LENGTH(cp)) {
538 int32_t length = transliteratorID.extract(str, 100, NULL, status); local
539 str[length] = 0;
543 int32_t length = transliteratorID.extract(str, 100, NULL, status); local
544 str[length] = 0;
551 for (int i = 0; i < irrelevants.length(); ++i) {
    [all...]
  /external/icu4c/test/cintltst/
cnumtst.c 37 #define LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
761 for (i = 0; i < LENGTH(values); ++i) {
766 len = unum_format(spellout_def, value, buffer, LENGTH(buffer), NULL, &status);
772 /*ustrToAstr(buffer, len, logbuf, LENGTH(logbuf));*/
773 log_verbose("formatted %d as '%s', length: %d\n", value, aescstrdup(buffer, len), len);
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
FileChannelTest.java 69 CONTENT_AS_BYTES_LENGTH = CONTENT_AS_BYTES.length;
75 private static final int CONTENT_LENGTH = CONTENT.length();
484 // content[0...length()]
508 assertEquals(fileOfReadOnlyFileChannel.length(), readOnlyFileChannel
641 assertEquals(CONTENT_LENGTH, fileOfReadWriteFileChannel.length());
646 assertEquals(CONTENT_LENGTH, fileOfReadWriteFileChannel.length());
651 assertEquals(truncateLength, fileOfReadWriteFileChannel.length());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyleConstants.h 128 TEXT_BOTTOM, TOP, BOTTOM, BASELINE_MIDDLE, LENGTH
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jar 

Completed in 816 milliseconds

1 2