HomeSort by relevance Sort by last modified time
    Searched refs:dbase (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/selinux/libsemanage/src/
database_llist.h 16 /* LLIST dbase */
34 static inline void dbase_llist_cache_init(dbase_llist_t * dbase)
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,
49 dbase->rtable = rtable;
50 dbase->dtable = dtable
    [all...]
database_llist.c 16 int dbase_llist_needs_resync(semanage_handle_t * handle, dbase_llist_t * dbase)
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->cache->prev = entry
    [all...]
database_policydb.c 25 /* POLICYDB dbase */
44 static void dbase_policydb_drop_cache(dbase_policydb_t * dbase)
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->cache_serial < 0
    [all...]
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_NODES]
    [all...]
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)
    [all...]
database_join.c 20 /* JOIN dbase */
37 static int dbase_join_cache(semanage_handle_t * handle, dbase_join_t * dbase)
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->rjtable
    [all...]
database_file.c 25 /* FILE dbase */
40 static int dbase_file_cache(semanage_handle_t * handle, dbase_file_t * dbase)
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->llist)
    [all...]
database.h 57 /* DBASE interface - method table */
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,
176 dbase_t *dbase; member in struct:dbase_config
    [all...]
database_activedb.h 29 dbase_activedb_t ** dbase);
32 extern void dbase_activedb_release(dbase_activedb_t * dbase);
database_file.h 35 dbase_file_t ** dbase);
38 extern void dbase_file_release(dbase_file_t * dbase);
database_join.h 39 dbase_config_t * join2, dbase_join_t ** dbase);
42 extern void dbase_join_release(dbase_join_t * dbase);
users_join.c 38 join1, join2, &dconfig->dbase) < 0)
48 dbase_join_release(dconfig->dbase);
database_policydb.h 93 dbase_policydb_t ** dbase);
99 extern void dbase_policydb_attach(dbase_policydb_t * dbase,
104 extern void dbase_policydb_detach(dbase_policydb_t * dbase);
107 extern void dbase_policydb_release(dbase_policydb_t * dbase);
database.c 39 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0)
72 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0)
90 if (dconfig->dtable->modify(handle, dconfig->dbase, key, data) < 0)
104 if (dconfig->dtable->set(handle, dconfig->dbase, key, data) < 0)
117 if (dconfig->dtable->del(handle, dconfig->dbase, key) < 0)
131 if (dconfig->dtable->query(handle, dconfig->dbase, key, response) < 0) {
147 if (dconfig->dtable->exists(handle, dconfig->dbase, key, response) < 0) {
162 if (dconfig->dtable->count(handle, dconfig->dbase, response) < 0) {
179 if (dconfig->dtable->iterate(handle, dconfig->dbase, fn, fn_arg) < 0) {
195 if (dconfig->dtable->list(handle, dconfig->dbase, records, count) < 0)
    [all...]
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) < 0
    [all...]
booleans_policydb.c 62 &dconfig->dbase) < 0)
72 dbase_policydb_release(dconfig->dbase);
interfaces_policydb.c 58 &dconfig->dbase) < 0)
68 dbase_policydb_release(dconfig->dbase);
nodes_policydb.c 57 &dconfig->dbase) < 0)
68 dbase_policydb_release(dconfig->dbase);
ports_policydb.c 57 &dconfig->dbase) < 0)
68 dbase_policydb_release(dconfig->dbase);
users_base_policydb.c 57 &dconfig->dbase) < 0)
67 dbase_policydb_release(dconfig->dbase);
users_extra_file.c 119 &dconfig->dbase) < 0)
129 dbase_file_release(dconfig->dbase);
booleans_file.c 119 &SEMANAGE_BOOL_FILE_RTABLE, &dconfig->dbase) < 0)
129 dbase_file_release(dconfig->dbase);
  /external/iproute2/misc/
arpd.c 43 DB *dbase; variable
99 "Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ]"
311 dbase->sync(dbase, 0);
344 if (dbase->get(dbase, &dbkey, &dbdat, 0) != 0) {
368 dbase->del(dbase, &dbkey, 0);
394 dbase->put(dbase, &dbkey, &dbdat, 0)
    [all...]
  /external/opencv/cv/src/
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[width-1]
    [all...]
  /external/opencv3/modules/imgproc/src/
distransform.cpp 613 uchar *dbase = dst.ptr(); local
625 dbase[0] = (uchar)(sbase[0] == 0 ? 0 : 255);
629 dbase[x] = (uchar)(sbase[x] == 0 ? 0 : lut[dbase[x-1]]);
634 dbase += dststep;
637 a = sbase[0] == 0 ? 0 : lut[dbase[-dststep]];
638 dbase[0] = (uchar)a;
642 a = sbase[x] == 0 ? 0 : lut[MIN(a, dbase[x - dststep])];
643 dbase[x] = (uchar)a;
649 a = dbase[width-1]
    [all...]

Completed in 578 milliseconds

1 2 3