HomeSort by relevance Sort by last modified time
    Searched defs:inStream (Results 1 - 25 of 520) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Gallery2/jni_jpegstream/src/
jpeg_hook.h 60 InputStreamWrapper *inStream;
64 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream);
  /cts/tests/tests/security/src/android/security/cts/
BitmapFactoryDecodeStreamTest.java 37 InputStream inStream = new BufferedInputStream(mContext.getResources().openRawResource(
39 BitmapFactory.decodeStream(inStream);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DictDecoder.java 145 FileInputStream inStream = null;
148 inStream = new FileInputStream(file);
149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY,
152 if (inStream != null) {
153 inStream.close();
174 FileInputStream inStream = null;
176 inStream = new FileInputStream(file);
178 inStream.read(array);
181 if (inStream != null) {
182 inStream.close()
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
ArchiveOpenCallback.cpp 81 STDMETHODIMP COpenCallbackImp::GetStream(const wchar_t *name, IInStream **inStream)
84 *inStream = NULL;
132 *inStream = inStreamTemp.Detach();
HashCalc.cpp 261 CMyComPtr<ISequentialInStream> inStream;
267 inStream = new CStdInFileStream;
272 inStream = inStreamSpec;
301 RINOK(inStream->Read(buf, kBufSize, &size));
UpdateCallback.cpp 433 STDMETHODIMP CArchiveUpdateCallback::GetStream2(UInt32 index, ISequentialInStream **inStream, UInt32 mode)
436 *inStream = NULL;
463 *inStream = inStreamLoc.Detach();
481 *inStream = inStreamLoc.Detach();
543 *inStream = inStreamLoc.Detach();
557 STDMETHODIMP CArchiveUpdateCallback::GetStream(UInt32 index, ISequentialInStream **inStream)
560 return GetStream2(index, inStream,
  /libcore/ojluni/src/main/java/sun/misc/
CharacterDecoder.java 188 ByteArrayInputStream inStream;
192 inStream = new ByteArrayInputStream(inputBuffer);
194 decodeBuffer(inStream, outStream);
CharacterEncoder.java 141 public void encode(InputStream inStream, OutputStream outStream)
150 numBytes = readFully(inStream, tmpbuffer);
178 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer);
179 encode(inStream, aStream);
188 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer);
191 encode(inStream, outStream);
276 public void encodeBuffer(InputStream inStream, OutputStream outStream)
285 numBytes = readFully(inStream, tmpbuffer);
311 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer);
312 encodeBuffer(inStream, aStream)
    [all...]
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStoreTest.java 141 ByteArrayInputStream inStream = null;
149 inStream = new ByteArrayInputStream(outStream.toByteArray());
151 loadStore.load(inStream);
159 if (inStream != null) {
160 inStream.close();
  /external/lzma/Java/SevenZip/
LzmaAlone.java 195 java.io.BufferedInputStream inStream = new java.io.BufferedInputStream(new java.io.FileInputStream(inFile));
223 encoder.Code(inStream, outStream, -1, -1, null);
229 if (inStream.read(properties, 0, propertiesSize) != propertiesSize)
237 int v = inStream.read();
242 if (!decoder.Code(inStream, outStream, outSize))
247 inStream.close();
LzmaBench.java 333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize);
343 inStream.reset();
345 encoder.Code(inStream, compressedStream, -1, -1, progressInfo);
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLX509CertPath.java 144 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException {
145 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream, true);
147 final boolean markable = inStream.markSupported();
149 inStream.mark(PUSHBACK_SIZE);
158 inStream.reset();
187 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException {
189 if (inStream == null || inStream.available() == 0) {
196 final boolean markable = inStream.markSupported();
198 inStream.mark(PUSHBACK_SIZE)
    [all...]
OpenSSLX509CertificateFactory.java 71 T generateItem(InputStream inStream) throws ParsingException {
72 if (inStream == null) {
73 throw new ParsingException("inStream == null");
76 final boolean markable = inStream.markSupported();
78 inStream.mark(PKCS7_MARKER.length);
81 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE);
88 throw new ParsingException("inStream is empty");
117 inStream.reset();
125 Collection<? extends T> generateItems(InputStream inStream)
127 if (inStream == null)
    [all...]
  /frameworks/base/core/tests/utiltests/src/com/android/internal/util/
BitwiseStreamsTest.java 41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf);
43 inStream.skip(offset);
44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
56 inStream.skip(offset);
58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
70 inStream.skip(offset);
72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray())
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 29 ByteArrayInputStream inStream;
42 DigestInputStream dis = new DigestInputStream(inStream, digest);
52 DigestInputStream dis = new DigestInputStream(inStream, digest);
64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest);
77 dis = new DigestInputStream(inStream, digest);
94 DigestInputStream dis = new DigestInputStream(inStream, digest);
96 // read and compare the data that the inStream has
110 DigestInputStream dis = new DigestInputStream(inStream, digest);
111 int bytesToRead = inStream.available();
117 // read and compare the data that the inStream ha
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
ClipStorageReader.java 48 FileInputStream inStream = new FileInputStream(file);
49 mScanner = new Scanner(inStream);
60 FileLock lock = inStream.getChannel().lock(0L, Long.MAX_VALUE, true);
  /frameworks/base/telephony/java/com/android/internal/telephony/
SmsHeader.java 121 ByteArrayInputStream inStream = new ByteArrayInputStream(data);
123 while (inStream.available() > 0) {
132 int id = inStream.read();
133 int length = inStream.read();
139 concatRef.refNumber = inStream.read();
140 concatRef.msgCount = inStream.read();
141 concatRef.seqNumber = inStream.read();
150 concatRef.refNumber = (inStream.read() << 8) | inStream.read();
151 concatRef.msgCount = inStream.read()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageManagerBaseTest.java 254 DataInputStream inStream = null;
256 inStream = new DataInputStream(new FileInputStream(inFile));
265 return inStream;
439 DataInputStream inStream = null;
442 inStream = new DataInputStream(new FileInputStream(inFile));
445 if (inStream.readInt() != i) {
449 if (inStream != null) {
450 inStream.close();
505 DataInputStream inStream = null;
508 inStream = new DataInputStream(new FileInputStream(inFile))
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
LzmaCompress.c 96 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize)
117 if (SeqInStream_Read(inStream, inBuffer, inSize) != SZ_OK) {
180 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize)
200 if (SeqInStream_Read(inStream, inBuffer, inSize) != SZ_OK) {
246 CFileSeqInStream inStream;
256 FileSeqInStream_CreateVTable(&inStream);
257 File_Construct(&inStream.file);
329 if (InFile_Open(&inStream.file, inputFile) != 0)
333 File_Close(&inStream.file);
337 File_GetLength(&inStream.file, &fileSize);
    [all...]
  /external/lzma/C/
MtCoder.h 79 ISeqInStream *inStream;
7zDec.c 49 ILookInStream *inStream;
61 p->res = p->inStream->Skip(p->inStream, size);
63 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size);
73 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream,
81 s.inStream = inStream;
134 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream,
152 res = inStream->Look(inStream, &inBuf, &lookahead);
    [all...]
  /external/lzma/C/Util/Lzma/
LzmaUtil.c 51 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,
64 RINOK(inStream->Read(inStream, inBuf, &inSize));
104 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream)
117 RINOK(SeqInStream_Read(inStream, header, sizeof(header)));
125 res = Decode2(&state, outStream, inStream, unpackSize);
130 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs)
159 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
168 CFileSeqInStream inStream;
175 FileSeqInStream_CreateVTable(&inStream);
    [all...]
  /external/lzma/CPP/7zip/Archive/
SplitHandler.cpp 322 IInStream *inStream = _streams[i];
323 RINOK(inStream->Seek(0, STREAM_SEEK_SET, NULL));
324 RINOK(copyCoder->Code(inStream, outStream, NULL, NULL, progress));
  /frameworks/base/core/java/android/webkit/
CacheManager.java 67 InputStream inStream;
186 return inStream;
208 this.inStream = stream;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
Rfc822Output.java 233 InputStream inStream = null;
237 inStream = new ByteArrayInputStream(attachment.mContentBytes);
244 inStream = context.getContentResolver().openInputStream(cachedFileUri);
247 inStream = null;
254 if (inStream == null) {
257 inStream = context.getContentResolver().openInputStream(fileUri);
265 IOUtils.copy(inStream, base64Out);

Completed in 708 milliseconds

1 2 3 4 5 6 7 8 91011>>