/external/chromium_org/net/websockets/ |
websocket_deflater_test.cc | 22 WebSocketDeflater deflater(WebSocketDeflater::TAKE_OVER_CONTEXT); 23 deflater.Initialize(8); 24 ASSERT_EQ(0u, deflater.CurrentOutputSize()); 25 ASSERT_TRUE(deflater.Finish()); 27 deflater.GetOutput(deflater.CurrentOutputSize()); 29 ASSERT_EQ(0u, deflater.CurrentOutputSize()); 33 WebSocketDeflater deflater(WebSocketDeflater::TAKE_OVER_CONTEXT); 34 deflater.Initialize(15); 37 ASSERT_TRUE(deflater.AddBytes("Hello", 5)) [all...] |
websocket_inflater_test.cc | 191 WebSocketDeflater deflater(WebSocketDeflater::TAKE_OVER_CONTEXT); 192 ASSERT_TRUE(deflater.Initialize(8)); 199 ASSERT_TRUE(deflater.AddBytes(&input[0], input.size())); 200 ASSERT_TRUE(deflater.Finish()); 202 compressed = deflater.GetOutput(deflater.CurrentOutputSize()); 205 ASSERT_EQ(0u, deflater.CurrentOutputSize());
|
websocket_deflate_stream_test.cc | 668 WebSocketDeflater deflater(WebSocketDeflater::TAKE_OVER_CONTEXT); 669 deflater.Initialize(kWindowBits); 672 deflater.AddBytes(original_data.data(), original_data.size()); 673 deflater.Finish(); 679 ToString(deflater.GetOutput(deflater.CurrentOutputSize()))); [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketDeflaterTest.cpp | 39 OwnPtr<WebSocketDeflater> deflater = WebSocketDeflater::create(15); local 40 ASSERT_TRUE(deflater->initialize()); 46 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 47 ASSERT_TRUE(deflater->finish()); 49 EXPECT_EQ(7U, deflater->size()); 50 EXPECT_EQ(0, memcmp(expectedFirst, deflater->data(), deflater->size())); 51 ASSERT_TRUE(inflater->addBytes(deflater->data(), deflater->size())); 56 deflater->reset() 72 OwnPtr<WebSocketDeflater> deflater = WebSocketDeflater::create(15); local 91 OwnPtr<WebSocketDeflater> deflater = WebSocketDeflater::create(15, WebSocketDeflater::DoNotTakeOverContext); local 126 OwnPtr<WebSocketDeflater> deflater = WebSocketDeflater::create(8); local 141 OwnPtr<WebSocketDeflater> deflater = WebSocketDeflater::create(15); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterTest.java | 20 import java.util.zip.Deflater; 28 private Deflater deflater = new Deflater(); field in class:DeflaterTest 34 deflater.setInput(new byte[] { 1, 2, 3 }); 35 deflateInflate(Deflater.NO_FLUSH); 39 deflater.setInput(new byte[] { 4, 5, 6 }); 40 deflateInflate(Deflater.SYNC_FLUSH); 45 deflater.setInput(new byte[] { 7, 8, 9 }); 46 deflateInflate(Deflater.FULL_FLUSH) [all...] |
OldAndroidDeflateTest.java | 23 import java.util.zip.Deflater; 38 * Inflater/Deflater classes. 48 Deflater compresser = new Deflater(); 80 Deflater deflater = new Deflater(Deflater.BEST_COMPRESSION, false); local 84 compress(deflater, input, comp); 85 expand(inflater, comp, (int) deflater.getBytesWritten(), output) [all...] |
InflaterTest.java | 21 import java.util.zip.Deflater; 104 Deflater deflater = new Deflater(); local 106 deflater.setDictionary(dictionary); 108 deflater.setInput(input); 109 deflater.finish(); 112 while (!deflater.finished()) { 113 int byteCount = deflater.deflate(buf); 116 deflater.end() [all...] |
OldAndroidZipStressTest.java | 28 import java.util.zip.Deflater; 122 * Native memory allocated by Deflater in system_server. The fix reduced 156 Deflater deflater = new Deflater(i); local 157 deflater.setInput(input); 158 deflater.finish(); 159 deflater.deflate(zipped); 160 deflater.end();
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 35 protected final Deflater def; 42 * Constructs a {@code DeflaterInputStream} with a new {@code Deflater} and an 49 this(in, new Deflater(), DEFAULT_BUFFER_SIZE); 53 * Constructs a {@code DeflaterInputStream} with the given {@code Deflater} and an 58 * @param deflater the {@code Deflater} to be used for compression 60 public DeflaterInputStream(InputStream in, Deflater deflater) { 61 this(in, deflater, DEFAULT_BUFFER_SIZE); 65 * Constructs a {@code DeflaterInputStream} with the given {@code Deflater} an [all...] |
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Platform.java | 29 import java.util.zip.Deflater; 98 * Returns a deflater output stream that supports SYNC_FLUSH for SPDY name 103 OutputStream out, Deflater deflater, boolean syncFlush) { 104 return new DeflaterOutputStream(out, deflater, syncFlush);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterOutputStreamTest.java | 22 import java.util.zip.Deflater; 170 Deflater defaultDeflater = new Deflater(Deflater.BEST_SPEED); 176 Deflater bestDeflater = new Deflater(Deflater.BEST_COMPRESSION ); 386 Deflater deflater = new Deflater(); local [all...] |
DeflaterTest.java | 24 import java.util.zip.Deflater; 32 class MyDeflater extends Deflater { 67 * @tests java.util.zip.Deflater#deflate(byte[]) 75 Deflater defl = new Deflater(); 81 assertEquals("Deflater at end of stream, should return 0", 0, defl 109 * @tests java.util.zip.Deflater#deflate(byte[], int, int) 119 Deflater defl = new Deflater(); 125 assertEquals("Deflater at end of stream, should return 0", 0, defl.deflate 1155 Deflater deflater = new Deflater(); local [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyWriter.java | 27 import java.util.zip.Deflater; 38 Deflater deflater = new Deflater(); local 39 deflater.setDictionary(SpdyReader.DICTIONARY); 42 Platform.get().newDeflaterOutputStream(nameValueBlockBuffer, deflater, true));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Platform.java | 39 import java.util.zip.Deflater; 114 * Returns a deflater output stream that supports SYNC_FLUSH for SPDY name 118 public OutputStream newDeflaterOutputStream(OutputStream out, Deflater deflater, 124 OutputStream.class, Deflater.class, boolean.class); 126 return constructor.newInstance(out, deflater, syncFlush);
|
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | 122 import java.util.zip.Deflater; 2836 Deflater deflater = new Deflater(Deflater.BEST_COMPRESSION); local [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |