/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/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/webrtc/rtc_base/memory/ |
D | fifo_buffer_unittest.cc | 25 size_t bytes; in TEST() local 30 EXPECT_EQ(SR_BLOCK, buf.Read(out, kSize, &bytes, nullptr)); in TEST() 31 EXPECT_TRUE(nullptr != buf.GetWriteBuffer(&bytes)); in TEST() 32 EXPECT_EQ(kSize, bytes); in TEST() 36 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize, &bytes, nullptr)); in TEST() 37 EXPECT_EQ(kSize, bytes); in TEST() 40 EXPECT_EQ(SR_BLOCK, buf.Write(in, kSize, &bytes, nullptr)); in TEST() 43 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize, &bytes, nullptr)); in TEST() 44 EXPECT_EQ(kSize, bytes); in TEST() 48 EXPECT_EQ(SR_BLOCK, buf.Read(out, kSize, &bytes, nullptr)); in TEST() [all …]
|
/external/llvm-project/llvm/test/DebugInfo/PDB/ |
D | module-stats.test | 5 ALL-NEXT: Stream 12, 308 bytes 7 ALL-NEXT: Total: 6 entries ( 204 bytes) 9 ALL-NEXT: S_COMPILE3: 1 entries ( 60 bytes) 10 ALL-NEXT: S_OBJNAME: 1 entries ( 56 bytes) 11 ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes) 12 ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes) 13 ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes) 14 ALL-NEXT: S_END: 1 entries ( 4 bytes) 16 ALL-NEXT: Total: 2 entries ( 88 bytes) 18 ALL-NEXT: DEBUG_S_LINES: 1 entries ( 56 bytes) [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/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/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/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/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/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/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/protobuf/csharp/src/Google.Protobuf/ |
D | ByteString.cs | 55 private readonly byte[] bytes; field in Google.Protobuf.ByteString 66 internal static ByteString FromBytes(byte[] bytes) in FromBytes() argument 68 return new ByteString(bytes); in FromBytes() 75 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() argument 77 return new ByteString(bytes); in AttachBytes() 84 private ByteString(byte[] bytes) in ByteString() argument 86 this.bytes = bytes; in ByteString() 102 get { return bytes.Length; } 118 public ReadOnlySpan<byte> Span => new ReadOnlySpan<byte>(bytes); 128 return (byte[]) bytes.Clone(); in ToByteArray() [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 " 79 static void fuzz_api(sk_sp<SkData> bytes, SkString name); 144 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local 145 if (!bytes) { in fuzz_file() 161 fuzz_android_codec(bytes); in fuzz_file() 165 fuzz_animated_img(bytes); in fuzz_file() 169 fuzz_api(bytes, name); in fuzz_file() 173 fuzz_color_deserialize(bytes); in fuzz_file() 177 fuzz_filter_fuzz(bytes); in fuzz_file() 181 fuzz_image_decode(bytes); in fuzz_file() [all …]
|
/external/crosvm/acpi_tables/src/ |
D | aml.rs | 12 fn to_aml_bytes(&self, bytes: &mut Vec<u8>); in to_aml_bytes() 80 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 81 bytes.append(&mut vec![ZEROOP]); in to_aml_bytes() 90 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 91 bytes.append(&mut vec![ONEOP]); in to_aml_bytes() 100 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 101 bytes.append(&mut vec![ONESOP]); in to_aml_bytes() 113 fn to_aml_bytes(&self, bytes: &mut Vec<u8>) { in to_aml_bytes() 115 bytes.push(b'\\'); in to_aml_bytes() 122 bytes.push(DUALNAMEPREFIX); in to_aml_bytes() [all …]
|
/external/skqp/src/opts/ |
D | SkChecksum_opts.h | 31 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t seed) { in hash_fn() argument 36 if (bytes >= 24) { in hash_fn() 43 size_t steps = bytes/24; in hash_fn() 50 bytes %= 24; in hash_fn() 54 SkASSERT(bytes < 24); in hash_fn() 55 if (bytes >= 16) { in hash_fn() 57 bytes -= 8; in hash_fn() 61 SkASSERT(bytes < 16); in hash_fn() 62 if (bytes & 8) { in hash_fn() 71 if (bytes & 4) { in hash_fn() [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/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DecodeUtf8Test.java | 65 byte[] bytes = new byte[]{(byte) i, (byte) j, (byte) k}; in testThreeBytes() 66 ByteString bs = ByteString.copyFrom(bytes); in testThreeBytes() 68 assertInvalid(bytes); in testThreeBytes() 171 byte[] bytes = "The quick brown fox jumps over the lazy dog".getBytes(Internal.UTF_8); in testInvalidBufferSlice() 172 assertInvalidSlice(bytes, bytes.length - 3, 4); in testInvalidBufferSlice() 173 assertInvalidSlice(bytes, bytes.length, 1); in testInvalidBufferSlice() 174 assertInvalidSlice(bytes, bytes.length + 1, 0); in testInvalidBufferSlice() 175 assertInvalidSlice(bytes, 0, bytes.length + 1); in testInvalidBufferSlice() 179 byte[] bytes = new byte[bytesAsInt.length]; in assertInvalid() 181 bytes[i] = (byte) bytesAsInt[i]; in assertInvalid() [all …]
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | ByteStringMicro.java | 42 private final byte[] bytes; field in ByteStringMicro 44 private ByteStringMicro(final byte[] bytes) { in ByteStringMicro() argument 45 this.bytes = bytes; in ByteStringMicro() 54 return bytes[index]; in byteAt() 61 return bytes.length; in size() 68 return bytes.length == 0; in isEmpty() 82 public static ByteStringMicro copyFrom(final byte[] bytes, final int offset, in copyFrom() argument 85 System.arraycopy(bytes, offset, copy, 0, size); in copyFrom() 92 public static ByteStringMicro copyFrom(final byte[] bytes) { in copyFrom() argument 93 return copyFrom(bytes, 0, bytes.length); in copyFrom() [all …]
|
/external/proguard/src/proguard/classfile/constant/ |
D | Utf8Constant.java | 59 private byte[] bytes; field in Utf8Constant 78 this.bytes = null; in Utf8Constant() 86 public void setBytes(byte[] bytes) in setBytes() argument 88 this.bytes = bytes; in setBytes() 107 return bytes; in getBytes() 116 this.bytes = null; in setString() 159 if (bytes == null) in switchToByteArrayRepresentation() 161 bytes = getByteArrayRepresentation(string); in switchToByteArrayRepresentation() 174 string = getStringRepresentation(bytes); in switchToStringRepresentation() 175 bytes = null; in switchToStringRepresentation() [all …]
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | FarmHashFingerprint64.java | 68 static long fingerprint(byte[] bytes, int offset, int length) { in fingerprint() argument 71 return hashLength0to16(bytes, offset, length); in fingerprint() 73 return hashLength17to32(bytes, offset, length); in fingerprint() 76 return hashLength33To64(bytes, offset, length); in fingerprint() 78 return hashLength65Plus(bytes, offset, length); in fingerprint() 101 byte[] bytes, int offset, long seedA, long seedB, long[] output) { in weakHashLength32WithSeeds() argument 102 long part1 = load64(bytes, offset); in weakHashLength32WithSeeds() 103 long part2 = load64(bytes, offset + 8); in weakHashLength32WithSeeds() 104 long part3 = load64(bytes, offset + 16); in weakHashLength32WithSeeds() 105 long part4 = load64(bytes, offset + 24); in weakHashLength32WithSeeds() [all …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | FarmHashFingerprint64.java | 68 static long fingerprint(byte[] bytes, int offset, int length) { in fingerprint() argument 71 return hashLength0to16(bytes, offset, length); in fingerprint() 73 return hashLength17to32(bytes, offset, length); in fingerprint() 76 return hashLength33To64(bytes, offset, length); in fingerprint() 78 return hashLength65Plus(bytes, offset, length); in fingerprint() 101 byte[] bytes, int offset, long seedA, long seedB, long[] output) { in weakHashLength32WithSeeds() argument 102 long part1 = load64(bytes, offset); in weakHashLength32WithSeeds() 103 long part2 = load64(bytes, offset + 8); in weakHashLength32WithSeeds() 104 long part3 = load64(bytes, offset + 16); in weakHashLength32WithSeeds() 105 long part4 = load64(bytes, offset + 24); in weakHashLength32WithSeeds() [all …]
|
/external/python/cpython3/Lib/ |
D | telnetlib.py | 50 IAC = bytes([255]) # "Interpret As Command" 51 DONT = bytes([254]) 52 DO = bytes([253]) 53 WONT = bytes([252]) 54 WILL = bytes([251]) 55 theNULL = bytes([0]) 57 SE = bytes([240]) # Subnegotiation End 58 NOP = bytes([241]) # No Operation 59 DM = bytes([242]) # Data Mark 60 BRK = bytes([243]) # Break [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | TraceId.java | 51 private final byte[] bytes; field in TraceId 53 private TraceId(byte[] bytes) { in TraceId() argument 54 this.bytes = bytes; in TraceId() 94 byte[] bytes = new byte[SIZE]; in fromBytes() 95 System.arraycopy(src, srcOffset, bytes, 0, SIZE); in fromBytes() 96 return new TraceId(bytes); in fromBytes() 123 byte[] bytes = new byte[SIZE]; in generateRandomId() 125 random.nextBytes(bytes); in generateRandomId() 126 } while (Arrays.equals(bytes, INVALID.bytes)); in generateRandomId() 127 return new TraceId(bytes); in generateRandomId() [all …]
|