/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | stack.c | 24 * pointer stack routines 27 static const char id_stack[] = "\n@(#)$Id: stack (AT&T Bell Laboratories) 1984-05-01 $\0\n"; 30 #include <stack.h> 33 * create a new stack 39 register STACK stack; local 43 if (!(stack = newof(0, struct stacktable, 1, 0))) return(0); 46 free(stack); 49 if (!(b->stack = newof(0, void*, size, 0))) 52 free(stack); 55 stack 70 stackfree(register STACK stack) argument 90 stackclear(register STACK stack) argument 101 stackget(register STACK stack) argument 112 stackpush(register STACK stack, void* value) argument 142 stackpop(register STACK stack) argument 168 stacktell(register STACK stack, int set, STACKPOS* position) argument [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtmatch.c | 48 char* stack[32]; local 53 p = stack; 136 if (p >= &stack[elementsof(stack)]) 157 if (p == stack) 259 if (p == stack && b == buf + 3) 276 if (p != stack)
|
H A D | fmtre.c | 52 Stack_t stack[32]; local 57 p = stack; 113 if (p >= &stack[elementsof(stack)]) 140 if (p >= &stack[elementsof(stack)]) 183 if (p >= &stack[elementsof(stack)]) 192 if (p == stack) 220 if (p != stack) [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/ |
H A D | debug.c | 90 /* Print backtrace stack */ 91 void *stack[20]; local 93 int size = backtrace(stack, 20); 94 strings = backtrace_symbols(stack, size); 97 printf(_("Backtrace has %d calls on stack:\n"), size);
|
/osnet-11/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 40 uintptr_t stack; local 44 * Top-of-stack must be rounded down to STACK_ALIGN and 47 stack = (((uintptr_t)stk + stksize) & ~(STACK_ALIGN - 1)) - 52 * a page for the top page of the stack. This will cause 57 if (uucopy(frame, (void *)stack, sizeof (frame)) == 0) 58 return ((void *)stack); 66 uintptr_t stack; local 72 * Clear the top stack frame. 75 if ((stack = (uintptr_t)setup_top_frame(stk, stksize, ulwp)) == NULL) 83 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack [all...] |
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 80 int ret, stack; local 103 stack = LF_ISSET(S_STACK); 105 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0) 120 if (!stack && 131 stack = 1; 233 if (stack) { 249 * page in the stack. If we do, write lock it and 255 stack = 1; 260 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ?
|
H A D | bt_search.c | 87 int cmp, jump, ret, stack; local 113 stack = F_ISSET(dbp, DB_BT_RECNUM) && LF_ISSET(S_STACK); 115 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0) 130 if (!stack && 141 stack = 1; 210 if (stack) { 226 * page in the return stack. If so, lock it and never 232 stack = 1; 237 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ? 310 * Release all pages currently held in the stack [all...] |
H A D | bt_cursor.c | 102 cp->sp = cp->csp = cp->stack; 103 cp->esp = cp->stack + sizeof(cp->stack) / sizeof(cp->stack[0]); 202 if (cp->csp != cp->stack) 203 __db_err(dbp->dbenv, "btree cursor close: stack not empty"); 742 /* Release the stack. */ 766 int exact, needkey, ret, stack; local 818 * that we're sorry we ever acquired). If stack is set and the 820 * the stack, do [all...] |
H A D | bt_recno.c | 252 int exact, ret, stack; local 257 stack = 0; 283 stack = 1; 316 stack = 0; 338 err: if (stack) 538 int exact, ret, stack, tmp_rmw; local 567 stack = 0; 633 stack = 1; 666 err: if (stack) 731 * The split code discards all short-term locks and stack page 1276 int exact, isdeleted, ret, stack; local [all...] |
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | stack.h | 27 * homogenous stack routine definitions 33 typedef struct stacktable* STACK; /* stack pointer */ 34 typedef struct stackposition STACKPOS; /* stack position */ 36 struct stackblock /* stack block cell */ 38 void** stack; /* actual stack */ member in struct:stackblock 43 struct stackposition /* stack position */ 49 struct stacktable /* stack information */ 51 struct stackblock* blocks; /* stack table blocks */ 54 STACKPOS position; /* current stack positio [all...] |
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | stack.h | 29 * homogenous stack routine definitions 42 typedef struct stacktable* STACK; /* stack pointer */ 43 typedef struct stackposition STACKPOS; /* stack position */ 45 struct stackblock /* stack block cell */ 47 __V_** stack; /* actual stack */ member in struct:stackblock 52 struct stackposition /* stack position */ 58 struct stacktable /* stack information */ 60 struct stackblock* blocks; /* stack table blocks */ 63 STACKPOS position; /* current stack positio [all...] |
/osnet-11/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 39 uint64_t *stack; local 47 * Top-of-stack must be rounded down to STACK_ALIGN and 50 stack = (uint64_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); 54 * a page for the top page of the stack. This will cause 58 stack -= 3; 62 if (uucopy(&frame, stack, sizeof (frame)) == 0) 63 return (stack); 71 uint64_t *stack; local 84 * Setup the top stack frame. 87 if ((stack [all...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | tparm.c | 58 * The parameter mechanism uses a stack and special % 60 * of the parameters onto the stack and then print it in some 93 * the stack works in the usual way, with 106 stack[stack_ptr].num = x; stack_ptr++; } 107 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0) 108 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : (char *) 0) 135 stack_frame stack[STACKSIZE]; local
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_seq.c | 525 EPGNO *stack; member in struct:rcursor_ 553 rc->stack = malloc(rc->ssize * sizeof(EPGNO)); 554 if (rc->stack == NULL) { 570 free(rc->stack); 585 if (++rc->sp > rc->stack + rc->ssize) { 597 return (rc->sp == rc->stack) ? NULL : --rc->sp; 604 rc->sp = rc->stack; 616 e = realloc(rc->stack, rc->ssize * sizeof(EPGNO)); 622 rc->stack = e; 715 * Updates rc's stack an [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | xnu.h | 37 grub_uint32_t stack; member in struct:grub_xnu_hibernate_header
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxfmt.c | 120 Stack_t stack[8]; local 131 sp = &stack[0]; 140 if (sp <= &stack[0]) 688 if (sp < &stack[elementsof(stack)])
|
H A D | tmxscan.c | 177 char* stack[4]; local 187 char** sp = &stack[0]; 200 if (sp <= &stack[0]) 407 if (sp >= &stack[elementsof(stack)]) 421 if (sp > &stack[0]) 422 format = (const char*)stack[0];
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | tparm.c | 63 * The parameter mechanism uses a stack and special % 65 * of the parameters onto the stack and then print it in some 98 * the stack works in the usual way, with 111 stack[stack_ptr].num = x; \ 114 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0) 115 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : NULL) 138 stack_frame stack[STACKSIZE]; local
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | tparm.c | 54 * The whole thing uses a stack, much like an HP 35. 92 * The stack structure used here is based on an idea by Joseph Yao. 102 long *stack; member in struct:__anon1509 115 return (st->stack[st->top]); 123 if ((st->stack = (void *)realloc(st->stack, 128 st->stack[++st->top] = (i); 137 return (st->stack[st->top--]); 150 return ((char *)(st->stack[st->top--])); 158 if ((st->stack [all...] |
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | regcmp.c | 85 intptr_t stack[SSIZE]; local 87 __sp_ = stack; 89 __stmax = &stack[SSIZE];
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | tparm.c | 86 * The parameter mechanism uses a stack and special % 88 * of the parameters onto the stack and then print it in some 124 * the stack works in the usual way, with 139 static stack_frame stack[STACKSIZE]; variable 194 stack[stack_ptr].num_type = TRUE; 195 stack[stack_ptr].data.num = x; 206 if (stack[stack_ptr].num_type) 207 result = stack[stack_ptr].data.num; 216 stack[stack_ptr].num_type = FALSE; 217 stack[stack_pt [all...] |
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | vthread.h | 87 #define VT_STACK 1 /* set stack size */ 147 size_t stack; /* stack size */ member in struct:_vthread_s
|