Searched refs:area_size (Results 1 – 5 of 5) sorted by relevance
/external/bluetooth/glib/tests/ |
D | memchunks.c | 56 gulong area_size, 109 gulong area_size; /* the size of a memory area */ member 142 gulong area_size, in old_mem_chunk_new() argument 149 g_return_val_if_fail (area_size >= atom_size, NULL); in old_mem_chunk_new() 153 area_size = (area_size + atom_size - 1) / atom_size; in old_mem_chunk_new() 154 area_size *= atom_size; in old_mem_chunk_new() 174 rarea_size = area_size + sizeof (GMemArea) - MEM_AREA_SIZE; in old_mem_chunk_new() 176 mem_chunk->area_size = rarea_size - (sizeof (GMemArea) - MEM_AREA_SIZE); in old_mem_chunk_new() 269 if (temp_area->free == mem_chunk->area_size) in old_mem_chunk_alloc() 312 ((mem_chunk->mem_area->index + mem_chunk->atom_size) > mem_chunk->area_size)) in old_mem_chunk_alloc() [all …]
|
D | slice-color.c | 110 guint64 block_size = 512, area_size = 1024 * 1024, n_blocks, repeats = 1000000; in main() local 120 area_size = parse_memsize (argv[2]); in main() 129 n_blocks = area_size / 3 / ALIGN (block_size, sizeof (gsize) * 2); in main() 132 if (!block_size || !n_blocks || block_size >= area_size) in main() 134 g_printerr ("Invalid arguments: block-size=%llu memory-size=%llu\n", block_size, area_size); in main()
|
D | slice-test.c | 35 gulong area_size,
|
/external/bluetooth/glib/glib/ |
D | gmem.h | 130 gsize area_size,
|
D | gmem.c | 616 gsize area_size, in g_mem_chunk_new() argument
|