Home
last modified time | relevance | path

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

12345678910>>...62

/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/skia/fuzz/
Dfuzz.cpp106 sk_sp<SkData> bytes(SkData::MakeFromFileName(path)); in fuzz_file() local
187 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
196 static void fuzz_api(sk_sp<SkData> bytes) { in fuzz_api()
226 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img()
233 static void fuzz_img2(sk_sp<SkData> bytes) { in fuzz_img2()
238 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
487 static void fuzz_skp(sk_sp<SkData> bytes) { in fuzz_skp()
507 static void fuzz_skpipe(sk_sp<SkData> bytes) { in fuzz_skpipe()
522 static void fuzz_icc(sk_sp<SkData> bytes) { in fuzz_icc()
531 static void fuzz_color_deserialize(sk_sp<SkData> bytes) { in fuzz_color_deserialize()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dpoloutiltest.cc22 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; in TEST() local
28 uint8_t bytes[4] = {0x00, 0xBB, 0xCC, 0xDD}; in TEST() local
34 uint8_t* bytes; in TEST() local
45 uint8_t* bytes; in TEST() local
55 uint8_t* bytes; in TEST() local
65 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; in TEST() local
71 uint8_t bytes[4] = {0x00, 0xAA, 0xBB, 0x00}; in TEST() local
/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/skqp/fuzz/
Dfuzz.cpp104 sk_sp<SkData> bytes(SkData::MakeFromFileName(path)); in fuzz_file() local
177 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
186 static void fuzz_api(sk_sp<SkData> bytes) { in fuzz_api()
214 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
463 static void fuzz_skp(sk_sp<SkData> bytes) { in fuzz_skp()
483 static void fuzz_skpipe(sk_sp<SkData> bytes) { in fuzz_skpipe()
498 static void fuzz_icc(sk_sp<SkData> bytes) { in fuzz_icc()
507 static void fuzz_color_deserialize(sk_sp<SkData> bytes) { in fuzz_color_deserialize()
516 static void fuzz_path_deserialize(sk_sp<SkData> bytes) { in fuzz_path_deserialize()
532 static void fuzz_region_deserialize(sk_sp<SkData> bytes) { in fuzz_region_deserialize()
[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/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/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/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java57 static boolean validate(ByteBuffer bytes) { in validate()
80 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
96 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
108 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
123 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
148 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java53 static boolean validate(ByteBuffer bytes) { in validate()
76 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
92 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
104 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
119 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
144 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
/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/google-tv-pairing-protocol/cpp/src/polo/util/
Dpoloutil.cc22 const std::string PoloUtil::BytesToHexString(const uint8_t* bytes, in BytesToHexString()
34 uint8_t*& bytes) { in HexStringToBytes()
46 uint8_t*& bytes) { in IntToBigEndianBytes()
64 const uint8_t* bytes) { in BigEndianBytesToInt()
/external/swiftshader/src/Common/
DMemory.cpp66 inline void *allocateRaw(size_t bytes, size_t alignment) in allocateRaw()
83 void *allocate(size_t bytes, size_t alignment) in allocate()
106 void *allocateExecutable(size_t bytes) in allocateExecutable()
113 void markExecutable(void *memory, size_t bytes) in markExecutable()
123 void deallocateExecutable(void *memory, size_t bytes) in deallocateExecutable()
/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/libchrome/crypto/
Drandom_unittest.cc18 bool IsTrivial(const std::string& bytes) { in IsTrivial()
28 std::string bytes(16, '\0'); in TEST() local
/external/pcre/dist2/src/
Dpcre2_serialize.c76 uint8_t *bytes; in pcre2_serialize_encode() local
146 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode()
238 pcre2_serialize_get_number_of_codes(const uint8_t *bytes) in pcre2_serialize_get_number_of_codes()
256 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
DBytesResource.java9 private final byte[] bytes; field in BytesResource
11 public BytesResource(byte[] bytes) { in BytesResource()
/external/skia/fuzz/oss_fuzz/
DFuzzImage.cpp14 void FuzzImage(sk_sp<SkData> bytes) { in FuzzImage()
33 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
DFuzzRegionDeserialize.cpp14 bool FuzzRegionDeserialize(sk_sp<SkData> bytes) { in FuzzRegionDeserialize()
39 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
/external/skqp/fuzz/oss_fuzz/
DFuzzRegionDeserialize.cpp14 bool FuzzRegionDeserialize(sk_sp<SkData> bytes) { in FuzzRegionDeserialize()
39 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
/external/tpm2/
DTPMB.h14 #define TPM2B_TYPE(name, bytes) \ argument
27 #define TPM2B_BYTE_VALUE(bytes) TPM2B_TYPE(bytes##_BYTE_VALUE, bytes) argument
/external/apache-http/src/org/apache/commons/codec/net/
DURLCodec.java116 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) in encodeUrl()
159 public static final byte[] decodeUrl(byte[] bytes) in decodeUrl()
196 public byte[] encode(byte[] bytes) { in encode()
210 public byte[] decode(byte[] bytes) throws DecoderException { in decode()
/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()
87 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn()
131 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn()
176 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn()

12345678910>>...62