/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
DataBuffer.java | 9 private final OptimizedByteArrayOutputStream outStream; 17 outStream = (OptimizedByteArrayOutputStream)out; 22 return outStream.getBuffer(); 26 return outStream.toByteArray();
|
/libcore/ojluni/src/main/java/sun/misc/ |
BASE64Encoder.java | 82 protected void encodeAtom(OutputStream outStream, byte data[], int offset, int len) 90 outStream.write(pem_array[(a >>> 2) & 0x3F]); 91 outStream.write(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]); 92 outStream.write('='); 93 outStream.write('='); 98 outStream.write(pem_array[(a >>> 2) & 0x3F]); 99 outStream.write(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]); 100 outStream.write(pem_array[((b << 2) & 0x3c) + ((c >>> 6) & 0x3)]); 101 outStream.write('='); 106 outStream.write(pem_array[(a >>> 2) & 0x3F]) [all...] |
CharacterEncoder.java | 141 public void encode(InputStream inStream, OutputStream outStream) 147 encodeBufferPrefix(outStream); 154 encodeLinePrefix(outStream, numBytes); 158 encodeAtom(outStream, tmpbuffer, j, bytesPerAtom()); 160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j); 166 encodeLineSuffix(outStream); 169 encodeBufferSuffix(outStream); 187 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); 191 encode(inStream, outStream); 193 retVal = outStream.toString("8859_1") [all...] |
BASE64Decoder.java | 105 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) 148 outStream.write( (byte)(((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); 151 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); 152 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); 155 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); 156 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); 157 outStream.write( (byte) (((c << 6) & 0xc0) | (d & 0x3f)) );
|
CharacterDecoder.java | 189 ByteArrayOutputStream outStream; 193 outStream = new ByteArrayOutputStream(); 194 decodeBuffer(inStream, outStream); 195 return (outStream.toByteArray()); 202 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); 203 decodeBuffer(in, outStream); 204 return (outStream.toByteArray());
|
/external/lzma/CPP/7zip/UI/Console/ |
UserInputUtils.h | 21 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream);
22 UString GetPassword(CStdOutStream *outStream);
|
UserInputUtils.cpp | 23 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream)
25 (*outStream) << kFirstQuestionMessage;
28 (*outStream) << kHelpQuestionMessage;
29 outStream->Flush();
51 UString GetPassword(CStdOutStream *outStream)
53 (*outStream) << "\nEnter password"
58 outStream->Flush();
70 (*outStream) << "\n";
71 outStream->Flush();
|
UpdateCallbackConsole.h | 18 CStdOutStream *OutStream;
31 void Init(CStdOutStream *outStream)
35 OutStream = outStream;
36 m_PercentPrinter.OutStream = outStream;
65 void Init(CStdOutStream *outStream)
69 CCallbackConsoleBase::Init(outStream);
|
/external/lzma/CPP/7zip/Archive/Common/ |
DummyOutStream.h | 17 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; }
|
/external/lzma/CPP/7zip/Compress/ |
CopyCoder.cpp | 21 ISequentialOutStream *outStream,
41 if (outStream)
43 RINOK(WriteStream(outStream, _buffer, size));
60 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress)
63 return copyCoder->Code(inStream, outStream, NULL, NULL, progress);
66 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64 size, ICompressProgressInfo *progress)
70 RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress));
|
CopyCoder.h | 25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
31 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64 size, ICompressProgressInfo *progress);
|
Lzma2Encoder.h | 25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
28 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
|
LzmaEncoder.h | 26 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
29 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
|
PpmdEncoder.h | 47 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
50 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
BitwiseStreamsTest.java | 37 BitwiseOutputStream outStream = new BitwiseOutputStream(30); 38 outStream.skip(offset); 39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); 40 byte[] outBuf = outStream.toByteArray(); 52 BitwiseOutputStream outStream = new BitwiseOutputStream(30); 53 outStream.skip(offset); 54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 66 BitwiseOutputStream outStream = new BitwiseOutputStream(30); 67 outStream.skip(offset) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsHeader.java | 211 ByteArrayOutputStream outStream = 216 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); 217 outStream.write(3); 218 outStream.write(concatRef.refNumber); 220 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); 221 outStream.write(4); 222 outStream.write(concatRef.refNumber >>> 8); 223 outStream.write(concatRef.refNumber & 0x00FF); 225 outStream.write(concatRef.msgCount); 226 outStream.write(concatRef.seqNumber) [all...] |
/external/lzma/C/ |
XzEnc.h | 32 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
35 SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
|
/external/skia/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 40 SkDynamicMemoryWStream outStream; 43 picture->serialize(&outStream, serializer); 45 SkAutoTUnref<SkData> data(outStream.copyToData());
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_hook.h | 37 OutputStreamWrapper *outStream; 41 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream);
|
jpeg_hook.cpp | 26 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); 27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); 32 int32_t len = dst->outStream->getBufferSize(); 33 if (dst->outStream->write(len, 0) != J_SUCCESS) { 36 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); 43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; 44 if (dst->outStream->write(remaining, 0) != J_SUCCESS) { 49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { 67 d->outStream = new OutputStreamWrapper(); 68 if(d->outStream->init(env, outStream)) [all...] |
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,
89 if (outStream)
90 if (outStream->Write(outStream, outBuf, outPos) != outPos)
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream)
129 res = Decode2(&state, outStream, inStream, unpackSize);
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs)
158 if (outStream->Write(outStream, header, headerSize) != headerSize)
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 446 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) 449 outStream.write(8, 3); 450 outStream.write(4, bData.messageType); 451 outStream.write(8, bData.messageId >> 8); 452 outStream.write(8, bData.messageId); 453 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); 454 outStream.skip(3); 503 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length()); 509 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); 514 outStream.write(7, charCode) [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStoreTest.java | 140 ByteArrayOutputStream outStream = null; 145 outStream = new ByteArrayOutputStream(); 146 mGestureStore.save(outStream); 149 inStream = new ByteArrayInputStream(outStream.toByteArray()); 162 if (outStream != null) { 163 outStream.close();
|
/external/skia/tests/ |
AnnotationTest.cpp | 44 SkDynamicMemoryWStream outStream; 45 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); 55 SkAutoDataUnref out(outStream.copyToData()); 63 SkDynamicMemoryWStream outStream; 64 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); 73 SkAutoDataUnref out(outStream.copyToData());
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
DownloadRequest.java | 86 ParcelFileDescriptor.AutoCloseOutputStream outStream = null; 90 outStream = new ParcelFileDescriptor.AutoCloseOutputStream(pduFd); 91 outStream.write(pdu); 97 if (outStream != null) { 99 outStream.close();
|