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

1 2

  /libcore/luni/src/main/java/org/xml/sax/
InputSource.java 107 * @param byteStream The raw byte stream containing the document.
114 public InputSource (InputStream byteStream)
116 setByteStream(byteStream);
228 * @param byteStream A byte stream containing an XML document or
235 public void setByteStream (InputStream byteStream)
237 this.byteStream = byteStream;
253 return byteStream;
332 private InputStream byteStream;
  /dalvik/tests/093-serialization/src/
Main.java 45 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
46 ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
50 byte[] bytes = byteStream.toByteArray();
53 byteStream.close();
58 ByteArrayInputStream byteStream = new ByteArrayInputStream(input);
59 ObjectInputStream objStream = new ObjectInputStream(byteStream);
69 byteStream.close();
  /external/replicaisland/src/com/replica/replicaisland/
TiledWorld.java 75 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream;
78 signature = (byte)byteStream.read();
80 byteStream.read(mWorkspaceBytes, 0, 4);
82 byteStream.read(mWorkspaceBytes, 0, 4);
86 final int bytesRemaining = byteStream.available();
94 mTilesArray[x][y] = (byte)byteStream.read();
LevelSystem.java 102 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream;
105 signature = (byte)byteStream.read();
107 final int layerCount = (byte)byteStream.read();
108 final int backgroundIndex = (byte)byteStream.read();
117 final int type = (byte)byteStream.read();
118 final int tileIndex = (byte)byteStream.read();
119 byteStream.read(mWorkspaceBytes, 0, 4);
123 TiledWorld world = new TiledWorld(byteStream);
CollisionSystem.java 527 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream;
535 signature = (byte)byteStream.read();
544 final int tileCount = byteStream.read();
546 if (byteStream.available() >= size) {
548 final int tileIndex = byteStream.read();
549 final int segmentCount = byteStream.read();
556 byteStream.read(mWorkspaceBytes, 0, 4);
558 byteStream.read(mWorkspaceBytes, 0, 4);
560 byteStream.read(mWorkspaceBytes, 0, 4);
562 byteStream.read(mWorkspaceBytes, 0, 4)
    [all...]
  /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;
  /libcore/luni/src/main/java/org/w3c/dom/ls/
LSOutput.java 38 * <code>LSOutput.byteStream</code>
70 public void setByteStream(java.io.OutputStream byteStream);
LSInput.java 37 * <code>LSInput.byteStream</code>
92 public void setByteStream(java.io.InputStream byteStream);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGAnimatedPath.cpp 37 OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
38 buildSVGPathByteStreamFromString(string, byteStream.get(), UnalteredParsing);
39 return SVGAnimatedType::createPath(byteStream.release());
49 OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
50 buildSVGPathByteStreamFromSVGPathSegList(baseValue, byteStream.get(), UnalteredParsing);
62 result[i]->animationStarted(byteStream.get(), &baseValue);
64 return SVGAnimatedType::createPath(byteStream.release());
SVGPathByteStreamBuilder.h 35 void setCurrentByteStream(SVGPathByteStream* byteStream) { m_byteStream = byteStream; }
  /external/chromium_org/third_party/WebKit/Source/core/svg/properties/
SVGAnimatedPathSegListPropertyTearOff.h 69 void animationStarted(SVGPathByteStream* byteStream, const SVGPathSegList* baseValue)
71 ASSERT(byteStream);
74 m_animatedPathByteStream = byteStream;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
InputStreamSource.java 69 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
73 byteStream.write(buffer, 0, bytesRead);
76 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray());
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverClient.java 110 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
131 byteStream.write(partial, 0, size);
133 handoverSelectMsg = new NdefMessage(byteStream.toByteArray());
153 byteStream.close();
HandoverServer.java 169 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
185 byteStream.write(partial, 0, size);
188 handoverRequestMsg = new NdefMessage(byteStream.toByteArray());
214 byteStream = new ByteArrayOutputStream();
232 byteStream.close();
  /external/okhttp/src/main/java/com/squareup/okhttp/
Response.java 123 public abstract InputStream byteStream() throws IOException;
133 InputStream in = byteStream();
140 Util.copy(byteStream(), out);
151 return new InputStreamReader(byteStream(), "UTF-8");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/
xmlbuilder.py 191 fp = input.byteStream
220 source.byteStream = self._get_opener().open(systemId)
249 info = source.byteStream.info()
257 __slots__ = ('byteStream', 'characterStream', 'stringData',
261 self.byteStream = None
270 return self.byteStream
271 def _set_byteStream(self, byteStream):
272 self.byteStream = byteStream
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/
xmlbuilder.py 191 fp = input.byteStream
220 source.byteStream = self._get_opener().open(systemId)
249 info = source.byteStream.info()
257 __slots__ = ('byteStream', 'characterStream', 'stringData',
261 self.byteStream = None
270 return self.byteStream
271 def _set_byteStream(self, byteStream):
272 self.byteStream = byteStream
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 225 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
226 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null);
231 new ByteArrayInputStream(byteStream.toByteArray());
259 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
260 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null);
265 new ByteArrayInputStream(byteStream.toByteArray());
303 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
304 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null);
309 new ByteArrayInputStream(byteStream.toByteArray());
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
Learning_StochasticLinearRanker.java 110 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
111 ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
113 //return byteStream.toByteArray();
114 byte[] bytes = byteStream.toByteArray();
  /external/smack/src/org/jivesoftware/smack/packet/
Packet.java 426 ByteArrayOutputStream byteStream = null;
429 byteStream = new ByteArrayOutputStream();
430 out = new ObjectOutputStream(byteStream);
433 String encodedVal = StringUtils.encodeBase64(byteStream.toByteArray());
448 if (byteStream != null) {
450 byteStream.close();
  /frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
HistogramPredictor.java 148 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
149 ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
153 byte[] bytes = byteStream.toByteArray();
313 ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
314 ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
316 byte[] bytes = byteStream.toByteArray();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Dispatcher.java 79 @Override public InputStream byteStream() throws IOException {
  /frameworks/base/core/java/android/gesture/
Gesture.java 315 final ByteArrayOutputStream byteStream =
317 final DataOutputStream outStream = new DataOutputStream(byteStream);
326 GestureUtils.closeStream(byteStream);
330 out.writeByteArray(byteStream.toByteArray());

Completed in 468 milliseconds

1 2