/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | istack.c | 96 pstack->p = pstack->bot - 1; in ref_stack_init() 97 pstack->top = pstack->p + avail; in ref_stack_init() 178 if (pstack->top - pstack->p < margin) { in ref_stack_set_margin() 189 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 368 pstack->p = pstack->bot - 1; in ref_stack_pop() 420 pstack->p = pstack->top; in ref_stack_pop_block() 479 pstack->p = pstack->top; in ref_stack_push() 516 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 541 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 542 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
/dports/print/ghostscript8-x11/ghostscript-8.71/psi/ |
H A D | istack.c | 91 pstack->p = pstack->bot - 1; in ref_stack_init() 92 pstack->top = pstack->p + avail; in ref_stack_init() 173 if (pstack->top - pstack->p < margin) { in ref_stack_set_margin() 184 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 363 pstack->p = pstack->bot - 1; in ref_stack_pop() 415 pstack->p = pstack->top; in ref_stack_pop_block() 474 pstack->p = pstack->top; in ref_stack_push() 511 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 536 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 537 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 79 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 85 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 88 uint ref_stack_count(const ref_stack_t *pstack); 107 uint ref_stack_counttomark(const ref_stack_t *pstack); 134 void ref_stack_pop(ref_stack_t *pstack, uint count); 141 int ref_stack_pop_block(ref_stack_t *pstack); 148 int ref_stack_extend(ref_stack_t *pstack, uint request); 156 int ref_stack_push(ref_stack_t *pstack, uint count); 178 void ref_stack_cleanup(ref_stack_t *pstack); 185 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/psi/ |
H A D | istack.c | 93 pstack->p = pstack->bot - 1; in ref_stack_init() 94 pstack->top = pstack->p + avail; in ref_stack_init() 186 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 205 uint used = pstack->p + 1 - pstack->bot; in ref_stack_index() 365 pstack->p = pstack->bot - 1; in ref_stack_pop() 417 pstack->p = pstack->top; in ref_stack_pop_block() 476 pstack->p = pstack->top; in ref_stack_push() 513 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 538 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 539 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 81 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 87 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 90 uint ref_stack_count(const ref_stack_t *pstack); 109 uint ref_stack_counttomark(const ref_stack_t *pstack); 136 void ref_stack_pop(ref_stack_t *pstack, uint count); 143 int ref_stack_pop_block(ref_stack_t *pstack); 150 int ref_stack_extend(ref_stack_t *pstack, uint request); 158 int ref_stack_push(ref_stack_t *pstack, uint count); 180 void ref_stack_cleanup(ref_stack_t *pstack); 187 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/print/ghostscript8-base/ghostscript-8.71/psi/ |
H A D | istack.c | 91 pstack->p = pstack->bot - 1; in ref_stack_init() 92 pstack->top = pstack->p + avail; in ref_stack_init() 173 if (pstack->top - pstack->p < margin) { in ref_stack_set_margin() 184 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 363 pstack->p = pstack->bot - 1; in ref_stack_pop() 415 pstack->p = pstack->top; in ref_stack_pop_block() 474 pstack->p = pstack->top; in ref_stack_push() 511 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 536 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 537 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 79 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 85 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 88 uint ref_stack_count(const ref_stack_t *pstack); 107 uint ref_stack_counttomark(const ref_stack_t *pstack); 134 void ref_stack_pop(ref_stack_t *pstack, uint count); 141 int ref_stack_pop_block(ref_stack_t *pstack); 148 int ref_stack_extend(ref_stack_t *pstack, uint request); 156 int ref_stack_push(ref_stack_t *pstack, uint count); 178 void ref_stack_cleanup(ref_stack_t *pstack); 185 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | istack.c | 96 pstack->p = pstack->bot - 1; in ref_stack_init() 97 pstack->top = pstack->p + avail; in ref_stack_init() 178 if (pstack->top - pstack->p < margin) { in ref_stack_set_margin() 189 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 368 pstack->p = pstack->bot - 1; in ref_stack_pop() 420 pstack->p = pstack->top; in ref_stack_pop_block() 479 pstack->p = pstack->top; in ref_stack_push() 516 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 541 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 542 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 90 int ref_stack_set_margin(P2(ref_stack_t *pstack, uint margin)); 93 uint ref_stack_count(P1(const ref_stack_t *pstack)); 112 uint ref_stack_counttomark(P1(const ref_stack_t *pstack)); 139 void ref_stack_pop(P2(ref_stack_t *pstack, uint count)); 146 int ref_stack_pop_block(P1(ref_stack_t *pstack)); 153 int ref_stack_extend(P2(ref_stack_t *pstack, uint request)); 161 int ref_stack_push(P2(ref_stack_t *pstack, uint count)); 180 const ref_stack_t *pstack)); 184 void ref_stack_cleanup(P1(ref_stack_t *pstack)); 191 void ref_stack_release(P1(ref_stack_t *pstack)); [all …]
|
/dports/print/ghostscript9-x11/ghostscript-9.06/psi/ |
H A D | istack.c | 93 pstack->p = pstack->bot - 1; in ref_stack_init() 94 pstack->top = pstack->p + avail; in ref_stack_init() 186 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 205 uint used = pstack->p + 1 - pstack->bot; in ref_stack_index() 365 pstack->p = pstack->bot - 1; in ref_stack_pop() 417 pstack->p = pstack->top; in ref_stack_pop_block() 476 pstack->p = pstack->top; in ref_stack_push() 513 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 538 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 539 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 81 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 87 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 90 uint ref_stack_count(const ref_stack_t *pstack); 109 uint ref_stack_counttomark(const ref_stack_t *pstack); 136 void ref_stack_pop(ref_stack_t *pstack, uint count); 143 int ref_stack_pop_block(ref_stack_t *pstack); 150 int ref_stack_extend(ref_stack_t *pstack, uint request); 158 int ref_stack_push(ref_stack_t *pstack, uint count); 180 void ref_stack_cleanup(ref_stack_t *pstack); 187 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/perf/util/ |
H A D | pstack.c | 23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new() local 30 void pstack__delete(struct pstack *pstack) in pstack__delete() argument 35 bool pstack__empty(const struct pstack *pstack) in pstack__empty() argument 57 void pstack__push(struct pstack *pstack, void *key) in pstack__push() argument 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 66 void *pstack__pop(struct pstack *pstack) in pstack__pop() argument 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() 80 void *pstack__peek(struct pstack *pstack) in pstack__peek() argument [all …]
|
H A D | pstack.h | 7 struct pstack; 8 struct pstack *pstack__new(unsigned short max_nr_entries); 9 void pstack__delete(struct pstack *pstack); 10 bool pstack__empty(const struct pstack *pstack); 11 void pstack__remove(struct pstack *pstack, void *key); 12 void pstack__push(struct pstack *pstack, void *key); 13 void *pstack__pop(struct pstack *pstack); 14 void *pstack__peek(struct pstack *pstack);
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/perf/util/ |
H A D | pstack.c | 23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new() local 30 void pstack__delete(struct pstack *pstack) in pstack__delete() argument 35 bool pstack__empty(const struct pstack *pstack) in pstack__empty() argument 57 void pstack__push(struct pstack *pstack, void *key) in pstack__push() argument 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 66 void *pstack__pop(struct pstack *pstack) in pstack__pop() argument 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() 80 void *pstack__peek(struct pstack *pstack) in pstack__peek() argument [all …]
|
H A D | pstack.h | 7 struct pstack; 8 struct pstack *pstack__new(unsigned short max_nr_entries); 9 void pstack__delete(struct pstack *pstack); 10 bool pstack__empty(const struct pstack *pstack); 11 void pstack__remove(struct pstack *pstack, void *key); 12 void pstack__push(struct pstack *pstack, void *key); 13 void *pstack__pop(struct pstack *pstack); 14 void *pstack__peek(struct pstack *pstack);
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/perf/util/ |
H A D | pstack.c | 23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new() local 30 void pstack__delete(struct pstack *pstack) in pstack__delete() argument 35 bool pstack__empty(const struct pstack *pstack) in pstack__empty() argument 57 void pstack__push(struct pstack *pstack, void *key) in pstack__push() argument 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 66 void *pstack__pop(struct pstack *pstack) in pstack__pop() argument 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() 80 void *pstack__peek(struct pstack *pstack) in pstack__peek() argument [all …]
|
H A D | pstack.h | 7 struct pstack; 8 struct pstack *pstack__new(unsigned short max_nr_entries); 9 void pstack__delete(struct pstack *pstack); 10 bool pstack__empty(const struct pstack *pstack); 11 void pstack__remove(struct pstack *pstack, void *key); 12 void pstack__push(struct pstack *pstack, void *key); 13 void *pstack__pop(struct pstack *pstack); 14 void *pstack__peek(struct pstack *pstack);
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/psi/ |
H A D | istack.c | 97 pstack->p = pstack->bot - 1; in ref_stack_init() 98 pstack->top = pstack->p + avail; in ref_stack_init() 201 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 220 uint used = pstack->p + 1 - pstack->bot; in ref_stack_index() 458 pstack->p = pstack->bot - 1; in ref_stack_pop() 510 pstack->p = pstack->top; in ref_stack_pop_block() 569 pstack->p = pstack->top; in ref_stack_push() 608 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 634 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 635 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 81 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 87 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 90 uint ref_stack_count(const ref_stack_t *pstack); 109 uint ref_stack_counttomark(const ref_stack_t *pstack); 135 void ref_stack_pop(ref_stack_t *pstack, uint count); 142 int ref_stack_pop_block(ref_stack_t *pstack); 149 int ref_stack_extend(ref_stack_t *pstack, uint request); 157 int ref_stack_push(ref_stack_t *pstack, uint count); 179 void ref_stack_cleanup(ref_stack_t *pstack); 186 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/psi/ |
H A D | istack.c | 97 pstack->p = pstack->bot - 1; in ref_stack_init() 98 pstack->top = pstack->p + avail; in ref_stack_init() 201 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 220 uint used = pstack->p + 1 - pstack->bot; in ref_stack_index() 458 pstack->p = pstack->bot - 1; in ref_stack_pop() 510 pstack->p = pstack->top; in ref_stack_pop_block() 569 pstack->p = pstack->top; in ref_stack_push() 608 if (pstack->extension_used + (pstack->top - pstack->bot) + add >= in ref_stack_push_block() 634 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_push_block() 635 pstack->p = pstack->bot + keep - 1; in ref_stack_push_block() [all …]
|
H A D | istack.h | 81 int ref_stack_set_max_count(ref_stack_t *pstack, long nmax); 87 int ref_stack_set_margin(ref_stack_t *pstack, uint margin); 90 uint ref_stack_count(const ref_stack_t *pstack); 109 uint ref_stack_counttomark(const ref_stack_t *pstack); 135 void ref_stack_pop(ref_stack_t *pstack, uint count); 142 int ref_stack_pop_block(ref_stack_t *pstack); 149 int ref_stack_extend(ref_stack_t *pstack, uint request); 157 int ref_stack_push(ref_stack_t *pstack, uint count); 179 void ref_stack_cleanup(ref_stack_t *pstack); 186 void ref_stack_release(ref_stack_t *pstack); [all …]
|
/dports/textproc/miller/miller-5.10.2/c/containers/ |
H A D | loop_stack.c | 33 memset(pstack->pframes, 0, pstack->num_allocated * sizeof(int)); in loop_stack_alloc() 35 return pstack; in loop_stack_alloc() 40 if (pstack == NULL) in loop_stack_free() 43 free(pstack); in loop_stack_free() 48 if (pstack->num_used_minus_one >= pstack->num_allocated - 1) { in loop_stack_push() 50 pstack->pframes = mlr_realloc_or_die(pstack->pframes, pstack->num_allocated * sizeof(int)); in loop_stack_push() 53 pstack->pframes[pstack->num_used_minus_one] = 0; in loop_stack_push() 59 int rv = pstack->pframes[pstack->num_used_minus_one]; in loop_stack_pop() 67 pstack->pframes[pstack->num_used_minus_one] |= bits; in loop_stack_set() 70 pstack->pframes[pstack->num_used_minus_one] &= ~bits; in loop_stack_clear() [all …]
|
/dports/lang/onyx/onyx-5.1.2/bin/onyx/test/ |
H A D | roll_a.nx.exp | 2 1 2 3 4 1 0 roll pstack clear 7 1 2 3 4 1 1 roll pstack clear 12 1 2 3 4 1 2 roll pstack clear 17 1 2 3 4 2 0 roll pstack clear 22 1 2 3 4 2 1 roll pstack clear 27 1 2 3 4 2 2 roll pstack clear 32 1 2 3 4 3 1 roll pstack clear 37 1 2 3 4 3 2 roll pstack clear 42 1 2 3 4 3 -1 roll pstack clear 47 1 2 3 4 3 -2 roll pstack clear [all …]
|
H A D | sroll_a.nx.exp | 2 `(1 2 3 4) dup 1 0 sroll pstack clear' 4 `(1 2 3 4) dup 1 1 sroll pstack clear' 6 `(1 2 3 4) dup 1 2 sroll pstack clear' 8 `(1 2 3 4) dup 2 0 sroll pstack clear' 10 `(1 2 3 4) dup 2 1 sroll pstack clear' 12 `(1 2 3 4) dup 2 2 sroll pstack clear' 14 `(1 2 3 4) dup 3 1 sroll pstack clear' 16 `(1 2 3 4) dup 3 2 sroll pstack clear' 18 `(1 2 3 4) dup 3 -1 sroll pstack clear' 20 `(1 2 3 4) dup 3 -2 sroll pstack clear' [all …]
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/utilities/ |
H A D | enumerative.py | 235 pstack[k].u = pstack[j].u - pstack[j].v 239 pstack[k].c = pstack[j].c 240 pstack[k].v = min(pstack[j].v, pstack[k].u) 241 x = pstack[k].u < pstack[j].v 244 pstack[k].c = pstack[j].c 245 pstack[k].v = pstack[k].u 278 pstack[j].v = pstack[j].v - 1 280 pstack[k].v = pstack[k].u 660 self.pstack[k].u = self.pstack[j].u - self.pstack[j].v 664 self.pstack[k].c = self.pstack[j].c [all …]
|