#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "toplev.h"#include "varray.h"#include "ggc.h"#include "hashtab.h"

Go to the source code of this file.
Defines | |
| #define | VARRAY_HDR_SIZE (sizeof (struct varray_head_tag) - sizeof (varray_data)) |
Functions/Subroutines | |
| varray_type | varray_init (size_t num_elements, enum varray_data_enum element_kind, const char *name) |
| varray_type | varray_grow (varray_type va, size_t n) |
| void | varray_clear (varray_type va) |
| void | dump_varray_statistics (void) |
Variables | |
| type { | |
| unsigned char size | |
| bool uses_ggc | |
| } | element [NUM_VARRAY_DATA] |
| #define VARRAY_HDR_SIZE (sizeof (struct varray_head_tag) - sizeof (varray_data)) |
| void varray_clear | ( | varray_type | va | ) |
| varray_type varray_grow | ( | varray_type | va, | |
| size_t | n | |||
| ) |
Definition at line 144 of file varray.c.
References data_size, element, element_size, ggc_realloc, memset, uses_ggc, VARRAY_HDR_SIZE, varray_type, and xrealloc().
| varray_type varray_init | ( | size_t | num_elements, | |
| enum varray_data_enum | element_kind, | |||
| const char * | name | |||
| ) |
Definition at line 118 of file varray.c.
References data_size, element, element_size, ggc_alloc_cleared, ptr, uses_ggc, VARRAY_HDR_SIZE, varray_type, and xcalloc().
struct { ... } element[NUM_VARRAY_DATA] [static] |
1.5.6