Home
last modified time | relevance | path

Searched refs:size0 (Results 1 - 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/freedreno/fdl/
H A Dfd6_layout_test.c700 {.offset = 0, .pitch = 256, .size0 = 8192},
701 {.offset = 262144, .pitch = 256, .size0 = 4096},
702 {.offset = 327680, .pitch = 256, .size0 = 4096},
703 {.offset = 360448, .pitch = 256, .size0 = 4096},
704 {.offset = 376832, .pitch = 256, .size0 = 4096},
723 {.offset = 0, .pitch = 512, .size0 = 65536},
724 {.offset = 2097152, .pitch = 256, .size0 = 16384},
725 {.offset = 2359296, .pitch = 256, .size0 = 8192},
726 {.offset = 2424832, .pitch = 256, .size0 = 8192},
727 {.offset = 2457600, .pitch = 256, .size0
[all...]
H A Dfd6_layout.c226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout()
228 slice->size0 = min_3d_layer_size; in fdl6_layout()
231 slice->size0 = u_minify(layout->slices[0].size0, level * 2); in fdl6_layout()
238 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout()
244 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout()
247 if (align(slice->size0, 4096) != slice->size0) in fdl6_layout()
248 min_3d_layer_size = slice->size0 = align(slice->size0, 409 in fdl6_layout()
[all...]
H A Dfd5_layout.c94 if (level <= 1 || layout->slices[level - 1].size0 > 0xf000) { in fdl5_layout()
95 slice->size0 = align(nblocksy * pitch, 4096); in fdl5_layout()
97 slice->size0 = layout->slices[level - 1].size0; in fdl5_layout()
100 slice->size0 = nblocksy * pitch; in fdl5_layout()
103 layout->size += slice->size0 * depth * layers_in_level; in fdl5_layout()
H A Dfreedreno_layout.c60 level < ARRAY_SIZE(layout->slices) && layout->slices[level].size0; in fdl_dump_layout()
72 slice->size0, ubwc_slice->size0, in fdl_dump_layout()
73 slice->size0 / fdl_pitch(layout, level), slice->offset, in fdl_dump_layout()
H A Dfd_layout_test.c94 if (testcase->layout.slices[l].size0 && layout.slices[l].size0 != in fdl_test_layout()
95 testcase->layout.slices[l].size0) { in fdl_test_layout()
99 layout.slices[l].size0, in fdl_test_layout()
100 testcase->layout.slices[l].size0); in fdl_test_layout()
H A Dfd_layout_test.h40 uint32_t size0; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_resource.c59 (level > 1 && fd_resource_slice(rsc, level - 1)->size0 > 0xf000))) in setup_slices()
60 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
62 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
64 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in setup_slices()
66 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in setup_slices()
H A Dfd3_texture.c200 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
204 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
206 fd_resource_slice(rsc, prsc->last_level)->size0); in fd3_sampler_view_create()
/third_party/lz4/programs/
H A Ddatagen.c111 size_t size0 = RDG_rand(seed) & 3; in RDG_genBlock() local
112 size0 = (size_t)1 << (16 + size0 * 2); in RDG_genBlock()
113 size0 += RDG_rand(seed) & (size0-1); /* because size0 is power of 2*/ in RDG_genBlock()
114 if (buffSize < pos + size0) { in RDG_genBlock()
118 memset(buffPtr+pos, 0, size0); in RDG_genBlock()
119 pos += size0; in RDG_genBlock()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_resource.c70 (level > 1 && fd_resource_slice(rsc, level - 1)->size0 <= 0xf000)) in fd4_setup_slices()
71 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in fd4_setup_slices()
73 slice->size0 = align(nblocksy * pitch, alignment); in fd4_setup_slices()
75 size += slice->size0 * depth * layers_in_level; in fd4_setup_slices()
/kernel/linux/linux-5.10/samples/connector/
H A Dcn_test.c44 int size, size0;
49 size0 = sizeof(*msg) + sizeof(*ctl) + 3 * sizeof(*req);
51 size = NLMSG_SPACE(size0);
67 memset(msg, 0, size0);
73 msg->len = size0 - sizeof(*msg);
/kernel/linux/linux-6.6/samples/connector/
H A Dcn_test.c44 int size, size0;
49 size0 = sizeof(*msg) + sizeof(*ctl) + 3 * sizeof(*req);
51 size = NLMSG_SPACE(size0);
67 memset(msg, 0, size0);
73 msg->len = size0 - sizeof(*msg);
/third_party/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs97 public void EncodeBit(uint size0, int numTotalBits, uint symbol) in EncodeBit() argument
99 uint newBound = (Range >> numTotalBits) * size0; in EncodeBit()
213 public uint DecodeBit(uint size0, int numTotalBits) in DecodeBit() argument
215 uint newBound = (Range >> numTotalBits) * size0; in DecodeBit()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dsyntax_enc.c116 int profile, size_t size0) { in PutVP8FrameHeader()
120 if (size0 >= VP8_MAX_PARTITION0_SIZE) { // partition #0 is too big to fit in PutVP8FrameHeader()
128 | ((uint32_t)size0 << 5); // partition length (19b) in PutVP8FrameHeader()
149 static int PutWebPHeaders(const VP8Encoder* const enc, size_t size0, in PutWebPHeaders() argument
175 err = PutVP8FrameHeader(pic, enc->profile_, size0); in PutWebPHeaders()
360 const size_t size0 = VP8BitWriterSize(bw); in VP8EncWrite() local
361 ok = ok && PutWebPHeaders(enc, size0, vp8_size, riff_size) in VP8EncWrite()
362 && pic->writer(part0, size0, pic) in VP8EncWrite()
115 PutVP8FrameHeader(const WebPPicture* const pic, int profile, size_t size0) PutVP8FrameHeader() argument
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_resource.c50 slice->size0 = align(pitch * nblocksy, 4096); in fd2_setup_slices()
52 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in fd2_setup_slices()
/third_party/ffmpeg/tests/
H A Dtiny_psnr.c140 uint64_t size0 = 0; in run_psnr() local
216 size0 += s0; in run_psnr()
222 i = FFMIN(size0, size1) / len; in run_psnr()
239 maxdist, size0, size1); in run_psnr()
258 dev * scale, psnr_str, maxdist, size0, size1); in run_psnr()
/third_party/lzma/C/
H A DPpmd7Dec.c137 UInt32 size0 = (R->Range >> 14) * pr; in Ppmd7z_DecodeSymbol() local
140 if (R->Code < size0) in Ppmd7z_DecodeSymbol()
145 // RangeDec_DecodeBit0(size0); in Ppmd7z_DecodeSymbol()
146 R->Range = size0; in Ppmd7z_DecodeSymbol()
173 // RangeDec_DecodeBit1(size0); in Ppmd7z_DecodeSymbol()
175 R->Code -= size0; in Ppmd7z_DecodeSymbol()
176 R->Range -= size0; in Ppmd7z_DecodeSymbol()
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dboot.h96 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
99 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/third_party/python/Lib/test/
H A Dtest_dbm_gnu.py90 size0 = os.path.getsize(filename)
94 # Add size0 bytes to make sure that the file size changes.
95 value_size = max(size0, 10000)
98 self.assertGreater(size1, size0)
107 self.assertGreaterEqual(size2, size0)
/kernel/linux/linux-6.6/net/ipv6/
H A Dipv6_sockglue.c239 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ipv6_set_mcast_msfilter() local
245 if (optlen < size0) in compat_ipv6_set_mcast_msfilter()
1060 const int size0 = offsetof(struct group_filter, gf_slist_flex); in ipv6_get_msfilter() local
1065 if (len < size0) in ipv6_get_msfilter()
1067 if (copy_from_sockptr(&gsf, optval, size0)) in ipv6_get_msfilter()
1073 err = ip6_mc_msfget(sk, &gsf, optval, size0); in ipv6_get_msfilter()
1079 copy_to_sockptr(optval, &gsf, size0)) in ipv6_get_msfilter()
1089 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ipv6_get_msfilter() local
1095 if (len < size0) in compat_ipv6_get_msfilter()
1098 if (copy_from_sockptr(&gf32, optval, size0)) in compat_ipv6_get_msfilter()
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dsetup-bus.c885 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local
923 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
925 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io()
928 if (!size0 && !size1) { in pbus_size_io()
937 b_res->end = b_res->start + size0 - 1; in pbus_size_io()
939 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io()
940 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
944 (unsigned long long) size1 - size0); in pbus_size_io()
996 resource_size_t min_align, align, size, size0, size1; in pbus_size_mem() local
1076 size0 in pbus_size_mem()
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dsetup-bus.c881 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local
918 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
920 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io()
923 if (!size0 && !size1) { in pbus_size_io()
932 b_res->end = b_res->start + size0 - 1; in pbus_size_io()
934 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io()
935 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
939 (unsigned long long) size1 - size0); in pbus_size_io()
991 resource_size_t min_align, align, size, size0, size1; in pbus_size_mem() local
1071 size0 in pbus_size_mem()
[all...]
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dipl_report.c24 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
27 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/kernel/linux/linux-5.10/net/ipv6/
H A Dipv6_sockglue.c237 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ipv6_set_mcast_msfilter() local
243 if (optlen < size0) in compat_ipv6_set_mcast_msfilter()
1057 const int size0 = offsetof(struct group_filter, gf_slist); in ipv6_get_msfilter() local
1063 if (len < size0) in ipv6_get_msfilter()
1065 if (copy_from_user(&gsf, p, size0)) in ipv6_get_msfilter()
1076 copy_to_user(p, &gsf, size0)) in ipv6_get_msfilter()
1086 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ipv6_get_msfilter() local
1095 if (len < size0) in compat_ipv6_get_msfilter()
1098 if (copy_from_user(&gf32, p, size0)) in compat_ipv6_get_msfilter()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_int_samplers.c435 nir_ssa_def *size0 = nir_get_texture_size(b, tex); in lower_sample_to_txf_for_integer_tex_impl() local
443 .size = size0, in lower_sample_to_txf_for_integer_tex_impl()
449 params.size = nir_i2f32(b, nir_imax(b, nir_ishr(b, size0, params.lod), in lower_sample_to_txf_for_integer_tex_impl()
452 params.size = nir_i2f32(b, size0); in lower_sample_to_txf_for_integer_tex_impl()
510 nir_i2f32(b, nir_channel(b, size0, params.ncoord_comp))); in lower_sample_to_txf_for_integer_tex_impl()

Completed in 15 milliseconds

123