/external/chromium_org/third_party/webrtc/base/ |
D | stream_unittest.cc | 77 size_t bytes; in SeekTest() local 81 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 82 EXPECT_EQ(bytes, kBufSize); in SeekTest() 84 EXPECT_TRUE(stream->GetPosition(&bytes)); in SeekTest() 85 EXPECT_EQ(13U, bytes); in SeekTest() 89 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 90 EXPECT_EQ(bytes, kBufSize); in SeekTest() 92 EXPECT_TRUE(stream->GetPosition(&bytes)); in SeekTest() 93 EXPECT_EQ(20U, bytes); in SeekTest() 109 size_t bytes; in TEST() local [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
D | poloutiltest.cc | 22 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; in TEST() local 23 std::string result = PoloUtil::BytesToHexString(bytes, 4); in TEST() 28 uint8_t bytes[4] = {0x00, 0xBB, 0xCC, 0xDD}; in TEST() local 29 std::string result = PoloUtil::BytesToHexString(bytes, 4); in TEST() 34 uint8_t* bytes; in TEST() local 35 size_t length = PoloUtil::HexStringToBytes(std::string("AABBCCDD"), bytes); in TEST() 37 ASSERT_EQ(0xAA, bytes[0]); in TEST() 38 ASSERT_EQ(0xBB, bytes[1]); in TEST() 39 ASSERT_EQ(0xCC, bytes[2]); in TEST() 40 ASSERT_EQ(0xDD, bytes[3]); in TEST() [all …]
|
/external/elfutils/0.153/libdw/ |
D | dwarf_next_cfi.c | 84 const uint8_t *bytes = data->d_buf + off; local 90 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); 96 if (unlikely (limit - bytes < 8)) 102 length = read_8ubyte_unaligned_inc (&dw, bytes); 104 if (unlikely ((uint64_t) (limit - bytes) < length) 114 limit = bytes + length; 116 const uint8_t *const cie_pointer_start = bytes; 118 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); 121 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); 146 uint8_t version = *bytes++; [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | ByteString.java | 48 private final byte[] bytes; field in ByteString 50 private ByteString(final byte[] bytes) { in ByteString() argument 51 this.bytes = bytes; in ByteString() 60 return bytes[index]; in byteAt() 67 return bytes.length; in size() 74 return bytes.length == 0; in isEmpty() 88 public static ByteString copyFrom(final byte[] bytes, final int offset, in copyFrom() argument 91 System.arraycopy(bytes, offset, copy, 0, size); in copyFrom() 98 public static ByteString copyFrom(final byte[] bytes) { in copyFrom() argument 99 return copyFrom(bytes, 0, bytes.length); in copyFrom() [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/chromium_org/third_party/smhasher/src/ |
D | Types.h | 198 for(size_t i = 0; i < sizeof(bytes); i++) in Blob() 200 bytes[i] = 0; in Blob() 206 for(size_t i = 0; i < sizeof(bytes); i++) in Blob() 208 bytes[i] = 0; in Blob() 211 *(int*)bytes = x; in Blob() 216 for(size_t i = 0; i < sizeof(bytes); i++) in Blob() 218 bytes[i] = k.bytes[i]; in Blob() 224 for(size_t i = 0; i < sizeof(bytes); i++) 226 bytes[i] = k.bytes[i]; 242 len = len > sizeof(bytes) ? sizeof(bytes) : len; in set() [all …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCodes.java | 106 static HashCode fromBytes(byte[] bytes) { in fromBytes() argument 107 return new BytesHashCode(bytes); in fromBytes() 111 final byte[] bytes; field in HashCodes.BytesHashCode 113 BytesHashCode(byte[] bytes) { in BytesHashCode() argument 114 this.bytes = bytes; in BytesHashCode() 118 return bytes.length * 8; in bits() 122 return bytes.clone(); in asBytes() 126 return (bytes[0] & 0xFF) in asInt() 127 | ((bytes[1] & 0xFF) << 8) in asInt() 128 | ((bytes[2] & 0xFF) << 16) in asInt() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Strings.java | 10 public static String fromUTF8ByteArray(byte[] bytes) in fromUTF8ByteArray() argument 15 while (i < bytes.length) in fromUTF8ByteArray() 18 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray() 24 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray() 28 else if ((bytes[i] & 0xc0) == 0xc0) in fromUTF8ByteArray() 43 while (i < bytes.length) in fromUTF8ByteArray() 47 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray() 49 …int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << … in fromUTF8ByteArray() 57 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray() 59 ch = (char)(((bytes[i] & 0x0f) << 12) in fromUTF8ByteArray() [all …]
|
/external/protobuf/java/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/valgrind/main/memcheck/tests/ |
D | leak_cpp_interior.stderr.exp-64bit | 4 8 bytes in 1 blocks are definitely lost in loss record ... of ... 9 definitely lost: 8 bytes in 1 blocks 10 indirectly lost: 0 bytes in 0 blocks 11 possibly lost: 0 bytes in 0 blocks 12 still reachable: 187 bytes in 7 blocks 14 stdstring : 80 bytes in 2 blocks 15 newarray : 11 bytes in 1 blocks 16 multipleinheritance: 48 bytes in 2 blocks 17 suppressed: 0 bytes in 0 blocks 23 definitely lost: 8 (+0) bytes in 1 (+0) blocks [all …]
|
D | leak_cpp_interior.stderr.exp | 4 4 bytes in 1 blocks are definitely lost in loss record ... of ... 9 definitely lost: 4 bytes in 1 blocks 10 indirectly lost: 0 bytes in 0 blocks 11 possibly lost: 0 bytes in 0 blocks 12 still reachable: 111 bytes in 7 blocks 14 stdstring : 56 bytes in 2 blocks 15 newarray : 7 bytes in 1 blocks 16 multipleinheritance: 24 bytes in 2 blocks 17 suppressed: 0 bytes in 0 blocks 23 definitely lost: 4 (+0) bytes in 1 (+0) blocks [all …]
|
D | leak-segv-jmp.stderr.exp | 6 definitely lost: 0 bytes in 0 blocks 7 indirectly lost: 0 bytes in 0 blocks 8 possibly lost: 0 bytes in 0 blocks 9 still reachable: 41,000 bytes in 2 blocks 10 suppressed: 0 bytes in 0 blocks 15 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... 21 definitely lost: 1,000 bytes in 1 blocks 22 indirectly lost: 0 bytes in 0 blocks 23 possibly lost: 0 bytes in 0 blocks 24 still reachable: 40,000 bytes in 1 blocks [all …]
|
D | leak-delta.stderr.exp | 1 expecting details 10 bytes reachable 2 10 bytes in 1 blocks are still reachable in loss record ... of ... 8 expecting details +10 bytes lost, +21 bytes reachable 9 10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ... 14 21 (+21) bytes in 1 (+1) blocks are still reachable in loss record ... of ... 19 expecting details +65 bytes reachable 20 65 (+65) bytes in 2 (+2) blocks are still reachable in loss record ... of ... 26 expecting details +10 bytes reachable 27 10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ... 32 expecting details -10 bytes reachable, +10 bytes lost [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/ |
D | cv8.txt | 5 4 bytes - version (4) 8 (in bytes following the length field). Each set is 4-byte aligned with 0s at 17 4 bytes - offset of filename in source filename string table 18 {2 bytes - checksum type/length? (0x0110) 19 16 bytes - MD5 checksum of source file} OR 20 {2 bytes - no checksum (0)} 21 2 bytes - 0 (padding?) 24 4 bytes - start offset in section (SECREL to section start) 25 2 bytes - section index (SECTION to section start) 26 2 bytes - pad/align (0) [all …]
|
/external/valgrind/main/memcheck/tests/amd64/ |
D | sh-mem-vec256-plo-no.stderr.exp | 30 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 37 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 49 Address 0x........ is 79,969 bytes inside a block of size 80,000 alloc'd 56 Address 0x........ is 79,993 bytes inside a block of size 80,000 alloc'd 62 ------ PL Aligned case with 0 leading acc+def bytes ------ 66 Address 0x........ is 0 bytes inside a block of size 64 alloc'd 78 ------ PL Aligned case with 1 leading acc+def bytes ------ 82 Address 0x........ is 0 bytes inside a block of size 64 alloc'd 94 ------ PL Aligned case with 2 leading acc+def bytes ------ 98 Address 0x........ is 0 bytes inside a block of size 64 alloc'd [all …]
|
D | sh-mem-vec256-plo-yes.stderr.exp | 30 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 37 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 49 Address 0x........ is 79,969 bytes inside a block of size 80,000 alloc'd 56 Address 0x........ is 79,993 bytes inside a block of size 80,000 alloc'd 62 ------ PL Aligned case with 0 leading acc+def bytes ------ 71 ------ PL Aligned case with 1 leading acc+def bytes ------ 80 ------ PL Aligned case with 2 leading acc+def bytes ------ 89 ------ PL Aligned case with 3 leading acc+def bytes ------ 98 ------ PL Aligned case with 4 leading acc+def bytes ------ 107 ------ PL Aligned case with 5 leading acc+def bytes ------ [all …]
|
D | sh-mem-vec128-plo-yes.stderr.exp | 30 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 37 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 49 Address 0x........ is 79,985 bytes inside a block of size 80,000 alloc'd 56 Address 0x........ is 79,993 bytes inside a block of size 80,000 alloc'd 62 ------ PL Aligned case with 0 leading acc+def bytes ------ 71 ------ PL Aligned case with 1 leading acc+def bytes ------ 80 ------ PL Aligned case with 2 leading acc+def bytes ------ 89 ------ PL Aligned case with 3 leading acc+def bytes ------ 98 ------ PL Aligned case with 4 leading acc+def bytes ------ 107 ------ PL Aligned case with 5 leading acc+def bytes ------ [all …]
|
/external/valgrind/main/gdbserver_tests/ |
D | mcleak.stderr.exp | 4 expecting details 10 bytes reachable 5 10 bytes in 1 blocks are still reachable in loss record ... of ... 11 expecting details +10 bytes lost, +21 bytes reachable 12 expecting details +65 bytes reachable 14 expecting details +10 bytes reachable 15 expecting details -10 bytes reachable, +10 bytes lost 16 expecting details -10 bytes lost, +10 bytes reachable 17 expecting details 32 (+32) bytes lost, 33 (-32) bytes reachable 19 leaked: 32 bytes in 1 blocks 20 dubious: 0 bytes in 0 blocks [all …]
|
/external/chromium_org/ui/base/text/ |
D | bytes_formatting.cc | 37 base::string16 FormatBytesInternal(int64 bytes, in FormatBytesInternal() argument 42 if (bytes < 0) { in FormatBytesInternal() 48 double unit_amount = static_cast<double>(bytes); in FormatBytesInternal() 53 if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100) in FormatBytesInternal() 66 DataUnits GetByteDisplayUnits(int64 bytes) { in GetByteDisplayUnits() argument 79 if (bytes < 0) { in GetByteDisplayUnits() 86 if (bytes >= kUnitThresholds[unit_index]) in GetByteDisplayUnits() 94 base::string16 FormatBytesWithUnits(int64 bytes, in FormatBytesWithUnits() argument 97 return FormatBytesInternal(bytes, units, show_units, kByteStrings); in FormatBytesWithUnits() 100 base::string16 FormatSpeedWithUnits(int64 bytes, in FormatSpeedWithUnits() argument [all …]
|
/external/chromium_org/content/child/webcrypto/ |
D | crypto_data.cc | 13 CryptoData::CryptoData(const unsigned char* bytes, unsigned int byte_length) in CryptoData() argument 14 : bytes_(bytes), byte_length_(byte_length) {} in CryptoData() 16 CryptoData::CryptoData(const std::vector<unsigned char>& bytes) in CryptoData() argument 17 : bytes_(bytes.size() ? &bytes[0] : NULL), byte_length_(bytes.size()) {} in CryptoData() 19 CryptoData::CryptoData(const std::string& bytes) in CryptoData() argument 20 : bytes_(bytes.size() ? reinterpret_cast<const unsigned char*>(bytes.data()) in CryptoData() 22 byte_length_(bytes.size()) {} in CryptoData() 24 CryptoData::CryptoData(const blink::WebVector<unsigned char>& bytes) in CryptoData() argument 25 : bytes_(bytes.data()), byte_length_(bytes.size()) {} in CryptoData()
|
/external/bison/lib/ |
D | mbchar.h | 169 size_t bytes; /* number of bytes of current character, > 0 */ member 182 #define mb_len(mbc) ((mbc).bytes) 194 : (mbc1).bytes == (mbc2).bytes \ 195 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ 196 : (mbc1).bytes < (mbc2).bytes \ 197 ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \ 198 : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1))) 206 : (mbc1).bytes == (mbc2).bytes \ 207 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ 208 : (mbc1).bytes < (mbc2).bytes \ [all …]
|
/external/llvm/utils/ |
D | codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 38 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERInteger.java | 14 byte[] bytes; field in DERInteger 79 bytes = BigInteger.valueOf(value).toByteArray(); in DERInteger() 88 bytes = value.toByteArray(); in DERInteger() 95 byte[] bytes) in DERInteger() argument 97 this.bytes = bytes; in DERInteger() 102 return new BigInteger(bytes); in getValue() 111 return new BigInteger(1, bytes); in getPositiveValue() 121 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length; in encodedLength() 128 out.writeEncoded(BERTags.INTEGER, bytes); in encode() 135 for (int i = 0; i != bytes.length; i++) in hashCode() [all …]
|
/external/valgrind/main/memcheck/tests/common/ |
D | sh-mem-vec128-plo-yes.stderr.exp-64bit-le | 30 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 37 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 49 Address 0x........ is 79,985 bytes inside a block of size 80,000 alloc'd 56 Address 0x........ is 79,993 bytes inside a block of size 80,000 alloc'd 62 ------ PL Aligned case with 0 leading acc+def bytes ------ 71 ------ PL Aligned case with 1 leading acc+def bytes ------ 80 ------ PL Aligned case with 2 leading acc+def bytes ------ 89 ------ PL Aligned case with 3 leading acc+def bytes ------ 98 ------ PL Aligned case with 4 leading acc+def bytes ------ 107 ------ PL Aligned case with 5 leading acc+def bytes ------ [all …]
|