Home
last modified time | relevance | path

Searched refs:area_size (Results 1 – 8 of 8) sorted by relevance

/third_party/glib/tests/
Dmemchunks.c53 gulong area_size,
106 gulong area_size; /* the size of a memory area */ member
133 gulong area_size, in old_mem_chunk_new() argument
140 g_return_val_if_fail (area_size >= atom_size, NULL); in old_mem_chunk_new()
144 area_size = (area_size + atom_size - 1) / atom_size; in old_mem_chunk_new()
145 area_size *= atom_size; in old_mem_chunk_new()
165 rarea_size = area_size + sizeof (GMemArea) - MEM_AREA_SIZE; in old_mem_chunk_new()
167 mem_chunk->area_size = rarea_size - (sizeof (GMemArea) - MEM_AREA_SIZE); in old_mem_chunk_new()
260 if (temp_area->free == mem_chunk->area_size) in old_mem_chunk_alloc()
303 ((mem_chunk->mem_area->index + mem_chunk->atom_size) > mem_chunk->area_size)) in old_mem_chunk_alloc()
[all …]
Dslice-color.c108 guint64 block_size = 512, area_size = 1024 * 1024, n_blocks, repeats = 1000000; in main() local
118 area_size = parse_memsize (argv[2]); in main()
127 n_blocks = area_size / 3 / ALIGN (block_size, sizeof (gsize) * 2); in main()
130 if (!block_size || !n_blocks || block_size >= area_size) in main()
132 …nts: block-size=%" G_GUINT64_FORMAT " memory-size=%" G_GUINT64_FORMAT "\n", block_size, area_size); in main()
Dslice-test.c32 gulong area_size,
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c141 const size_t area_size = area_size_stat_pg + area_size_info_pg + area_size_strs; in vmw_svga_winsys_stats_len() local
143 return area_size; in vmw_svga_winsys_stats_len()
216 const size_t area_size = vmw_svga_winsys_stats_len(); in vmw_svga_winsys_add_stats() local
226 …void *area = mmap(NULL, area_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_NORESE… in vmw_svga_winsys_add_stats()
238 if (mlock(area, area_size)) { in vmw_svga_winsys_add_stats()
244 if (madvise(area, area_size, MADV_DONTFORK)) { in vmw_svga_winsys_add_stats()
300 munmap(area, area_size); in vmw_svga_winsys_add_stats()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dconv_transform_fusion.cc77 …int64_t area_size = weight_tensor->shape()[kInputIndexTwo] * weight_tensor->shape()[kInputIndexTwo… in GenerateNewWeightConv2DTranspose() local
79 for (int64_t j = 0; j < area_size; j++) { in GenerateNewWeightConv2DTranspose()
81 dst_weight[i + j * kernel_num + k * area_size * kernel_num] = in GenerateNewWeightConv2DTranspose()
82 weight_data[i + j * kernel_num + k * area_size * kernel_num] * scale_weight[i]; in GenerateNewWeightConv2DTranspose()
/third_party/glib/glib/deprecated/
Dgallocator.c35 gsize area_size, in g_mem_chunk_new() argument
Dgallocator.h45 gsize area_size,
/third_party/gstreamer/gstplugins_bad/sys/shm/
Dgstshmsink.c722 gsize area_size = sp_writer_get_max_buf_size (self->pipe); in gst_shm_sink_render() local
725 "buffer of size %" G_GSIZE_FORMAT, area_size, in gst_shm_sink_render()