Home
last modified time | relevance | path

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

12345678910>>...49

/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/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/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/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/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/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/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.cpp75 void *allocate(size_t bytes, size_t alignment) in allocate()
92 void *allocateZero(size_t bytes, size_t alignment) in allocateZero()
115 void *allocateExecutable(size_t bytes) in allocateExecutable()
139 void markExecutable(void *memory, size_t bytes) in markExecutable()
149 void deallocateExecutable(void *memory, size_t bytes) in deallocateExecutable()
/external/skia/fuzz/
Dfuzz.cpp89 sk_sp<SkData> bytes(SkData::MakeFromFileName(path)); in fuzz_file() local
149 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
158 static void fuzz_api(sk_sp<SkData> bytes) { in fuzz_api()
186 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
455 static void fuzz_skp(sk_sp<SkData> bytes) { in fuzz_skp()
475 static void fuzz_icc(sk_sp<SkData> bytes) { in fuzz_icc()
484 static void fuzz_color_deserialize(sk_sp<SkData> bytes) { in fuzz_color_deserialize()
493 static void fuzz_path_deserialize(sk_sp<SkData> bytes) { in fuzz_path_deserialize()
504 static void fuzz_region_deserialize(sk_sp<SkData> bytes) { in fuzz_region_deserialize()
524 static void fuzz_filter_fuzz(sk_sp<SkData> bytes) { in fuzz_filter_fuzz()
[all …]
/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.cc16 bool IsTrivial(const std::string& bytes) { in IsTrivial()
26 std::string bytes(16, '\0'); in TEST() local
/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/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/openssh/
Dbuffer.c81 buffer_consume_ret(Buffer *buffer, u_int bytes) in buffer_consume_ret()
93 buffer_consume(Buffer *buffer, u_int bytes) in buffer_consume()
100 buffer_consume_end_ret(Buffer *buffer, u_int bytes) in buffer_consume_end_ret()
112 buffer_consume_end(Buffer *buffer, u_int bytes) in buffer_consume_end()
/external/tpm2/
DTPMB.h14 #define TPM2B_TYPE(name, bytes) \ argument
27 #define TPM2B_BYTE_VALUE(bytes) TPM2B_TYPE(bytes##_BYTE_VALUE, bytes) argument
/external/conscrypt/common/src/main/java/org/conscrypt/
DByteArray.java25 private final byte[] bytes; field in ByteArray
28 ByteArray(byte[] bytes) { in ByteArray()
/external/webrtc/webrtc/modules/audio_processing/test/
Dprotobuf_utils.cc15 size_t ReadMessageBytesFromFile(FILE* file, rtc::scoped_ptr<uint8_t[]>* bytes) { in ReadMessageBytesFromFile()
33 rtc::scoped_ptr<uint8_t[]> bytes; in ReadMessageFromFile() local
/external/apache-http/android/src/com/android/internal/http/multipart/
DByteArrayPartSource.java50 private byte[] bytes; field in ByteArrayPartSource
58 public ByteArrayPartSource(String fileName, byte[] bytes) { in ByteArrayPartSource()
/external/curl/docs/examples/
Dsampleconv.c48 size_t bytes = length; in my_conv_from_ascii_to_ebcdic() local
63 size_t bytes = length; in my_conv_from_ebcdic_to_ascii() local
78 size_t bytes = length; in my_conv_from_utf8_to_ebcdic() local
/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()

12345678910>>...49