Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Drb.h337 a_type *tnode = rbtree->rbt_root; \
338 assert(tnode != &rbtree->rbt_nil); \
341 int cmp = (a_cmp)(node, tnode); \
343 ret = tnode; \
344 tnode = rbtn_left_get(a_type, a_field, tnode); \
346 tnode = rbtn_right_get(a_type, a_field, tnode); \
350 assert(tnode != &rbtree->rbt_nil); \
365 a_type *tnode = rbtree->rbt_root; \
366 assert(tnode != &rbtree->rbt_nil); \
369 int cmp = (a_cmp)(node, tnode); \
[all …]
/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/
Dassertion.c93 ebitmap_node_t *snode, *tnode; in check_assertions() local
137 ebitmap_for_each_bit(ttypes, tnode, j) { in check_assertions()
138 if (!ebitmap_node_get_bit(tnode, j)) in check_assertions()
Dexpand.c136 ebitmap_node_t *tnode; in map_ebitmap() local
139 ebitmap_for_each_bit(src, tnode, i) { in map_ebitmap()
140 if (!ebitmap_node_get_bit(tnode, i)) in map_ebitmap()
1300 ebitmap_node_t *snode, *tnode; in copy_role_allows() local
1323 ebitmap_for_each_bit(&new_roles, tnode, j) { in copy_role_allows()
1324 if (!ebitmap_node_get_bit(tnode, j)) in copy_role_allows()
1369 ebitmap_node_t *rnode, *tnode, *cnode; in copy_role_trans() local
1391 ebitmap_for_each_bit(&types, tnode, j) { in copy_role_trans()
1392 if (!ebitmap_node_get_bit(tnode, j)) in copy_role_trans()
1465 ebitmap_node_t *snode, *tnode; in expand_filename_trans() local
[all …]
Dservices.c832 ebitmap_node_t *snode, *tnode; in context_struct_compute_av() local
862 ebitmap_for_each_bit(tattr, tnode, j) { in context_struct_compute_av()
863 if (!ebitmap_node_get_bit(tnode, j)) in context_struct_compute_av()
1924 ebitmap_node_t *rnode, *tnode; in sepol_get_user_sids() local
1952 ebitmap_for_each_bit(&role->types.types, tnode, j) { in sepol_get_user_sids()
1953 if (!ebitmap_node_get_bit(tnode, j)) in sepol_get_user_sids()
Dlink.c963 ebitmap_node_t *tnode; in type_set_convert() local
964 ebitmap_for_each_bit(&types->types, tnode, i) { in type_set_convert()
965 if (ebitmap_node_get_bit(tnode, i)) { in type_set_convert()
973 ebitmap_for_each_bit(&types->negset, tnode, i) { in type_set_convert()
974 if (ebitmap_node_get_bit(tnode, i)) { in type_set_convert()
1168 ebitmap_node_t *tnode; in type_fix_callback() local
1191 ebitmap_for_each_bit(&type->types, tnode, i) { in type_fix_callback()
1192 if (ebitmap_node_get_bit(tnode, i)) { in type_fix_callback()
Dwrite.c1981 ebitmap_node_t *tnode; in policydb_write() local
1983 ebitmap_for_each_bit(&p->permissive_map, tnode, i) { in policydb_write()
1984 if (ebitmap_node_get_bit(tnode, i)) { in policydb_write()
Dpolicydb.c3608 ebitmap_node_t *tnode; in policydb_read() local
3888 tnode, j) { in policydb_read()
3889 if (!ebitmap_node_get_bit(tnode, j) in policydb_read()
/external/doclava/src/com/google/doclava/
DSampleCode.java279 public Node writeSampleIndexCs(Data hdf, File dir, Node tnode, boolean writeFiles) { in writeSampleIndexCs() argument
305 tnode.setGroup(hdf.getValue("sample.group", "")); in writeSampleIndexCs()
312 return tnode; in writeSampleIndexCs()
418 public static void writeSamplesNavTree(List<Node> tnode, List<Node> groupnodes) { in writeSamplesNavTree() argument
421 + "samples/index" + Doclava.htmlExtension).setChildren(tnode).build(); in writeSamplesNavTree()
424 for (int i = 0; i < tnode.size(); i++) { in writeSamplesNavTree()
425 if (tnode.get(i) != null) { in writeSamplesNavTree()
426 groupnodes = appendNodeGroups(tnode.get(i), groupnodes); in writeSamplesNavTree()
499 public static List<Node> squashNodes(List<Node> tnode) { in squashNodes() argument
500 List<Node> list = tnode; in squashNodes()
DPageMetadata.java504 Node tnode = new Node.Builder().setChildren(mtaglist).setType(nodeTags).build(); in appendMetaNodeByType() local
505 rootList.add(tnode); in appendMetaNodeByType()
536 Node tnode = new Node.Builder().setLabel(t.toString()).setTags(mtaglist).build(); in appendMetaNodeByTagIndex() local
537 rootTagNodesList.add(tnode); in appendMetaNodeByTagIndex()
/external/sepolicy/tools/
Dsepolicy-analyze.c343 ebitmap_node_t *snode, *tnode; in find_dups_helper() local
367 ebitmap_for_each_bit(tattr, tnode, j) { in find_dups_helper()
368 if (!ebitmap_node_get_bit(tnode, j)) in find_dups_helper()
/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.c2346 ebitmap_node_t *tnode, *rnode, *cnode; in define_role_trans() local
2430 ebitmap_for_each_bit(&e_types, tnode, j) { in define_role_trans()
2431 if (!ebitmap_node_get_bit(tnode, j)) in define_role_trans()
2540 ebitmap_node_t *snode, *tnode, *cnode; in define_filename_trans() local
2627 ebitmap_for_each_bit(&e_ttypes, tnode, t) { in define_filename_trans()
2628 if (!ebitmap_node_get_bit(tnode, t)) in define_filename_trans()