Home
last modified time | relevance | path

Searched refs:comp_size (Results 1 – 25 of 32) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c76 unsigned long i, comp_size, alloc_size; in testcase() local
80 comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
81 alloc_size = comp_size + MAX_OFFSET_DIFF_S1_S2; in testcase()
109 memcpy(rand_s2, rand_s1, comp_size); in testcase()
112 change = random() % comp_size; in testcase()
117 LARGE_SIZE_START, comp_size); in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
135 memcpy(rand_s2, rand_s1, comp_size); in testcase()
138 for (j = 0; j < comp_size / 8; j++) { in testcase()
139 change = random() % comp_size; in testcase()
[all …]
/external/puffin/src/
Dpuffin_unittest.cc89 size_t comp_size, in PuffDeflate() argument
92 BufferBitReader bit_reader(comp_buf, comp_size); in PuffDeflate()
97 TEST_AND_RETURN_FALSE(comp_size == bit_reader.Offset()); in PuffDeflate()
105 size_t comp_size) const { in HuffDeflate()
107 BufferBitWriter bit_writer(comp_buf, comp_size); in HuffDeflate()
110 TEST_AND_RETURN_FALSE(comp_size == bit_writer.Size()); in HuffDeflate()
121 auto comp_size = compressed.size(); in TestPuffDeflate() local
124 PuffDeflate(compressed.data(), comp_size, out_puff->data(), puff_size)); in TestPuffDeflate()
133 auto comp_size = compressed.size(); in FailPuffDeflate() local
136 PuffDeflate(compressed.data(), comp_size, out_puff->data(), puff_size)); in FailPuffDeflate()
[all …]
/external/libwebsockets/lib/roles/http/server/
Dfops-zip.c59 uint32_t comp_size; member
148 _priv->hdr.uncomp_size : _priv->hdr.comp_size)
224 priv->hdr.comp_size = get_u32(buf + ZC_COMPRESSED_SIZE); in lws_fops_zip_scan()
413 priv->fop_fd.len = sizeof(hd) + priv->hdr.comp_size + in lws_fops_zip_open()
561 cur != priv->content_start + priv->hdr.comp_size) in lws_fops_zip_read()
594 fd->pos < priv->hdr.comp_size + sizeof(hd)) { in lws_fops_zip_read()
596 rlen = priv->hdr.comp_size - (priv->zip_fop_fd->pos - in lws_fops_zip_read()
602 priv->zip_fop_fd->pos < (priv->hdr.comp_size + in lws_fops_zip_read()
616 if (len && fd->pos >= priv->hdr.comp_size + sizeof(hd) && in lws_fops_zip_read()
617 fd->pos < priv->hdr.comp_size + sizeof(hd) + in lws_fops_zip_read()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Darchive.h36 long comp_size; member
55 long comp_size; member
80 extract_file(char *dst, char *src, int method, int comp_size,
Dextract.c152 extract_file(char *dst, char *src, int method, int comp_size, in extract_file() argument
162 zstream.avail_in = comp_size+1; in extract_file()
310 pcdir->comp_size, in unzip_archive()
/external/mesa3d/src/mesa/main/
Dtexcompress_etc.c864 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; in etc2_unpack_r11() local
877 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps * comp_size; in etc2_unpack_r11()
880 dst += comps * comp_size; in etc2_unpack_r11()
901 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; in etc2_unpack_rg11() local
916 x * comps * comp_size; in etc2_unpack_rg11()
919 dst += comps * comp_size; in etc2_unpack_rg11()
927 x * comps * comp_size; in etc2_unpack_rg11()
929 etc2_r11_fetch_texel(&block, i, j, dst + comp_size); in etc2_unpack_rg11()
930 dst += comps * comp_size; in etc2_unpack_rg11()
951 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; in etc2_unpack_signed_r11() local
[all …]
/external/libbpf/src/
Dxsk.c139 cfg->comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS; in xsk_set_umem_config()
147 cfg->comp_size = usr_cfg->comp_size; in xsk_set_umem_config()
244 &umem->config.comp_size, in xsk_create_umem_rings()
245 sizeof(umem->config.comp_size)); in xsk_create_umem_rings()
267 map = mmap(NULL, off.cr.desc + umem->config.comp_size * sizeof(__u64), in xsk_create_umem_rings()
275 comp->mask = umem->config.comp_size - 1; in xsk_create_umem_rings()
276 comp->size = umem->config.comp_size; in xsk_create_umem_rings()
349 __u32 comp_size; member
915 munmap(ctx->comp->ring - off.cr.desc, off.cr.desc + umem->config.comp_size * in xsk_put_ctx()
Dxsk.h268 __u32 comp_size; member
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_to_scalar.c202 unsigned comp_size = glsl_get_bit_size(chan_var->type) / 8; in lower_load_to_scalar_early() local
203 chan_var->data.offset = var->data.offset + i * comp_size; in lower_load_to_scalar_early()
261 unsigned comp_size = glsl_get_bit_size(chan_var->type) / 8; in lower_store_output_to_scalar_early() local
262 chan_var->data.offset = var->data.offset + i * comp_size; in lower_store_output_to_scalar_early()
/external/lz4/examples/
Dcompress_functions.c117 const size_t comp_size in bench() argument
191 rv = LZ4_decompress_safe(src, dst, comp_size, src_size); in bench()
198 LZ4_decompress_safe(src, dst, comp_size, src_size); in bench()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2480 mz_uint total_header_size, comp_size, decomp_size, disk_index; in mz_zip_reader_read_central_dir() local
2486 comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); in mz_zip_reader_read_central_dir()
2488 …_METHOD_OFS)) && (decomp_size != comp_size)) || (decomp_size && !comp_size) || (decomp_size == 0xF… in mz_zip_reader_read_central_dir()
2493 …_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS) + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archi… in mz_zip_reader_read_central_dir()
2924 mz_uint64 comp_size, uncomp_size, alloc_size; in mz_zip_reader_extract_to_heap() local
2933 comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); in mz_zip_reader_extract_to_heap()
2936 alloc_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? comp_size : uncomp_size; in mz_zip_reader_extract_to_heap()
3396 …6 filename_size, mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncom… in mz_zip_writer_create_local_dir_header() argument
3407 MZ_WRITE_LE32(pDst + MZ_ZIP_LDH_COMPRESSED_SIZE_OFS, comp_size); in mz_zip_writer_create_local_dir_header()
3414 …16 extra_size, mz_uint16 comment_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncom… in mz_zip_writer_create_central_dir_header() argument
[all …]
/external/skia/modules/skottie/src/
DLayer.h20 LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size);
DSkottie.cpp123 const SkSize& comp_size, float duration, float framerate, in AnimationBuilder() argument
133 , fCompSize(comp_size) in AnimationBuilder()
DLayer.cpp307 LayerBuilder::LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size) in LayerBuilder() argument
313 , fInfo{comp_size, in LayerBuilder()
DSkottiePriv.h57 Animation::Builder::Stats*, const SkSize& comp_size,
/external/xz-embedded/linux/include/linux/
Dxz.h339 uint32_t comp_size, uint32_t uncomp_size,
/external/ComputeLibrary/include/libnpy/
Dnpy.hpp482 inline ndarray_len_t comp_size(const std::vector <ndarray_len_t> &shape) { in comp_size() function
506 auto size = static_cast<size_t>(comp_size(shape_v)); in SaveArrayAsNumpy()
550 auto size = static_cast<size_t>(comp_size(shape)); in LoadArrayFromNumpy()
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp26477 const GLuint comp_size = Utils::Type::GetTypeSize(type.m_basic_type); in test() local
26502 …mcpy(&xfb.m_expected_data[0] + 2 * type_size + 0 * comp_size, &goku_data[0] + 0 * comp_size, comp_… in test()
26503 …mcpy(&xfb.m_expected_data[0] + 2 * type_size + 2 * comp_size, &goku_data[0] + 2 * comp_size, comp_… in test()
26506 …cpy(&xfb.m_expected_data[0] + 0 * type_size + 1 * comp_size, &gohan_data[0] + 1 * comp_size, comp_… in test()
26507 …cpy(&xfb.m_expected_data[0] + 0 * type_size + 3 * comp_size, &gohan_data[0] + 3 * comp_size, comp_… in test()
26510 …cpy(&xfb.m_expected_data[0] + 1 * type_size + 0 * comp_size, &goten_data[0] + 0 * comp_size, comp_… in test()
26511 …cpy(&xfb.m_expected_data[0] + 1 * type_size + 1 * comp_size, &goten_data[0] + 1 * comp_size, comp_… in test()
26514 …cpy(&xfb.m_expected_data[0] + 3 * type_size + 2 * comp_size, &chichi_data[0] + 2 * comp_size, comp… in test()
26515 …cpy(&xfb.m_expected_data[0] + 3 * type_size + 3 * comp_size, &chichi_data[0] + 3 * comp_size, comp… in test()
26518 …cpy(&xfb.m_expected_data[0] + 7 * type_size + 0 * comp_size, &vegeta_data[0] + 0 * comp_size, comp… in test()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c172 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local
175 *size = comp_size * length, in shared_type_info()
176 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp335 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local
338 *size = comp_size * length, in shared_type_info()
339 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
/external/python/cpython2/Doc/tutorial/
Dstdlib2.rst150 crc32, comp_size, uncomp_size, filenamesize, extra_size = fields
156 print filename, hex(crc32), comp_size, uncomp_size
158 start += extra_size + comp_size # skip to the next header
/external/python/cpython3/Doc/tutorial/
Dstdlib2.rst152 crc32, comp_size, uncomp_size, filenamesize, extra_size = fields
158 print(filename, hex(crc32), comp_size, uncomp_size)
160 start += extra_size + comp_size # skip to the next header
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c450 uint32_t comp_size = glsl_type_is_boolean(type) in shared_var_info() local
453 *size = comp_size * length, in shared_var_info()
454 *align = comp_size; in shared_var_info()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c678 unsigned comp_size = in shared_type_info() local
681 *size = comp_size * length; in shared_type_info()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_lzma2.c1322 void xz_dec_microlzma_reset(struct xz_dec_microlzma *s, uint32_t comp_size, in xz_dec_microlzma_reset() argument
1329 s->s.lzma2.compressed = comp_size; in xz_dec_microlzma_reset()

12