/external/icu/icu4c/source/tools/toolutil/ |
D | collationinfo.cpp | 32 int32_t length = indexes[CollationDataReader::IX_INDEXES_LENGTH]; in printSizes() local 33 printf(" indexes: %6ld *4 = %6ld\n", (long)length, (long)length * 4); in printSizes() 35 length = getDataLength(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET); in printSizes() 36 if(length != 0) { in printSizes() 37 printf(" reorder codes: %6ld *4 = %6ld\n", (long)length / 4, (long)length); in printSizes() 40 length = getDataLength(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET); in printSizes() 41 if(length != 0) { in printSizes() 42 U_ASSERT(length >= 256); in printSizes() 43 printf(" reorder table: %6ld\n", (long)length); in printSizes() 46 length = getDataLength(indexes, CollationDataReader::IX_TRIE_OFFSET); in printSizes() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
D | ByteVector.java | 48 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/chromium_org/v8/test/mjsunit/ |
D | length.js | 32 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/chromium_org/v8/test/mjsunit/regress/ |
D | regress-1200351.js | 41 } 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/i18n/ |
D | collationweights.cpp | 42 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/chromium_org/v8/test/webkit/ |
D | dfg-tear-off-arguments-not-activation-expected.txt | 29 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 …]
|
D | dfg-tear-off-function-dot-arguments-expected.txt | 29 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 …]
|
D | dfg-value-to-int32-with-side-effect-expected.txt | 29 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 …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ByteBuffer.java | 29 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Arrays.java | 29 if (a.length != b.length) in areEqual() 34 for (int i = 0; i != a.length; i++) in areEqual() 59 if (a.length != b.length) in areEqual() 64 for (int i = 0; i != a.length; i++) in areEqual() 89 if (a.length != b.length) in areEqual() 94 for (int i = 0; i != a.length; i++) in areEqual() 127 if (a.length != b.length) in constantTimeAreEqual() 134 for (int i = 0; i != a.length; i++) in constantTimeAreEqual() 156 if (a.length != b.length) in areEqual() 161 for (int i = 0; i != a.length; i++) in areEqual() [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol_wgt.cpp | 52 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail() argument 53 return (uint32_t)(weight>>(8*(4-length)))&0xff; in getWeightTrail() 57 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail() argument 58 length=8*(4-length); in setWeightTrail() 59 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); in setWeightTrail() 92 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight() argument 93 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); in truncateWeight() 97 incWeightTrail(uint32_t weight, int32_t length) { in incWeightTrail() argument 98 return (uint32_t)(weight+(1UL<<(8*(4-length)))); in incWeightTrail() 102 decWeightTrail(uint32_t weight, int32_t length) { in decWeightTrail() argument [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cstrcase.c | 42 int32_t length; in TestCaseLower() local 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower() 53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || in TestCaseLower() 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower() 55 buffer[length]!=0 in TestCaseLower() 58 length, in TestCaseLower() 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower() 61 buffer[length]==0 ? "yes" : "no", in TestCaseLower() 70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower() 75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || in TestCaseLower() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cstrcase.c | 42 int32_t length; in TestCaseLower() local 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower() 53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || in TestCaseLower() 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower() 55 buffer[length]!=0 in TestCaseLower() 58 length, in TestCaseLower() 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower() 61 buffer[length]==0 ? "yes" : "no", in TestCaseLower() 70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, in TestCaseLower() 75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || in TestCaseLower() [all …]
|
/external/chromium_org/v8/test/cctest/ |
D | test-fixed-dtoa.cc | 45 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 …]
|
D | test-bignum-dtoa.cc | 62 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 …]
|
D | test-dtoa.cc | 62 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | OAEPEncoding.java | 64 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/tcpdump/tests/ |
D | spb.out | 1 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 …]
|
D | QinQpacketv.out | 1 …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 …]
|
D | QinQpacket.out | 1 …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/valgrind/main/coregrind/m_demangle/ |
D | dyn-string.c | 86 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/chromium_org/base/i18n/ |
D | string_search_unittest.cc | 30 size_t length = 0; in TEST() local 33 ASCIIToUTF16("hello"), ASCIIToUTF16("hello world"), &index, &length)); in TEST() 35 EXPECT_EQ(5U, length); in TEST() 39 &index, &length)); in TEST() 42 ASCIIToUTF16("aabaaa"), ASCIIToUTF16("aaabaabaaa"), &index, &length)); in TEST() 44 EXPECT_EQ(6U, length); in TEST() 48 &index, &length)); in TEST() 51 string16(), ASCIIToUTF16("searching for empty string"), &index, &length)); in TEST() 53 EXPECT_EQ(0U, length); in TEST() 57 &index, &length)); in TEST() [all …]
|
/external/chromium_org/third_party/ots/src/ |
D | gpos.cc | 42 const uint8_t *data, const size_t length); 44 const uint8_t *data, const size_t length); 46 const uint8_t *data, const size_t length); 48 const uint8_t *data, const size_t length); 50 const uint8_t *data, const size_t length); 52 const uint8_t *data, const size_t length); 54 const uint8_t *data, const size_t length); 56 const uint8_t *data, const size_t length); 58 const uint8_t *data, const size_t length); 80 const size_t length, const uint16_t value_format) { in ParseValueRecord() argument [all …]
|
D | math.cc | 52 const size_t length) { in ParseMathValueRecord() argument 64 if (offset >= length) { in ParseMathValueRecord() 67 if (!ots::ParseDeviceTable(data + offset, length - offset)) { in ParseMathValueRecord() 75 bool ParseMathConstantsTable(const uint8_t *data, size_t length) { in ParseMathConstantsTable() argument 76 ots::Buffer subtable(data, length); in ParseMathConstantsTable() 145 if (!ParseMathValueRecord(&subtable, data, length)) { in ParseMathConstantsTable() 161 const size_t length, in ParseMathValueRecordSequenceForGlyphs() argument 178 if (offset_coverage < sequence_end || offset_coverage >= length) { in ParseMathValueRecordSequenceForGlyphs() 182 length - offset_coverage, in ParseMathValueRecordSequenceForGlyphs() 189 if (!ParseMathValueRecord(subtable, data, length)) { in ParseMathValueRecordSequenceForGlyphs() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | WTFString.cpp | 47 String::String(const UChar* characters, unsigned length) in String() argument 48 : m_impl(characters ? StringImpl::create(characters, length) : nullptr) in String() 61 String::String(const LChar* characters, unsigned length) in String() argument 62 : m_impl(characters ? StringImpl::create(characters, length) : nullptr) in String() 66 String::String(const char* characters, unsigned length) in String() argument 67 …: m_impl(characters ? StringImpl::create(reinterpret_cast<const LChar*>(characters), length) : nul… in String() 98 RELEASE_ASSERT(string.length() <= numeric_limits<unsigned>::max() - m_impl->length()); in append() 99 …tr<StringImpl> newImpl = StringImpl::createUninitialized(m_impl->length() + string.length(), data); in append() 100 memcpy(data, m_impl->characters8(), m_impl->length() * sizeof(LChar)); in append() 101 memcpy(data + m_impl->length(), string.characters8(), string.length() * sizeof(LChar)); in append() [all …]
|