Searched refs:new_stack (Results 1 – 9 of 9) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_stack.c | 42 struct cil_stack *new_stack = cil_malloc(sizeof(*new_stack)); in cil_stack_init() local 43 new_stack->stack = cil_malloc(sizeof(*(new_stack->stack)) * CIL_STACK_INIT_SIZE); in cil_stack_init() 44 new_stack->size = CIL_STACK_INIT_SIZE; in cil_stack_init() 45 new_stack->pos = -1; in cil_stack_init() 46 *stack = new_stack; in cil_stack_init()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_vectorize_vs_inputs.c | 270 struct util_dynarray *new_stack = r600_vec_instr_stack_create(instr_set); in r600_vec_instr_set_add() local 271 r600_vec_instr_stack_push(new_stack, instr); in r600_vec_instr_set_add() 273 struct set_entry *entry = _mesa_set_search(instr_set, new_stack); in r600_vec_instr_set_add() 276 ralloc_free(new_stack); in r600_vec_instr_set_add() 282 _mesa_set_add(instr_set, new_stack); in r600_vec_instr_set_add()
|
/third_party/mesa3d/src/mesa/main/ |
D | matrix.c | 311 GLmatrix *new_stack = realloc(stack->Stack, in push_matrix() local 312 sizeof(*new_stack) * new_stack_size); in push_matrix() 314 if (!new_stack) { in push_matrix() 320 _math_matrix_ctr(&new_stack[i]); in push_matrix() 322 stack->Stack = new_stack; in push_matrix()
|
/third_party/python/Lib/ |
D | contextlib.py | 457 new_stack = type(self)() 458 new_stack._exit_callbacks = self._exit_callbacks 460 return new_stack
|
/third_party/selinux/libsepol/src/ |
D | services.c | 89 char **new_stack; in push() local 97 new_stack = realloc(stack, new_stack_len * sizeof(*stack)); in push() 98 if (!new_stack) { in push() 103 stack = new_stack; in push()
|
D | module_to_cil.c | 453 void *new_stack; in stack_push() local 456 new_stack = realloc(stack->stack, sizeof(*stack->stack) * (stack->size * 2)); in stack_push() 457 if (new_stack == NULL) { in stack_push() 460 stack->stack = new_stack; in stack_push()
|
/third_party/quickjs/ |
D | libregexp.c | 2057 uint8_t *new_stack; in push_state() local 2066 new_stack = lre_realloc(s->opaque, s->state_stack, new_size * s->state_size); in push_state() 2067 if (!new_stack) in push_state() 2070 s->state_stack = new_stack; in push_state()
|
/third_party/python/Lib/test/ |
D | test_contextlib.py | 687 new_stack = stack.pop_all() 690 new_stack.close()
|
/third_party/gettext/build-aux/ |
D | texi2html | 18897 my $new_stack; 18900 return $new_stack unless (@$stack); 18963 … push @$new_stack, { 'style' => $style, 'text' => '', 'no_open' => 1, 'arg_nr' => 0 }; 19001 return $new_stack; 19056 my $new_stack = close_stack($text, $stack, $state, $line_nr, 1); 19067 $state->{'paragraph_macros'} = $new_stack; 19074 $state->{'paragraph_macros'} = $new_stack;
|