/external/guava/guava-tests/test/com/google/common/io/ |
H A D | ByteStreamsTest.java | 19 import static com.google.common.io.ByteStreams.copy; 20 import static com.google.common.io.ByteStreams.newInputStreamSupplier; 43 * Unit test for {@link ByteStreams}. 127 ByteStreams.toByteArray(ByteStreams.newInputStreamSupplier(range)))); 129 byte[] subRange = ByteStreams.toByteArray( 130 ByteStreams.newInputStreamSupplier(range, 100, 50)); 152 assertTrue(ByteStreams.equal(ByteStreams.newInputStreamSupplier(tenK), 170 assertEquals(expect, ByteStreams [all...] |
H A D | MultiInputStreamTest.java | 66 byte[] result = ByteStreams.toByteArray( 67 ByteStreams.join(checker, checker, checker)); 78 InputSupplier<InputStream> joined = ByteStreams.join(suppliers); 79 assertTrue(ByteStreams.equal(newByteSupplier(0, start), joined)); 85 InputSupplier<InputStream> joined = ByteStreams.join(supplier, supplier); 86 assertEquals(20, ByteStreams.length(joined)); 113 ByteStreams.skipFully(multi, 20);
|
H A D | FileBackedOutputStreamTest.java | 89 assertTrue(ByteStreams.equal( 90 ByteStreams.newInputStreamSupplier(data, 0, chunk1), supplier)); 105 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 135 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 146 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 156 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 159 assertTrue(Arrays.equals(new byte[0], ByteStreams.toByteArray(supplier))); 162 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier)));
|
H A D | ResourcesTest.java | 49 byte[] data = ByteStreams.toByteArray(
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
H A D | DexBackedOdexFile.java | 34 import com.google.common.io.ByteStreams; 93 ByteStreams.readFully(is, partialHeader); 104 ByteStreams.readFully(is, odexBuf); 107 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE); 110 byte[] dexBuf = ByteStreams.toByteArray(is);
|
H A D | DexBackedDexFile.java | 34 import com.google.common.io.ByteStreams; 107 ByteStreams.readFully(is, partialHeader); 116 byte[] buf = ByteStreams.toByteArray(is);
|
/external/guava/guava/src/com/google/common/io/ |
H A D | Resources.java | 86 return ByteStreams.toByteArray(newInputStreamSupplier(url)); 140 ByteStreams.copy(newInputStreamSupplier(from), to);
|
H A D | Files.java | 197 return ByteStreams.toByteArray(newInputStreamSupplier(file)); 204 ByteStreams.readFully(in, b); 236 ByteStreams.copy(from, newOutputStreamSupplier(to)); 247 ByteStreams.write(from, newOutputStreamSupplier(to)); 260 ByteStreams.copy(newInputStreamSupplier(from), to); 271 ByteStreams.copy(newInputStreamSupplier(from), to); 395 return ByteStreams.equal(newInputStreamSupplier(file1), 559 return ByteStreams.readBytes(newInputStreamSupplier(file), processor); 574 return ByteStreams.getChecksum(newInputStreamSupplier(file), checksum); 589 return ByteStreams [all...] |
H A D | LittleEndianDataInputStream.java | 66 ByteStreams.readFully(this, b); 71 ByteStreams.readFully(this, b, off, len);
|
H A D | ByteStreams.java | 48 public final class ByteStreams { class 51 private ByteStreams() {} method in class:ByteStreams
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/ |
H A D | DexFileFactory.java | 34 import com.google.common.io.ByteStreams; 78 ByteStreams.readFully(zipFile.getInputStream(zipEntry), dexBytes);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
H A D | FileDeferredOutputStream.java | 3 import com.google.common.io.ByteStreams; 37 ByteStreams.copy(fis, dest);
|
/external/guava/guava/src/com/google/common/net/ |
H A D | InetAddresses.java | 22 import com.google.common.io.ByteStreams; 761 int flags = ByteStreams.newDataInput(bytes, 8).readShort() & 0xffff; 764 int port = ~ByteStreams.newDataInput(bytes, 10).readShort() & 0xffff; 1029 return ByteStreams.newDataInput(getCoercedIPv4Address(ip).getAddress()).readInt();
|
/external/guava/guava/src/com/google/common/primitives/ |
H A D | generate.sh | 299 * {@link com.google.common.io.ByteStreams#newDataOutput()} to get a growable
|
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
H A D | compiler.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ... |