Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 2075) sorted by relevance

12345678910>>...83

/external/valgrind/memcheck/tests/
Dleak_cpp_interior.stderr.exp-64bit4 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: 239 bytes in 8 blocks
14 stdstring : 80 bytes in 2 blocks
15 length64 : 31 bytes in 1 blocks
16 newarray : 32 bytes in 1 blocks
17 multipleinheritance: 48 bytes in 2 blocks
18 suppressed: 0 bytes in 0 blocks
[all …]
Dleak_cpp_interior.stderr.exp4 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: 163 bytes in 8 blocks
14 stdstring : 56 bytes in 2 blocks
15 length64 : 31 bytes in 1 blocks
16 newarray : 28 bytes in 1 blocks
17 multipleinheritance: 24 bytes in 2 blocks
18 suppressed: 0 bytes in 0 blocks
[all …]
Dleak-segv-jmp.stderr.exp6 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java51 static boolean validate(ByteBuffer bytes) { in validate() argument
53 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
57 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
64 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
67 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
68 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
74 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
78 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
83 byte c = bytes.get(start + length++); in startsWithPackageName()
84 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName()
[all …]
/external/elfutils/src/libdw/
Ddwarf_next_cfi.c63 const uint8_t *bytes = data->d_buf + off; local
69 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes);
75 if (unlikely (limit - bytes < 8))
81 length = read_8ubyte_unaligned_inc (&dw, bytes);
83 if (unlikely ((uint64_t) (limit - bytes) < length)
93 limit = bytes + length;
95 const uint8_t *const cie_pointer_start = bytes;
97 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes);
100 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes);
125 uint8_t version = *bytes++;
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dpoloutiltest.cc22 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/protobuf/java/src/main/java/com/google/protobuf/
DUtf8.java108 public static boolean isValidUtf8(byte[] bytes) { in isValidUtf8() argument
109 return isValidUtf8(bytes, 0, bytes.length); in isValidUtf8()
121 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8() argument
122 return partialIsValidUtf8(bytes, index, limit) == COMPLETE; in isValidUtf8()
144 int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8() argument
165 bytes[index++] > (byte) 0xBF) { in partialIsValidUtf8()
174 byte2 = bytes[index++]; in partialIsValidUtf8()
185 bytes[index++] > (byte) 0xBF) { in partialIsValidUtf8()
195 byte2 = bytes[index++]; in partialIsValidUtf8()
203 byte3 = bytes[index++]; in partialIsValidUtf8()
[all …]
DLazyFieldLite.java47 private ByteString bytes; field in LazyFieldLite
53 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyFieldLite() argument
55 this.bytes = bytes; in LazyFieldLite()
68 return value == null && bytes == null; in containsDefaultInstance()
72 bytes = null; in clear()
97 bytes = null; in setValue()
107 if (bytes == null) { in merge()
108 this.bytes = value.bytes; in merge()
110 this.bytes.concat(value.toByteString()); in merge()
115 public void setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) { in setByteString() argument
[all …]
DInternal.java76 public static String stringDefaultValue(String bytes) { in stringDefaultValue() argument
78 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); in stringDefaultValue()
95 public static ByteString bytesDefaultValue(String bytes) { in bytesDefaultValue() argument
97 return ByteString.copyFrom(bytes.getBytes("ISO-8859-1")); in bytesDefaultValue()
111 public static byte[] byteArrayDefaultValue(String bytes) { in byteArrayDefaultValue() argument
113 return bytes.getBytes("ISO-8859-1"); in byteArrayDefaultValue()
128 public static ByteBuffer byteBufferDefaultValue(String bytes) { in byteBufferDefaultValue() argument
129 return ByteBuffer.wrap(byteArrayDefaultValue(bytes)); in byteBufferDefaultValue()
204 public static String toStringUtf8(byte[] bytes) { in toStringUtf8() argument
206 return new String(bytes, "UTF-8"); in toStringUtf8()
[all …]
/external/libhevc/common/arm/
Dihevc_padding.s122 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/jetty/src/java/org/eclipse/jetty/server/
DHttpWriter.java139 int bytes=out._bytes.getCount(); in write() local
141 if (chars>buffer.length-bytes) in write()
142 chars=buffer.length-bytes; in write()
147 buffer[bytes++]=(byte)(c<256?c:'?'); // ISO-1 and UTF-8 match for 0 - 255 in write()
149 if (bytes>=0) in write()
150 out._bytes.setCount(bytes); in write()
158 int bytes=out._bytes.getCount(); in write() local
160 if (bytes+chars>buffer.length) in write()
161 chars=buffer.length-bytes; in write()
193 if (bytes>=buffer.length) in write()
[all …]
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java59 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/protobuf/java/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java42 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/guava/guava/src/com/google/common/hash/
DHashCode.java229 public static HashCode fromBytes(byte[] bytes) { in fromBytes() argument
230 checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte."); in fromBytes()
231 return fromBytesNoCopy(bytes.clone()); in fromBytes()
238 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() argument
239 return new BytesHashCode(bytes); in fromBytesNoCopy()
243 final byte[] bytes; field in HashCode.BytesHashCode
245 BytesHashCode(byte[] bytes) { in BytesHashCode() argument
246 this.bytes = checkNotNull(bytes); in BytesHashCode()
251 return bytes.length * 8; in bits()
256 return bytes.clone(); in asBytes()
[all …]
DMessageDigestHashFunction.java35 private final int bytes; field in MessageDigestHashFunction
41 this.bytes = prototype.getDigestLength(); in MessageDigestHashFunction()
46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() argument
50 checkArgument(bytes >= 4 && bytes <= maxLength, in MessageDigestHashFunction()
51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength); in MessageDigestHashFunction()
52 this.bytes = bytes; in MessageDigestHashFunction()
66 return bytes * Byte.SIZE; in bits()
84 return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); in newHasher()
89 return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes); in newHasher()
94 private final int bytes; field in MessageDigestHashFunction.SerializedForm
[all …]
/external/openssh/
Dhash.c35 unsigned long long bytes = inlen; in crypto_hash_sha512() local
49 padded[119] = bytes >> 61; in crypto_hash_sha512()
50 padded[120] = bytes >> 53; in crypto_hash_sha512()
51 padded[121] = bytes >> 45; in crypto_hash_sha512()
52 padded[122] = bytes >> 37; in crypto_hash_sha512()
53 padded[123] = bytes >> 29; in crypto_hash_sha512()
54 padded[124] = bytes >> 21; in crypto_hash_sha512()
55 padded[125] = bytes >> 13; in crypto_hash_sha512()
56 padded[126] = bytes >> 5; in crypto_hash_sha512()
57 padded[127] = bytes << 3; in crypto_hash_sha512()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java11 public static String fromUTF8ByteArray(byte[] bytes) in fromUTF8ByteArray() argument
16 while (i < bytes.length) in fromUTF8ByteArray()
19 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray()
25 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray()
29 else if ((bytes[i] & 0xc0) == 0xc0) in fromUTF8ByteArray()
44 while (i < bytes.length) in fromUTF8ByteArray()
48 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray()
50 …int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << … in fromUTF8ByteArray()
58 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray()
60 ch = (char)(((bytes[i] & 0x0f) << 12) in fromUTF8ByteArray()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DByteUtils.java227 byte[] bytes = new byte[8]; in convertToBytes()
229 bytes[7] = (byte) (n); in convertToBytes()
231 bytes[6] = (byte) (n); in convertToBytes()
233 bytes[5] = (byte) (n); in convertToBytes()
235 bytes[4] = (byte) (n); in convertToBytes()
237 bytes[3] = (byte) (n); in convertToBytes()
239 bytes[2] = (byte) (n); in convertToBytes()
241 bytes[1] = (byte) (n); in convertToBytes()
243 bytes[0] = (byte) (n); in convertToBytes()
245 return bytes; in convertToBytes()
[all …]
/external/valgrind/memcheck/tests/amd64/
Dsh-mem-vec256-plo-no.stderr.exp30 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 …]
Dsh-mem-vec256-plo-yes.stderr.exp30 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 …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Integer.java14 byte[] bytes; field in ASN1Integer
75 bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer()
81 bytes = value.toByteArray(); in ASN1Integer()
85 byte[] bytes) in ASN1Integer() argument
87 this(bytes, true); in ASN1Integer()
90 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument
92 this.bytes = (clone) ? Arrays.clone(bytes) : bytes; in ASN1Integer()
97 return new BigInteger(bytes); in getValue()
107 return new BigInteger(1, bytes); in getPositiveValue()
117 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length; in encodedLength()
[all …]
/external/libavc/common/arm/
Dih264_padding_neon.s94 @ Load 16 bytes
180 vst1.8 {q0}, [r4], r1 @ 16 bytes store
182 vst1.8 {q1}, [r4], r1 @ 16 bytes store
186 vst1.8 {q2}, [r4], r1 @ 16 bytes store
188 vst1.8 {q3}, [r4], r1 @ 16 bytes store
192 vst1.8 {q0}, [r4], r1 @ 16 bytes store
195 vst1.8 {q1}, [r4], r1 @ 16 bytes store
199 vst1.8 {q2}, [r4], r1 @ 16 bytes store
200 vst1.8 {q3}, [r4], r1 @ 16 bytes store
209 vst1.8 {q0}, [r4]! @ 16 bytes store
[all …]
/external/valgrind/gdbserver_tests/
Dmcleak.stderr.exp2 expecting details 10 bytes reachable
3 10 bytes in 1 blocks are still reachable in loss record ... of ...
8 expecting details +10 bytes lost, +21 bytes reachable
9 expecting details +65 bytes reachable
11 expecting details +10 bytes reachable
12 expecting details -10 bytes reachable, +10 bytes lost
13 expecting details -10 bytes lost, +10 bytes reachable
14 expecting details 32 (+32) bytes lost, 33 (-32) bytes reachable
16 leaked: 32 bytes in 1 blocks
17 dubious: 0 bytes in 0 blocks
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java82 private byte[] bytes; field in BytesTrie.State
96 state.bytes=bytes_; in saveState()
114 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
458 bytes=new byte[capacity];
472 public byte byteAt(int index) { return bytes[index]; }
480 System.arraycopy(bytes, 0, dest, destOffset, length);
487 return ByteBuffer.wrap(bytes, 0, length).asReadOnlyBuffer();
497 if(bytes.length<len) {
498 byte[] newBytes=new byte[Math.min(2*bytes.length, 2*len)];
499 System.arraycopy(bytes, 0, newBytes, 0, length);
[all …]
/external/bison/lib/
Dmbchar.h169 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 …]

12345678910>>...83