Searched defs:new_stack (Results 1 - 6 of 6) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_stack.c42 struct cil_stack *new_stack = cil_malloc(sizeof(*new_stack)); local
43 new_stack->stack = cil_malloc(sizeof(*(new_stack->stack)) * CIL_STACK_INIT_SIZE);
44 new_stack->size = CIL_STACK_INIT_SIZE;
45 new_stack->pos = -1;
46 *stack = new_stack;
/external/mesa3d/src/mesa/main/
H A Dmatrix.c249 GLmatrix *new_stack = realloc(stack->Stack, local
250 sizeof(*new_stack) * new_stack_size);
252 if (!new_stack) {
258 _math_matrix_ctr(&new_stack[i]);
260 stack->Stack = new_stack;
/external/google-breakpad/src/client/linux/handler/
H A Dexception_handler.cc128 // InstallAlternateStackLocked will store the newly installed stack in new_stack
131 stack_t new_stack; member in namespace:google_breakpad::__anon7384
142 memset(&new_stack, 0, sizeof(new_stack));
153 new_stack.ss_sp = calloc(1, kSigStackSize);
154 new_stack.ss_size = kSigStackSize;
156 if (sys_sigaltstack(&new_stack, NULL) == -1) {
157 free(new_stack.ss_sp);
175 if (current_stack.ss_sp == new_stack.ss_sp) {
187 free(new_stack
[all...]
/external/libcups/filter/
H A Dinterpret.c83 static _cups_ps_stack_t *new_stack(void);
533 if ((st = new_stack()) == NULL)
889 * 'new_stack()' - Create a new stack.
893 new_stack(void) function
/external/selinux/libsepol/src/
H A Dservices.c92 char **new_stack = stack; local
100 new_stack = realloc(stack, new_stack_len * sizeof(*stack));
101 if (!new_stack) {
106 stack = new_stack;
H A Dmodule_to_cil.c439 void *new_stack; local
442 new_stack = realloc(stack->stack, sizeof(*stack->stack) * (stack->size * 2));
443 if (new_stack == NULL) {
446 stack->stack = new_stack;

Completed in 363 milliseconds