PIPS
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "pipsdbm_private.h"
Go to the source code of this file.
Typedefs | |
typedef void * | db_void |
typedef void* db_void |
Definition at line 7 of file pipsdbm_private.c.
db_resource apply_db_owned_resources | ( | db_owned_resources | f, |
db_symbol | k | ||
) |
Definition at line 57 of file pipsdbm_private.c.
References db_owned_resources_hash_table, f(), HASH_GET, and intptr_t.
db_owned_resources apply_db_resources | ( | db_resources | f, |
db_symbol | k | ||
) |
Definition at line 156 of file pipsdbm_private.c.
References db_resources_hash_table, f(), HASH_GET, and intptr_t.
bool bound_db_owned_resources_p | ( | db_owned_resources | f, |
db_symbol | k | ||
) |
Definition at line 69 of file pipsdbm_private.c.
References db_owned_resources_hash_table, f(), HASH_BOUND_P, and intptr_t.
bool bound_db_resources_p | ( | db_resources | f, |
db_symbol | k | ||
) |
Definition at line 168 of file pipsdbm_private.c.
References db_resources_hash_table, f(), HASH_BOUND_P, and intptr_t.
db_owned_resources check_db_owned_resources | ( | db_owned_resources | p | ) |
Definition at line 24 of file pipsdbm_private.c.
References db_owned_resources_domain, and gen_check().
db_resource check_db_resource | ( | db_resource | p | ) |
Definition at line 81 of file pipsdbm_private.c.
References db_resource_domain, and gen_check().
db_resources check_db_resources | ( | db_resources | p | ) |
Definition at line 123 of file pipsdbm_private.c.
References db_resources_domain, and gen_check().
Definition at line 180 of file pipsdbm_private.c.
References db_status_domain, and gen_check().
Definition at line 243 of file pipsdbm_private.c.
References db_symbol_domain, and gen_check().
db_owned_resources copy_db_owned_resources | ( | db_owned_resources | p | ) |
DB_OWNED_RESOURCES.
Definition at line 18 of file pipsdbm_private.c.
References gen_copy_tree().
db_resource copy_db_resource | ( | db_resource | p | ) |
DB_RESOURCE.
Definition at line 75 of file pipsdbm_private.c.
References gen_copy_tree().
db_resources copy_db_resources | ( | db_resources | p | ) |
DB_RESOURCES.
Definition at line 117 of file pipsdbm_private.c.
References gen_copy_tree().
DB_STATUS.
Definition at line 174 of file pipsdbm_private.c.
References gen_copy_tree().
DB_SYMBOL.
Definition at line 237 of file pipsdbm_private.c.
References gen_copy_tree().
void db_owned_resources_assign_contents | ( | db_owned_resources | r, |
db_owned_resources | v | ||
) |
Definition at line 37 of file pipsdbm_private.c.
References check_db_owned_resources(), db_owned_resources_defined_p(), and message_assert.
bool db_owned_resources_consistent_p | ( | db_owned_resources | p | ) |
Definition at line 27 of file pipsdbm_private.c.
References check_db_owned_resources(), and gen_consistent_p().
bool db_owned_resources_defined_p | ( | db_owned_resources | p | ) |
Definition at line 31 of file pipsdbm_private.c.
References gen_defined_p().
void db_owned_resources_non_recursive_free | ( | db_owned_resources | p | ) |
Definition at line 44 of file pipsdbm_private.c.
References free().
void db_resource_assign_contents | ( | db_resource | r, |
db_resource | v | ||
) |
Definition at line 94 of file pipsdbm_private.c.
References check_db_resource(), db_resource_defined_p(), and message_assert.
bool db_resource_consistent_p | ( | db_resource | p | ) |
Definition at line 84 of file pipsdbm_private.c.
References check_db_resource(), and gen_consistent_p().
bool db_resource_defined_p | ( | db_resource | p | ) |
Definition at line 88 of file pipsdbm_private.c.
References gen_defined_p().
void db_resource_non_recursive_free | ( | db_resource | p | ) |
Definition at line 101 of file pipsdbm_private.c.
References free().
void db_resources_assign_contents | ( | db_resources | r, |
db_resources | v | ||
) |
Definition at line 136 of file pipsdbm_private.c.
References check_db_resources(), db_resources_defined_p(), and message_assert.
bool db_resources_consistent_p | ( | db_resources | p | ) |
Definition at line 126 of file pipsdbm_private.c.
References check_db_resources(), and gen_consistent_p().
bool db_resources_defined_p | ( | db_resources | p | ) |
Definition at line 130 of file pipsdbm_private.c.
References gen_defined_p().
void db_resources_non_recursive_free | ( | db_resources | p | ) |
Definition at line 143 of file pipsdbm_private.c.
References free().
Definition at line 193 of file pipsdbm_private.c.
References check_db_status(), db_status_defined_p(), and message_assert.
Definition at line 183 of file pipsdbm_private.c.
References check_db_status(), and gen_consistent_p().
Definition at line 187 of file pipsdbm_private.c.
References gen_defined_p().
void db_status_non_recursive_free | ( | db_status | p | ) |
Definition at line 200 of file pipsdbm_private.c.
References free().
string db_status_tag_as_string | ( | enum db_status_utype | tag | ) |
Definition at line 210 of file pipsdbm_private.c.
References is_db_status_loaded, is_db_status_loaded_and_stored, is_db_status_required, is_db_status_stored, and string_undefined.
Definition at line 256 of file pipsdbm_private.c.
References check_db_symbol(), db_symbol_defined_p(), and message_assert.
Definition at line 246 of file pipsdbm_private.c.
References check_db_symbol(), and gen_consistent_p().
Definition at line 250 of file pipsdbm_private.c.
References gen_defined_p().
void db_symbol_non_recursive_free | ( | db_symbol | p | ) |
Definition at line 263 of file pipsdbm_private.c.
References free().
db_resource delete_db_owned_resources | ( | db_owned_resources | f, |
db_symbol | k | ||
) |
Definition at line 66 of file pipsdbm_private.c.
References db_owned_resources_hash_table, f(), HASH_DELETE, and intptr_t.
db_owned_resources delete_db_resources | ( | db_resources | f, |
db_symbol | k | ||
) |
Definition at line 165 of file pipsdbm_private.c.
References db_resources_hash_table, f(), HASH_DELETE, and intptr_t.
void extend_db_owned_resources | ( | db_owned_resources | f, |
db_symbol | k, | ||
db_resource | v | ||
) |
Definition at line 63 of file pipsdbm_private.c.
References db_owned_resources_hash_table, f(), HASH_EXTEND, and intptr_t.
void extend_db_resources | ( | db_resources | f, |
db_symbol | k, | ||
db_owned_resources | v | ||
) |
Definition at line 162 of file pipsdbm_private.c.
References db_resources_hash_table, f(), HASH_EXTEND, and intptr_t.
void free_db_owned_resources | ( | db_owned_resources | p | ) |
Definition at line 21 of file pipsdbm_private.c.
References gen_free().
void free_db_resource | ( | db_resource | p | ) |
Definition at line 78 of file pipsdbm_private.c.
References gen_free().
void free_db_resources | ( | db_resources | p | ) |
Definition at line 120 of file pipsdbm_private.c.
References gen_free().
void free_db_status | ( | db_status | p | ) |
Definition at line 177 of file pipsdbm_private.c.
References gen_free().
void free_db_symbol | ( | db_symbol | p | ) |
Definition at line 240 of file pipsdbm_private.c.
References gen_free().
list gen_db_owned_resources_cons | ( | db_owned_resources | p, |
list | l | ||
) |
Definition at line 34 of file pipsdbm_private.c.
References DB_OWNED_RESOURCES_NEWGEN_DOMAIN, and gen_typed_cons().
list gen_db_resource_cons | ( | db_resource | p, |
list | l | ||
) |
Definition at line 91 of file pipsdbm_private.c.
References DB_RESOURCE_NEWGEN_DOMAIN, and gen_typed_cons().
list gen_db_resources_cons | ( | db_resources | p, |
list | l | ||
) |
Definition at line 133 of file pipsdbm_private.c.
References DB_RESOURCES_NEWGEN_DOMAIN, and gen_typed_cons().
Definition at line 190 of file pipsdbm_private.c.
References DB_STATUS_NEWGEN_DOMAIN, and gen_typed_cons().
Definition at line 253 of file pipsdbm_private.c.
References DB_SYMBOL_NEWGEN_DOMAIN, and gen_typed_cons().
db_symbol gen_find_db_symbol | ( | char * | s | ) |
Definition at line 267 of file pipsdbm_private.c.
References db_symbol_domain, and gen_find_tabulated().
db_owned_resources make_db_owned_resources | ( | void | ) |
Definition at line 54 of file pipsdbm_private.c.
References db_owned_resources_domain, gen_alloc(), and GEN_CHECK_ALLOC.
db_resource make_db_resource | ( | db_void | a1, |
db_status | a2, | ||
intptr_t | a3, | ||
intptr_t | a4 | ||
) |
Definition at line 111 of file pipsdbm_private.c.
References db_resource_domain, gen_alloc(), and GEN_CHECK_ALLOC.
db_resources make_db_resources | ( | void | ) |
Definition at line 153 of file pipsdbm_private.c.
References db_resources_domain, gen_alloc(), and GEN_CHECK_ALLOC.
db_status make_db_status | ( | enum db_status_utype | tag, |
void * | val | ||
) |
Definition at line 219 of file pipsdbm_private.c.
References db_status_domain, gen_alloc(), and GEN_CHECK_ALLOC.
db_status make_db_status_loaded | ( | void | ) |
Definition at line 222 of file pipsdbm_private.c.
References is_db_status_loaded, make_db_status(), and UU.
db_status make_db_status_loaded_and_stored | ( | void | ) |
Definition at line 231 of file pipsdbm_private.c.
References is_db_status_loaded_and_stored, make_db_status(), and UU.
db_status make_db_status_required | ( | void | ) |
Definition at line 228 of file pipsdbm_private.c.
References is_db_status_required, make_db_status(), and UU.
db_status make_db_status_stored | ( | void | ) |
Definition at line 225 of file pipsdbm_private.c.
References is_db_status_stored, make_db_status(), and UU.
Definition at line 281 of file pipsdbm_private.c.
References db_symbol_domain, gen_alloc(), and GEN_CHECK_ALLOC.
db_owned_resources read_db_owned_resources | ( | FILE * | f | ) |
Definition at line 51 of file pipsdbm_private.c.
References f(), and gen_read().
db_resource read_db_resource | ( | FILE * | f | ) |
Definition at line 108 of file pipsdbm_private.c.
References f(), and gen_read().
db_resources read_db_resources | ( | FILE * | f | ) |
Definition at line 150 of file pipsdbm_private.c.
References f(), and gen_read().
db_status read_db_status | ( | FILE * | f | ) |
Definition at line 207 of file pipsdbm_private.c.
References f(), and gen_read().
void read_tabulated_db_symbol | ( | FILE * | f | ) |
Definition at line 273 of file pipsdbm_private.c.
References abort, db_symbol_domain, f(), fprintf(), and gen_read_tabulated().
void update_db_owned_resources | ( | db_owned_resources | f, |
db_symbol | k, | ||
db_resource | v | ||
) |
Definition at line 60 of file pipsdbm_private.c.
References db_owned_resources_hash_table, f(), HASH_UPDATE, and intptr_t.
void update_db_resources | ( | db_resources | f, |
db_symbol | k, | ||
db_owned_resources | v | ||
) |
Definition at line 159 of file pipsdbm_private.c.
References db_resources_hash_table, f(), HASH_UPDATE, and intptr_t.
void write_db_owned_resources | ( | FILE * | f, |
db_owned_resources | p | ||
) |
Definition at line 48 of file pipsdbm_private.c.
References f(), and gen_write().
void write_db_resource | ( | FILE * | f, |
db_resource | p | ||
) |
Definition at line 105 of file pipsdbm_private.c.
References f(), and gen_write().
void write_db_resources | ( | FILE * | f, |
db_resources | p | ||
) |
Definition at line 147 of file pipsdbm_private.c.
References f(), and gen_write().
void write_db_status | ( | FILE * | f, |
db_status | p | ||
) |
Definition at line 204 of file pipsdbm_private.c.
References f(), and gen_write().
void write_tabulated_db_symbol | ( | FILE * | f | ) |
Definition at line 270 of file pipsdbm_private.c.
References db_symbol_domain, f(), and gen_write_tabulated().