/external/selinux/libsemanage/src/ |
H A D | database_activedb.c | 20 /* ACTIVEDB dbase */ 33 dbase_activedb_t * dbase) 36 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); 37 record_activedb_table_t *ratable = dbase->ratable; 44 if (!dbase_llist_needs_resync(handle, &dbase->llist)) 48 dbase_llist_cache_init(&dbase->llist); 49 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) 58 if (dbase_llist_cache_prepend(handle, &dbase->llist, records[i]) 71 dbase_llist_drop_cache(&dbase->llist); 77 dbase_activedb_t * dbase) 32 dbase_activedb_cache(semanage_handle_t * handle, dbase_activedb_t * dbase) argument 76 dbase_activedb_flush(semanage_handle_t * handle, dbase_activedb_t * dbase) argument 113 dbase_activedb_init(semanage_handle_t * handle, record_table_t * rtable, record_activedb_table_t * ratable, dbase_activedb_t ** dbase) argument 139 dbase_activedb_release(dbase_activedb_t * dbase) argument [all...] |
H A D | database_file.c | 25 /* FILE dbase */ 40 static int dbase_file_cache(semanage_handle_t * handle, dbase_file_t * dbase) argument 43 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); 44 record_file_table_t *rftable = dbase->rftable; 53 if (!dbase_llist_needs_resync(handle, &dbase->llist)) 57 dbase_llist_cache_init(&dbase->llist); 58 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) 61 fname = dbase->path[handle->is_in_transaction]; 88 if (dbase_llist_cache_prepend(handle, &dbase->llist, 109 dbase_llist_drop_cache(&dbase 114 dbase_file_flush(semanage_handle_t * handle, dbase_file_t * dbase) argument 160 dbase_file_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, record_table_t * rtable, record_file_table_t * rftable, dbase_file_t ** dbase) argument 188 dbase_file_release(dbase_file_t * dbase) argument [all...] |
H A D | database_llist.h | 16 /* LLIST dbase */ 34 static inline void dbase_llist_cache_init(dbase_llist_t * dbase) argument 37 dbase->cache = NULL; 38 dbase->cache_tail = NULL; 39 dbase->cache_sz = 0; 40 dbase->cache_serial = -1; 41 dbase->modified = 0; 44 static inline void dbase_llist_init(dbase_llist_t * dbase, argument 49 dbase->rtable = rtable; 50 dbase 64 dbase_llist_set_modified(dbase_llist_t * dbase, int status) argument 72 dbase_llist_is_modified(dbase_llist_t * dbase) argument 79 dbase_llist_get_rtable(dbase_llist_t * dbase) argument [all...] |
H A D | policy_components.c | 26 record_table_t *rtable = src_dtable->get_rtable(src->dbase); 34 if (dst_dtable->exists(handle, dst->dbase, key, &exists) < 0) 38 if (src_dtable->del(handle, src->dbase, key) < 0) 67 dbase_t *dbase = dst->dbase; local 69 record_table_t *rtable = dtable->get_rtable(dbase); 81 dtable->set(handle, dbase, rkey, records[i]) < 0) 85 dtable->modify(handle, dbase, rkey, records[i]) < 0) 152 record_table_t *rtable = src->dtable->get_rtable(src->dbase); 155 if (src->dtable->cache(handle, src->dbase) < [all...] |
H A D | database.h | 69 dbase_t * dbase, 77 dbase_t * dbase, 84 dbase_t * dbase, 89 dbase_t * dbase, const record_key_t * key); 94 int (*clear) (struct semanage_handle * handle, dbase_t * dbase); 103 dbase_t * dbase, 108 dbase_t * dbase, 113 dbase_t * dbase, unsigned int *response); 132 dbase_t * dbase, 142 dbase_t * dbase, 176 dbase_t *dbase; member in struct:dbase_config [all...] |
H A D | database_join.c | 20 /* JOIN dbase */ 37 static int dbase_join_cache(semanage_handle_t * handle, dbase_join_t * dbase) argument 41 dbase_t *dbase1 = dbase->join1->dbase; 42 dbase_t *dbase2 = dbase->join2->dbase; 43 dbase_table_t *dtable1 = dbase->join1->dtable; 44 dbase_table_t *dtable2 = dbase->join2->dtable; 45 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); 46 record_join_table_t *rjtable = dbase 169 dbase_join_flush(semanage_handle_t * handle, dbase_join_t * dbase) argument 238 dbase_join_init(semanage_handle_t * handle, record_table_t * rtable, record_join_table_t * rjtable, dbase_config_t * join1, dbase_config_t * join2, dbase_t ** dbase) argument 267 dbase_join_release(dbase_join_t * dbase) argument [all...] |
H A D | database_llist.c | 16 int dbase_llist_needs_resync(semanage_handle_t * handle, dbase_llist_t * dbase) argument 21 if (dbase->cache_serial < 0) 28 if (cache_serial != dbase->cache_serial) { 29 dbase_llist_drop_cache(dbase); 30 dbase->cache_serial = -1; 38 dbase_llist_t * dbase, const record_t * data) 46 if (dbase->rtable->clone(handle, data, &entry->data) < 0) 50 entry->next = dbase->cache; 53 if (dbase->cache != NULL) 54 dbase 37 dbase_llist_cache_prepend(semanage_handle_t * handle, dbase_llist_t * dbase, const record_t * data) argument 70 dbase_llist_drop_cache(dbase_llist_t * dbase) argument 88 dbase_llist_set_serial(semanage_handle_t * handle, dbase_llist_t * dbase) argument 102 dbase_llist_cache_locate(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key, cache_entry_t ** entry) argument 128 dbase_llist_exists(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key, int *response) argument 148 dbase_llist_add(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key __attribute__ ((unused)), const record_t * data) argument 166 dbase_llist_set(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key, const record_t * data) argument 194 dbase_llist_modify(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key, const record_t * data) argument 222 dbase_llist_count(semanage_handle_t * handle __attribute__ ((unused)), dbase_llist_t * dbase, unsigned int *response) argument 231 dbase_llist_query(semanage_handle_t * handle, dbase_llist_t * dbase, const record_key_t * key, record_t ** response) argument 253 dbase_llist_iterate(semanage_handle_t * handle, dbase_llist_t * dbase, int (*fn) (const record_t * record, void *fn_arg), void *arg) argument 279 dbase_llist_del(semanage_handle_t * handle __attribute__ ((unused)), dbase_llist_t * dbase, const record_key_t * key) argument 310 dbase_llist_clear(semanage_handle_t * handle, dbase_llist_t * dbase) argument 337 dbase_llist_list(semanage_handle_t * handle, dbase_llist_t * dbase, record_t *** records, unsigned int *count) argument [all...] |
H A D | database_policydb.c | 25 /* POLICYDB dbase */ 44 static void dbase_policydb_drop_cache(dbase_policydb_t * dbase) argument 47 if (dbase->cache_serial >= 0) { 48 sepol_policydb_free(dbase->policydb); 49 dbase->cache_serial = -1; 50 dbase->modified = 0; 55 dbase_policydb_t * dbase) 64 dbase->cache_serial = cache_serial; 69 dbase_policydb_t * dbase) 74 if (dbase 54 dbase_policydb_set_serial(semanage_handle_t * handle, dbase_policydb_t * dbase) argument 68 dbase_policydb_needs_resync(semanage_handle_t * handle, dbase_policydb_t * dbase) argument 89 dbase_policydb_cache(semanage_handle_t * handle, dbase_policydb_t * dbase) argument 157 dbase_policydb_flush(semanage_handle_t * handle __attribute__ ((unused)), dbase_policydb_t * dbase) argument 173 dbase_policydb_is_modified(dbase_policydb_t * dbase) argument 179 dbase_policydb_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, record_table_t * rtable, record_policydb_table_t * rptable, dbase_policydb_t ** dbase) argument 213 dbase_policydb_release(dbase_policydb_t * dbase) argument 224 dbase_policydb_attach(dbase_policydb_t * dbase, sepol_policydb_t * policydb) argument 235 dbase_policydb_detach(dbase_policydb_t * dbase) argument 242 dbase_policydb_add(semanage_handle_t * handle, dbase_policydb_t * dbase, const record_key_t * key, const record_t * data) argument 258 dbase_policydb_set(semanage_handle_t * handle, dbase_policydb_t * dbase, const record_key_t * key, const record_t * data) argument 274 dbase_policydb_modify(semanage_handle_t * handle, dbase_policydb_t * dbase, const record_key_t * key, const record_t * data) argument 319 dbase_policydb_query(semanage_handle_t * handle, dbase_policydb_t * dbase, const record_key_t * key, record_t ** response) argument 335 dbase_policydb_exists(semanage_handle_t * handle, dbase_policydb_t * dbase, const record_key_t * key, int *response) argument 351 dbase_policydb_count(semanage_handle_t * handle, dbase_policydb_t * dbase, unsigned int *response) argument 367 dbase_policydb_iterate(semanage_handle_t * handle, dbase_policydb_t * dbase, int (*fn) (const record_t * record, void *fn_arg), void *arg) argument 403 dbase_policydb_list(semanage_handle_t * handle, dbase_t * dbase, record_t *** records, unsigned int *count) argument 453 dbase_policydb_get_rtable(dbase_policydb_t * dbase) argument [all...] |
H A D | handle.h | 108 dbase_config_t dbase[DBASE_COUNT]; member in struct:semanage_handle 115 return &handle->dbase[DBASE_LOCAL_USERS_BASE]; 121 return &handle->dbase[DBASE_LOCAL_USERS_EXTRA]; 127 return &handle->dbase[DBASE_LOCAL_USERS]; 133 return &handle->dbase[DBASE_LOCAL_PORTS]; 139 return &handle->dbase[DBASE_LOCAL_INTERFACES]; 145 return &handle->dbase[DBASE_LOCAL_BOOLEANS]; 151 return &handle->dbase[DBASE_LOCAL_FCONTEXTS]; 157 return &handle->dbase[DBASE_LOCAL_SEUSERS]; 163 return &handle->dbase[DBASE_LOCAL_NODE [all...] |
/external/zlib/src/contrib/infback9/ |
H A D | inftree9.c | 68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ local 188 base = dbase;
|
/external/zlib/src/ |
H A D | inftrees.c | 66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ local 194 base = dbase;
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
H A D | fx_zlib_inftrees.c | 66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ local 194 base = dbase;
|
/external/clang/lib/Headers/ |
H A D | unwind.h | 248 uintptr_t dbase; member in struct:dwarf_eh_bases
|
/external/libcxxabi/include/ |
H A D | unwind.h | 286 uintptr_t dbase; member in struct:dwarf_eh_bases
|
/external/iproute2/misc/ |
H A D | arpd.c | 42 DB *dbase; variable 98 "Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ]" 310 dbase->sync(dbase, 0); 343 if (dbase->get(dbase, &dbkey, &dbdat, 0) != 0) { 367 dbase->del(dbase, &dbkey, 0); 393 dbase->put(dbase, [all...] |
/external/opencv/cv/src/ |
H A D | cvdistransform.cpp | 633 uchar *dbase = dst->data.ptr; local 645 dbase[0] = (uchar)(sbase[0] == 0 ? 0 : 255); 649 dbase[x] = (uchar)(sbase[x] == 0 ? 0 : lut[dbase[x-1]]); 654 dbase += dststep; 657 a = sbase[0] == 0 ? 0 : lut[dbase[-dststep]]; 658 dbase[0] = (uchar)a; 662 a = sbase[x] == 0 ? 0 : lut[MIN(a, dbase[x - dststep])]; 663 dbase[x] = (uchar)a; 669 a = dbase[widt [all...] |
/external/skia/src/opts/ |
H A D | SkBlitRow_opts_arm_neon.cpp | 1367 uint8x8_t dbase; local 1369 dbase = vld1_u8(dstart); 1448 * dbase[] is 0..7; alpha is 0..256; 16 bits suffice 1450 alpha8 = vmovl_u8(dbase); 1451 alpha8 = vmlal_u8(alpha8, sa, dbase);
|
/external/toybox/generated/ |
H A D | globals.h | 632 struct arg_list *dbase[256]; member in struct:modprobe_data
|