Home
last modified time | relevance | path

Searched refs:tnode (Results 1 – 13 of 13) sorted by relevance

/external/srec/srec/clib/
Dsrec_arb.c69 tree_node* tnode = allotree->pdata[cphon].model_nodes; in get_modelid_for_pic() local
70 while (tnode->node.quest_index >= 0) in get_modelid_for_pic()
72 ans = question_check(&allotree->questions[tnode->node.quest_index], in get_modelid_for_pic()
74 tnode = (ans == ANSWER_FAIL ? (tree_node*)tnode->node.fail : (tree_node*)tnode->node.pass); in get_modelid_for_pic()
76 return tnode->term.pelid; in get_modelid_for_pic()
180 tree_node* tnode = (tree_node*) * buffer; in read_tree_node_f() local
181 pfread(&(tnode->node.quest_index), sizeof(asr_int16_t), 1, fp); in read_tree_node_f()
182 pfread(&(tnode->term.pelid), sizeof(asr_int16_t), 1, fp); in read_tree_node_f()
183 pfread(&(tnode->node.fail), sizeof(tree_branch_info*), 1, fp); in read_tree_node_f()
184 pfread(&(tnode->node.pass), sizeof(tree_branch_info*), 1, fp); in read_tree_node_f()
[all …]
/external/libsepol/tests/
Dtest-expander-users.c34 ebitmap_node_t *tnode; in check_user_roles() local
48 ebitmap_for_each_bit(&user->roles.roles, tnode, i) { in check_user_roles()
49 if (ebitmap_node_get_bit(tnode, i)) { in check_user_roles()
Dtest-common.c187 ebitmap_node_t *tnode; in test_role_type_set() local
201 ebitmap_for_each_bit(&role->types.types, tnode, i) { in test_role_type_set()
202 if (ebitmap_node_get_bit(tnode, i)) { in test_role_type_set()
228 ebitmap_node_t *tnode; in test_attr_types() local
244 ebitmap_for_each_bit(&attr->types, tnode, i) { in test_attr_types()
245 if (ebitmap_node_get_bit(tnode, i)) { in test_attr_types()
Dtest-linker-roles.c57 ebitmap_node_t *tnode; in only_dominates_self() local
61 ebitmap_for_each_bit(&role->dominates, tnode, i) { in only_dominates_self()
62 if (ebitmap_node_get_bit(tnode, i)) { in only_dominates_self()
/external/libsepol/src/
Dexpand.c60 ebitmap_node_t *tnode; in map_ebitmap() local
63 ebitmap_for_each_bit(src, tnode, i) { in map_ebitmap()
64 if (!ebitmap_node_get_bit(tnode, i)) in map_ebitmap()
1158 ebitmap_node_t *snode, *tnode; in copy_role_allows() local
1181 ebitmap_for_each_bit(&new_roles, tnode, j) { in copy_role_allows()
1182 if (!ebitmap_node_get_bit(tnode, j)) in copy_role_allows()
1227 ebitmap_node_t *rnode, *tnode, *cnode; in copy_role_trans() local
1249 ebitmap_for_each_bit(&types, tnode, j) { in copy_role_trans()
1250 if (!ebitmap_node_get_bit(tnode, j)) in copy_role_trans()
1323 ebitmap_node_t *snode, *tnode; in expand_filename_trans() local
[all …]
Dassertion.c85 ebitmap_node_t *snode, *tnode; in check_assertions() local
129 ebitmap_for_each_bit(ttypes, tnode, j) { in check_assertions()
130 if (!ebitmap_node_get_bit(tnode, j)) in check_assertions()
Dservices.c319 ebitmap_node_t *snode, *tnode; in context_struct_compute_av() local
349 ebitmap_for_each_bit(tattr, tnode, j) { in context_struct_compute_av()
350 if (!ebitmap_node_get_bit(tnode, j)) in context_struct_compute_av()
1298 ebitmap_node_t *rnode, *tnode; in sepol_get_user_sids() local
1326 ebitmap_for_each_bit(&role->types.types, tnode, j) { in sepol_get_user_sids()
1327 if (!ebitmap_node_get_bit(tnode, j)) in sepol_get_user_sids()
Dlink.c913 ebitmap_node_t *tnode; in type_set_convert() local
914 ebitmap_for_each_bit(&types->types, tnode, i) { in type_set_convert()
915 if (ebitmap_node_get_bit(tnode, i)) { in type_set_convert()
923 ebitmap_for_each_bit(&types->negset, tnode, i) { in type_set_convert()
924 if (ebitmap_node_get_bit(tnode, i)) { in type_set_convert()
1118 ebitmap_node_t *tnode; in type_fix_callback() local
1141 ebitmap_for_each_bit(&type->types, tnode, i) { in type_fix_callback()
1142 if (ebitmap_node_get_bit(tnode, i)) { in type_fix_callback()
Dwrite.c1952 ebitmap_node_t *tnode; in policydb_write() local
1954 ebitmap_for_each_bit(&p->permissive_map, tnode, i) { in policydb_write()
1955 if (ebitmap_node_get_bit(tnode, i)) { in policydb_write()
Dpolicydb.c3513 ebitmap_node_t *tnode; in policydb_read() local
3793 tnode, j) { in policydb_read()
3794 if (!ebitmap_node_get_bit(tnode, j) in policydb_read()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3baserecognizer.c372 pANTLR3_COMMON_TREE tnode; in antlr3RecognitionExceptionNew() local
374 tnode = ((pANTLR3_COMMON_TREE)(((pANTLR3_BASE_TREE)(ex->token))->super)); in antlr3RecognitionExceptionNew()
376 if (tnode->token == NULL) in antlr3RecognitionExceptionNew()
382 if (tnode->token->input == NULL) in antlr3RecognitionExceptionNew()
388 ex->streamName = tnode->token->input->fileName; in antlr3RecognitionExceptionNew()
/external/yaffs2/yaffs2/
DKconfig103 Setting this to 'y' will force tnode width to 16 bits and make
/external/checkpolicy/
Dpolicy_define.c2201 ebitmap_node_t *tnode, *rnode, *cnode; in define_role_trans() local
2282 ebitmap_for_each_bit(&e_types, tnode, j) { in define_role_trans()
2283 if (!ebitmap_node_get_bit(tnode, j)) in define_role_trans()
2388 ebitmap_node_t *snode, *tnode, *cnode; in define_filename_trans() local
2475 ebitmap_for_each_bit(&e_ttypes, tnode, t) { in define_filename_trans()
2476 if (!ebitmap_node_get_bit(tnode, t)) in define_filename_trans()