/external/chromium_org/net/quic/crypto/ |
H A D | 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)); 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 61 base::HexEncode(compressed 75 const string compressed = local [all...] |
/external/smack/src/com/kenai/jbosh/ |
H A D | GZIPCodec.java | 58 * @return compressed data 83 public static byte[] decode(final byte[] compressed) throws IOException { argument 84 ByteArrayInputStream byteIn = new ByteArrayInputStream(compressed);
|
H A D | ZLIBCodec.java | 58 * @return compressed data 83 public static byte[] decode(final byte[] compressed) throws IOException { argument 84 ByteArrayInputStream byteIn = new ByteArrayInputStream(compressed);
|
/external/chromium_org/net/websockets/ |
H A D | websocket_inflater_test.cc | 189 scoped_refptr<IOBufferWithSize> compressed; local 202 compressed = deflater.GetOutput(deflater.CurrentOutputSize()); 204 ASSERT_TRUE(compressed.get()); 207 ASSERT_TRUE(inflater.AddBytes(compressed->data(), compressed->size()));
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
H A D | WebSocketPerMessageDeflateTest.cpp | 238 std::vector<char> compressed; local 242 std::copy(&f1.payload[0], &f1.payload[f1.payloadLength], std::inserter(compressed, compressed.end())); 254 std::copy(&f3.payload[0], &f3.payload[f3.payloadLength], std::inserter(compressed, compressed.end())); 256 EXPECT_EQ(7u, compressed.size()); 257 EXPECT_EQ(0, memcmp("\xf2\x48\xcd\xc9\xc9\x07\x00", &compressed[0], compressed.size()));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | FlateTest.cpp | 46 SkDynamicMemoryWStream compressed; local 47 bool deflateSuccess = SkFlate::Deflate(testStream, &compressed); 62 size_t compressedSize = compressed.getOffset(); 64 SkAutoDataUnref compressedData(compressed.copyToData());
|
/external/skia/tests/ |
H A D | FlateTest.cpp | 43 SkDynamicMemoryWStream compressed; local 44 bool status = SkFlate::Deflate(testStream, &compressed); 58 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024); 60 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024); 62 SkAutoDataUnref data1(compressed.copyToData());
|
/external/chromium_org/chrome/browser/bitmap_fetcher/ |
H A D | bitmap_fetcher_browsertest.cc | 103 std::vector<unsigned char> compressed; local 104 ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed)); 107 std::string image_string(compressed.begin(), compressed.end());
|
/external/chromium_org/printing/ |
H A D | 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_cast<int>(compressed.size())); 77 success = (write_bytes == static_cast<int>(compressed.size())); 140 bool Image::LoadPng(const std::string& compressed) { argument 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/ |
H A D | xmlIO.h | 134 int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ member in struct:_xmlParserInputBuffer
|
/external/chromium_org/ui/gfx/codec/ |
H A D | 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[ [all...] |
/external/libxml2/include/libxml/ |
H A D | xmlIO.h | 134 int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ member in struct:_xmlParserInputBuffer
|
/external/chromium_org/content/browser/tracing/ |
H A D | trace_uploader.cc | 164 char* compressed, 166 DCHECK(compressed); 179 stream.next_out = reinterpret_cast<uint8*>(compressed); 182 // is large enough to hold all compressed data. 162 Compress(std::string input, int max_compressed_bytes, char* compressed, int* compressed_bytes) argument
|
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_benchmark.cc | 83 std::string compressed; local 84 base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &compressed); local 85 ASSERT_TRUE(compressed.size()); 87 reinterpret_cast<const unsigned char*>(compressed.data()), 88 compressed.size(), bitmap)); 93 std::vector<unsigned char> compressed; local 101 &compressed)); local 102 ASSERT_TRUE(compressed.size()); 105 ASSERT_EQ(fwrite(&*compressed.begin(), 1, compressed [all...] |
/external/chromium_org/media/cast/logging/ |
H A D | serialize_deserialize_test.cc | 140 bool compressed = false; local 146 compressed, 156 serialized_.get(), output_bytes_, compressed, &audio_log, &video_log); 163 bool compressed = false; local 169 compressed, 178 bool compressed = true; local 183 compressed, 193 serialized_.get(), output_bytes_, compressed, &audio_log, &video_log); 199 bool compressed = true; local 205 compressed, [all...] |
H A D | log_deserializer.cc | 226 bool compressed, 231 if (compressed) { 224 DeserializeEvents(const char* data, int data_bytes, bool compressed, DeserializedLog* audio_log, DeserializedLog* video_log) argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | formatutils.h | 78 bool compressed; member in struct:gl::InternalFormat
|
H A D | validationES2.cpp | 25 static bool ValidateSubImageParams2D(Context *context, bool compressed, GLsizei width, GLsizei height, argument 35 if (compressed != texture->isCompressed(level)) 50 if (compressed) 70 static bool ValidateSubImageParamsCube(Context *context, bool compressed, GLsizei width, GLsizei height, argument 80 if (compressed != texture->isCompressed(target, level)) 95 if (compressed) 393 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: // error cases for compressed textures are handled below
|
/external/libunwind/src/ |
H A D | elfxx.c | 187 xz_uncompressed_size (uint8_t *compressed, size_t length) argument 197 uint8_t *footer = compressed + length - LZMA_STREAM_HEADER_SIZE; 225 uint8_t *compressed = NULL; local 254 compressed = ((uint8_t *) ei->image) + shdr->sh_offset; 263 if (!compressed) 266 uncompressed_len = xz_uncompressed_size (compressed, compressed_len); 283 compressed, &in_pos, compressed_len,
|
/external/chromium_org/net/spdy/ |
H A D | spdy_test_util_common.h | 147 bool compressed; member in struct:net::SpdyHeaderInfo 343 bool compressed, 359 bool compressed, 410 // Constructs a standard SPDY GET SYN frame, optionally compressed 416 bool compressed, 421 bool compressed, 425 // Constructs a standard SPDY GET SYN frame, optionally compressed. 432 bool compressed, 473 bool compressed, 558 scoped_ptr<SpdyFramer> CreateFramer(bool compressed) cons [all...] |
/external/chromium_org/third_party/leveldatabase/src/table/ |
H A D | 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/gallium/drivers/nv50/ |
H A D | nv50_miptree.c | 38 nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) argument 106 if (!compressed)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
H A D | nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) argument 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/skia/src/utils/ |
H A D | 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/gallium/drivers/nv50/ |
H A D | nv50_miptree.c | 38 nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) argument 106 if (!compressed)
|