Home
last modified time | relevance | path

Searched refs:MALLOC_OVERHEAD (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/dports/textproc/bibtool/BibTool/regex-0.12/test/
H A Ddebugmalloc.c56 #define MALLOC_OVERHEAD 16 macro
61 #define USER_ALLOC(c) ((c)->alloc_size - MALLOC_OVERHEAD)
71 return (chunk) (mem - (MALLOC_OVERHEAD - 4));
219 c = (chunk) xsbrk (n + MALLOC_OVERHEAD);
220 c->alloc_size = n + MALLOC_OVERHEAD;
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gas/
H A Dsb.c52 #define MALLOC_OVERHEAD (2 * sizeof (size_t)) macro
53 #define INIT_ALLOC (64 - MALLOC_OVERHEAD - 1)
135 want += MALLOC_OVERHEAD + 1; in sb_check()
148 max -= MALLOC_OVERHEAD + 1; in sb_check()
/dports/devel/arm-elf-binutils/binutils-2.37/gas/
H A Dsb.c50 #define MALLOC_OVERHEAD (2 * sizeof (size_t)) macro
51 #define INIT_ALLOC (64 - MALLOC_OVERHEAD - 1)
133 want += MALLOC_OVERHEAD + 1; in sb_check()
146 max -= MALLOC_OVERHEAD + 1; in sb_check()
/dports/devel/gnulibiberty/binutils-2.37/gas/
H A Dsb.c50 #define MALLOC_OVERHEAD (2 * sizeof (size_t)) macro
51 #define INIT_ALLOC (64 - MALLOC_OVERHEAD - 1)
133 want += MALLOC_OVERHEAD + 1; in sb_check()
146 max -= MALLOC_OVERHEAD + 1; in sb_check()
/dports/lang/gnatdroid-binutils/binutils-2.27/gas/
H A Dsb.c52 #define MALLOC_OVERHEAD (2 * sizeof (size_t)) macro
53 #define INIT_ALLOC (64 - MALLOC_OVERHEAD - 1)
135 want += MALLOC_OVERHEAD + 1; in sb_check()
148 max -= MALLOC_OVERHEAD + 1; in sb_check()
/dports/devel/binutils/binutils-2.37/gas/
H A Dsb.c50 #define MALLOC_OVERHEAD (2 * sizeof (size_t)) macro
51 #define INIT_ALLOC (64 - MALLOC_OVERHEAD - 1)
133 want += MALLOC_OVERHEAD + 1; in sb_check()
146 max -= MALLOC_OVERHEAD + 1; in sb_check()
/dports/devel/elfutils/elfutils-0.179/libdwelf/
H A Ddwelf_strtab.c82 #define MALLOC_OVERHEAD (2 * sizeof (void *)) macro
91 assert (sizeof (struct memoryblock) < ps - MALLOC_OVERHEAD); in dwelf_strtab_init()
115 len += overhead + MALLOC_OVERHEAD; in morememory()
118 len = ((len / ps) + (len % ps != 0)) * ps - MALLOC_OVERHEAD; in morememory()
/dports/lang/quickjs/quickjs-2021-03-27/
H A Dqjs.c129 #define MALLOC_OVERHEAD 0 macro
131 #define MALLOC_OVERHEAD 8 macro
219 s->malloc_size += js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_malloc()
231 s->malloc_size -= js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_free()
248 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_trace_realloc()
/dports/games/warzone2100/warzone2100/3rdparty/quickjs/
H A Dqjs.c127 #define MALLOC_OVERHEAD 0 macro
129 #define MALLOC_OVERHEAD 8 macro
219 s->malloc_size += js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_malloc()
231 s->malloc_size -= js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_free()
248 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_trace_realloc()
/dports/devel/libukcprog/libukcprog-1.0.2/src/
H A Dalloc.c24 #define MALLOC_OVERHEAD 24 macro
42 #define SBLOCKSIZE (256 - sizeof(alloc_pool_t) - MALLOC_OVERHEAD)
51 #define BLOCKSIZE (4096 - sizeof(ablock_t) - MALLOC_OVERHEAD)
/dports/databases/percona56-server/percona-server-5.6.51-91.0/extra/
H A Dreplace.c267 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
271 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
277 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
281 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
287 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
288 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
306 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/extra/
H A Dreplace.c267 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
271 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
277 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
281 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
287 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
288 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
306 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/extra/
H A Dreplace.c267 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
271 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
277 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
281 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
287 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
288 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
306 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/percona57-server/percona-server-5.7.36-39/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/percona57-client/percona-server-5.7.36-39/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/extra/
H A Dreplace.c266 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
270 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
276 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
280 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
286 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
287 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
305 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mysql57-client/mysql-5.7.36/extra/
H A Dreplace.c272 ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
277 (uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
283 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
287 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
293 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
294 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
313 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/
H A Dreplace.c262 my_malloc(PSI_NOT_INSTRUMENTED, ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
267 PS_MALLOC-MALLOC_OVERHEAD, MYF(MY_WME)))) in insert_pointer_name()
272 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
276 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
282 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
283 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
300 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/
H A Dreplace.c262 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/
266 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD),
272 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+
276 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD;
282 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in rl_vi_search_again()
283 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in rl_vi_search_again()
301 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD);
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/
H A Dreplace.c262 my_malloc(PSI_NOT_INSTRUMENTED, ((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
267 PS_MALLOC-MALLOC_OVERHEAD, MYF(MY_WME)))) in insert_pointer_name()
272 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
276 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
282 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
283 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
300 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/
H A Dreplace.c262 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/
266 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD),
272 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+
276 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD;
282 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC;
283 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD;
301 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD);
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/
H A Dreplace.c262 my_malloc(((PC_MALLOC-MALLOC_OVERHEAD)/ in insert_pointer_name()
266 if (!(pa->str= (uchar*) my_malloc((uint) (PS_MALLOC-MALLOC_OVERHEAD), in insert_pointer_name()
272 pa->max_count=(PC_MALLOC-MALLOC_OVERHEAD)/(sizeof(uchar*)+ in insert_pointer_name()
276 pa->max_length=PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
282 pa->max_length=(pa->length+length+MALLOC_OVERHEAD+PS_MALLOC-1)/PS_MALLOC; in insert_pointer_name()
283 pa->max_length=pa->max_length*PS_MALLOC-MALLOC_OVERHEAD; in insert_pointer_name()
301 len=(PC_MALLOC*pa->array_allocs - MALLOC_OVERHEAD); in insert_pointer_name()

12345678910>>...15