/external/selinux/libsemanage/src/ |
D | database.h | 7 typedef void *record_t; typedef 24 int (*create) (struct semanage_handle * handle, record_t ** rec); 28 const record_t * rec, record_key_t ** key); 36 int (*compare) (const record_t * rec, const record_key_t * key); 41 int (*compare2) (const record_t * rec, const record_t * rec2); 46 int (*compare2_qsort) (const record_t ** rec, const record_t ** rec2); 50 const record_t * rec, record_t ** new_rec); 53 void (*free) (record_t * rec); 70 const record_key_t * key, const record_t * data); 78 const record_key_t * key, const record_t * data); [all …]
|
D | database_llist.h | 11 record_t *data; 56 const record_t * data); 91 const record_key_t * key, const record_t * data); 95 const record_key_t * key, const record_t * data); 99 const record_key_t * key, const record_t * data); 106 const record_key_t * key, record_t ** response); 110 int (*fn) (const record_t * record, 120 record_t *** records, unsigned int *count);
|
D | database_policydb.c | 243 const record_key_t * key, const record_t * data) in dbase_policydb_add() 259 const record_key_t * key, const record_t * data) in dbase_policydb_set() 276 const record_t * data) in dbase_policydb_modify() 315 const record_key_t * key, record_t ** response) in dbase_policydb_query() 363 int (*fn) (const record_t * record, in dbase_policydb_iterate() 381 record_t **records; 385 static int list_handler(const record_t * record, void *varg) in list_handler() 399 record_t *** records, unsigned int *count) in dbase_policydb_list() 402 record_t **tmp_records = NULL; in dbase_policydb_list() 414 tmp_records = (record_t **) in dbase_policydb_list() [all …]
|
D | database_policydb.h | 35 const record_t * record); 40 const record_t * record); 45 const record_t * record); 50 record_t ** response); 63 int (*fn) (const record_t * r,
|
D | database_llist.c | 38 dbase_llist_t * dbase, const record_t * data) in dbase_llist_cache_prepend() 151 const record_t * data) in dbase_llist_add() 167 const record_key_t * key, const record_t * data) in dbase_llist_set() 195 const record_key_t * key, const record_t * data) in dbase_llist_modify() 231 const record_key_t * key, record_t ** response) in dbase_llist_query() 253 int (*fn) (const record_t * record, in dbase_llist_iterate() 336 record_t *** records, unsigned int *count) in dbase_llist_list() 340 record_t **tmp_records = NULL; in dbase_llist_list() 346 tmp_records = (record_t **) in dbase_llist_list() 347 calloc(tmp_count, sizeof(record_t *)); in dbase_llist_list()
|
D | database.c | 84 const record_key_t * key, const record_t * data) in dbase_modify() 98 const record_key_t * key, const record_t * data) in dbase_set() 125 const record_key_t * key, record_t ** response) in dbase_query() 172 int (*fn) (const record_t * record, in dbase_iterate() 189 record_t *** records, unsigned int *count) in dbase_list()
|
D | policy_components.c | 16 record_t ** records, in clear_obsolete() 61 record_t ** records, unsigned int nrecords, int mode) in load_records() 151 record_t **records = NULL; in semanage_base_merge_components() 172 qsort(records, nrecords, sizeof(record_t *), in semanage_base_merge_components()
|
D | database_activedb.h | 17 record_t *** records, unsigned int *count); 21 record_t ** records, unsigned int count);
|
D | database_file.h | 21 parse_info_t * info, record_t * record); 25 record_t * record, FILE * str);
|
D | database_join.h | 25 const record2_t * record2, record_t ** result); 29 const record_t * record,
|
D | database_activedb.c | 39 record_t **records = NULL; in dbase_activedb_cache() 83 record_t **records = NULL; in dbase_activedb_flush()
|
D | users_join.c | 5 typedef struct semanage_user record_t; typedef
|
D | booleans_policydb.c | 23 typedef struct semanage_bool record_t; typedef
|
D | users_base_policydb.c | 22 typedef struct semanage_user_base record_t; typedef
|
D | ports_policydb.c | 22 typedef struct semanage_port record_t; typedef
|
D | ibendports_policydb.c | 17 typedef struct semanage_ibendport record_t; typedef
|
D | ibpkeys_policydb.c | 17 typedef struct semanage_ibpkey record_t; typedef
|
D | interfaces_policydb.c | 23 typedef struct semanage_iface record_t; typedef
|
D | nodes_policydb.c | 22 typedef struct semanage_node record_t; typedef
|
D | interfaces_policy.c | 6 typedef struct semanage_iface record_t; typedef
|
D | booleans_policy.c | 6 typedef struct semanage_bool record_t; typedef
|
D | ibpkeys_policy.c | 6 typedef struct semanage_ibpkey record_t; typedef
|
D | nodes_policy.c | 6 typedef struct semanage_node record_t; typedef
|
/external/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.c | 78 typedef size_t record_t; typedef 79 static unsigned int record_size = sizeof(record_t); 81 static record_t **mem; 293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate() 296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate() 299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate() 320 mem[i][j] = (record_t) j; in write_pattern() 329 static void *linear_search(record_t key, record_t * base, size_t size) in linear_search() 331 record_t *p; in linear_search() 332 record_t *end = base + (size / record_size); in linear_search() [all …]
|
/external/ltp/testcases/kernel/controllers/memctl/ |
D | memctl_test01.c | 56 typedef size_t record_t; typedef 57 record_t **array_of_chunks; 58 record_t tmp; 170 array_of_chunks = malloc(sizeof(record_t *) * num_of_chunks); in allocate_memory() 188 limit = chunk_size / sizeof(record_t); in allocate_memory()
|