Home
last modified time | relevance | path

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

12345678910>>...37

/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/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/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/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/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/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/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/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()
DQuotedPrintableCodec.java141 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { in encodeQuotedPrintable()
178 public static final byte[] decodeQuotedPrintable(byte[] bytes) throws DecoderException { in decodeQuotedPrintable()
215 public byte[] encode(byte[] bytes) { in encode()
234 public byte[] decode(byte[] bytes) throws DecoderException { in decode()
/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()
DOutput.java95 public void write(ByteArray bytes); in write()
105 public void write(byte[] bytes, int offset, int length); in write()
113 public void write(byte[] bytes); in write()
/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/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/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/conscrypt/src/main/java/org/conscrypt/
DByteArray.java25 private final byte[] bytes; field in ByteArray
28 ByteArray(byte[] bytes) { in ByteArray()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java66 private void writeFile(String className, byte bytes[]) in writeFile()
85 private void add(String className, int classModifiers, byte bytes[]) in add()
95 private byte bytes[]; field in CoverageTest.CoverageTarget
98 public CoverageTarget(String className, int classModifiers, byte bytes[]) in CoverageTarget()
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
DBufferPerformanceBench.java242 public BufferedSource receive(byte[] bytes) throws IOException { in receive()
246 public BufferedSource transmit(byte[] bytes) throws IOException { in transmit()
277 protected Buffer receive(byte[] bytes, int maxChunkSize) throws IOException { in receive()
287 protected BufferedSource transmit(byte[] bytes, int maxChunkSize) throws IOException { in transmit()
292 private BufferedSource writeChunked(Buffer buffer, byte[] bytes, final int chunkSize) { in writeChunked()

12345678910>>...37