GDB (API)
|
Go to the source code of this file.
Defines | |
#define | VEC_length(T, V) (VEC_OP(T,length)(V)) |
#define | VEC_empty(T, V) (VEC_length (T,V) == 0) |
#define | VEC_last(T, V) (VEC_OP(T,last)(V VEC_ASSERT_INFO)) |
#define | VEC_index(T, V, I) (VEC_OP(T,index)(V,I VEC_ASSERT_INFO)) |
#define | VEC_iterate(T, V, I, P) (VEC_OP(T,iterate)(V,I,&(P))) |
#define | VEC_alloc(T, N) (VEC_OP(T,alloc)(N)) |
#define | VEC_free(T, V) (VEC_OP(T,free)(&V)) |
#define | VEC_cleanup(T) (VEC_OP(T,cleanup)) |
#define | VEC_embedded_size(T, N) (VEC_OP(T,embedded_size)(N)) |
#define | VEC_embedded_init(T, O, N) (VEC_OP(T,embedded_init)(VEC_BASE(O),N)) |
#define | VEC_copy(T, V) (VEC_OP(T,copy)(V)) |
#define | VEC_merge(T, V1, V2) (VEC_OP(T,merge)(V1, V2)) |
#define | VEC_space(T, V, R) (VEC_OP(T,space)(V,R VEC_ASSERT_INFO)) |
#define | VEC_reserve(T, V, R) (VEC_OP(T,reserve)(&(V),R VEC_ASSERT_INFO)) |
#define | VEC_quick_push(T, V, O) (VEC_OP(T,quick_push)(V,O VEC_ASSERT_INFO)) |
#define | VEC_safe_push(T, V, O) (VEC_OP(T,safe_push)(&(V),O VEC_ASSERT_INFO)) |
#define | VEC_pop(T, V) (VEC_OP(T,pop)(V VEC_ASSERT_INFO)) |
#define | VEC_truncate(T, V, I) (VEC_OP(T,truncate)(V,I VEC_ASSERT_INFO)) |
#define | VEC_safe_grow(T, V, I) (VEC_OP(T,safe_grow)(&(V),I VEC_ASSERT_INFO)) |
#define | VEC_replace(T, V, I, O) (VEC_OP(T,replace)(V,I,O VEC_ASSERT_INFO)) |
#define | VEC_quick_insert(T, V, I, O) (VEC_OP(T,quick_insert)(V,I,O VEC_ASSERT_INFO)) |
#define | VEC_safe_insert(T, V, I, O) (VEC_OP(T,safe_insert)(&(V),I,O VEC_ASSERT_INFO)) |
#define | VEC_ordered_remove(T, V, I) (VEC_OP(T,ordered_remove)(V,I VEC_ASSERT_INFO)) |
#define | VEC_unordered_remove(T, V, I) (VEC_OP(T,unordered_remove)(V,I VEC_ASSERT_INFO)) |
#define | VEC_block_remove(T, V, I, L) (VEC_OP(T,block_remove)(V,I,L VEC_ASSERT_INFO)) |
#define | VEC_address(T, V) (VEC_OP(T,address)(V)) |
#define | VEC_lower_bound(T, V, O, LT) (VEC_OP(T,lower_bound)(V,O,LT VEC_ASSERT_INFO)) |
#define | vec_free_(V) xfree (V) |
#define | VEC_ASSERT_INFO ,__FILE__,__LINE__ |
#define | VEC_ASSERT_DECL ,const char *file_,unsigned line_ |
#define | VEC_ASSERT_PASS ,file_,line_ |
#define | vec_assert(expr, op) |
#define | VEC(T) VEC_##T |
#define | VEC_OP(T, OP) VEC_##T##_##OP |
#define | VEC_T(T) |
#define | DEF_VEC_I(T) |
#define | DEF_VEC_P(T) |
#define | DEF_VEC_O(T) |
#define | DEF_VEC_ALLOC_FUNC_I(T) |
#define | DEF_VEC_FUNC_P(T) |
#define | DEF_VEC_ALLOC_FUNC_P(T) |
#define | DEF_VEC_FUNC_O(T) |
#define | DEF_VEC_ALLOC_FUNC_O(T) |
Functions | |
void * | vec_p_reserve (void *, int) |
void * | vec_o_reserve (void *, int, size_t, size_t) |
#define DEF_VEC_ALLOC_FUNC_I | ( | T | ) |
#define DEF_VEC_ALLOC_FUNC_O | ( | T | ) |
#define DEF_VEC_ALLOC_FUNC_P | ( | T | ) |
#define DEF_VEC_FUNC_O | ( | T | ) |
#define DEF_VEC_FUNC_P | ( | T | ) |
#define DEF_VEC_I | ( | T | ) |
#define DEF_VEC_O | ( | T | ) |
#define DEF_VEC_P | ( | T | ) |
#define VEC_address | ( | T, | |
V | |||
) | (VEC_OP(T,address)(V)) |
#define vec_assert | ( | expr, | |
op | |||
) |
((void)((expr) ? 0 : (gdb_assert_fail (op, file_, line_, \ ASSERT_FUNCTION), 0)))
#define VEC_ASSERT_DECL ,const char *file_,unsigned line_ |
#define VEC_ASSERT_INFO ,__FILE__,__LINE__ |
#define VEC_ASSERT_PASS ,file_,line_ |
#define VEC_block_remove | ( | T, | |
V, | |||
I, | |||
L | |||
) | (VEC_OP(T,block_remove)(V,I,L VEC_ASSERT_INFO)) |
#define VEC_cleanup | ( | T | ) | (VEC_OP(T,cleanup)) |
#define VEC_embedded_init | ( | T, | |
O, | |||
N | |||
) | (VEC_OP(T,embedded_init)(VEC_BASE(O),N)) |
#define VEC_embedded_size | ( | T, | |
N | |||
) | (VEC_OP(T,embedded_size)(N)) |
#define VEC_empty | ( | T, | |
V | |||
) | (VEC_length (T,V) == 0) |
#define VEC_index | ( | T, | |
V, | |||
I | |||
) | (VEC_OP(T,index)(V,I VEC_ASSERT_INFO)) |
#define VEC_iterate | ( | T, | |
V, | |||
I, | |||
P | |||
) | (VEC_OP(T,iterate)(V,I,&(P))) |
#define VEC_last | ( | T, | |
V | |||
) | (VEC_OP(T,last)(V VEC_ASSERT_INFO)) |
#define VEC_length | ( | T, | |
V | |||
) | (VEC_OP(T,length)(V)) |
#define VEC_lower_bound | ( | T, | |
V, | |||
O, | |||
LT | |||
) | (VEC_OP(T,lower_bound)(V,O,LT VEC_ASSERT_INFO)) |
#define VEC_ordered_remove | ( | T, | |
V, | |||
I | |||
) | (VEC_OP(T,ordered_remove)(V,I VEC_ASSERT_INFO)) |
#define VEC_pop | ( | T, | |
V | |||
) | (VEC_OP(T,pop)(V VEC_ASSERT_INFO)) |
#define VEC_quick_insert | ( | T, | |
V, | |||
I, | |||
O | |||
) | (VEC_OP(T,quick_insert)(V,I,O VEC_ASSERT_INFO)) |
#define VEC_quick_push | ( | T, | |
V, | |||
O | |||
) | (VEC_OP(T,quick_push)(V,O VEC_ASSERT_INFO)) |
#define VEC_replace | ( | T, | |
V, | |||
I, | |||
O | |||
) | (VEC_OP(T,replace)(V,I,O VEC_ASSERT_INFO)) |
#define VEC_reserve | ( | T, | |
V, | |||
R | |||
) | (VEC_OP(T,reserve)(&(V),R VEC_ASSERT_INFO)) |
#define VEC_safe_grow | ( | T, | |
V, | |||
I | |||
) | (VEC_OP(T,safe_grow)(&(V),I VEC_ASSERT_INFO)) |
#define VEC_safe_insert | ( | T, | |
V, | |||
I, | |||
O | |||
) | (VEC_OP(T,safe_insert)(&(V),I,O VEC_ASSERT_INFO)) |
#define VEC_safe_push | ( | T, | |
V, | |||
O | |||
) | (VEC_OP(T,safe_push)(&(V),O VEC_ASSERT_INFO)) |
#define VEC_space | ( | T, | |
V, | |||
R | |||
) | (VEC_OP(T,space)(V,R VEC_ASSERT_INFO)) |
#define VEC_T | ( | T | ) |
#define VEC_truncate | ( | T, | |
V, | |||
I | |||
) | (VEC_OP(T,truncate)(V,I VEC_ASSERT_INFO)) |
#define VEC_unordered_remove | ( | T, | |
V, | |||
I | |||
) | (VEC_OP(T,unordered_remove)(V,I VEC_ASSERT_INFO)) |
void* vec_o_reserve | ( | void * | , |
int | , | ||
size_t | , | ||
size_t | |||
) |
void* vec_p_reserve | ( | void * | , |
int | |||
) |