/external/replicaisland/src/com/replica/replicaisland/ |
D | LevelSystem.java | 102 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()
|
D | TiledWorld.java | 75 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()
|
D | CollisionSystem.java | 527 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/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | ByteSequence.java | 32 private final ByteArrayStream byteStream; field in ByteSequence 37 byteStream = (ByteArrayStream) in; in ByteSequence() 42 return byteStream.getPosition(); in getIndex() 47 byteStream.unreadByte(); in unreadByte()
|
/external/xz-java/src/ |
D | TestAllocSpeed.java | 46 ByteArrayOutputStream byteStream = new ByteArrayOutputStream( in compress() local 52 XZOutputStream out = new XZOutputStream(byteStream, options); in compress() 59 ByteArrayInputStream byteStream = new ByteArrayInputStream( in decompress() local 64 byteStream.reset(); in decompress() 65 XZInputStream in = new XZInputStream(byteStream); in decompress()
|
/external/python/cpython2/Lib/xml/dom/ |
D | xmlbuilder.py | 191 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/python/cpython3/Lib/xml/dom/ |
D | xmlbuilder.py | 192 fp = input.byteStream 221 source.byteStream = self._get_opener().open(systemId) 250 info = source.byteStream.info() 262 self.byteStream = None 271 return self.byteStream 272 def _set_byteStream(self, byteStream): argument 273 self.byteStream = byteStream
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HpackTest.java | 628 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/grpc-grpc-java/okhttp/third_party/okhttp/test/java/io/grpc/okhttp/internal/framed/ |
D | HpackTest.java | 656 assertEquals(10, newReader(byteStream()).readInt(10, 31)); in readSingleByteInt() 657 assertEquals(10, newReader(byteStream()).readInt(0xe0 | 10, 31)); in readSingleByteInt() 661 assertEquals(1337, newReader(byteStream(154, 10)).readInt(31, 31)); in readMultibyteInt() 682 newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31)); in max31BitValue() 688 assertEquals(31, newReader(byteStream(0)).readInt(31, 31)); in prefixMask() 694 assertEquals(31, newReader(byteStream(0)).readInt(31, 31)); in prefixMaskMinusOne() 700 assertEquals(0, newReader(byteStream()).readInt(0, 31)); in zero() 710 newReader(byteStream(0, 3, 'F', 'o', 'o', 3, 'B', 'a', 'R')).readHeaders(); in mixedCaseHeaderNameIsMalformed() 720 assertEquals(ByteString.EMPTY, newReader(byteStream(0)).readByteString()); in emptyHeaderName() 727 private Buffer byteStream(int... bytes) { in byteStream() method in HpackTest
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOMOutputImpl.java | 117 public void setByteStream(OutputStream byteStream){ in setByteStream() argument 118 fByteStream = byteStream; in setByteStream()
|
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D | Ukey2Handshake.java | 369 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in getVerificationString() local 371 byteStream.write(rawMessage1); in getVerificationString() 372 byteStream.write(rawMessage2); in getVerificationString() 377 byte[] info = byteStream.toByteArray(); in getVerificationString() 505 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in toConnectionContext() local 507 byteStream.write(rawMessage1); in toConnectionContext() 508 byteStream.write(rawMessage2); in toConnectionContext() 513 byte[] info = byteStream.toByteArray(); in toConnectionContext()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | ResponseBody.java | 46 public final InputStream byteStream() throws IOException { in byteStream() method in ResponseBody 78 return r != null ? r : (reader = new InputStreamReader(byteStream(), charset())); in charStream()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ResponseBody.java | 42 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/ |
D | OkHttpAsync.java | 74 long total = SynchronousHttpClient.readAllAndClose(body.byteStream()); in prepare()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 157 return response.getResponse().body().byteStream(); in getErrorStream() 258 return response.getResponse().body().byteStream(); in getInputStream()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 153 return response.getResponse().body().byteStream(); in getErrorStream() 254 return response.getResponse().body().byteStream(); in getInputStream()
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 339 return body.byteStream(); in createJavaCacheResponse() 353 return body.byteStream(); in createJavaCacheResponse()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 337 return body.byteStream(); in createJavaCacheResponse() 351 return body.byteStream(); in createJavaCacheResponse()
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | OkApacheClient.java | 85 InputStreamEntity entity = new InputStreamEntity(body.byteStream(), body.contentLength()); in transformResponse()
|
/external/guice/core/test/com/google/inject/internal/ |
D | MultibinderTest.java | 351 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); in testMultibinderSetIsSerializable() local 352 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteStream); in testMultibinderSetIsSerializable() 359 new ObjectInputStream(new ByteArrayInputStream(byteStream.toByteArray())); in testMultibinderSetIsSerializable()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CallTest.java | 713 InputStream bytes = response.body().byteStream(); in connectionReuseWhenResponseBodyConsumed_Async()
|