Home
last modified time | relevance | path

Searched refs:dtable (Results 1 – 24 of 24) sorted by relevance

/external/selinux/libsemanage/src/
Dpolicy_components.c24 dbase_table_t *src_dtable = src->dtable; in clear_obsolete()
25 dbase_table_t *dst_dtable = dst->dtable; in clear_obsolete()
68 dbase_table_t *dtable = dst->dtable; in load_records() local
69 record_table_t *rtable = dtable->get_rtable(dbase); in load_records()
81 dtable->set(handle, dbase, rkey, records[i]) < 0) in load_records()
85 dtable->modify(handle, dbase, rkey, records[i]) < 0) in load_records()
152 record_table_t *rtable = src->dtable->get_rtable(src->dbase); in semanage_base_merge_components()
155 if (src->dtable->cache(handle, src->dbase) < 0) in semanage_base_merge_components()
157 if (dst->dtable->cache(handle, dst->dbase) < 0) in semanage_base_merge_components()
161 if (src->dtable->list(handle, src->dbase, in semanage_base_merge_components()
[all …]
Ddatabase.c12 if (dconfig->dtable == NULL) { in assert_init()
39 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0) in enter_ro()
72 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0) in enter_rw()
90 if (dconfig->dtable->modify(handle, dconfig->dbase, key, data) < 0) in dbase_modify()
104 if (dconfig->dtable->set(handle, dconfig->dbase, key, data) < 0) in dbase_set()
117 if (dconfig->dtable->del(handle, dconfig->dbase, key) < 0) in dbase_del()
131 if (dconfig->dtable->query(handle, dconfig->dbase, key, response) < 0) { in dbase_query()
147 if (dconfig->dtable->exists(handle, dconfig->dbase, key, response) < 0) { in dbase_exists()
162 if (dconfig->dtable->count(handle, dconfig->dbase, response) < 0) { in dbase_count()
179 if (dconfig->dtable->iterate(handle, dconfig->dbase, fn, fn_arg) < 0) { in dbase_iterate()
[all …]
Ddatabase_llist.h21 dbase_table_t *dtable; member
46 dbase_table_t * dtable) in dbase_llist_init() argument
50 dbase->dtable = dtable; in dbase_llist_init()
Ddatabase_join.c43 dbase_table_t *dtable1 = dbase->join1->dtable; in dbase_join_cache()
44 dbase_table_t *dtable2 = dbase->join2->dtable; in dbase_join_cache()
175 dbase_table_t *dtable1 = dbase->join1->dtable; in dbase_join_flush()
176 dbase_table_t *dtable2 = dbase->join2->dtable; in dbase_join_flush()
Ddirect_api.c600 pusers_extra->dtable->drop_cache(pusers_extra->dbase); in semanage_direct_update_user_extra()
603 retval = pusers_extra->dtable->clear(sh, pusers_extra->dbase); in semanage_direct_update_user_extra()
633 pseusers->dtable->drop_cache(pseusers->dbase); in semanage_direct_update_seuser()
635 retval = pseusers->dtable->clear(sh, pseusers->dbase); in semanage_direct_update_seuser()
1149 if (users->dtable->is_modified(users->dbase)) { in semanage_direct_commit()
1150 retval = users->dtable->flush(sh, users->dbase); in semanage_direct_commit()
1156 fcontexts_modified = fcontexts->dtable->is_modified(fcontexts->dbase); in semanage_direct_commit()
1157 seusers_modified = seusers->dtable->is_modified(seusers->dbase); in semanage_direct_commit()
1159 users_extra->dtable->is_modified(users_extra->dbase); in semanage_direct_commit()
1160 ports_modified = ports->dtable->is_modified(ports->dbase); in semanage_direct_commit()
[all …]
Dusers_join.c41 dconfig->dtable = &SEMANAGE_JOIN_DTABLE; in user_join_dbase_init()
Dusers_base_policydb.c60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in user_base_policydb_dbase_init()
Dinterfaces_policydb.c61 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in iface_policydb_dbase_init()
Dnodes_policydb.c60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in node_policydb_dbase_init()
Dports_policydb.c60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in port_policydb_dbase_init()
Dbooleans_policydb.c65 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in bool_policydb_dbase_init()
Dbooleans_file.c122 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in bool_file_dbase_init()
Dusers_extra_file.c122 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in user_extra_file_dbase_init()
Dseusers_file.c130 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in seuser_file_dbase_init()
Dbooleans_activedb.c159 dconfig->dtable = &SEMANAGE_ACTIVEDB_DTABLE; in bool_activedb_dbase_init()
Ddatabase.h179 dbase_table_t *dtable; member
Dinterfaces_file.c167 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in iface_file_dbase_init()
Dports_file.c179 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in port_file_dbase_init()
Dfcontexts_file.c181 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in fcontext_file_dbase_init()
Dnodes_file.c176 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in node_file_dbase_init()
Dusers_base_file.c218 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in user_base_file_dbase_init()
Ddatabase_llist.c111 if (dbase->dtable->cache(handle, dbase) < 0) in dbase_llist_cache_locate()
/external/wpa_supplicant_8/src/utils/
Dbase64.c102 unsigned char dtable[256], *out, *pos, block[4], tmp; in base64_decode() local
106 os_memset(dtable, 0x80, 256); in base64_decode()
108 dtable[base64_table[i]] = (unsigned char) i; in base64_decode()
109 dtable['='] = 0; in base64_decode()
113 if (dtable[src[i]] != 0x80) in base64_decode()
127 tmp = dtable[src[i]]; in base64_decode()
/external/libxml2/
Dxmlwriter.c1550 static unsigned char dtable[64] = in xmlOutputBufferWriteBase64() local
1582 ogroup[0] = dtable[igroup[0] >> 2]; in xmlOutputBufferWriteBase64()
1583 ogroup[1] = dtable[((igroup[0] & 3) << 4) | (igroup[1] >> 4)]; in xmlOutputBufferWriteBase64()
1585 dtable[((igroup[1] & 0xF) << 2) | (igroup[2] >> 6)]; in xmlOutputBufferWriteBase64()
1586 ogroup[3] = dtable[igroup[2] & 0x3F]; in xmlOutputBufferWriteBase64()