Home
last modified time | relevance | path

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

12345678910>>...227

/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.java54 static boolean validate(ByteBuffer bytes) { in validate() argument
56 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
60 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
67 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
70 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
71 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
77 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
81 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
86 byte c = bytes.get(start + length++); in startsWithPackageName()
87 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java58 static boolean validate(ByteBuffer bytes) { in validate() argument
60 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
64 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
71 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
74 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
75 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
81 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
85 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
90 byte c = bytes.get(start + length++); in startsWithPackageName()
91 if ((c != 'b' && c != 'l') || bytes.get(start + length) != '/') { in startsWithPackageName()
[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/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dmodule-stats.test5 ALL-NEXT: Stream 12, 308 bytes
7 ALL-NEXT: Total: 6 entries ( 204 bytes)
9 ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes)
10 ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes)
11 ALL-NEXT: S_END: 1 entries ( 4 bytes)
12 ALL-NEXT: S_OBJNAME: 1 entries ( 56 bytes)
13 ALL-NEXT: S_COMPILE3: 1 entries ( 60 bytes)
14 ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes)
16 ALL-NEXT: Total: 2 entries ( 88 bytes)
18 ALL-NEXT: DEBUG_S_FILECHKSMS: 1 entries ( 32 bytes)
[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/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReadableBuffers.java45 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/elfutils/libdw/
Ddwarf_next_cfi.c63 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/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 /*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/skqp/src/opts/
DSkChecksum_opts.h31 /*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/skia/fuzz/
DFuzzMain.cpp33 DEFINE_string2(bytes, b, "", "A path to a file or a directory. If a file, the "
74 static void fuzz_api(sk_sp<SkData> bytes, SkString name);
123 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
124 if (!bytes) { in fuzz_file()
140 fuzz_android_codec(bytes); in fuzz_file()
144 fuzz_animated_img(bytes); in fuzz_file()
148 fuzz_api(bytes, name); in fuzz_file()
152 fuzz_color_deserialize(bytes); in fuzz_file()
156 fuzz_filter_fuzz(bytes); in fuzz_file()
160 fuzz_image_decode(bytes); in fuzz_file()
[all …]
/external/v8/src/wasm/
Djump-table-assembler.cc48 void JumpTableAssembler::NopBytes(int bytes) { in NopBytes() argument
49 DCHECK_LE(0, bytes); in NopBytes()
50 Nop(bytes); in NopBytes()
64 void JumpTableAssembler::NopBytes(int bytes) {
65 DCHECK_LE(0, bytes);
66 Nop(bytes);
91 void JumpTableAssembler::NopBytes(int bytes) {
92 DCHECK_LE(0, bytes);
93 DCHECK_EQ(0, bytes % kInstrSize);
94 for (; bytes > 0; bytes -= kInstrSize) {
[all …]
/external/python/cpython3/Lib/
Dtelnetlib.py50 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Integer.java15 private final byte[] bytes; field in ASN1Integer
81 bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer()
92 bytes = value.toByteArray(); in ASN1Integer()
118 byte[] bytes) in ASN1Integer() argument
120 this(bytes, true); in ASN1Integer()
123 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument
128 if (isMalformed(bytes)) in ASN1Integer()
133 this.bytes = (clone) ? Arrays.clone(bytes) : bytes; in ASN1Integer()
142 static boolean isMalformed(byte[] bytes) in isMalformed() argument
144 if (bytes.length > 1) in isMalformed()
[all …]
/external/skqp/fuzz/
DFuzzMain.cpp37 DEFINE_string2(bytes, b, "", "A path to a file or a directory. If a file, the "
76 static void fuzz_api(sk_sp<SkData> bytes, SkString name);
126 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
127 if (!bytes) { in fuzz_file()
143 fuzz_android_codec(bytes); in fuzz_file()
147 fuzz_animated_img(bytes); in fuzz_file()
151 fuzz_api(bytes, name); in fuzz_file()
155 fuzz_color_deserialize(bytes); in fuzz_file()
159 fuzz_filter_fuzz(bytes); in fuzz_file()
163 fuzz_image_decode(bytes); in fuzz_file()
[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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1Integer.java18 private final byte[] bytes; field in ASN1Integer
84 bytes = BigInteger.valueOf(value).toByteArray(); in ASN1Integer()
97 bytes = value.toByteArray(); in ASN1Integer()
123 byte[] bytes) in ASN1Integer() argument
125 this(bytes, true); in ASN1Integer()
128 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer() argument
133 if (isMalformed(bytes)) in ASN1Integer()
138 this.bytes = (clone) ? Arrays.clone(bytes) : bytes; in ASN1Integer()
147 static boolean isMalformed(byte[] bytes) in isMalformed() argument
149 if (bytes.length > 1) in isMalformed()
[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/opencensus-java/api/src/main/java/io/opencensus/trace/
DTraceId.java51 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 …]
DSpanId.java50 private final byte[] bytes; field in SpanId
52 private SpanId(byte[] bytes) { in SpanId() argument
53 this.bytes = bytes; in SpanId()
93 byte[] bytes = new byte[SIZE]; in fromBytes()
94 System.arraycopy(src, srcOffset, bytes, 0, SIZE); in fromBytes()
95 return new SpanId(bytes); in fromBytes()
122 byte[] bytes = new byte[SIZE]; in generateRandomId()
124 random.nextBytes(bytes); in generateRandomId()
125 } while (Arrays.equals(bytes, INVALID.bytes)); in generateRandomId()
126 return new SpanId(bytes); in generateRandomId()
[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 …]
/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 …]

12345678910>>...227