Home
last modified time | relevance | path

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

12345678910>>...46

/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/java/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java127 private byte[] toByteArray(int... bytes) { in toByteArray()
135 private ByteString toByteString(int... bytes) { in toByteString()
139 private void assertValidUtf8(int[] bytes, boolean not) { in assertValidUtf8()
159 private void assertValidUtf8(int... bytes) { in assertValidUtf8()
163 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
/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/src/main/java/com/google/protobuf/
DUtf8.java108 public static boolean isValidUtf8(byte[] bytes) { in isValidUtf8()
121 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
144 int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
249 byte[] bytes, int index, int limit) { in partialIsValidUtf8()
261 byte[] bytes, int index, int limit) { in partialIsValidUtf8NonAscii()
340 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor()
DInternal.java76 public static String stringDefaultValue(String bytes) { in stringDefaultValue()
95 public static ByteString bytesDefaultValue(String bytes) { in bytesDefaultValue()
111 public static byte[] byteArrayDefaultValue(String bytes) { in byteArrayDefaultValue()
128 public static ByteBuffer byteBufferDefaultValue(String bytes) { in byteBufferDefaultValue()
204 public static String toStringUtf8(byte[] bytes) { in toStringUtf8()
299 public static int hashCode(byte[] bytes) { in hashCode()
355 public static int hashCodeByteBuffer(ByteBuffer bytes) { in hashCodeByteBuffer()
/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/jetty/src/java/org/eclipse/jetty/io/
DNetworkTrafficListener.java55 public void incoming(Socket socket, Buffer bytes); in incoming()
64 public void outgoing(Socket socket, Buffer bytes); in outgoing()
87 public void incoming(Socket socket, Buffer bytes) in incoming()
91 public void outgoing(Socket socket, Buffer bytes) in outgoing()
/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.java51 static boolean validate(ByteBuffer bytes) { in validate()
74 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
90 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
102 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
117 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
142 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java55 static boolean validate(ByteBuffer bytes) { in validate()
78 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName()
94 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData()
106 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder()
121 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch()
146 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
/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/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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java82 private byte[] bytes; field in BytesTrie.State
403 assert(node<kMinValueLead); in getNextBytes()
408 node=bytes_[pos++]&0xff; in getNextBytes() argument
709 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
737 private static int skipValue(byte[] bytes, int pos) { in skipValue()
743 private static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
762 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
925 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
960 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java78 private byte[] bytes; field in BytesTrie.State
382 assert(node<kMinValueLead); in getNextBytes()
387 node=bytes_[pos++]&0xff; in getNextBytes() argument
674 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
702 private static int skipValue(byte[] bytes, int pos) { in skipValue()
708 private static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
727 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
890 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
925 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/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/libchrome/crypto/
Drandom_unittest.cc16 bool IsTrivial(const std::string& bytes) { in IsTrivial()
26 std::string bytes(16, '\0'); in TEST() local
/external/dexmaker/src/dx/java/com/android/dx/util/
DByteArrayByteInput.java21 private final byte[] bytes; field in ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) { in ByteArrayByteInput()
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java42 private final byte[] bytes; field in ByteStringMicro
44 private ByteStringMicro(final byte[] bytes) { in ByteStringMicro()
82 public static ByteStringMicro copyFrom(final byte[] bytes, final int offset, in copyFrom()
92 public static ByteStringMicro copyFrom(final byte[] bytes) { in copyFrom()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1OutputStream.java52 void write(byte[] bytes) in write()
58 void write(byte[] bytes, int off, int len) in write()
66 byte[] bytes) in writeEncoded()
107 void writeEncoded(int flags, int tagNo, byte[] bytes) in writeEncoded()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java87 byte[] bytes; field in Pipeline.Buffer
93 public Buffer(byte[] bytes, int length) { in Buffer()
131 public void write(byte[] bytes, int start, int length) throws IOException { in write()
142 public void write(byte[] bytes) throws IOException { in write()
/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

12345678910>>...46