/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/ |
D | jdk6-compilation.txt | 1 1 java.lang.String::hashCode (60 bytes) 2 2 java.lang.String::lastIndexOf (156 bytes) 3 3 java.lang.String::indexOf (151 bytes) 4 4 sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (553 bytes) 5 5 java.io.UnixFileSystem::normalize (75 bytes) 6 6 sun.nio.cs.UTF_8$Encoder::encodeArrayLoop (490 bytes) 7 7 java.lang.String::indexOf (166 bytes) 8 1% sun.net.www.ParseUtil::encodePath @ 29 (336 bytes) 9 8 java.lang.String::equals (88 bytes) 10 9 sun.net.www.ParseUtil::encodePath (336 bytes) [all …]
|
D | jdk7-compilation.txt | 1 91 1 b java.lang.String::hashCode (67 bytes) 2 106 2 b sun.nio.cs.UTF_8$Decoder::decode (640 bytes) 3 130 3 b java.lang.String::lastIndexOf (68 bytes) 4 132 4 b java.lang.String::indexOf (87 bytes) 5 136 5 b java.io.UnixFileSystem::normalize (75 bytes) 6 138 1 % b java.io.UnixFileSystem::normalize @ 10 (75 bytes) 7 142 6 b sun.nio.cs.UTF_8$Encoder::encode (361 bytes) 8 149 2 % b sun.nio.cs.UTF_8$Encoder::encode @ 20 (361 bytes) 9 162 2 sun.nio.cs.UTF_8$Decoder::decode (640 bytes) made not entrant 10 165 7 b sun.nio.cs.UTF_8$Decoder::decode (640 bytes) [all …]
|
/external/python/bumble/tests/ |
D | smp_test.py | 27 return bytes(reversed(bytes.fromhex(hex_str))) 61 bytes.fromhex(private_A), bytes.fromhex(public_A_x), bytes.fromhex(public_A_y) 63 shared_key = key_a.dh(bytes.fromhex(public_B_x), bytes.fromhex(public_B_y)) 64 assert shared_key == bytes.fromhex(dhkey) 67 bytes.fromhex(private_B), bytes.fromhex(public_B_x), bytes.fromhex(public_B_y) 69 shared_key = key_b.dh(bytes.fromhex(public_A_x), bytes.fromhex(public_A_y)) 70 assert shared_key == bytes.fromhex(dhkey) 75 k = bytes(16) 89 k = bytes(16) 99 k = bytes.fromhex('2b7e1516 28aed2a6 abf71588 09cf4f3c') [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | EndianUtilsTest.java | 48 final byte[] bytes = { 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedDouble() 50 final double d2 = EndianUtils.readSwappedDouble( bytes, 0 ); in testReadSwappedDouble() 53 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedDouble() 59 final byte[] bytes = { 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedFloat() 61 final float f2 = EndianUtils.readSwappedFloat( bytes, 0 ); in testReadSwappedFloat() 64 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedFloat() 70 final byte[] bytes = { 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedInteger() 71 assertEquals( 0x01020304, EndianUtils.readSwappedInteger( bytes, 0 ) ); in testReadSwappedInteger() 73 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedInteger() 79 final byte[] bytes = { 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedLong() [all …]
|
/external/cronet/net/base/ |
D | ip_address.cc | 116 return IsPubliclyRoutableIPv4(ipv4.bytes()); in IsPubliclyRoutableIPv6() 123 IPAddressBytes* bytes) { in ParseIPLiteralToBytes() argument 132 bytes->Resize(16); // 128 bits. in ParseIPLiteralToBytes() 134 bytes->data()); in ParseIPLiteralToBytes() 138 bytes->Resize(4); // 32 bits. in ParseIPLiteralToBytes() 142 ip_literal.data(), host_comp, bytes->data(), &num_components); in ParseIPLiteralToBytes() 417 return std::string(reinterpret_cast<const char*>(address.bytes().data()), in IPAddressToPackedString() 425 base::StackVector<uint8_t, 16> bytes; in ConvertIPv4ToIPv4MappedIPv6() local 426 bytes->insert(bytes->end(), std::begin(kIPv4MappedPrefix), in ConvertIPv4ToIPv4MappedIPv6() 428 bytes->insert(bytes->end(), address.bytes().begin(), address.bytes().end()); in ConvertIPv4ToIPv4MappedIPv6() [all …]
|
/external/zucchini/ |
D | rel32_utils_unittest.cc | 80 std::vector<uint8_t> bytes = { in TEST() local 90 ConstBufferView buffer(bytes.data(), bytes.size()); in TEST() 120 std::vector<uint8_t> bytes(32, 0xFF); in TEST() local 121 MutableBufferView buffer(bytes.data(), bytes.size()); in TEST() 146 bytes); in TEST() 155 std::vector<uint8_t> bytes = { in TEST() local 165 ConstBufferView region(&bytes[0], bytes.size()); in TEST() 199 std::vector<uint8_t> bytes = { in TEST() local 207 MutableBufferView region(&bytes[0], bytes.size()); in TEST() 213 EXPECT_EQ(0xFF, bytes[0x02]); // 00030002: B 00030004 ; T8 in TEST() [all …]
|
/external/nos/host/generic/nugget/proto/nugget/app/protoapi/ |
D | testing_api.proto | 79 bytes key = 3; 80 bytes initialization_vector = 4; 84 bytes plain_text = 5; 89 bytes initialization_vector = 2; 90 bytes cipher_text = 3; 94 bytes key = 1; 95 bytes iv = 2; 96 bytes plain_text = 3; 97 bytes aad = 4; 103 bytes cipher_text = 2; [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUBinary.java | 59 static boolean validate(ByteBuffer bytes) { in validate() argument 61 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate() 65 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate() 72 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate() 75 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate() 76 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate() 82 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument 86 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName() 91 byte c = bytes.get(start + length++); in startsWithPackageName() 92 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUBinary.java | 55 static boolean validate(ByteBuffer bytes) { in validate() argument 57 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate() 61 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate() 68 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate() 71 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate() 72 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate() 78 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument 82 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName() 87 byte c = bytes.get(start + length++); in startsWithPackageName() 88 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName() [all …]
|
/external/webrtc/rtc_base/memory/ |
D | fifo_buffer_unittest.cc | 26 size_t bytes; in TEST() local 32 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST() 33 EXPECT_TRUE(nullptr != buf.GetWriteBuffer(&bytes)); in TEST() 34 EXPECT_EQ(kSize, bytes); in TEST() 38 EXPECT_EQ(SR_SUCCESS, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST() 39 EXPECT_EQ(kSize, bytes); in TEST() 42 EXPECT_EQ(SR_BLOCK, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST() 45 EXPECT_EQ(SR_SUCCESS, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST() 46 EXPECT_EQ(kSize, bytes); in TEST() 50 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1Integer.java | 20 private final byte[] bytes; field in ASN1Integer 86 this.bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer() 98 this.bytes = value.toByteArray(); in ASN1Integer() 124 public ASN1Integer(byte[] bytes) in ASN1Integer() argument 126 this(bytes, true); in ASN1Integer() 129 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument 131 if (isMalformed(bytes)) in ASN1Integer() 136 this.bytes = clone ? Arrays.clone(bytes) : bytes; in ASN1Integer() 137 this.start = signBytesToSkip(bytes); in ASN1Integer() 148 return new BigInteger(1, bytes); in getPositiveValue() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1Integer.java | 20 private final byte[] bytes; field in ASN1Integer 86 this.bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer() 97 this.bytes = value.toByteArray(); in ASN1Integer() 123 public ASN1Integer(byte[] bytes) in ASN1Integer() argument 125 this(bytes, true); in ASN1Integer() 128 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument 130 if (isMalformed(bytes)) in ASN1Integer() 135 this.bytes = clone ? Arrays.clone(bytes) : bytes; in ASN1Integer() 136 this.start = signBytesToSkip(bytes); in ASN1Integer() 147 return new BigInteger(1, bytes); in getPositiveValue() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1Integer.java | 18 private final byte[] bytes; field in ASN1Integer 84 this.bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer() 95 this.bytes = value.toByteArray(); in ASN1Integer() 121 public ASN1Integer(byte[] bytes) in ASN1Integer() argument 123 this(bytes, true); in ASN1Integer() 126 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument 128 if (isMalformed(bytes)) in ASN1Integer() 133 this.bytes = clone ? Arrays.clone(bytes) : bytes; in ASN1Integer() 134 this.start = signBytesToSkip(bytes); in ASN1Integer() 145 return new BigInteger(1, bytes); in getPositiveValue() [all …]
|
/external/rust/crates/bytes/tests/ |
D | test_bytes.rs | 3 use bytes::{Buf, BufMut, Bytes, BytesMut}; 181 let mut bytes = BytesMut::with_capacity(1024); in split_off_uninitialized() localVariable 182 let other = bytes.split_off(128); in split_off_uninitialized() 184 assert_eq!(bytes.len(), 0); in split_off_uninitialized() 185 assert_eq!(bytes.capacity(), 128); in split_off_uninitialized() 197 let mut bytes = Bytes::from(&s[..]); in split_off_to_loop() localVariable 198 let off = bytes.split_off(i); in split_off_to_loop() 199 assert_eq!(i, bytes.len()); in split_off_to_loop() 201 sum.extend(bytes.iter()); in split_off_to_loop() 206 let mut bytes = BytesMut::from(&s[..]); in split_off_to_loop() localVariable [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | ReadableBuffers.java | 45 public static ReadableBuffer wrap(byte[] bytes) { in wrap() argument 46 return new ByteArrayWrapper(bytes, 0, bytes.length); in wrap() 56 public static ReadableBuffer wrap(byte[] bytes, int offset, int length) { in wrap() argument 57 return new ByteArrayWrapper(bytes, offset, length); in wrap() 64 public static ReadableBuffer wrap(ByteBuffer bytes) { in wrap() argument 65 return new ByteReadableBufferWrapper(bytes); in wrap() 75 byte[] bytes = new byte[length]; in readArray() 76 buffer.readBytes(bytes, 0, length); in readArray() 77 return bytes; in readArray() 85 byte[] bytes = readArray(buffer); in readAsString() [all …]
|
/external/crosvm/acpi_tables/src/ |
D | aml.rs | 12 fn to_aml_bytes(&self, bytes: &mut Vec<u8>); in to_aml_bytes() 94 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 95 bytes.append(&mut vec![ZEROOP]); in to_aml_bytes() 104 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 105 bytes.append(&mut vec![ONEOP]); in to_aml_bytes() 114 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 115 bytes.append(&mut vec![ONESOP]); in to_aml_bytes() 127 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 129 bytes.push(b'\\'); in to_aml_bytes() 136 bytes.push(DUALNAMEPREFIX); in to_aml_bytes() [all …]
|
/external/skia/fuzz/ |
D | FuzzMain.cpp | 33 static DEFINE_string2(bytes, b, "", "A path to a file or a directory. If a file, the " 81 static void fuzz_api(sk_sp<SkData> bytes, SkString name); 151 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local 152 if (!bytes) { in fuzz_file() 168 fuzz_android_codec(bytes); in fuzz_file() 172 fuzz_animated_img(bytes); in fuzz_file() 176 fuzz_api(bytes, name); in fuzz_file() 180 fuzz_color_deserialize(bytes); in fuzz_file() 184 fuzz_colrv1(bytes); in fuzz_file() 188 fuzz_filter_fuzz(bytes); in fuzz_file() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_next_cfi.c | 63 const uint8_t *bytes = data->d_buf + off; in dwarf_next_cfi() local 69 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi() 75 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi() 81 length = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi() 90 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi() 100 limit = bytes + length; in dwarf_next_cfi() 102 const uint8_t *const cie_pointer_start = bytes; in dwarf_next_cfi() 104 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi() 107 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi() 132 uint8_t version = *bytes++; in dwarf_next_cfi() [all …]
|
/external/libhevc/common/arm/ |
D | ihevc_padding.s | 122 vst1.8 {d0,d1},[r4]! @128/8 = 16 bytes store 123 vst1.8 {d0,d1},[r4]! @ 16 bytes store 124 vst1.8 {d0,d1},[r4]! @ 16 bytes store 125 vst1.8 {d0,d1},[r4]! @ 16 bytes store 126 vst1.8 {d0,d1},[r4] @ 16 bytes store 130 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store 131 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store 132 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store 133 vst1.8 {d2,d3},[r5]! @128/8 = 16 bytes store 134 vst1.8 {d2,d3},[r5] @128/8 = 16 bytes store [all …]
|
/external/python/bumble/bumble/ |
D | crypto.py | 103 return bytes(map(operator.xor, x, y)) 122 cipher = Cipher(algorithms.AES(bytes(reversed(key))), modes.ECB()) 124 return bytes(reversed(encryptor.update(bytes(reversed(data))))) 133 padding = bytes(13) 145 p1 = bytes([iat, rat]) + preq + pres 146 p2 = ra + ia + bytes([0, 0, 0, 0]) 178 return bytes( 180 aes_cmac(bytes(reversed(u)) + bytes(reversed(v)) + z, bytes(reversed(x))) 193 salt = bytes.fromhex('6C888391AAF5A53860370BDB5A6083BE') 194 t = aes_cmac(bytes(reversed(w)), salt) [all …]
|
/external/rust/crates/minimal-lexical/tests/ |
D | integration_tests.rs | 3 fn parse_sign<'a>(bytes: &'a [u8]) -> (bool, &'a [u8]) { in parse_sign() 4 match bytes.get(0) { in parse_sign() 5 Some(&b'+') => (true, &bytes[1..]), in parse_sign() 6 Some(&b'-') => (false, &bytes[1..]), in parse_sign() 7 _ => (true, bytes), in parse_sign() 56 fn ltrim_zero<'a>(bytes: &'a [u8]) -> &'a [u8] { in ltrim_zero() 57 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 58 &bytes[count..] in ltrim_zero() 63 fn rtrim_zero<'a>(bytes: &'a [u8]) -> &'a [u8] { in rtrim_zero() 64 let count = bytes.iter().rev().take_while(|&&si| si == b'0').count(); in rtrim_zero() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | ByteString.cs | 58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString 63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes() argument 65 return new ByteString(bytes); in AttachBytes() 73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() argument 75 return AttachBytes(bytes.AsMemory()); in AttachBytes() 82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString() argument 84 this.bytes = bytes; in ByteString() 100 get { return bytes.Length; } 117 get { return bytes.Span; } 126 get { return bytes; } [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | ByteString.cs | 58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString 63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes() argument 65 return new ByteString(bytes); in AttachBytes() 73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() argument 75 return AttachBytes(bytes.AsMemory()); in AttachBytes() 82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString() argument 84 this.bytes = bytes; in ByteString() 100 get { return bytes.Length; } 117 get { return bytes.Span; } 126 get { return bytes; } [all …]
|
/external/openthread/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_cipher.camellia.data | 9 CAMELLIA Encrypt and decrypt 0 bytes [#1] 17 CAMELLIA Encrypt and decrypt 2 bytes [#1] 21 CAMELLIA Encrypt and decrypt 7 bytes [#1] 25 CAMELLIA Encrypt and decrypt 8 bytes [#1] 29 CAMELLIA Encrypt and decrypt 9 bytes [#1] 33 CAMELLIA Encrypt and decrypt 15 bytes [#1] 37 CAMELLIA Encrypt and decrypt 16 bytes [#1] 41 CAMELLIA Encrypt and decrypt 17 bytes [#1] 45 CAMELLIA Encrypt and decrypt 31 bytes [#1] 49 CAMELLIA Encrypt and decrypt 32 bytes [#1] [all …]
|
/external/tcpdump/tests/ |
D | huge-tipc-messages.out | 1 … TIPC v2.0 1.1.2:3511725154 > 1.1.2:424133152, headerlength 40 bytes, MessageSize 40 bytes, Low Im… 2 ….751868 TIPC v2.0 1.1.2:36452003 > 3511725154, headerlength 24 bytes, MessageSize 24 bytes, Low Im… 3 …52201 TIPC v2.0 1.1.2:3511725154 > 36452003, headerlength 24 bytes, MessageSize 66000 bytes, Low I… 4 ….752706 TIPC v2.0 1.1.2:3511725154 > 36452003, headerlength 24 bytes, MessageSize 24 bytes, Critic… 5 … TIPC v2.0 1.1.2:2724677849 > 1.1.2:424133152, headerlength 40 bytes, MessageSize 40 bytes, Low Im… 6 …887080 TIPC v2.0 1.1.2:350680339 > 2724677849, headerlength 24 bytes, MessageSize 24 bytes, Low Im… 7 …7672 TIPC v2.0 1.1.2:2724677849 > 350680339, headerlength 24 bytes, MessageSize 65536 bytes, Low I… 8 … TIPC v2.0 1.1.2:350680339 > 1.1.2:2724677849, headerlength 40 bytes, MessageSize 40 bytes, Connec… 9 …888471 TIPC v2.0 1.1.2:2724677849 > 350680339, headerlength 24 bytes, MessageSize 24 bytes, Critic… 10 … TIPC v2.0 1.1.2:1877724975 > 1.1.2:424133152, headerlength 40 bytes, MessageSize 40 bytes, Low Im… [all …]
|