Home
last modified time | relevance | path

Searched refs:compressed (Results 1 - 25 of 119) sorted by relevance

12345

/third_party/lz4/ossfuzz/
H A Dround_trip_stream_fuzzer.c35 cursor_t compressed; member
69 state.compressed = cursor_create(1024 + 2 * LZ4_compressBound(size)); in state_create()
84 cursor_free(state.compressed); in state_free()
98 state->compressed.pos = 0; in state_reset()
143 char* dst = state->compressed.buf + state->compressed.pos; in state_prefixRoundTrip()
146 int const dstCapacity = state->compressed.size - state->compressed.pos; in state_prefixRoundTrip()
151 state->compressed.pos += cSize; in state_prefixRoundTrip()
164 char* dst = state->compressed in state_extDictRoundTrip()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_miptree.c43 bool compressed) in tu102_choose_tiled_storage_type()
50 if (compressed) in tu102_choose_tiled_storage_type()
58 if (compressed) in tu102_choose_tiled_storage_type()
66 if (compressed) in tu102_choose_tiled_storage_type()
73 if (compressed) in tu102_choose_tiled_storage_type()
91 bool compressed) in nvc0_choose_tiled_storage_type()
96 return tu102_choose_tiled_storage_type(format, ms, compressed); in nvc0_choose_tiled_storage_type()
100 if (compressed) in nvc0_choose_tiled_storage_type()
108 if (compressed) in nvc0_choose_tiled_storage_type()
116 if (compressed) in nvc0_choose_tiled_storage_type()
41 tu102_choose_tiled_storage_type(enum pipe_format format, unsigned ms, bool compressed) tu102_choose_tiled_storage_type() argument
88 nvc0_choose_tiled_storage_type(struct pipe_screen *pscreen, enum pipe_format format, unsigned ms, bool compressed) nvc0_choose_tiled_storage_type() argument
186 nvc0_mt_choose_storage_type(struct pipe_screen *pscreen, const struct nv50_miptree *mt, bool compressed) nvc0_mt_choose_storage_type() argument
451 bool compressed = drm->version >= 0x01000101; nvc0_miptree_create() local
[all...]
/third_party/node/test/parallel/
H A Dtest-zlib-convenience-methods.js79 const compressed = result.buffer;
80 zlib[method[1]](compressed, optsInfo, common.mustCall((err, result) => {
91 const compressed = zlib[`${method[0]}Sync`](expect, opts);
92 const decompressed = zlib[`${method[1]}Sync`](compressed, opts);
100 const compressed = zlib[`${method[0]}Sync`](expect);
101 const decompressed = zlib[`${method[1]}Sync`](compressed);
109 const compressed = zlib[`${method[0]}Sync`](expect, optsInfo);
110 assert.ok(compressed.engine instanceof zlib[method[2]],
113 const decompressed = zlib[`${method[1]}Sync`](compressed.buffer,
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
H A Ddeflate_fuzzer.cc41 std::vector<uint8_t> compressed(src.size() * 2 + 1000); in LLVMFuzzerTestOneInput()
42 stream.next_out = compressed.data(); in LLVMFuzzerTestOneInput()
43 stream.avail_out = compressed.size(); in LLVMFuzzerTestOneInput()
54 compressed.resize(compressed.size() - stream.avail_out); in LLVMFuzzerTestOneInput()
62 stream.next_in = compressed.data(); in LLVMFuzzerTestOneInput()
63 stream.avail_in = compressed.size(); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavcodec/
H A Dpcx.c37 int compressed) in pcx_rle_decode()
45 if (compressed) { in pcx_rle_decode()
77 int compressed, xmin, ymin, xmax, ymax; in pcx_decode_frame() local
95 compressed = bytestream2_get_byteu(&gb); in pcx_decode_frame()
118 (!compressed && bytes_per_scanline > bytestream2_get_bytes_left(&gb) / h)) { in pcx_decode_frame()
160 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
183 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
205 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
217 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
34 pcx_rle_decode(GetByteContext *gb, uint8_t *dst, unsigned int bytes_per_scanline, int compressed) pcx_rle_decode() argument
H A Ddds.c104 int compressed; member
136 ctx->compressed = flags & DDPF_FOURCC; in parse_pixel_format()
141 if (ctx->compressed && ctx->paletted) { in parse_pixel_format()
143 "Disabling invalid palette flag for compressed dds.\n"); in parse_pixel_format()
164 if (ctx->compressed) in parse_pixel_format()
167 if (ctx->compressed) { in parse_pixel_format()
226 ctx->compressed = 0; in parse_pixel_format()
230 ctx->compressed = 0; in parse_pixel_format()
235 ctx->compressed = 0; in parse_pixel_format()
240 ctx->compressed in parse_pixel_format()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_format_utils.h127 const angle::Format &getActualBufferFormat(bool compressed) const in getActualBufferFormat()
129 return angle::Format::Get(compressed ? mActualCompressedBufferFormatID in getActualBufferFormat()
133 VkFormat getActualBufferVkFormat(bool compressed) const in getActualBufferVkFormat()
135 return GetVkFormatFromFormatID(compressed ? mActualCompressedBufferFormatID in getActualBufferVkFormat()
139 VertexCopyFunction getVertexLoadFunction(bool compressed) const in getVertexLoadFunction()
141 return compressed ? mCompressedVertexLoadFunction : mVertexLoadFunction; in getVertexLoadFunction()
144 bool getVertexLoadRequiresConversion(bool compressed) const in getVertexLoadRequiresConversion()
146 return compressed ? mCompressedVertexLoadRequiresConversion : mVertexLoadRequiresConversion; in getVertexLoadRequiresConversion()
170 size_t getVertexInputAlignment(bool compressed) const;
H A Dgen_vk_format_table.py173 compressed = vk_fallbacks.get(format, {}).get(type + "_compressed", [])
174 if not isinstance(compressed, list):
175 compressed = [compressed]
177 fallbacks += compressed
182 return (fallbacks, len(fallbacks) - len(compressed))
H A DVertexArrayVk.cpp54 bool compressed, in WarnOnVertexFormatConversion()
57 if (!vertexFormat.getVertexLoadRequiresConversion(compressed)) in WarnOnVertexFormatConversion()
66 vertexFormat.getActualBufferFormat(compressed).glInternalFormat); in WarnOnVertexFormatConversion()
375 bool compressed) in convertVertexBufferGPU()
378 const angle::Format &dstFormat = vertexFormat.getActualBufferFormat(compressed); in convertVertexBufferGPU()
391 ASSERT(vertexFormat.getVertexInputAlignment(compressed) <= vk::kVertexBufferAlignment); in convertVertexBufferGPU()
425 bool compressed) in convertVertexBufferCPU()
430 unsigned dstFormatSize = vertexFormat.getActualBufferFormat(compressed).pixelBytes; in convertVertexBufferCPU()
444 ASSERT(vertexFormat.getVertexInputAlignment(compressed) <= vk::kVertexBufferAlignment); in convertVertexBufferCPU()
447 binding.getStride(), srcFormatSize, vertexFormat.getVertexLoadFunction(compressed), in convertVertexBufferCPU()
52 WarnOnVertexFormatConversion(ContextVk *contextVk, const vk::Format &vertexFormat, bool compressed, bool insertEventMarker) WarnOnVertexFormatConversion() argument
368 convertVertexBufferGPU(ContextVk *contextVk, BufferVk *srcBuffer, const gl::VertexBinding &binding, size_t attribIndex, const vk::Format &vertexFormat, ConversionBuffer *conversion, GLuint relativeOffset, bool compressed) convertVertexBufferGPU() argument
418 convertVertexBufferCPU(ContextVk *contextVk, BufferVk *srcBuffer, const gl::VertexBinding &binding, size_t attribIndex, const vk::Format &vertexFormat, ConversionBuffer *conversion, GLuint relativeOffset, bool compressed) convertVertexBufferCPU() argument
597 bool compressed = false; syncDirtyAttrib() local
791 bool compressed = false; updateStreamedAttribs() local
[all...]
/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dutils_unittest.cc21 std::vector<unsigned char> compressed( in TestPayloads()
27 unsigned long compressed_size = static_cast<unsigned long>(compressed.size()); in TestPayloads()
29 type, compressed.data(), &compressed_size, input.data(), input.size(), in TestPayloads()
37 compressed.data(), compressed_size); in TestPayloads()
75 std::vector<unsigned char> compressed( in TEST()
78 unsigned long compressed_size = static_cast<unsigned long>(compressed.size()); in TEST()
80 type, compressed.data(), &compressed_size, input.data(), input.size(), in TEST()
88 compressed.data(), compressed_size); in TEST()
189 std::vector<uint8_t> compressed(100, '\0'); in TEST()
190 stream.next_out = compressed in TEST()
387 uint8_t compressed[sizeof(checkMatchCrashData) * 2]; TEST() local
[all...]
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
H A DDecoderTest.java62 byte[] compressed; in run()
64 compressed = BundleHelper.readEntry(bundle, entryName); in run()
68 if (compressed == null) { in run()
72 byte[] decompressed = Decoder.decompress(compressed); in run()
H A DBrotliDecoderChannelTest.java64 byte[] compressed; in run()
66 compressed = BundleHelper.readEntry(bundle, entryName); in run()
70 if (compressed == null) { in run()
74 ReadableByteChannel src = Channels.newChannel(new ByteArrayInputStream(compressed)); in run()
H A DBrotliInputStreamTest.java62 byte[] compressed; in run()
64 compressed = BundleHelper.readEntry(bundle, entryName); in run()
68 if (compressed == null) { in run()
72 InputStream src = new ByteArrayInputStream(compressed); in run()
/third_party/mesa3d/src/intel/isl/
H A Disl_aux_info.c49 /* Writes using the 3D engine are compressed. */
52 /* Writes using the 3D engine are either compressed or substituted with
71 bool compressed; member
113 return info[usage].fast_clear && info[usage].compressed; in aux_state_possible()
115 return info[usage].compressed; in aux_state_possible()
143 if (!info[usage].compressed) in isl_aux_prepare_access()
153 return info[usage].compressed ? in isl_aux_prepare_access()
265 return info[usage].compressed; in isl_aux_usage_has_compression()
/third_party/skia/tests/
H A DPDFDeflateWStreamTest.cpp132 std::unique_ptr<SkStreamAsset> compressed(dynamicMemoryWStream.detachAsStream()); in DEF_TEST()
133 std::unique_ptr<SkStreamAsset> decompressed(stream_inflate(r, compressed.get())); in DEF_TEST()
144 o.writeStream(compressed.get(), compressed->getLength()); in DEF_TEST()
145 compressed->rewind(); in DEF_TEST()
/third_party/toybox/toys/pending/
H A Dxzcat.c59 * you can get this error only when decoding a compressed stream that is
1384 /* Next position after decoding the compressed size of the chunk. */
1391 * Compressed size of LZMA chunk or compressed/uncompressed
1394 uint32_t compressed; member
1994 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
1996 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
1997 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
2003 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
2022 s->lzma2.compressed -= s->rc.in_pos; in lzma2_lzma()
2040 if (in_avail >= s->lzma2.compressed in lzma2_lzma()
2395 vli_type compressed; global() member
2410 vli_type compressed; global() member
[all...]
/third_party/skia/third_party/externals/zlib/contrib/bench/
H A Dzlib_bench.cc7 * (deflate) encoded compressed data. Given a file containing any data, encode
218 std::vector<std::string> compressed(blocks); in zlib_file()
244 compressed[b].resize(zlib_estimate_compressed_size(block_size)); in zlib_file()
249 zlib_compress(type, input[b], input_length[b], &compressed[b]); in zlib_file()
252 // Compress again, resizing compressed, so we don't leave junk at the in zlib_file()
253 // end of the compressed string that could confuse zlib_uncompress(). in zlib_file()
255 zlib_compress(type, input[b], input_length[b], &compressed[b], true); in zlib_file()
263 zlib_uncompress(type, compressed[b], input_length[b], &output[b]); in zlib_file()
274 for (size_t i = 0; i < compressed.size(); ++i) in zlib_file()
275 output_length += compressed[ in zlib_file()
[all...]
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
H A DDecodeTest.cs73 private void CheckDecodeResourceWithDictionary(string expected, string compressed, string dictionary) in CheckDecodeResourceWithDictionary() argument
76 byte[] compressedBytes = Org.Brotli.Dec.Transform.ReadUniBytes(compressed); in CheckDecodeResourceWithDictionary()
83 private void CheckDecodeResource(string expected, string compressed) in CheckDecodeResource() argument
86 byte[] compressedBytes = Org.Brotli.Dec.Transform.ReadUniBytes(compressed); in CheckDecodeResource()
H A DSynthTest.cs35 private void CheckSynth(byte[] compressed, bool expectSuccess, string expectedOutput) in CheckSynth() argument
40 byte[] actual = Decompress(compressed); in CheckSynth()
60 byte[] compressed = new byte[] { unchecked((byte)unchecked((int)(0x1b))), unchecked((byte)unchecked((int)(0x03))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked( in TestBaseDictWord()
65 CheckSynth(compressed, true, string.Empty + "time"); in TestBaseDictWord()
78 byte[] compressed = new byte[] { unchecked((byte)unchecked((int)(0x1b))), unchecked((byte)unchecked((int)(0x1f))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked( in TestBaseDictWordFinishBlockOnRingbufferWrap()
87 CheckSynth(compressed, true, string.Empty + "aaaaaaaaaaaaaaaaaaaaaaaaaaaatime"); in TestBaseDictWordFinishBlockOnRingbufferWrap()
98 byte[] compressed = new byte[] { unchecked((byte)unchecked((int)(0x1b))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x00))), unchecked( in TestBaseDictWordTooLong()
103 CheckSynth(compressed, false, string.Empty); in TestBaseDictWordTooLong()
117 byte[] compressed = new byte[] { unchecked((byte)unchecked((int)(0x1b))), unchecked((byte)unchecked((int)(0x0b))), unchecked((byte)unchecked((int)(0x00))), unchecked((byte)unchecked((int)(0x11))), unchecked((byte)unchecked((int)(0x01))), unchecked( in TestBlockCountMessage()
124 CheckSynth(compressed, tru in TestBlockCountMessage()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureLevelStateQueryTests.cpp131 bool compressed; member
139 , compressed (false) in TextureLevelSpec()
425 level.compressed = false; in generateColorTextureGenerationGroup()
446 level.compressed = false; in generateColorTextureGenerationGroup()
467 level.compressed = false; in generateColorTextureGenerationGroup()
494 level.compressed = false; in generateColorTextureGenerationGroup()
518 level.compressed = false; in generateColorTextureGenerationGroup()
541 level.compressed = false; in generateColorTextureGenerationGroup()
561 level.compressed = false; in generateColorTextureGenerationGroup()
581 level.compressed in generateColorTextureGenerationGroup()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fASTCDecompressionCases.cpp430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); in iterate()
441 DE_ASSERT(compressed.getDataSize() == numBlocksPerImage*tcu::astc::BLOCK_SIZE_BYTES); in iterate()
442 deMemcpy(compressed.getData(), &m_blockData[m_numBlocksTested*tcu::astc::BLOCK_SIZE_BYTES], curNumUsedBlocks*tcu::astc::BLOCK_SIZE_BYTES); in iterate()
444 tcu::astc::generateDefaultVoidExtentBlocks((deUint8*)compressed.getData() + curNumUsedBlocks*tcu::astc::BLOCK_SIZE_BYTES, curNumUnusedBlocks); in iterate()
451 glu::Texture2D texture (renderCtx, m_context.getContextInfo(), 1, &compressed, tcu::TexDecompressionParams(decompressionMode)); in iterate()
455 m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFormat())); in iterate()
564 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight);
566 DE_ASSERT(compressed.getDataSize() == totalNumBlocks*tcu::astc::BLOCK_SIZE_BYTES);
567 tcu::astc::generateDefaultNormalBlocks((deUint8*)compressed.getData(), totalNumBlocks, blockSize.x(), blockSize.y());
576 glu::Texture2D texture (renderCtx, m_context.getContextInfo(), 1, &compressed, tc
[all...]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dec_importKey.https.any.js106 const compressed = format.endsWith("_compressed");
107 if (compressed) {
130 if (compressed && err.name === "DataError") {
136 }, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, compressed, keyData, algorithm, extractable, usages));
263 function parameterString(format, compressed, data, algorithm, extractable, usages) {
265 data = "buffer(" + data.byteLength.toString() + (compressed ? ", compressed" : "") + ")";
/third_party/node/deps/v8/include/v8-include/cppgc/internal/
H A Dmember-storage.h139 auto compressed = in Compress() local
144 auto compressed = static_cast<IntegralType>(uptr >> 1); in Compress() local
146 // Normal compressed pointers must have the MSB set. in Compress()
147 CPPGC_DCHECK((!compressed || compressed == kCompressedSentinel) || in Compress()
148 (compressed & (1 << 31))); in Compress()
149 return compressed; in Compress()
155 // Treat compressed pointer as signed and cast it to uint64_t, which will in Decompress()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
H A DEOTWriter.java36 private final boolean compressed; field in EOTWriter
50 compressed = false; in EOTWriter()
53 public EOTWriter(boolean compressed) { in EOTWriter() argument
54 this.compressed = compressed; in EOTWriter()
68 if (compressed) { in convert()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
H A DExhaustiveTest.java29 byte [] compressed = UnicodeCompressor.compress(s); in simpleTest()
30 String res = UnicodeDecompressor.decompress(compressed); in simpleTest()
34 + compressed.length + " bytes ===> " in simpleTest()
38 printBytes(compressed, compressed.length); in simpleTest()
99 byte[] compressed = new byte[compressedSize]; in myMultipassTest()
131 System.arraycopy(byteBuffer, 0, compressed, in myMultipassTest()
134 // update the no. of characters compressed in myMultipassTest()
146 errln("ERROR: Number of characters compressed(" in myMultipassTest()
156 unicharsWritten = myDecompressor.decompress(compressed, in myMultipassTest()
[all...]

Completed in 17 milliseconds

12345