Home
last modified time | relevance | path

Searched refs:cur_perm (Results 1 – 3 of 3) sorted by relevance

/third_party/selinux/libsepol/src/
Dlink.c1253 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list() local
1276 cur_perm = cur->perms; in copy_avrule_list()
1278 while (cur_perm) { in copy_avrule_list()
1286 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list()
1292 module->perm_map_len[cur_perm->tclass - 1]; in copy_avrule_list()
1294 if (!(cur_perm->data & (UINT32_C(1) << i))) in copy_avrule_list()
1299 perm_map[cur_perm->tclass - 1][i] - in copy_avrule_list()
1304 module->map[SYM_TYPES][cur_perm->data - 1]; in copy_avrule_list()
1314 cur_perm = cur_perm->next; in copy_avrule_list()
Dexpand.c2615 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow() local
2649 cur_perm = source_rule->perms; in copy_neverallow()
2651 while (cur_perm) { in copy_neverallow()
2657 new_perm->tclass = cur_perm->tclass; in copy_neverallow()
2661 new_perm->data = cur_perm->data; in copy_neverallow()
2669 cur_perm = cur_perm->next; in copy_neverallow()
2700 cur_perm = avrule->perms; in copy_neverallow()
2701 while (cur_perm) { in copy_neverallow()
2702 tail_perm = cur_perm->next; in copy_neverallow()
2703 free(cur_perm); in copy_neverallow()
[all …]
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Ddecrease_transpose_algo.cc210 std::vector<int> cur_perm; in PostTransposeFusion() local
211 if (GetTransposePerm(cnode, &cur_perm) != lite::RET_OK) { in PostTransposeFusion()
226 …if ((cur_perm == kNH2NC && post_trans_perm == kNC2NH) || (cur_perm == kNC2NH && post_trans_perm ==… in PostTransposeFusion()