/external/chromium_org/net/quic/ |
quic_spdy_compressor.cc | 41 string compressed; local 42 compressed.reserve(arraysize(id_str) + arraysize(len_str) + serialized_len); 43 compressed.append(id_str, arraysize(id_str)); 44 compressed.append(len_str, arraysize(len_str)); 45 compressed.append(serialized); 47 return compressed;
|
/external/chromium_org/net/quic/crypto/ |
cert_compressor_test.cc | 21 const string compressed = local 23 EXPECT_EQ("00", base::HexEncode(compressed.data(), compressed.size())); 27 CertCompressor::DecompressChain(compressed, cached_certs, NULL, &chain2)); 31 TEST(CertCompressor, Compressed) { 34 const string compressed = local 36 ASSERT_GE(compressed.size(), 2u); 37 EXPECT_EQ("0100", base::HexEncode(compressed.substr(0, 2).data(), 2)); 41 CertCompressor::DecompressChain(compressed, cached_certs, NULL, &chain2)); 52 const string compressed = CertCompressor::CompressChain local 75 const string compressed = local [all...] |
/cts/tests/src/android/opengl/cts/ |
CompressedTextureStubActivity.java | 49 CompressedTextureLoader.Texture compressed = null; local 57 compressed = CompressedTextureLoader.createFromUncompressedETC1(bitmap); 59 compressed = CompressedTextureLoader.loadTextureDXT(mResources, R.raw.ddstex); 61 compressed = CompressedTextureLoader.loadTextureATC(mResources, 0); //stub for now 63 compressed = CompressedTextureLoader.loadTexturePVRTC(mResources, R.raw.pvrtex); 66 mCompressedTextureView = new CompressedTextureSurfaceView(this, bitmap, compressed);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ImageViewDrawableSetter.java | 35 * Initialized with a target ImageView. When provided with a compressed image 82 protected Bitmap setCompressedImage(byte[] compressed) { 86 } else if (mPreviousDrawable != null && Arrays.equals(mCompressed, compressed)) { 94 final Drawable newDrawable = (compressed == null) 96 : decodedBitmapDrawable(compressed); 99 mCompressed = compressed; 144 private BitmapDrawable decodedBitmapDrawable(byte[] compressed) { 146 Bitmap bitmap = BitmapFactory.decodeByteArray(compressed, 0, compressed.length);
|
/external/chromium_org/printing/ |
image.cc | 63 std::vector<unsigned char> compressed; local 70 &compressed); 71 DCHECK(success && compressed.size()); 75 reinterpret_cast<char*>(&*compressed.begin()), 76 base::checked_numeric_cast<int>(compressed.size())); 77 success = (write_bytes == static_cast<int>(compressed.size())); 140 bool Image::LoadPng(const std::string& compressed) { 144 reinterpret_cast<const unsigned char*>(compressed.c_str()), 145 compressed.size(), gfx::PNGCodec::FORMAT_BGRA, &data_, &w, &h);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace.cc | 165 uptr StackTrace::CompressStack(StackTrace *stack, u32 *compressed, uptr size) { 170 compressed[i] = stack->trace[i]; 174 compressed[stack->size] = 0; 190 compressed[c_index++] = offset; 197 compressed[c_index++] = hi; 198 compressed[c_index++] = lo; 204 compressed[c_index] = 0; 206 compressed[c_index + 1] = 0; 212 UncompressStack(&check_stack, compressed, size); 229 u32 *compressed, uptr size) [all...] |
/external/qemu/ |
trace.c | 36 char compressed[kCompressedSize]; member in struct:TraceBB 56 char compressed[kCompressedSize]; member in struct:TraceInsn 78 char compressed[kCompressedSize]; member in struct:TraceAddr 89 char compressed[kCompressedSize]; member in struct:TraceExc 100 char compressed[kCompressedSize]; member in struct:TracePid 109 char compressed[kCompressedSize]; member in struct:TraceMethod 351 trace_bb.compressed_ptr = trace_bb.compressed; 352 trace_bb.high_water_ptr = &trace_bb.compressed[kCompressedSize] - kMaxBBCompressed; 375 trace_insn.compressed_ptr = trace_insn.compressed; 376 trace_insn.high_water_ptr = &trace_insn.compressed[kCompressedSize] - kMaxInsnCompressed [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterTest.java | 26 private byte[] compressed = new byte[32]; field in class:DeflaterTest 60 int lastDeflated = deflater.deflate(compressed, totalDeflated, 61 compressed.length - totalDeflated, flush); 63 inflater.setInput(compressed, totalDeflated, lastDeflated);
|
DeflaterOutputStreamTest.java | 120 // make output buffer large enough that even if compressed it 128 byte[] compressed = baos.toByteArray(); 130 // compressed byte count is larger than the 132 // it will also fail because the compressed length will be 134 assertTrue("compressed=" + compressed.length 136 compressed.length > deflaterBufferSize); 139 ByteArrayInputStream bais = new ByteArrayInputStream(compressed);
|
/external/skia/tests/ |
FlateTest.cpp | 45 SkDynamicMemoryWStream compressed; local 46 bool status = SkFlate::Deflate(testStream, &compressed); 60 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024); 62 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024); 64 SkAutoDataUnref data1(compressed.copyToData());
|
/external/chromium_org/ui/gfx/codec/ |
jpeg_codec_unittest.cc | 61 // out of 100, this indicates how compressed it will be, this should be changed 108 // encode, making sure it was compressed some 146 // encode, making sure it was compressed some 175 // it should fail when given non-JPEG compressed data 182 // make some compressed data 183 std::vector<unsigned char> compressed; local 185 w * 3, jpeg_quality, &compressed)); 188 ASSERT_FALSE(JPEGCodec::Decode(&compressed[0], compressed.size() / 2, 194 compressed[i] = i [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
ProtoBufUtils.java | 37 byte[] compressed = glMsg.getFb().getContents(0).toByteArray(); 40 int size = CLZF.lzf_decompress(compressed, compressed.length,
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
notification_bitmap_fetcher_browsertest.cc | 96 std::vector<unsigned char> compressed; local 97 ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed)); 100 std::string image_string(compressed.begin(), compressed.end());
|
/external/chromium_org/content/common/gpu/client/ |
gl_helper_benchmark.cc | 84 std::string compressed; local 86 &compressed); local 87 ASSERT_TRUE(compressed.size()); 89 reinterpret_cast<const unsigned char*>(compressed.data()), 90 compressed.size(), bitmap)); 95 std::vector<unsigned char> compressed; local 103 &compressed)); local 104 ASSERT_TRUE(compressed.size()); 107 ASSERT_EQ(fwrite(&*compressed.begin(), 1, compressed.size(), f) [all...] |
/build/tools/ |
dump-package-stats | 34 Dumps a summary of the compressed and uncompressed sizes of various 45 These fields are presented as <uncompressed bytes>/<compressed bytes>: 127 compressed = $3; 129 dex_compressed += compressed; 132 total_compressed += compressed;
|
/external/smack/src/com/kenai/jbosh/ |
GZIPCodec.java | 58 * @return compressed data 83 public static byte[] decode(final byte[] compressed) throws IOException { 84 ByteArrayInputStream byteIn = new ByteArrayInputStream(compressed);
|
ZLIBCodec.java | 58 * @return compressed data 83 public static byte[] decode(final byte[] compressed) throws IOException { 84 ByteArrayInputStream byteIn = new ByteArrayInputStream(compressed);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 66 compressed = FALSE; /* not yet supported */ 75 if (compressed) 81 if (compressed) 88 if (compressed) 94 if (compressed) 100 if (compressed) 108 if (compressed) 114 if (compressed) { 128 if (compressed) { [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 66 compressed = FALSE; /* not yet supported */ 75 if (compressed) 81 if (compressed) 88 if (compressed) 94 if (compressed) 100 if (compressed) 108 if (compressed) 114 if (compressed) { 128 if (compressed) { [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex_layout.c | 57 * | BC1-5 compressed format (DXTn/S3TC) | 4 | 4 | 4 | 4 | 4 | 58 * | FXT1 compressed format | 8 | 8 | 8 | 8 | 8 | 69 /* The hardware alignment requirements for compressed textures 102 * | BC1-5 compressed format (DXTn/S3TC) | 4 | 4 | 4 | 4 | 4 | 103 * | FXT1 compressed format | 4 | 4 | 4 | 4 | 4 | 152 if (mt->compressed) { 164 if (mt->compressed) { 186 if (mt->compressed)
|
/external/chromium_org/v8/tools/testrunner/server/ |
compression.py | 42 Sends a JSON encodable object over the specified socket (zlib-compressed). 46 compressed = zlib.compress(obj, compression_level) 47 payload = struct.pack('>i', len(compressed)) + compressed
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_layout.c | 57 * | BC1-5 compressed format (DXTn/S3TC) | 4 | 4 | 4 | 4 | 4 | 58 * | FXT1 compressed format | 8 | 8 | 8 | 8 | 8 | 69 /* The hardware alignment requirements for compressed textures 102 * | BC1-5 compressed format (DXTn/S3TC) | 4 | 4 | 4 | 4 | 4 | 103 * | FXT1 compressed format | 4 | 4 | 4 | 4 | 4 | 152 if (mt->compressed) { 164 if (mt->compressed) { 186 if (mt->compressed)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_eu.c | 106 p->compressed = (compression_control == BRW_COMPRESSION_COMPRESSED); 159 p->compressed_stack[p->current - p->stack] = p->compressed; 167 p->compressed = p->compressed_stack[p->current - p->stack]; 186 p->compressed = false;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_eu.c | 106 p->compressed = (compression_control == BRW_COMPRESSION_COMPRESSED); 159 p->compressed_stack[p->current - p->stack] = p->compressed; 167 p->compressed = p->compressed_stack[p->current - p->stack]; 186 p->compressed = false;
|
/external/chromium_org/third_party/opus/src/include/ |
opus_custom.h | 187 * @param [out] compressed <tt>char *</tt>: The compressed data is written here. This may not alias pcm and must be at least maxCompressedBytes long. 190 * @return Number of bytes written to "compressed". 199 unsigned char *compressed, 208 * @param [out] compressed <tt>char *</tt>: The compressed data is written here. This may not alias pcm and must be at least maxCompressedBytes long. 211 * @return Number of bytes written to "compressed". 220 unsigned char *compressed,
|