Home
last modified time | relevance | path

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

12

/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/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.java152 return response.getResponse().body().byteStream(); in getErrorStream()
253 return response.getResponse().body().byteStream(); in getInputStream()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/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.java638 InputStream bytes = response.body().byteStream(); in connectionReuseWhenResponseBodyConsumed_Async()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/ ...
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guice/lib/build/jdiff/
Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/xml/ javax/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
/external/guice/extensions/persist/lib/
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...

12