Home
last modified time | relevance | path

Searched refs:size0 (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_resource.c105 (level > 1 && rsc->slices[level - 1].size0 > 0xf000))) in setup_slices()
106 slice->size0 = align(blocks * rsc->cpp, alignment); in setup_slices()
108 slice->size0 = align(blocks * rsc->cpp, alignment); in setup_slices()
110 slice->size0 = rsc->slices[level - 1].size0; in setup_slices()
117 slice->size0 * depth * layers_in_level, in setup_slices()
121 size += slice->size0 * depth * layers_in_level; in setup_slices()
Dfd5_gmem.c93 size = slice->size0; in emit_mrt()
150 size = slice->size0; in emit_zs()
197 size = slice->size0; in emit_zs()
497 OUT_RING(ring, A5XX_RB_MRT_ARRAY_PITCH(slice->size0)); in emit_mem2gmem_surf()
638 OUT_RING(ring, A5XX_RB_BLIT_DST_ARRAY_PITCH(slice->size0)); in emit_gmem2mem_surf()
/external/syzkaller/prog/
Dalloc.go46 func (ma *memAlloc) noteAlloc(addr0, size0 uint64) {
48 size := (addr0+size0+memAllocGranule-1)/memAllocGranule - addr
54 func (ma *memAlloc) alloc(r *randGen, size0 uint64) uint64 {
55 if size0 == 0 {
56 size0 = 1
58 size := (size0 + memAllocGranule - 1) / memAllocGranule
70 ma.noteAlloc(start0, size0)
75 return ma.alloc(r, size0)
Dany.go215 size0 := res0.Size()
224 if size := arg.Res.Size(); size != size0 {
225 panic(fmt.Sprintf("squash changed size %v->%v for %v", size0, size, res0.Type()))
/external/lz4/programs/
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()
/external/u-boot/arch/arm/mach-omap2/omap3/
Demif4.c129 unsigned int size0 = 0, size1 = 0; in dram_init() local
131 size0 = get_sdr_cs_size(CS0); in dram_init()
140 gd->ram_size = size0 + size1; in dram_init()
146 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local
148 size0 = get_sdr_cs_size(CS0); in dram_init_banksize()
152 gd->bd->bi_dram[0].size = size0; in dram_init_banksize()
Dsdrc.c199 unsigned int size0 = 0, size1 = 0; in dram_init() local
201 size0 = get_sdr_cs_size(CS0); in dram_init()
213 gd->ram_size = size0 + size1; in dram_init()
220 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local
222 size0 = get_sdr_cs_size(CS0); in dram_init_banksize()
226 gd->bd->bi_dram[0].size = size0; in dram_init_banksize()
/external/webp/src/enc/
Dsyntax_enc.c116 int profile, size_t size0) { in PutVP8FrameHeader() argument
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()
/external/python/cpython2/Lib/test/
Dtest_gdbm.py63 size0 = os.path.getsize(filename)
68 value_size = max(size0, 10000)
71 self.assertGreater(size1, size0)
80 self.assertGreaterEqual(size2, size0)
/external/lzma/CS/7zip/Compress/RangeCoder/
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()
/external/lzma/C/
DPpmd7Enc.c47 static void RangeEnc_EncodeBit_0(CPpmd7z_RangeEnc *p, UInt32 size0) in RangeEnc_EncodeBit_0() argument
49 p->Range = (p->Range >> 14) * size0; in RangeEnc_EncodeBit_0()
57 static void RangeEnc_EncodeBit_1(CPpmd7z_RangeEnc *p, UInt32 size0) in RangeEnc_EncodeBit_1() argument
59 UInt32 newBound = (p->Range >> 14) * size0; in RangeEnc_EncodeBit_1()
DPpmd7Dec.c53 static UInt32 Range_DecodeBit(const IPpmd7_RangeDec *pp, UInt32 size0) in Range_DecodeBit() argument
56 UInt32 newBound = (p->Range >> 14) * size0; in Range_DecodeBit()
DPpmd7.h106 UInt32 (*DecodeBit)(const IPpmd7_RangeDec *p, UInt32 size0);
/external/python/cpython3/Lib/test/
Dtest_dbm_gnu.py73 size0 = os.path.getsize(filename)
78 value_size = max(size0, 10000)
81 self.assertGreater(size1, size0)
90 self.assertGreaterEqual(size2, size0)
/external/tensorflow/tensorflow/core/framework/
Dtensor_shape.cc188 const int64 size0 = dim_sizes[0]; in InitDims() local
190 bool neg = Set16(kIsPartial, dst, 0, size0); in InitDims()
192 set_num_elements(neg ? -1 : (size0 * size1)); in InitDims()
197 const int64 size0 = dim_sizes[0]; in InitDims() local
200 bool neg = Set16(kIsPartial, dst, 0, size0); in InitDims()
203 set_num_elements(neg ? -1 : (size0 * size1 * size2)); in InitDims()
208 const int64 size0 = dim_sizes[0]; in InitDims() local
212 bool neg = Set16(kIsPartial, dst, 0, size0); in InitDims()
216 set_num_elements(neg ? -1 : (size0 * size1 * size2 * size3)); in InitDims()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c268 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[0].size0); in fd3_sampler_view_create()
273 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[lvl].size0); in fd3_sampler_view_create()
274 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd3_sampler_view_create()
275 sz2 = rsc->slices[++lvl].size0; in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c351 return layer * slice->size0; in fd_resource_layer_offset()
471 ptrans->layer_stride = rsc->layer_first ? rsc->layer_size : slice->size0; in fd_resource_transfer_map()
489 staging_rsc->layer_size : staging_rsc->slices[0].size0; in fd_resource_transfer_map()
584 staging_rsc->layer_size : staging_rsc->slices[0].size0; in fd_resource_transfer_map()
699 (level > 1 && rsc->slices[level - 1].size0 > 0xf000))) in setup_slices()
700 slice->size0 = align(blocks * rsc->cpp, alignment); in setup_slices()
702 slice->size0 = align(blocks * rsc->cpp, alignment); in setup_slices()
704 slice->size0 = rsc->slices[level - 1].size0; in setup_slices()
706 size += slice->size0 * depth * layers_in_level; in setup_slices()
926 slice->size0 = handle->stride * prsc->height0; in fd_resource_from_handle()
Dfreedreno_resource.h61 uint32_t size0; /* size of first layer in slice */ member
164 offset = slice->offset + (slice->size0 * layer); in fd_resource_offset()
/external/libaom/libaom/tools/txfm_analyzer/
Dtxfm_graph.cc135 void reference_hybrid_2d_new(double *in, double *out, int size0, int size1, in reference_hybrid_2d_new() argument
137 double *tempOut = new double[size0 * size1]; in reference_hybrid_2d_new()
141 reference_dct_1d(in + r * size0, out + r * size0, size0); in reference_hybrid_2d_new()
143 reference_adst_1d(in + r * size0, out + r * size0, size0); in reference_hybrid_2d_new()
148 for (int c = 0; c < size0; c++) { in reference_hybrid_2d_new()
149 tempOut[c * size1 + r] = out[r * size0 + c]; in reference_hybrid_2d_new()
152 for (int r = 0; r < size0; r++) { in reference_hybrid_2d_new()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c315 A4XX_TEX_CONST_3_LAYERSZ(rsc->slices[lvl].size0); in fd4_sampler_view_create()
316 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd4_sampler_view_create()
317 sz2 = rsc->slices[++lvl].size0; in fd4_sampler_view_create()
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp130 size_t size0 = iden0.writeToMemory(nullptr); in test_writeToMemory() local
132 SkAutoMalloc storage(size0); in test_writeToMemory()
133 memset(storage.get(), initValue, size0); in test_writeToMemory()
136 SkASSERT(size0 == size1); in test_writeToMemory()
/external/skqp/src/ports/
DSkFontConfigInterface_direct.cpp130 size_t size0 = iden0.writeToMemory(nullptr); in test_writeToMemory() local
132 SkAutoMalloc storage(size0); in test_writeToMemory()
133 memset(storage.get(), initValue, size0); in test_writeToMemory()
136 SkASSERT(size0 == size1); in test_writeToMemory()
/external/harfbuzz_ng/src/
Dhb-subset-cff1.cc466 unsigned int size0, size1, supp_size; in plan_subset_encoding() local
510 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
513 if (size0 < size1) in plan_subset_encoding()
526 unsigned int size0, size_ranges; in plan_subset_charset() local
549 size0 = Charset0::min_size + HBUINT16::static_size * (plan->glyphs.len - 1); in plan_subset_charset()
555 if (size0 < size_ranges) in plan_subset_charset()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c1404 LLVMValueRef size0; in lp_build_sample_mipmap() local
1422 &size0, in lp_build_sample_mipmap()
1436 size0, in lp_build_sample_mipmap()
1444 size0, in lp_build_sample_mipmap()
1453 size0, in lp_build_sample_mipmap()
1461 size0, in lp_build_sample_mipmap()
/external/deqp/framework/common/
DtcuTexCompareVerifier.cpp886 const int size0 = texture.getLevelFace(baseLevelNdx, coords.face).getWidth(); in isSeamplessLinearMipmapLinearCompareResultValid() local
889 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords.s,… in isSeamplessLinearMipmapLinearCompareResultValid()
891 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords.t,… in isSeamplessLinearMipmapLinearCompareResultValid()
924 …eFaceIntCoords c00 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+0, j0+0)), size0); in isSeamplessLinearMipmapLinearCompareResultValid()
925 …eFaceIntCoords c10 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+1, j0+0)), size0); in isSeamplessLinearMipmapLinearCompareResultValid()
926 …eFaceIntCoords c01 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+0, j0+1)), size0); in isSeamplessLinearMipmapLinearCompareResultValid()
927 …eFaceIntCoords c11 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+1, j0+1)), size0); in isSeamplessLinearMipmapLinearCompareResultValid()

12