Home
last modified time | relevance | path

Searched refs:coder (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java321 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholeMessage() local
322 message.writeTo(coder.stream()); in testWriteWholeMessage()
323 coder.stream().flush(); in testWriteWholeMessage()
324 byte[] rawBytes = coder.toByteArray(); in testWriteWholeMessage()
330 Coder coder = OutputType.STREAM.newCoder(blockSize); in testWriteWholeMessage() local
331 message.writeTo(coder.stream()); in testWriteWholeMessage()
332 coder.stream().flush(); in testWriteWholeMessage()
333 assertEqualBytes(OutputType.STREAM, expectedBytes, coder.toByteArray()); in testWriteWholeMessage()
346 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholePackedFieldsMessage() local
347 message.writeTo(coder.stream()); in testWriteWholePackedFieldsMessage()
[all …]
/frameworks/base/core/java/android/util/
DBase64InputStream.java28 private final Base64.Coder coder; field in Base64InputStream
66 coder = new Base64.Encoder(flags, null); in Base64InputStream()
68 coder = new Base64.Decoder(flags, null); in Base64InputStream()
70 coder.output = new byte[coder.maxOutputSize(BUFFER_SIZE)]; in Base64InputStream()
115 return coder.output[outputStart++] & 0xff; in read()
127 System.arraycopy(coder.output, outputStart, b, off, bytes); in read()
143 success = coder.process(EMPTY, 0, 0, true); in refill()
145 success = coder.process(inputBuffer, 0, bytesRead, false); in refill()
150 outputEnd = coder.op; in refill()
DBase64OutputStream.java29 private final Base64.Coder coder; field in Base64OutputStream
66 coder = new Base64.Encoder(flags, null); in Base64OutputStream()
68 coder = new Base64.Decoder(flags, null); in Base64OutputStream()
141 coder.output = embiggen(coder.output, coder.maxOutputSize(len)); in internalWrite()
142 if (!coder.process(b, off, len, finish)) { in internalWrite()
145 out.write(coder.output, 0, coder.op); in internalWrite()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmain.h28 void coder(
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c151 void coder( in coder() function
1585 coder(&coding_mode, signal, prms, &nb_bits, gData, allow_dtx); in AMR_Enc_Encode()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76704 Landroid/util/Base64InputStream;->coder:Landroid/util/Base64$Coder;
76713 Landroid/util/Base64OutputStream;->coder:Landroid/util/Base64$Coder;