Searched refs:new_perm (Results 1 – 6 of 6) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | link.c | 127 perm_datum_t *perm, *new_perm = NULL, *dest_perm; in permission_copy_callback() local 155 new_perm = in permission_copy_callback() 157 if (new_perm == NULL) { in permission_copy_callback() 164 (hashtab_datum_t) new_perm); in permission_copy_callback() 170 new_perm->s.value = dest_class->permissions.nprim + 1; in permission_copy_callback() 171 dest_perm = new_perm; in permission_copy_callback() 204 free(new_perm); in permission_copy_callback() 1253 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list() local 1279 if ((new_perm = (class_perm_node_t *) in copy_avrule_list() 1283 class_perm_node_init(new_perm); in copy_avrule_list() [all …]
|
D | expand.c | 225 perm_datum_t *perm, *new_perm; in perm_copy_callback() local 231 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in perm_copy_callback() 232 if (!new_perm) { in perm_copy_callback() 235 memset(new_perm, 0, sizeof(perm_datum_t)); in perm_copy_callback() 239 free(new_perm); in perm_copy_callback() 243 new_perm->s.value = perm->s.value; in perm_copy_callback() 246 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t) new_perm); in perm_copy_callback() 249 free(new_perm); in perm_copy_callback() 2615 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow() local 2652 new_perm = in copy_neverallow() [all …]
|
/third_party/mindspore/mindspore/numpy/ |
D | array_ops.py | 206 new_perm = None 209 new_perm = perm[0:start] + perm[axis:axis+1] + \ 212 new_perm = perm[0:start] + perm[axis:axis+1] + perm[start:axis] 215 new_perm = perm[0:axis] + perm[axis+1:start] + \ 218 new_perm = perm[0:axis] + perm[axis+1:start] + \ 221 return F.transpose(x, new_perm)
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | standard_method.py | 390 new_perm = None 392 new_perm = perm[0:axis1] + perm[axis2:axis2 + 1] + \ 395 new_perm = perm[0:axis1] + perm[axis2:axis2 + 1] + \ 398 return F.transpose(x, new_perm)
|
/third_party/mindspore/mindspore/common/ |
D | tensor.py | 738 new_perm = perm[0:axis1] + perm[axis2:axis2+1] + \ 741 new_perm = perm[0:axis1] + perm[axis2:axis2+1] + \ 744 return tensor_operator_registry.get('transpose')()(self, new_perm)
|
/third_party/ffmpeg/libavcodec/ |
D | mpeg12dec.c | 1103 const uint8_t *new_perm) in quant_matrix_rebuild() argument 1111 matrix[new_perm[i]] = temp_matrix[old_perm[i]]; in quant_matrix_rebuild()
|