Home
last modified time | relevance | path

Searched refs:mem_header_t (Results 1 – 3 of 3) sorted by relevance

/external/python/pycparser/tests/c_files/
Dmemmgr_with_h.c128 typedef union mem_header_union mem_header_t; typedef
132 static mem_header_t base;
136 static mem_header_t* freep = 0;
156 mem_header_t* p; in memmgr_print_stats()
162 p = (mem_header_t*) pool; in memmgr_print_stats()
164 while (p < (mem_header_t*) (pool + pool_free_pos)) in memmgr_print_stats()
199 static mem_header_t* get_mem_from_pool(ulong nquantas) in get_mem_from_pool()
203 mem_header_t* h; in get_mem_from_pool()
208 total_req_size = nquantas * sizeof(mem_header_t); in get_mem_from_pool()
212 h = (mem_header_t*) (pool + pool_free_pos); in get_mem_from_pool()
[all …]
Dmemmgr.c30 typedef union mem_header_union mem_header_t; typedef
34 static mem_header_t base;
38 static mem_header_t* freep = 0;
55 static mem_header_t* get_mem_from_pool(ulong nquantas) in get_mem_from_pool()
59 mem_header_t* h; in get_mem_from_pool()
64 total_req_size = nquantas * sizeof(mem_header_t); in get_mem_from_pool()
68 h = (mem_header_t*) (pool + pool_free_pos); in get_mem_from_pool()
92 mem_header_t* p; in memmgr_alloc()
93 mem_header_t* prevp; in memmgr_alloc()
99 ulong nquantas = (nbytes + sizeof(mem_header_t) - 1) / sizeof(mem_header_t) + 1; in memmgr_alloc()
[all …]
/external/python/pycparser/examples/c_files/
Dmemmgr.c30 typedef union mem_header_union mem_header_t; typedef
34 static mem_header_t base;
38 static mem_header_t* freep = 0;
55 static mem_header_t* get_mem_from_pool(ulong nquantas) in get_mem_from_pool()
59 mem_header_t* h; in get_mem_from_pool()
64 total_req_size = nquantas * sizeof(mem_header_t); in get_mem_from_pool()
68 h = (mem_header_t*) (pool + pool_free_pos); in get_mem_from_pool()
92 mem_header_t* p; in memmgr_alloc()
93 mem_header_t* prevp; in memmgr_alloc()
99 ulong nquantas = (nbytes + sizeof(mem_header_t) - 1) / sizeof(mem_header_t) + 1; in memmgr_alloc()
[all …]