Home
last modified time | relevance | path

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

12345678910>>...121

/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk6-compilation.txt1 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 …]
Djdk7-compilation.txt1 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/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/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java55 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/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/webrtc/webrtc/base/
Dstream_unittest.cc78 size_t bytes; in SeekTest() local
82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
83 EXPECT_EQ(bytes, kBufSize); in SeekTest()
85 EXPECT_TRUE(stream->GetPosition(&bytes)); in SeekTest()
86 EXPECT_EQ(13U, bytes); in SeekTest()
90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
91 EXPECT_EQ(bytes, kBufSize); in SeekTest()
93 EXPECT_TRUE(stream->GetPosition(&bytes)); in SeekTest()
94 EXPECT_EQ(20U, bytes); in SeekTest()
103 size_t bytes; in TEST() local
[all …]
Dbufferqueue_unittest.cc20 size_t bytes; in TEST() local
26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
30 EXPECT_EQ(kSize, bytes); in TEST()
34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
39 EXPECT_EQ(kSize, bytes); in TEST()
43 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
47 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
48 EXPECT_EQ(kSize, bytes); in TEST()
[all …]
/external/elfutils/libdw/
Ddwarf_next_cfi.c62 const uint8_t *bytes = data->d_buf + off; in dwarf_next_cfi() local
68 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
74 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi()
80 length = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
82 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi()
92 limit = bytes + length; in dwarf_next_cfi()
94 const uint8_t *const cie_pointer_start = bytes; in dwarf_next_cfi()
96 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
99 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); in dwarf_next_cfi()
124 uint8_t version = *bytes++; in dwarf_next_cfi()
[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.java244 public static HashCode fromBytes(byte[] bytes) { in fromBytes() argument
245 checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte."); in fromBytes()
246 return fromBytesNoCopy(bytes.clone()); in fromBytes()
253 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() argument
254 return new BytesHashCode(bytes); in fromBytesNoCopy()
258 final byte[] bytes; field in HashCode.BytesHashCode
260 BytesHashCode(byte[] bytes) { in BytesHashCode() argument
261 this.bytes = checkNotNull(bytes); in BytesHashCode()
266 return bytes.length * 8; in bits()
271 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/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 …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java46 public static String fromUTF8ByteArray(byte[] bytes) in fromUTF8ByteArray() argument
51 while (i < bytes.length) in fromUTF8ByteArray()
54 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray()
60 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray()
64 else if ((bytes[i] & 0xc0) == 0xc0) in fromUTF8ByteArray()
79 while (i < bytes.length) in fromUTF8ByteArray()
83 if ((bytes[i] & 0xf0) == 0xf0) in fromUTF8ByteArray()
85 …int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i + 1] & 0x3F) << 12) | ((bytes[i + 2] & 0x3F)… in fromUTF8ByteArray()
93 else if ((bytes[i] & 0xe0) == 0xe0) in fromUTF8ByteArray()
95 ch = (char)(((bytes[i] & 0x0f) << 12) in fromUTF8ByteArray()
[all …]
/external/tcpdump/tests/
Dcdp-v.out2 Device-ID (0x01), value length: 6 bytes: 'Switch'
3 Version String (0x05), value length: 192 bytes:
7 Platform (0x06), value length: 20 bytes: 'cisco WS-C3560G-24PS'
8 Address (0x02), value length: 13 bytes: IPv4 (1) 192.168.0.1
9 Port-ID (0x03), value length: 18 bytes: 'GigabitEthernet0/5'
10 Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping
11 Protocol-Hello option (0x08), value length: 32 bytes:
12 VTP Management Domain (0x09), value length: 3 bytes: 'Lab'
13 Native VLAN ID (0x0a), value length: 2 bytes: 1
17 Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 192.168.0.1
[all …]
/external/c-ares/
Dares_gethostbyaddr.c285 unsigned char *bytes = (unsigned char *)&addr->addrV6; in ptr_rr_name() local
290 bytes[15]&0xf, bytes[15] >> 4, bytes[14]&0xf, bytes[14] >> 4, in ptr_rr_name()
291 bytes[13]&0xf, bytes[13] >> 4, bytes[12]&0xf, bytes[12] >> 4, in ptr_rr_name()
292 bytes[11]&0xf, bytes[11] >> 4, bytes[10]&0xf, bytes[10] >> 4, in ptr_rr_name()
293 bytes[9]&0xf, bytes[9] >> 4, bytes[8]&0xf, bytes[8] >> 4); in ptr_rr_name()
296 bytes[7]&0xf, bytes[7] >> 4, bytes[6]&0xf, bytes[6] >> 4, in ptr_rr_name()
297 bytes[5]&0xf, bytes[5] >> 4, bytes[4]&0xf, bytes[4] >> 4, in ptr_rr_name()
298 bytes[3]&0xf, bytes[3] >> 4, bytes[2]&0xf, bytes[2] >> 4, in ptr_rr_name()
299 bytes[1]&0xf, bytes[1] >> 4, bytes[0]&0xf, bytes[0] >> 4); in ptr_rr_name()
/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 …]

12345678910>>...121