Home
last modified time | relevance | path

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

12345678910>>...151

/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/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java57 static boolean validate(ByteBuffer bytes) { in validate() argument
59 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
63 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
70 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
73 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
74 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
80 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
84 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
89 byte c = bytes.get(start + length++); in startsWithPackageName()
90 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java53 static boolean validate(ByteBuffer bytes) { in validate() argument
55 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
59 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
66 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
69 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
70 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
76 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
80 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
85 byte c = bytes.get(start + length++); in startsWithPackageName()
86 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName()
[all …]
/external/valgrind/memcheck/tests/
Dleak_cpp_interior.stderr.exp-solaris4 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: 197 bytes in 8 blocks
14 stdstring : 90 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_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.exp-64bit-solaris4 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: 273 bytes in 8 blocks
14 stdstring : 114 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: 201,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: 200,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/protobuf/csharp/src/Google.Protobuf/
DByteString.cs48 private readonly byte[] bytes; field in Google.Protobuf.ByteString
59 internal static ByteString FromBytes(byte[] bytes) in FromBytes() argument
61 return new ByteString(bytes); in FromBytes()
68 internal static byte[] GetBuffer(ByteString bytes) in GetBuffer() argument
70 return bytes.bytes; in GetBuffer()
77 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() argument
79 return new ByteString(bytes); in AttachBytes()
86 private ByteString(byte[] bytes) in ByteString() argument
88 this.bytes = bytes; in ByteString()
104 get { return bytes.Length; }
[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/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/skia/src/opts/
DSkChecksum_opts.h31 static 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/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/javamicro/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Integer.java14 private final 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 if (bytes.length > 1) in ASN1Integer()
94 if (bytes[0] == 0 && (bytes[1] & 0x80) == 0) in ASN1Integer()
98 if (bytes[0] == (byte)0xff && (bytes[1] & 0x80) != 0) in ASN1Integer()
103 this.bytes = (clone) ? Arrays.clone(bytes) : bytes; in ASN1Integer()
[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/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.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/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/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 …]

12345678910>>...151