/external/selinux/libsemanage/src/ |
D | policy_components.c | 24 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 …]
|
D | database.c | 12 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 …]
|
D | database_llist.h | 21 dbase_table_t *dtable; member 46 dbase_table_t * dtable) in dbase_llist_init() argument 50 dbase->dtable = dtable; in dbase_llist_init()
|
D | database_join.c | 43 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()
|
D | direct_api.c | 600 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 …]
|
D | users_join.c | 41 dconfig->dtable = &SEMANAGE_JOIN_DTABLE; in user_join_dbase_init()
|
D | users_base_policydb.c | 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in user_base_policydb_dbase_init()
|
D | interfaces_policydb.c | 61 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in iface_policydb_dbase_init()
|
D | nodes_policydb.c | 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in node_policydb_dbase_init()
|
D | ports_policydb.c | 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in port_policydb_dbase_init()
|
D | booleans_policydb.c | 65 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; in bool_policydb_dbase_init()
|
D | booleans_file.c | 122 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in bool_file_dbase_init()
|
D | users_extra_file.c | 122 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in user_extra_file_dbase_init()
|
D | seusers_file.c | 130 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in seuser_file_dbase_init()
|
D | booleans_activedb.c | 159 dconfig->dtable = &SEMANAGE_ACTIVEDB_DTABLE; in bool_activedb_dbase_init()
|
D | database.h | 179 dbase_table_t *dtable; member
|
D | interfaces_file.c | 167 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in iface_file_dbase_init()
|
D | ports_file.c | 179 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in port_file_dbase_init()
|
D | fcontexts_file.c | 181 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in fcontext_file_dbase_init()
|
D | nodes_file.c | 176 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in node_file_dbase_init()
|
D | users_base_file.c | 218 dconfig->dtable = &SEMANAGE_FILE_DTABLE; in user_base_file_dbase_init()
|
D | database_llist.c | 111 if (dbase->dtable->cache(handle, dbase) < 0) in dbase_llist_cache_locate()
|
/external/wpa_supplicant_8/src/utils/ |
D | base64.c | 102 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/ |
D | xmlwriter.c | 1550 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()
|