/external/chromium_org/media/cast/test/ |
crypto_utility.cc | 12 std::string compressed; local 14 compressed.reserve(base_16.size() / 2); 20 compressed.assign(reinterpret_cast<const char*>(&v[0]), v.size()); 21 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...] |
/external/chromium_org/net/quic/ |
quic_spdy_compressor.cc | 57 string compressed; local 59 compressed.reserve( 62 compressed.append(priority_str, arraysize(priority_str)); 64 compressed.append(id_str, arraysize(id_str)); 65 compressed.append(len_str, arraysize(len_str)); 66 compressed.append(serialized); 68 return compressed;
|
/external/chromium_org/net/websockets/ |
websocket_inflater_test.cc | 189 scoped_refptr<IOBufferWithSize> compressed; local 202 compressed = deflater.GetOutput(deflater.CurrentOutputSize()); 204 ASSERT_TRUE(compressed); 207 ASSERT_TRUE(inflater.AddBytes(compressed->data(), compressed->size()));
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketPerMessageDeflateTest.cpp | 240 std::vector<char> compressed; local 244 std::copy(&f1.payload[0], &f1.payload[f1.payloadLength], std::inserter(compressed, compressed.end())); 256 std::copy(&f3.payload[0], &f3.payload[f3.payloadLength], std::inserter(compressed, compressed.end())); 258 EXPECT_EQ(7u, compressed.size()); 259 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", &compressed[0], compressed.size()));
|
/external/skia/tests/ |
FlateTest.cpp | 44 SkDynamicMemoryWStream compressed; local 45 bool status = SkFlate::Deflate(testStream, &compressed); 59 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024); 61 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024); 63 SkAutoDataUnref data1(compressed.copyToData());
|
/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);
|
/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...] |
/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);
|
/external/chromium/net/spdy/ |
spdy_test_util.h | 40 bool compressed; member in struct:net::SpdyHeaderInfo 125 bool compressed, 134 bool compressed, 187 // Constructs a standard SPDY GET SYN packet, optionally compressed 193 bool compressed, 197 // Constructs a standard SPDY GET SYN packet, optionally compressed. 203 bool compressed, 207 // Constructs a standard SPDY GET SYN packet, optionally compressed. 214 bool compressed,
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
notification_bitmap_fetcher_browsertest.cc | 104 std::vector<unsigned char> compressed; local 105 ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed)); 108 std::string image_string(compressed.begin(), compressed.end());
|
/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/chromium_org/third_party/libxml/src/include/libxml/ |
xmlIO.h | 134 int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ member in struct:_xmlParserInputBuffer
|
/external/libxml2/include/libxml/ |
xmlIO.h | 134 int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ member in struct:_xmlParserInputBuffer
|
/external/chromium_org/content/common/gpu/client/ |
gl_helper_benchmark.cc | 85 std::string compressed; local 86 base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &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...] |
/external/chromium_org/net/spdy/ |
spdy_test_util_common.h | 147 bool compressed; member in struct:net::SpdyHeaderInfo 333 bool compressed, 349 bool compressed, 394 // Constructs a standard SPDY GET SYN frame, optionally compressed 400 bool compressed, 405 bool compressed, 409 // Constructs a standard SPDY GET SYN frame, optionally compressed. 416 bool compressed,
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
table_builder.cc | 157 std::string* compressed = &r->compressed_output; local 158 if (port::Snappy_Compress(raw.data(), raw.size(), compressed) && 159 compressed->size() < raw.size() - (raw.size() / 8u)) { 160 block_contents = *compressed; 162 // Snappy not supported, or compressed less than 12.5%, so just
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_mipmap_tree.h | 172 * Compressed Multisample Surface. The surface is stored as in 218 bool compressed; member in struct:intel_mipmap_tree 348 * the necessary information to implement compressed MSAA on Gen7+
|
/external/chromium_org/third_party/skia/src/utils/ |
SkParseColor.cpp | 193 int compressed = 0; local 196 compressed <<= 5; 197 compressed |= *name ? *name++ - 'a' + 1 : 0 ; 200 compressed <<= 1; 201 compressed |= 1; 203 compressed |= 0x80000000; 207 compressed &= ~1; 211 SkDebugf("0x%08x, ", compressed);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_mipmap_tree.h | 172 * Compressed Multisample Surface. The surface is stored as in 218 bool compressed; member in struct:intel_mipmap_tree 348 * the necessary information to implement compressed MSAA on Gen7+
|
/external/skia/src/utils/ |
SkParseColor.cpp | 193 int compressed = 0; local 196 compressed <<= 5; 197 compressed |= *name ? *name++ - 'a' + 1 : 0 ; 200 compressed <<= 1; 201 compressed |= 1; 203 compressed |= 0x80000000; 207 compressed &= ~1; 211 SkDebugf("0x%08x, ", compressed);
|
/external/chromium_org/skia/ext/ |
vector_canvas_unittest.cc | 88 std::string compressed; local 89 base::ReadFileToString(filename, &compressed); 90 EXPECT_TRUE(compressed.size()); 94 reinterpret_cast<const unsigned char*>(compressed.data()), 95 compressed.size(), &bitmap)); 129 std::vector<unsigned char> compressed; local 136 &compressed)); 137 ASSERT_TRUE(compressed.size()); 140 ASSERT_EQ(fwrite(&*compressed.begin(), 1, compressed.size(), f) 337 std::string compressed; local 338 base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &compressed); local [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
unique_position.cc | 204 debug_string.append(", compressed: " + compressed_string); 384 // This allows us keep the position strings compressed as we sort them. 386 // The compressed format and the decode algorithm: 388 // The compressed string is a series of blocks, almost all of which are 8 bytes 389 // in length. The only exception is the last block in the compressed string, 515 std::string compressed = CompressImpl(str); local 516 DCHECK(IsValidCompressed(compressed)); 517 DCHECK_EQ(str, Uncompress(compressed)); 518 return compressed; 526 // The compressed length will usually be at least as long as the suffix (28) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 390 unsigned compressed = 0; local 398 compressed = (rctx->export_16bpc >> cbuf) & 0x1; 402 if (compressed) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_eu.h | 126 bool compressed; member in struct:brw_compile
|