Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 5536) sorted by relevance

12345678910>>...222

/external/mockito/cglib-and-asm/src/org/mockito/asm/
DByteVector.java48 int length; field in ByteVector
76 int length = this.length; in putByte() local
77 if (length + 1 > data.length) { in putByte()
80 data[length++] = (byte) b; in putByte()
81 this.length = length; in putByte()
94 int length = this.length; in put11() local
95 if (length + 2 > data.length) { in put11()
99 data[length++] = (byte) b1; in put11()
100 data[length++] = (byte) b2; in put11()
101 this.length = length; in put11()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java97 int minLength=ranges[0].length; in allocWeights()
111 for(int i=0; ranges[i].length==minLength; ++i) { in allocWeights()
123 if(rangeCount < ranges.length) { in allocWeights()
148 range.start = incWeight(weight, range.length); in nextWeight()
159 int length, count; field in CollationWeights.WeightRange
189 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
190 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
193 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
194 length=8*(4-length); in setWeightTrail()
195 return (weight&(0xffffff00L<<length))|((long)trail<<length); in setWeightTrail()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1200351.js41 } catch (e) { if (e.message.length > 0) { print (e.message); } };
45 } catch (e) { if (e.message.length > 0) { print (e.message); } };
49 } catch (e) { if (e.message.length > 0) { print (e.message); } };
53 } catch (e) { if (e.message.length > 0) { print (e.message); } };
57 } catch (e) { if (e.message.length > 0) { print (e.message); } };
61 } catch (e) { if (e.message.length > 0) { print (e.message); } };
65 } catch (e) { if (e.message.length > 0) { print (e.message); } };
69 } catch (e) { if (e.message.length > 0) { print (e.message); } };
73 } catch (e) { if (e.message.length > 0) { print (e.message); } };
77 } catch (e) { if (e.message.length > 0) { print (e.message); } };
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.cpp34 int32_t length = indexes[CollationDataReader::IX_INDEXES_LENGTH]; in printSizes() local
35 printf(" indexes: %6ld *4 = %6ld\n", (long)length, (long)length * 4); in printSizes()
37 length = getDataLength(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET); in printSizes()
38 if(length != 0) { in printSizes()
39 printf(" reorder codes: %6ld *4 = %6ld\n", (long)length / 4, (long)length); in printSizes()
42 length = getDataLength(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET); in printSizes()
43 if(length != 0) { in printSizes()
44 U_ASSERT(length >= 256); in printSizes()
45 printf(" reorder table: %6ld\n", (long)length); in printSizes()
48 length = getDataLength(indexes, CollationDataReader::IX_TRIE_OFFSET); in printSizes()
[all …]
/external/v8/test/mjsunit/
Dlength.js32 assertEquals(0, Array.prototype.length, "Array.prototype.length");
33 assertEquals(1, Array.length, "Array.length");
34 assertEquals(1, Array.prototype.concat.length, "Array.prototype.concat.length");
35 assertEquals(1, Array.prototype.join.length, "Array.prototype.join.length");
36 assertEquals(1, Array.prototype.push.length, "Array.prototype.push.length");
37 assertEquals(1, Array.prototype.unshift.length, "Array.prototype.unshift.length");
38 assertEquals(1, Boolean.length, "Boolean.length");
39 assertEquals(1, Error.length, "Error.length");
40 assertEquals(1, EvalError.length, "EvalError.length");
41 assertEquals(1, Function.length, "Function.length");
[all …]
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp42 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail() argument
43 return (uint32_t)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail() argument
48 length=8*(4-length); in setWeightTrail()
49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); in setWeightTrail()
82 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight() argument
83 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); in truncateWeight()
87 incWeightTrail(uint32_t weight, int32_t length) { in incWeightTrail() argument
88 return (uint32_t)(weight+(1UL<<(8*(4-length)))); in incWeightTrail()
92 decWeightTrail(uint32_t weight, int32_t length) { in decWeightTrail() argument
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java30 if (a.length != b.length) in areEqual()
35 for (int i = 0; i != a.length; i++) in areEqual()
60 if (a.length != b.length) in areEqual()
65 for (int i = 0; i != a.length; i++) in areEqual()
90 if (a.length != b.length) in areEqual()
95 for (int i = 0; i != a.length; i++) in areEqual()
128 if (a.length != b.length) in constantTimeAreEqual()
135 for (int i = 0; i != a.length; i++) in constantTimeAreEqual()
157 if (a.length != b.length) in areEqual()
162 for (int i = 0; i != a.length; i++) in areEqual()
[all …]
/external/v8/test/webkit/
Ddfg-tear-off-function-dot-arguments-expected.txt29 PASS thingy.length is 1
31 PASS thingy.length is 1
33 PASS thingy.length is 1
35 PASS thingy.length is 1
37 PASS thingy.length is 1
39 PASS thingy.length is 1
41 PASS thingy.length is 1
43 PASS thingy.length is 1
45 PASS thingy.length is 1
47 PASS thingy.length is 1
[all …]
Ddfg-tear-off-arguments-not-activation-expected.txt29 PASS thingy.length is 1
31 PASS thingy.length is 1
33 PASS thingy.length is 1
35 PASS thingy.length is 1
37 PASS thingy.length is 1
39 PASS thingy.length is 1
41 PASS thingy.length is 1
43 PASS thingy.length is 1
45 PASS thingy.length is 1
47 PASS thingy.length is 1
[all …]
Ddfg-value-to-int32-with-side-effect-expected.txt29 PASS result.length is 2
31 PASS result.length is 2
33 PASS result.length is 2
35 PASS result.length is 2
37 PASS result.length is 2
39 PASS result.length is 2
41 PASS result.length is 2
43 PASS result.length is 2
45 PASS result.length is 2
47 PASS result.length is 2
[all …]
Dresolve-arguments-from-scope-expected.txt30 PASS foo(42).length is 1
33 PASS foo(42).length is 1
36 PASS foo(42).length is 1
39 PASS foo(42).length is 1
42 PASS foo(42).length is 1
45 PASS foo(42).length is 1
48 PASS foo(42).length is 1
51 PASS foo(42).length is 1
54 PASS foo(42).length is 1
57 PASS foo(42).length is 1
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DByteBuffer.java29 private int length; field in ByteBuffer
40 this.length = 0; in ByteBuffer()
50 this.length = buffer.length; in ByteBuffer()
58 public ByteBuffer(byte[] buffer, int length) in ByteBuffer() argument
60 if (length > buffer.length) in ByteBuffer()
65 this.length = length; in ByteBuffer()
79 this.length = 0; in ByteBuffer()
83 while ((read = in.read(this.buffer, this.length, chunk)) > 0) in ByteBuffer()
85 this.length += read; in ByteBuffer()
88 ensureCapacity(length + chunk); in ByteBuffer()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcstrcase.c41 int32_t length; in TestCaseLower() local
47 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower()
52 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || in TestCaseLower()
53 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
54 buffer[length]!=0 in TestCaseLower()
57 length, in TestCaseLower()
59 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower()
60 buffer[length]==0 ? "yes" : "no", in TestCaseLower()
69 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower()
74 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || in TestCaseLower()
[all …]
/external/v8/test/cctest/
Dtest-fixed-dtoa.cc45 int length; in TEST() local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST()
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST()
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST()
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST()
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point)); in TEST()
68 CHECK(FastFixedDtoa(1e21, 5, buffer, &length, &point)); in TEST()
73 CHECK(FastFixedDtoa(999999999999999868928.00, 2, buffer, &length, &point)); in TEST()
78 &length, &point)); in TEST()
82 CHECK(FastFixedDtoa(1.5, 5, buffer, &length, &point)); in TEST()
[all …]
Dtest-bignum-dtoa.cc62 int length; in TEST() local
65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST()
70 CHECK_GE(3, length - point); in TEST()
75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST()
76 CHECK_GE(3, length); in TEST()
81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
85 BignumDtoa(1.5, BIGNUM_DTOA_FIXED, 10, buffer, &length, &point); in TEST()
86 CHECK_GE(10, length - point); in TEST()
91 BignumDtoa(1.5, BIGNUM_DTOA_PRECISION, 10, buffer, &length, &point); in TEST()
[all …]
Dtest-dtoa.cc62 int length; in TEST() local
66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST()
71 CHECK_EQ(1, length); in TEST()
75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST()
76 CHECK_EQ(1, length); in TEST()
80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); in TEST()
85 CHECK_GE(3, length - point); in TEST()
90 DoubleToAscii(1.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST()
[all …]
/external/tcpdump/tests/
DQinQpacketv.out1 …inQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who…
2 ….1Q-QinQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, (tos 0x0, ttl 32, id 51417, offset 0…
3 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
7 DHCP-Message Option 53, length 1: Discover
8 MSZ Option 57, length 2: 1500
9 Parameter-Request Option 55, length 9:
13 Hostname Option 12, length 17: "6731i00085D230C3F"
14 Vendor-Class Option 60, length 18: "AastraIPPhone6731i"
15 ….1Q-QinQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, (tos 0x0, ttl 32, id 51427, offset 0…
16 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
[all …]
Dspb.out1 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492
2 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492
3 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492
4 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492
5 IS-IS, L1 LSP, lsp-id 2222.2222.2222.00-00, seq 0x0000000f, lifetime 1200s, length 149
6 IS-IS, L1 PSNP, src-id 8888.8888.8888.00, length 35
7 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492
8 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492
9 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492
10 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492
[all …]
DQinQpacket.out1 …hertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.2 …
2 …nQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
3 …nQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
4 …hertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.2 …
5 …nQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
6 …nQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
7 …nQ (0x88a8), length 594: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
8 …nQ (0x88a8), length 594: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
9 …nQ (0x88a8), length 594: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
10 …nQ (0x88a8), length 594: vlan 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHC…
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java64 hash.update(encodingParams, 0, encodingParams.length); in OAEPEncoding()
101 return baseBlockSize - 1 - 2 * defHash.length; in getInputBlockSize()
119 return baseBlockSize - 1 - 2 * defHash.length; in getOutputBlockSize()
145 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length]; in encodeBlock()
150 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
155 block[block.length - inLen - 1] = 0x01; in encodeBlock()
164 System.arraycopy(defHash, 0, block, defHash.length, defHash.length); in encodeBlock()
169 byte[] seed = new byte[defHash.length]; in encodeBlock()
176 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length); in encodeBlock()
178 for (int i = defHash.length; i != block.length; i++) in encodeBlock()
[all …]
/external/valgrind/coregrind/m_demangle/
Ddyn-string.c86 ds_struct_ptr->length = 0; in dyn_string_init()
189 ds->length = 0; in dyn_string_clear()
203 if (dyn_string_resize (dest, src->length) == NULL) in dyn_string_copy()
208 dest->length = src->length; in dyn_string_copy()
219 int length = strlen (src); in dyn_string_copy_cstr() local
221 if (dyn_string_resize (dest, length) == NULL) in dyn_string_copy_cstr()
226 dest->length = length; in dyn_string_copy_cstr()
264 if (dyn_string_resize (dest, dest->length + src->length) == NULL) in dyn_string_insert()
267 for (i = dest->length; i >= pos; --i) in dyn_string_insert()
268 dest->s[i + src->length] = dest->s[i]; in dyn_string_insert()
[all …]
/external/v8/src/
Dfixed-dtoa.cc103 Vector<char> buffer, int* length) { in FillDigits32FixedLength() argument
105 buffer[(*length) + i] = '0' + number % 10; in FillDigits32FixedLength()
108 *length += requested_length; in FillDigits32FixedLength()
112 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { in FillDigits32() argument
118 buffer[(*length) + number_length] = '0' + digit; in FillDigits32()
122 int i = *length; in FillDigits32()
123 int j = *length + number_length - 1; in FillDigits32()
131 *length += number_length; in FillDigits32()
136 Vector<char> buffer, int* length) { in FillDigits64FixedLength() argument
144 FillDigits32FixedLength(part0, 3, buffer, length); in FillDigits64FixedLength()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java235 int length=remainingMatchLength_; // Actual remaining match length minus 1. in next() local
236 if(length>=0) { in next()
239 remainingMatchLength_=--length; in next()
242 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
277 int length=remainingMatchLength_; // Actual remaining match length minus 1. in next() local
284 remainingMatchLength_=length; in next()
287 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
291 if(length<0) { in next()
292 remainingMatchLength_=length; in next()
300 --length; in next()
[all …]
DBytesTrieBuilder.java32 public BytesAsCharSequence(byte[] sequence, int length) { in BytesAsCharSequence() argument
34 len=length; in BytesAsCharSequence()
37 public int length() { return len; } in length() method in BytesTrieBuilder.BytesAsCharSequence
55 public BytesTrieBuilder add(byte[] sequence, int length, int value) { in add() argument
56 addImpl(new BytesAsCharSequence(sequence, length), value); in add()
77 return new BytesTrie(bytes, bytes.length-bytesLength); in build()
101 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); in buildByteBuffer()
159 private void ensureCapacity(int length) { in ensureCapacity() argument
160 if(length>bytes.length) { in ensureCapacity()
161 int newCapacity=bytes.length; in ensureCapacity()
[all …]
/external/icu/icu4c/source/common/
Dbytestrieiterator.cpp63 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
64 if(length>=0) { in Iterator()
66 ++length; in Iterator()
67 if(maxLength_>0 && length>maxLength_) { in Iterator()
68 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
71 pos_+=length; in Iterator()
72 remainingMatchLength_-=length; in Iterator()
85 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
86 if(maxLength_>0 && length>maxLength_) { in reset()
[all …]

12345678910>>...222