/external/chromium_org/net/quic/crypto/ |
D | cert_compressor_test.cc | 21 const string compressed = in TEST() local 23 EXPECT_EQ("00", base::HexEncode(compressed.data(), compressed.size())); in TEST() 27 CertCompressor::DecompressChain(compressed, cached_certs, NULL, &chain2)); in TEST() 34 const string compressed = in TEST() local 36 ASSERT_GE(compressed.size(), 2u); in TEST() 37 EXPECT_EQ("0100", base::HexEncode(compressed.substr(0, 2).data(), 2)); in TEST() 41 CertCompressor::DecompressChain(compressed, cached_certs, NULL, &chain2)); in TEST() 52 const string compressed = CertCompressor::CompressChain( in TEST() local 61 base::HexEncode(compressed.data(), compressed.size())); in TEST() 64 ASSERT_TRUE(CertCompressor::DecompressChain(compressed, cached_certs, in TEST() [all …]
|
/external/qemu/ |
D | trace.c | 36 char compressed[kCompressedSize]; member 56 char compressed[kCompressedSize]; member 78 char compressed[kCompressedSize]; member 89 char compressed[kCompressedSize]; member 100 char compressed[kCompressedSize]; member 109 char compressed[kCompressedSize]; member 351 trace_bb.compressed_ptr = trace_bb.compressed; in create_trace_bb() 352 trace_bb.high_water_ptr = &trace_bb.compressed[kCompressedSize] - kMaxBBCompressed; in create_trace_bb() 375 trace_insn.compressed_ptr = trace_insn.compressed; in create_trace_insn() 376 trace_insn.high_water_ptr = &trace_insn.compressed[kCompressedSize] - kMaxInsnCompressed; in create_trace_insn() [all …]
|
/external/chromium_org/net/quic/ |
D | quic_spdy_compressor.cc | 57 string compressed; in CompressHeadersInternal() local 59 compressed.reserve( in CompressHeadersInternal() 62 compressed.append(priority_str, arraysize(priority_str)); in CompressHeadersInternal() 64 compressed.append(id_str, arraysize(id_str)); in CompressHeadersInternal() 65 compressed.append(len_str, arraysize(len_str)); in CompressHeadersInternal() 66 compressed.append(serialized); in CompressHeadersInternal() 68 return compressed; in CompressHeadersInternal()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.cc | 165 uptr StackTrace::CompressStack(StackTrace *stack, u32 *compressed, uptr size) { in CompressStack() argument 170 compressed[i] = stack->trace[i]; in CompressStack() 174 compressed[stack->size] = 0; in CompressStack() 190 compressed[c_index++] = offset; in CompressStack() 197 compressed[c_index++] = hi; in CompressStack() 198 compressed[c_index++] = lo; in CompressStack() 204 compressed[c_index] = 0; in CompressStack() 206 compressed[c_index + 1] = 0; in CompressStack() 212 UncompressStack(&check_stack, compressed, size); in CompressStack() 229 u32 *compressed, uptr size) { in UncompressStack() argument [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_deflate_stream.cc | 205 scoped_ptr<WebSocketFrame> compressed(new WebSocketFrame(opcode)); in AppendCompressedFrame() local 206 compressed->header.CopyFrom(header); in AppendCompressedFrame() 207 compressed->header.opcode = opcode; in AppendCompressedFrame() 208 compressed->header.final = header.final; in AppendCompressedFrame() 209 compressed->header.reserved1 = in AppendCompressedFrame() 211 compressed->data = compressed_payload; in AppendCompressedFrame() 212 compressed->header.payload_length = compressed_payload->size(); in AppendCompressedFrame() 215 predictor_->RecordWrittenDataFrame(compressed.get()); in AppendCompressedFrame() 216 frames_to_write->push_back(compressed.release()); in AppendCompressedFrame() 257 scoped_ptr<WebSocketFrame> compressed(new WebSocketFrame(opcode)); in AppendPossiblyCompressedMessage() local [all …]
|
/external/chromium_org/printing/ |
D | image.cc | 63 std::vector<unsigned char> compressed; in SaveToPng() local 70 &compressed); in SaveToPng() 71 DCHECK(success && compressed.size()); in SaveToPng() 75 reinterpret_cast<char*>(&*compressed.begin()), in SaveToPng() 76 base::checked_numeric_cast<int>(compressed.size())); in SaveToPng() 77 success = (write_bytes == static_cast<int>(compressed.size())); in SaveToPng() 140 bool Image::LoadPng(const std::string& compressed) { in LoadPng() argument 144 reinterpret_cast<const unsigned char*>(compressed.c_str()), in LoadPng() 145 compressed.size(), gfx::PNGCodec::FORMAT_BGRA, &data_, &w, &h); in LoadPng()
|
/external/chromium_org/media/cast/test/ |
D | crypto_utility.cc | 12 std::string compressed; in ConvertFromBase16String() local 14 compressed.reserve(base_16.size() / 2); in ConvertFromBase16String() 20 compressed.assign(reinterpret_cast<const char*>(&v[0]), v.size()); in ConvertFromBase16String() 21 return compressed; in ConvertFromBase16String()
|
/external/chromium_org/content/common/gpu/client/ |
D | gl_helper_benchmark.cc | 85 std::string compressed; in LoadPngFileToSkBitmap() local 86 base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &compressed); in LoadPngFileToSkBitmap() 87 ASSERT_TRUE(compressed.size()); in LoadPngFileToSkBitmap() 89 reinterpret_cast<const unsigned char*>(compressed.data()), in LoadPngFileToSkBitmap() 90 compressed.size(), bitmap)); in LoadPngFileToSkBitmap() 95 std::vector<unsigned char> compressed; in SaveToFile() local 103 &compressed)); in SaveToFile() 104 ASSERT_TRUE(compressed.size()); in SaveToFile() 107 ASSERT_EQ(fwrite(&*compressed.begin(), 1, compressed.size(), f), in SaveToFile() 108 compressed.size()); in SaveToFile()
|
/external/skia/src/utils/ |
D | SkParseColor.cpp | 193 int compressed = 0; in CreateTable() local 196 compressed <<= 5; in CreateTable() 197 compressed |= *name ? *name++ - 'a' + 1 : 0 ; in CreateTable() 200 compressed <<= 1; in CreateTable() 201 compressed |= 1; in CreateTable() 203 compressed |= 0x80000000; in CreateTable() 207 compressed &= ~1; in CreateTable() 211 SkDebugf("0x%08x, ", compressed); in CreateTable()
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkParseColor.cpp | 193 int compressed = 0; in CreateTable() local 196 compressed <<= 5; in CreateTable() 197 compressed |= *name ? *name++ - 'a' + 1 : 0 ; in CreateTable() 200 compressed <<= 1; in CreateTable() 201 compressed |= 1; in CreateTable() 203 compressed |= 0x80000000; in CreateTable() 207 compressed &= ~1; in CreateTable() 211 SkDebugf("0x%08x, ", compressed); in CreateTable()
|
/external/chromium_org/ui/gfx/codec/ |
D | jpeg_codec_unittest.cc | 183 std::vector<unsigned char> compressed; in TEST() local 185 w * 3, jpeg_quality, &compressed)); in TEST() 188 ASSERT_FALSE(JPEGCodec::Decode(&compressed[0], compressed.size() / 2, in TEST() 194 compressed[i] = i; in TEST() 195 ASSERT_FALSE(JPEGCodec::Decode(&compressed[0], compressed.size(), in TEST()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) in nvc0_mt_choose_storage_type() argument 66 compressed = FALSE; /* not yet supported */ in nvc0_mt_choose_storage_type() 75 if (compressed) in nvc0_mt_choose_storage_type() 81 if (compressed) in nvc0_mt_choose_storage_type() 88 if (compressed) in nvc0_mt_choose_storage_type() 94 if (compressed) in nvc0_mt_choose_storage_type() 100 if (compressed) in nvc0_mt_choose_storage_type() 108 if (compressed) in nvc0_mt_choose_storage_type() 114 if (compressed) { in nvc0_mt_choose_storage_type() 128 if (compressed) { in nvc0_mt_choose_storage_type()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
D | nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) in nvc0_mt_choose_storage_type() argument 66 compressed = FALSE; /* not yet supported */ in nvc0_mt_choose_storage_type() 75 if (compressed) in nvc0_mt_choose_storage_type() 81 if (compressed) in nvc0_mt_choose_storage_type() 88 if (compressed) in nvc0_mt_choose_storage_type() 94 if (compressed) in nvc0_mt_choose_storage_type() 100 if (compressed) in nvc0_mt_choose_storage_type() 108 if (compressed) in nvc0_mt_choose_storage_type() 114 if (compressed) { in nvc0_mt_choose_storage_type() 128 if (compressed) { in nvc0_mt_choose_storage_type()
|
/external/skia/tests/ |
D | FlateTest.cpp | 44 SkDynamicMemoryWStream compressed; in TestFlate() local 45 bool status = SkFlate::Deflate(testStream, &compressed); in TestFlate() 59 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024); in TestFlate() 61 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024); in TestFlate() 63 SkAutoDataUnref data1(compressed.copyToData()); in TestFlate()
|
/external/chromium/net/spdy/ |
D | spdy_test_util.h | 40 bool compressed; member 125 bool compressed, 134 bool compressed, 193 bool compressed, 203 bool compressed, 214 bool compressed,
|
D | spdy_test_util.cc | 167 header_info.compressed, &headers); in ConstructSpdyPacket() 171 header_info.compressed, &headers); in ConstructSpdyPacket() 178 header_info.compressed, &headers); in ConstructSpdyPacket() 269 bool compressed, in ConstructSpdyControlFrame() argument 278 compressed, in ConstructSpdyControlFrame() 290 bool compressed, in ConstructSpdyControlFrame() argument 305 compressed, // Compressed in ConstructSpdyControlFrame() 324 bool compressed, in ConstructSpdyGet() argument 334 compressed, // Compressed in ConstructSpdyGet() 387 bool compressed, in ConstructSpdyGet() argument [all …]
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
D | notification_bitmap_fetcher_browsertest.cc | 104 std::vector<unsigned char> compressed; in IN_PROC_BROWSER_TEST_F() local 105 ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed)); in IN_PROC_BROWSER_TEST_F() 108 std::string image_string(compressed.begin(), compressed.end()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/skia/ext/ |
D | vector_canvas_unittest.cc | 88 std::string compressed; in Image() local 89 base::ReadFileToString(filename, &compressed); in Image() 90 EXPECT_TRUE(compressed.size()); in Image() 94 reinterpret_cast<const unsigned char*>(compressed.data()), in Image() 95 compressed.size(), &bitmap)); in Image() 129 std::vector<unsigned char> compressed; in SaveToFile() local 136 &compressed)); in SaveToFile() 137 ASSERT_TRUE(compressed.size()); in SaveToFile() 140 ASSERT_EQ(fwrite(&*compressed.begin(), 1, compressed.size(), f), in SaveToFile() 141 compressed.size()); in SaveToFile() [all …]
|
/external/chromium_org/third_party/angle/extensions/ |
D | ANGLE_texture_compression_dxt.txt | 90 the compressed texture is stored in the appropriate S3TC compressed 106 in Table 3.x, the texture is stored in the appropriate S3TC compressed 125 is one of the compressed internal formats from Table 3.x and any of the 132 <internalformat> is one of the compressed internal formats from 137 one of the compressed internal formats from Table 3.x. 140 is one of the compressed interal formats from Table 3.x and any of the
|
/external/chromium_org/v8/tools/testrunner/server/ |
D | compression.py | 46 compressed = zlib.compress(obj, compression_level) 47 payload = struct.pack('>i', len(compressed)) + compressed
|
/external/tinycompress/ |
D | README | 8 compressed APIs introduced in Linux 3.3 9 This library provides the APIs to open a ALSA compressed device and read/write 10 compressed data like MP3 etc to it.
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | brw_eu.c | 106 p->compressed = (compression_control == BRW_COMPRESSION_COMPRESSED); in brw_set_compression_control() 159 p->compressed_stack[p->current - p->stack] = p->compressed; in brw_push_insn_state() 167 p->compressed = p->compressed_stack[p->current - p->stack]; in brw_pop_insn_state() 186 p->compressed = false; in brw_init_compile()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_eu.c | 106 p->compressed = (compression_control == BRW_COMPRESSION_COMPRESSED); in brw_set_compression_control() 159 p->compressed_stack[p->current - p->stack] = p->compressed; in brw_push_insn_state() 167 p->compressed = p->compressed_stack[p->current - p->stack]; in brw_pop_insn_state() 186 p->compressed = false; in brw_init_compile()
|
/external/chromium_org/net/base/ |
D | sdch_filter_unittest.cc | 77 std::string compressed(server_hash); in NewSdchCompressedData() local 78 compressed.append("\0", 1); in NewSdchCompressedData() 79 compressed.append(vcdiff_compressed_data_); in NewSdchCompressedData() 80 return compressed; in NewSdchCompressedData() 413 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local 426 EXPECT_TRUE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 436 EXPECT_TRUE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 451 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local 464 EXPECT_FALSE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 482 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local [all …]
|
/external/chromium/net/base/ |
D | sdch_filter_unittest.cc | 83 std::string compressed(server_hash); in NewSdchCompressedData() local 84 compressed.append("\0", 1); in NewSdchCompressedData() 85 compressed.append(vcdiff_compressed_data_); in NewSdchCompressedData() 86 return compressed; in NewSdchCompressedData() 419 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local 432 EXPECT_TRUE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 442 EXPECT_TRUE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 457 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local 470 EXPECT_FALSE(FilterTestData(compressed, feed_block_size, output_block_size, in TEST_F() 488 std::string compressed(NewSdchCompressedData(dictionary)); in TEST_F() local [all …]
|