pike.git / src / pike_memory.h

version» Context lines:

pike.git/src/pike_memory.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: pike_memory.h,v 1.6 1998/10/11 11:18:52 hubbe Exp $ +  * $Id: pike_memory.h,v 1.7 1998/10/11 22:33:11 hubbe Exp $    */   #ifndef MEMORY_H   #define MEMORY_H      #include "global.h"   #include "stralloc.h"      #define MEMSEARCH_LINKS 512      struct link
pike.git/src/pike_memory.h:86:    char haystack_shift);   char *my_memmem(char *needle,    SIZE_T needlelen,    char *haystack,    SIZE_T haystacklen);   void memfill(char *to,    INT32 tolen,    char *from,    INT32 fromlen,    INT32 offset); - char *debug_xalloc(long size); - struct fileloc; - BLOCK_ALLOC(fileloc, 4090) - struct memloc; - BLOCK_ALLOC(memloc, 16382) - struct memhdr; - char *do_pad(char *mem, long size); - void check_pad(struct memhdr *mh, int freeok); - void low_add_marks_to_memhdr(struct memhdr *to, -  struct memhdr *from); - void add_marks_to_memhdr(struct memhdr *to, void *ptr); - BLOCK_ALLOC(memhdr,16382) -  -  -  -  - static struct memhdr *find_memhdr(void *p); - void *debug_malloc(size_t s, const char *fn, int line); - void *debug_calloc(size_t a, size_t b, const char *fn, int line); - void *debug_realloc(void *p, size_t s, const char *fn, int line); - void debug_free(void *p, const char *fn, int line); - char *debug_strdup(const char *s, const char *fn, int line); - void dump_memhdr_locations(struct memhdr *from, -  struct memhdr *notfrom); - void debug_malloc_dump_references(void *x); - void cleanup_memhdrs(); - int main(int argc, char *argv[]); - void * debug_malloc_update_location(void *p,const char *fn, int line); - void reset_debug_malloc(void); +    /* Prototypes end here */      #undef BLOCK_ALLOC      #endif