Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 2027) sorted by relevance

12345678910>>...82

/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/
DAbstractEncoderTest.java68 assertEquals((byte) 0x9B, bytes[0]); in shallEncode32bit() local
69 assertEquals((byte) 0x00, bytes[1]); in shallEncode32bit() local
70 assertEquals((byte) 0x00, bytes[2]); in shallEncode32bit() local
71 assertEquals((byte) 0x00, bytes[3]); in shallEncode32bit() local
72 assertEquals((byte) 0x01, bytes[4]); in shallEncode32bit() local
73 assertEquals((byte) 0x00, bytes[5]); in shallEncode32bit() local
74 assertEquals((byte) 0x00, bytes[6]); in shallEncode32bit() local
75 assertEquals((byte) 0x00, bytes[7]); in shallEncode32bit() local
76 assertEquals((byte) 0x00, bytes[8]); in shallEncode32bit() local
/external/skia/fuzz/
DFuzzMain.cpp130 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
316 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json()
324 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json()
335 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
351 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api()
374 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img()
384 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode()
394 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental()
404 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec()
419 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
[all …]
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java183 public static String newString(byte[] bytes, String charsetName) { in newString()
204 public static String newStringIso8859_1(byte[] bytes) { in newStringIso8859_1()
218 public static String newStringUsAscii(byte[] bytes) { in newStringUsAscii()
232 public static String newStringUtf16(byte[] bytes) { in newStringUtf16()
246 public static String newStringUtf16Be(byte[] bytes) { in newStringUtf16Be()
260 public static String newStringUtf16Le(byte[] bytes) { in newStringUtf16Le()
274 public static String newStringUtf8(byte[] bytes) { in newStringUtf8()
/external/skqp/fuzz/
DFuzzMain.cpp126 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
292 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json()
300 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json()
311 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
327 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api()
350 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img()
360 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode()
370 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental()
380 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec()
395 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStreamReader.java291 final int bytes = input.readUInt32(); in readDoubleList() local
317 final int bytes = input.readUInt32(); in readDoubleList() local
349 final int bytes = input.readUInt32(); in readFloatList() local
375 final int bytes = input.readUInt32(); in readFloatList() local
407 final int bytes = input.readUInt32(); in readUInt64List() local
433 final int bytes = input.readUInt32(); in readUInt64List() local
465 final int bytes = input.readUInt32(); in readInt64List() local
491 final int bytes = input.readUInt32(); in readInt64List() local
523 final int bytes = input.readUInt32(); in readInt32List() local
549 final int bytes = input.readUInt32(); in readInt32List() local
[all …]
DBinaryReader.java318 ByteString bytes = in readBytes() local
368 final int bytes = readVarint32(); in readDoubleList() local
397 final int bytes = readVarint32(); in readDoubleList() local
432 final int bytes = readVarint32(); in readFloatList() local
461 final int bytes = readVarint32(); in readFloatList() local
496 final int bytes = readVarint32(); in readUInt64List() local
525 final int bytes = readVarint32(); in readUInt64List() local
560 final int bytes = readVarint32(); in readInt64List() local
589 final int bytes = readVarint32(); in readInt64List() local
624 final int bytes = readVarint32(); in readInt32List() local
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java120 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1); in testWriteEvent_string() local
132 int bytes = EventLog.writeEvent(TEST_TAG, (String) null); in testWriteEvent_nullString() local
144 int bytes = EventLog.writeEvent(TEST_TAG, TEST_INT); in testWriteEvent_int() local
157 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1, TEST_STRING2); in testWriteEvent_list() local
172 int bytes = EventLog.writeEvent(TEST_TAG, (Object[]) null); in testWriteEvent_nullList() local
185 int bytes = EventLog.writeEvent(TEST_TAG, TEST_FLOAT); in testWriteEvent_float() local
197 int bytes = EventLog.writeEvent(TEST_TAG, TEST_LONG); in testWriteEvent_long() local
/external/guava/android/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java40 private final int bytes; field in MessageDigestHashFunction
51 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction()
102 private final int bytes; field in MessageDigestHashFunction.SerializedForm
105 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm()
125 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher
128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
146 protected void update(ByteBuffer bytes) { in update()
DAbstractByteHasher.java66 private Hasher update(int bytes) { in update()
68 update(scratch.array(), 0, bytes); in update() local
82 public Hasher putBytes(byte[] bytes) { in putBytes()
89 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes()
96 public Hasher putBytes(ByteBuffer bytes) { in putBytes()
/external/guava/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java40 private final int bytes; field in MessageDigestHashFunction
51 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction()
102 private final int bytes; field in MessageDigestHashFunction.SerializedForm
105 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm()
125 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher
128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
146 protected void update(ByteBuffer bytes) { in update()
DAbstractByteHasher.java66 private Hasher update(int bytes) { in update()
68 update(scratch.array(), 0, bytes); in update() local
82 public Hasher putBytes(byte[] bytes) { in putBytes()
89 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes()
96 public Hasher putBytes(ByteBuffer bytes) { in putBytes()
/external/protobuf/csharp/src/Google.Protobuf/
DByteString.cs55 private readonly byte[] bytes; field in Google.Protobuf.ByteString
66 internal static ByteString FromBytes(byte[] bytes) in FromBytes()
75 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
84 private ByteString(byte[] bytes) in ByteString()
143 public static ByteString FromBase64(string bytes) in FromBase64()
206 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
214 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
227 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc20 const uint8_t bytes[64] = {0}; in TEST() local
42 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, 0x45, 0x67, 0x89}; in TEST() local
58 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, in TEST() local
93 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42}; in TEST() local
115 const uint8_t bytes[] = {0x4D, 0x32}; in TEST() local
141 uint8_t bytes[4] = {0}; in TEST() local
230 const uint8_t bytes[] = {0x00, 0xFF, 0xFF}; in TEST() local
248 uint8_t bytes[16] = {0}; in TEST() local
280 uint8_t bytes[16] = {0}; in TEST() local
303 uint8_t bytes[64] = {0}; in TEST() local
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DByteArr.java22 private byte[] bytes; field in ByteArr
27 public ByteArr(byte[] bytes) { in ByteArr()
39 public void setBytes(byte[] bytes) { in setBytes()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/crypto/
DAesFlushingCipherTest.java102 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
115 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
136 int bytes = 1 + random.nextInt(4095); in unAligned() local
148 int bytes = 1 + random.nextInt(4095); in unAligned() local
168 int bytes = 1 + random.nextInt(4095); in midJoin() local
187 int bytes = 1 + random.nextInt(4095); in midJoin() local
/external/v8/src/heap/
Dallocation-stats.h61 void IncreaseAllocatedBytes(size_t bytes, const BasicMemoryChunk* page) { in IncreaseAllocatedBytes()
72 void DecreaseAllocatedBytes(size_t bytes, const BasicMemoryChunk* page) { in DecreaseAllocatedBytes()
81 void DecreaseCapacity(size_t bytes) { in DecreaseCapacity()
87 void IncreaseCapacity(size_t bytes) { in IncreaseCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java58 static boolean validate(ByteBuffer bytes) { in validate()
81 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
97 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
109 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
124 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
149 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java54 static boolean validate(ByteBuffer bytes) { in validate()
77 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
93 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
105 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
120 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
145 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
/external/rust/crates/byteorder/benches/
Dbench.rs273 let mut bytes = vec![0; numbers.len() * size_of::<$numty>()]; localVariable
288 let mut bytes = vec![0; numbers.len() * size_of::<$numty>()]; localVariable
303 let mut bytes = vec![0; numbers.len() * size_of::<$numty>()]; localVariable
317 let mut bytes = vec![0; numbers.len() * size_of::<$numty>()]; localVariable
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java123 private byte[] toByteArray(int... bytes) { in toByteArray()
131 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8()
151 private void assertValidUtf8(int... bytes) { in assertValidUtf8()
157 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DStreamTracer.java83 public void outboundWireSize(long bytes) { in outboundWireSize()
91 public void outboundUncompressedSize(long bytes) { in outboundUncompressedSize()
99 public void inboundWireSize(long bytes) { in inboundWireSize()
107 public void inboundUncompressedSize(long bytes) { in inboundUncompressedSize()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSProcessableByteArray.java19 private final byte[] bytes; field in CMSProcessableByteArray
22 byte[] bytes) in CMSProcessableByteArray()
29 byte[] bytes) in CMSProcessableByteArray()
/external/sonic/
Dwave.c31 void *bytes, in writeBytes()
60 char bytes[4]; in writeInt() local
75 char bytes[2]; in writeShort() local
88 void *bytes, in readBytes()
100 void *bytes, in readExactBytes()
119 unsigned char bytes[4]; in readInt() local
134 unsigned char bytes[2]; in readShort() local
332 unsigned char bytes[WAVE_BUF_LEN]; in readFromWaveFile() local
356 unsigned char bytes[WAVE_BUF_LEN]; in writeToWaveFile() local
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipShort.java52 public ZipShort (final byte[] bytes) { in ZipShort()
61 public ZipShort (final byte[] bytes, final int offset) { in ZipShort()
112 public static int getValue(final byte[] bytes, final int offset) { in getValue()
121 public static int getValue(final byte[] bytes) { in getValue()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReadableBuffers.java45 public static ReadableBuffer wrap(byte[] bytes) { in wrap()
56 public static ReadableBuffer wrap(byte[] bytes, int offset, int length) { in wrap()
64 public static ReadableBuffer wrap(ByteBuffer bytes) { in wrap()
129 final byte[] bytes; field in ReadableBuffers.ByteArrayWrapper
131 ByteArrayWrapper(byte[] bytes) { in ByteArrayWrapper()
135 ByteArrayWrapper(byte[] bytes, int offset, int length) { in ByteArrayWrapper()
212 final ByteBuffer bytes; field in ReadableBuffers.ByteReadableBufferWrapper
214 ByteReadableBufferWrapper(ByteBuffer bytes) { in ByteReadableBufferWrapper()

12345678910>>...82