Home
last modified time | relevance | path

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

12345678910>>...77

/external/skia/fuzz/
DFuzzMain.cpp123 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
298 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json()
306 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json()
317 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
333 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api()
356 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img()
366 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode()
376 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental()
386 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec()
401 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
[all …]
/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/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/epid-sdk/epid/common-testhelper/
Dffelement_wrapper-testhelper.cc82 FfElementObj::FfElementObj(FiniteFieldObj* ff, FpElemStr const& bytes) in FfElementObj()
87 FfElementObj::FfElementObj(FiniteFieldObj* ff, FqElemStr const& bytes) in FfElementObj()
92 FfElementObj::FfElementObj(FiniteFieldObj* ff, Fq2ElemStr const& bytes) in FfElementObj()
97 FfElementObj::FfElementObj(FiniteFieldObj* ff, Fq3ElemStr const& bytes) in FfElementObj()
102 FfElementObj::FfElementObj(FiniteFieldObj* ff, Fq6ElemStr const& bytes) in FfElementObj()
107 FfElementObj::FfElementObj(FiniteFieldObj* ff, Fq12ElemStr const& bytes) in FfElementObj()
113 std::vector<unsigned char> const& bytes) in FfElementObj()
118 FfElementObj::FfElementObj(FiniteFieldObj* ff, void const* bytes, size_t size) in FfElementObj()
123 void FfElementObj::init(FiniteFieldObj* ff, unsigned char const* bytes, in init()
Decpoint_wrapper-testhelper.cc79 EcPointObj::EcPointObj(EcGroupObj* group, G1ElemStr const& bytes) in EcPointObj()
84 EcPointObj::EcPointObj(EcGroupObj* group, G2ElemStr const& bytes) in EcPointObj()
89 EcPointObj::EcPointObj(EcGroupObj* group, Epid11G2ElemStr const& bytes) in EcPointObj()
95 std::vector<unsigned char> const& bytes) in EcPointObj()
100 EcPointObj::EcPointObj(EcGroupObj* group, void const* bytes, size_t size) in EcPointObj()
105 void EcPointObj::init(EcGroupObj* group, unsigned char const* bytes, in init()
/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()
68 internal static byte[] GetBuffer(ByteString bytes) in GetBuffer()
77 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
86 private ByteString(byte[] bytes) in ByteString()
137 public static ByteString FromBase64(string bytes) in FromBase64()
151 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
159 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
/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/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/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/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/guava/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java35 private final int bytes; field in MessageDigestHashFunction
46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction()
94 private final int bytes; field in MessageDigestHashFunction.SerializedForm
97 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm()
120 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher
123 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
DAbstractByteHasher.java68 public Hasher putBytes(byte[] bytes) { in putBytes()
75 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes()
84 private Hasher update(int bytes) { in update()
86 update(scratch.array(), 0, bytes); in update() local
/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/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/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java135 private byte[] toByteArray(int... bytes) { in toByteArray()
143 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8()
162 private void assertValidUtf8(int... bytes) { in assertValidUtf8()
168 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
/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/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/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()
/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()
DZipEightByteInteger.java90 public ZipEightByteInteger (final byte[] bytes) { in ZipEightByteInteger()
99 public ZipEightByteInteger (final byte[] bytes, final int offset) { in ZipEightByteInteger()
165 public static long getLongValue(final byte[] bytes, final int offset) { in getLongValue()
176 public static BigInteger getValue(final byte[] bytes, final int offset) { in getValue()
195 public static long getLongValue(final byte[] bytes) { in getLongValue()
204 public static BigInteger getValue(final byte[] bytes) { in getValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Integer.java15 private final byte[] bytes; field in ASN1Integer
118 byte[] bytes) in ASN1Integer()
123 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer()
142 static boolean isMalformed(byte[] bytes) in isMalformed()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1Integer.java18 private final byte[] bytes; field in ASN1Integer
123 byte[] bytes) in ASN1Integer()
128 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer()
147 static boolean isMalformed(byte[] bytes) in isMalformed()
/external/v8/src/
Dsource-position-table.cc50 void EncodeInt(std::vector<byte>& bytes, T value) { in EncodeInt()
67 void EncodeEntry(std::vector<byte>& bytes, const PositionTableEntry& entry) { in EncodeEntry()
78 T DecodeInt(Vector<const byte> bytes, int* index) { in DecodeInt()
96 void DecodeEntry(Vector<const byte> bytes, int* index, in DecodeEntry()
206 Vector<const byte> bytes) in SourcePositionTableIterator()
214 Vector<const byte> bytes = in Advance() local
/external/opencensus-java/api/src/main/java/io/opencensus/trace/propagation/
DBinaryFormat.java106 public SpanContext fromBinaryValue(byte[] bytes) throws ParseException { in fromBinaryValue()
123 public SpanContext fromByteArray(byte[] bytes) throws SpanContextParseException { in fromByteArray()
149 public SpanContext fromByteArray(byte[] bytes) { in fromByteArray()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DConstantInteger.java35 private int bytes; field in ConstantInteger
41 public ConstantInteger(final int bytes) { in ConstantInteger()
103 public final void setBytes( final int bytes ) { in setBytes()

12345678910>>...77