Home
last modified time | relevance | path

Searched refs:byteStream (Results 1 – 13 of 13) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DLevelSystem.java102 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream; in loadLevel() local
105 signature = (byte)byteStream.read(); in loadLevel()
107 final int layerCount = (byte)byteStream.read(); in loadLevel()
108 final int backgroundIndex = (byte)byteStream.read(); in loadLevel()
117 final int type = (byte)byteStream.read(); in loadLevel()
118 final int tileIndex = (byte)byteStream.read(); in loadLevel()
119 byteStream.read(mWorkspaceBytes, 0, 4); in loadLevel()
123 TiledWorld world = new TiledWorld(byteStream); in loadLevel()
DTiledWorld.java75 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream; in parseInput() local
78 signature = (byte)byteStream.read(); in parseInput()
80 byteStream.read(mWorkspaceBytes, 0, 4); in parseInput()
82 byteStream.read(mWorkspaceBytes, 0, 4); in parseInput()
86 final int bytesRemaining = byteStream.available(); in parseInput()
94 mTilesArray[x][y] = (byte)byteStream.read(); in parseInput()
DCollisionSystem.java527 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream; in loadCollisionTiles() local
535 signature = (byte)byteStream.read(); in loadCollisionTiles()
544 final int tileCount = byteStream.read(); in loadCollisionTiles()
546 if (byteStream.available() >= size) { in loadCollisionTiles()
548 final int tileIndex = byteStream.read(); in loadCollisionTiles()
549 final int segmentCount = byteStream.read(); in loadCollisionTiles()
556 byteStream.read(mWorkspaceBytes, 0, 4); in loadCollisionTiles()
558 byteStream.read(mWorkspaceBytes, 0, 4); in loadCollisionTiles()
560 byteStream.read(mWorkspaceBytes, 0, 4); in loadCollisionTiles()
562 byteStream.read(mWorkspaceBytes, 0, 4); in loadCollisionTiles()
[all …]
/external/python/cpython2/Lib/xml/dom/
Dxmlbuilder.py191 fp = input.byteStream
220 source.byteStream = self._get_opener().open(systemId)
249 info = source.byteStream.info()
261 self.byteStream = None
270 return self.byteStream
271 def _set_byteStream(self, byteStream): argument
272 self.byteStream = byteStream
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHpackTest.java628 assertEquals(10, newReader(byteStream()).readInt(10, 31)); in readSingleByteInt()
629 assertEquals(10, newReader(byteStream()).readInt(0xe0 | 10, 31)); in readSingleByteInt()
633 assertEquals(1337, newReader(byteStream(154, 10)).readInt(31, 31)); in readMultibyteInt()
654 newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31)); in max31BitValue()
660 assertEquals(31, newReader(byteStream(0)).readInt(31, 31)); in prefixMask()
666 assertEquals(31, newReader(byteStream(0)).readInt(31, 31)); in prefixMaskMinusOne()
672 assertEquals(0, newReader(byteStream()).readInt(0, 31)); in zero()
682 newReader(byteStream(0, 3, 'F', 'o', 'o', 3, 'B', 'a', 'R')).readHeaders(); in mixedCaseHeaderNameIsMalformed()
692 assertEquals(ByteString.EMPTY, newReader(byteStream(0)).readByteString()); in emptyHeaderName()
699 private Buffer byteStream(int... bytes) { in byteStream() method in HpackTest
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOMOutputImpl.java117 public void setByteStream(OutputStream byteStream){ in setByteStream() argument
118 fByteStream = byteStream; in setByteStream()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponseBody.java42 public final InputStream byteStream() throws IOException { in byteStream() method in ResponseBody
74 return r != null ? r : (reader = new InputStreamReader(byteStream(), charset())); in charStream()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttpAsync.java74 long total = SynchronousHttpClient.readAllAndClose(body.byteStream()); in prepare()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java153 return response.getResponse().body().byteStream(); in getErrorStream()
254 return response.getResponse().body().byteStream(); in getInputStream()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java337 return body.byteStream(); in createJavaCacheResponse()
351 return body.byteStream(); in createJavaCacheResponse()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java85 InputStreamEntity entity = new InputStreamEntity(body.byteStream(), body.contentLength()); in transformResponse()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java294 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in testMultibinderSetIsSerializable() local
295 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteStream); in testMultibinderSetIsSerializable()
302 new ByteArrayInputStream(byteStream.toByteArray())); in testMultibinderSetIsSerializable()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java713 InputStream bytes = response.body().byteStream(); in connectionReuseWhenResponseBodyConsumed_Async()