• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/

Lines Matching defs:gc

133 char *print_argv (const char **p, struct gc_arena *gc, const unsigned int flags);
142 #define alloc_buf_gc(size, gc) alloc_buf_gc_debug (size, gc, __FILE__, __LINE__);
145 #define string_alloc(str, gc) string_alloc_debug (str, gc, __FILE__, __LINE__)
146 #define string_alloc_buf(str, gc) string_alloc_buf_debug (str, gc, __FILE__, __LINE__)
149 struct buffer alloc_buf_gc_debug (size_t size, struct gc_arena *gc, const char *file, int line);
152 char *string_alloc_debug (const char *str, struct gc_arena *gc, const char *file, int line);
153 struct buffer string_alloc_buf_debug (const char *str, struct gc_arena *gc, const char *file, int line);
158 struct buffer alloc_buf_gc (size_t size, struct gc_arena *gc); /* allocate buffer with garbage collection */
161 char *string_alloc (const char *str, struct gc_arena *gc);
162 struct buffer string_alloc_buf (const char *str, struct gc_arena *gc);
385 struct gc_arena *gc);
388 format_hex (const uint8_t *data, int size, int maxoutput, struct gc_arena *gc)
390 return format_hex_ex (data, size, maxoutput, 4, " ", gc);
755 struct gc_arena *gc);
841 #define ALLOC_ARRAY_GC(dptr, type, n, gc) \
843 (dptr) = (type *) gc_malloc (array_mult_safe (sizeof (type), (n), 0), false, (gc)); \
852 #define ALLOC_ARRAY_CLEAR_GC(dptr, type, n, gc) \
854 (dptr) = (type *) gc_malloc (array_mult_safe (sizeof (type), (n), 0), true, (gc)); \
857 #define ALLOC_VAR_ARRAY_CLEAR_GC(dptr, type, atype, n, gc) \
859 (dptr) = (type *) gc_malloc (array_mult_safe (sizeof (atype), (n), sizeof (type)), true, (gc)); \
862 #define ALLOC_OBJ_GC(dptr, type, gc) \
864 (dptr) = (type *) gc_malloc (sizeof (type), false, (gc)); \
867 #define ALLOC_OBJ_CLEAR_GC(dptr, type, gc) \
869 (dptr) = (type *) gc_malloc (sizeof (type), true, (gc)); \