Home
last modified time | relevance | path

Searched refs:record_t (Results 1 – 25 of 64) sorted by relevance

123

/external/selinux/libsemanage/src/
Ddatabase.h7 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 …]
Ddatabase_llist.h11 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);
Ddatabase_policydb.h35 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,
Ddatabase_policydb.c243 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 …]
Ddatabase_llist.c38 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()
Ddatabase.c84 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()
Ddatabase_activedb.h17 record_t *** records, unsigned int *count);
21 record_t ** records, unsigned int count);
Ddatabase_file.h21 parse_info_t * info, record_t * record);
25 record_t * record, FILE * str);
Ddatabase_join.h25 const record2_t * record2, record_t ** result);
29 const record_t * record,
Dpolicy_components.c16 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()
Ddatabase_activedb.c39 record_t **records = NULL; in dbase_activedb_cache()
83 record_t **records = NULL; in dbase_activedb_flush()
Dusers_join.c5 typedef struct semanage_user record_t; typedef
Dibendports_policydb.c17 typedef struct semanage_ibendport record_t; typedef
Dibpkeys_policydb.c17 typedef struct semanage_ibpkey record_t; typedef
Dports_policydb.c22 typedef struct semanage_port record_t; typedef
Dbooleans_policydb.c23 typedef struct semanage_bool record_t; typedef
Dinterfaces_policydb.c23 typedef struct semanage_iface record_t; typedef
Dnodes_policydb.c22 typedef struct semanage_node record_t; typedef
Dusers_base_policydb.c22 typedef struct semanage_user_base record_t; typedef
Dnodes_policy.c6 typedef struct semanage_node record_t; typedef
Dibpkeys_policy.c6 typedef struct semanage_ibpkey record_t; typedef
Dinterfaces_policy.c6 typedef struct semanage_iface record_t; typedef
Dibendports_policy.c6 typedef struct semanage_ibendport record_t; typedef
/external/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c78 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/
Dmemctl_test01.c56 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()

123