Searched refs:area_size (Results 1 – 8 of 8) sorted by relevance
/third_party/glib/tests/ |
D | memchunks.c | 53 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 …]
|
D | slice-color.c | 108 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()
|
D | slice-test.c | 32 gulong area_size,
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_svga.c | 141 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/ |
D | conv_transform_fusion.cc | 77 …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/ |
D | gallocator.c | 35 gsize area_size, in g_mem_chunk_new() argument
|
D | gallocator.h | 45 gsize area_size,
|
/third_party/gstreamer/gstplugins_bad/sys/shm/ |
D | gstshmsink.c | 722 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()
|