HomeSort by relevance Sort by last modified time
    Searched refs:byteStream (Results 1 - 25 of 31) sorted by null

1 2

  /art/test/093-serialization/src/
Main.java 45 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
46 ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
52 byte[] bytes = byteStream.toByteArray();
55 byteStream.close();
60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);
61 ObjectInputStream objStream = new ObjectInputStream(byteStream);
73 byteStream.close();
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 148 InputStream byteStream = null;
167 byteStream = httpConn.getInputStream();
214 readResult = byteStream.read(tempBuffer, bufferOffset,
304 int readResult = byteStream.read(
346 if (null != byteStream) {
348 byteStream.close();
  /external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DOMOutputImpl.java 48 * 2.LSOutput.byteStream
117 public void setByteStream(OutputStream byteStream){
118 fByteStream = byteStream;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathByteStreamBuilder.h 35 void setCurrentByteStream(SVGPathByteStream* byteStream) { m_byteStream = byteStream; }
SVGPathSegList.cpp 47 SVGPathSegList::SVGPathSegList(SVGPathElement* contextElement, PassOwnPtr<SVGPathByteStream> byteStream)
49 , m_byteStream(byteStream)
61 RefPtr<SVGPathSegList> svgPathSegList = adoptRef(new SVGPathSegList(m_contextElement, byteStream()->copy()));
73 const SVGPathByteStream* SVGPathSegList::byteStream() const
146 buildStringFromByteStream(byteStream(), string, UnalteredParsing);
165 byteStream(); // create |m_byteStream| if not exist.
166 addToSVGPathByteStream(m_byteStream.get(), otherList->byteStream());
181 const SVGPathByteStream* toStream = to->byteStream();
182 const SVGPathByteStream* fromStream = from->byteStream();
190 copy = byteStream()->copy()
    [all...]
SVGPathByteStreamBuilder.cpp 32 CoalescingBuffer(SVGPathByteStream* byteStream)
34 , m_byteStream(byteStream)
36 ASSERT(byteStream);
SVGPathElement.h 93 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->currentValue()->byteStream(); }
SVGPathSegList.h 60 const SVGPathByteStream* byteStream() const;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Response.java 238 * {@link #byteStream}, or -1 if unknown.
242 public abstract InputStream byteStream();
247 return s != null ? s : (source = Okio.source(byteStream()));
258 InputStream in = byteStream();
265 Util.copy(byteStream(), out);
277 return r != null ? r : (reader = new InputStreamReader(byteStream(), charset()));
295 byteStream().close();
Job.java 238 /** Multiple calls to {@link #byteStream} must return the same instance. */
263 @Override public InputStream byteStream() {
HttpResponseCache.java 615 @Override public InputStream byteStream() {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 233 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
236 objectOutput = new ObjectOutputStream(byteStream);
238 return byteStream.toByteArray();
246 byteStream.close();
TestListAdapter.java 441 ByteArrayInputStream byteStream = new ByteArrayInputStream(bytes);
444 objectInput = new ObjectInputStream(byteStream);
455 byteStream.close();
  /developers/build/prebuilts/gradle/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java 416 ByteArrayOutputStream byteStream = null;
418 byteStream = new ByteArrayOutputStream();
419 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
420 return Asset.createFromBytes(byteStream.toByteArray());
422 if (null != byteStream) {
424 byteStream.close();
  /developers/samples/android/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java 416 ByteArrayOutputStream byteStream = null;
418 byteStream = new ByteArrayOutputStream();
419 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
420 return Asset.createFromBytes(byteStream.toByteArray());
422 if (null != byteStream) {
424 byteStream.close();
  /development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
MainActivity.java 416 ByteArrayOutputStream byteStream = null;
418 byteStream = new ByteArrayOutputStream();
419 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
420 return Asset.createFromBytes(byteStream.toByteArray());
422 if (null != byteStream) {
424 byteStream.close();
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
HpackDraft05Test.java 791 assertEquals(10, newReader(byteStream()).readInt(10, 31));
792 assertEquals(10, newReader(byteStream()).readInt(0xe0 | 10, 31));
796 assertEquals(1337, newReader(byteStream(154, 10)).readInt(31, 31));
817 newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31));
823 assertEquals(31, newReader(byteStream(0)).readInt(31, 31));
829 assertEquals(31, newReader(byteStream(0)).readInt(31, 31));
835 assertEquals(0, newReader(byteStream()).readInt(0, 31));
841 assertEquals("foo", newReader(byteStream(3, 'F', 'o', 'o')).readByteString(true).utf8());
847 assertEquals(ByteString.EMPTY, newReader(byteStream(0)).readByteString(true));
848 assertEquals(ByteString.EMPTY, newReader(byteStream(0)).readByteString(false))
    [all...]
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttpAsync.java 73 long total = SynchronousHttpClient.readAllAndClose(body.byteStream());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingReceiver.java 54 int c = body.byteStream().read(buffer);
AsyncApiTest.java 348 InputStream bytes = response.body().byteStream();
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
JavaApiConverter.java 225 return body.byteStream();
239 return body.byteStream();
359 public InputStream byteStream() {
CacheStrategy.java 35 @Override public InputStream byteStream() {
  /cts/tests/tests/util/src/android/util/cts/
RationalTest.java 442 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
443 try (ObjectOutputStream objectStream = new ObjectOutputStream(byteStream)) {
446 return byteStream.toByteArray();
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar 
  /external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
Main.java 146 int c = body.byteStream().read(buffer);

Completed in 743 milliseconds

1 2