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

  /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/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...]
  /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...]
  /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...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 242 final int LENGTH = 64;
243 byte[] packet = new byte[LENGTH];
257 System.arraycopy(header, 0, packet, 0, header.length);
262 Os.write(s, packet, 0, packet.length);
271 byte[] reply = new byte[LENGTH];
272 int read = Os.read(s, reply, 0, LENGTH);
273 assertEquals(LENGTH, read);
295 out.write(data, 0, data.length);
298 byte[] read = new byte[data.length];
301 bytesRead = in.read(read, totalRead, read.length - totalRead)
    [all...]
  /external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/icu/source/test/cintltst/
cnumtst.c 39 #define LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
771 for (i = 0; i < LENGTH(values); ++i) {
776 len = unum_format(spellout_def, value, buffer, LENGTH(buffer), NULL, &status);
782 /*ustrToAstr(buffer, len, logbuf, LENGTH(logbuf));*/
783 log_verbose("formatted %d as '%s', length: %d\n", value, aescstrdup(buffer, len), len);
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cnumtst.c 41 #define LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
777 for (i = 0; i < LENGTH(values); ++i) {
782 len = unum_format(spellout_def, value, buffer, LENGTH(buffer), NULL, &status);
788 /*ustrToAstr(buffer, len, logbuf, LENGTH(logbuf));*/
789 log_verbose("formatted %d as '%s', length: %d\n", value, aescstrdup(buffer, len), len);
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
EmitUtils.java 38 TypeUtils.parseSignature("int length()");
63 private static final Signature LENGTH =
64 TypeUtils.parseSignature("int length()");
129 * are arrays of the specified class. The arrays must be the same length. For each pair
195 return new Integer(((String)value).length());
221 final int len = ((String)strings.get(0)).length();
345 e.push(array.length);
347 for (int i = 0; i < array.length; i++) {
644 e.invoke_virtual(Constants.TYPE_STRING_BUFFER, LENGTH);
742 return new Integer(typer.getParameterTypes((MethodInfo)value).length);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyleConstants.h 115 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 
org.apache.jasper_5.5.17.v201004212143.jar 
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /external/chromium_org/third_party/closure_compiler/compiler/
compiler.jar 

Completed in 436 milliseconds