Home
last modified time | relevance | path

Searched refs:e_stack (Results 1 – 13 of 13) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Destack.h34 #define e_stack (iexec_stack.stack) macro
36 #define esbot (e_stack.bot)
37 #define esp (e_stack.p)
38 #define estop (e_stack.top)
132 { int es_code_ = ref_stack_extend(&e_stack, n);\
139 { e_stack.requested = (n); return_error(e_ExecStackUnderflow); }
H A Dzcontrol.c536 ref_stack_enum_begin(&rsenum, &e_stack); in zexit()
693 op[-1] = *ref_stack_index(&e_stack, count - 2); /* default result */ in zinstopped()
747 int code = ref_stack_store_check(&e_stack, op1, size, 0); in push_execstack()
792 const ref *rp = ref_stack_index(&e_stack, (long)i); in do_execstack()
896 ref_stack_enum_begin(&rsenum, &e_stack); in zget_current_file()
974 uint count = ref_stack_count(&e_stack); in count_exec_stack()
980 if (r_has_type_attrs(ref_stack_index(&e_stack, (long)i), in count_exec_stack()
998 ref_stack_enum_begin(&rsenum, &e_stack); in count_to_stopped()
1028 ref *ep = ref_stack_index(&e_stack, idx - popped); in pop_estack()
1031 ref_stack_pop(&e_stack, idx + 1 - popped); in pop_estack()
[all …]
H A Dzcsindex.c51 uint edepth = ref_stack_count(&e_stack); in zsetindexedspace()
124 ref_stack_pop_to(&e_stack, edepth); in zsetindexedspace()
128 …return (ref_stack_count(&e_stack) == edepth ? 0 : o_push_estack); /* installation will load the ca… in zsetindexedspace()
H A Dzvmem.c56 ref_stack_cleanup(&e_stack); in ivalidate_clean_spaces()
127 (code = restore_check_stack(&e_stack, asave, true)) < 0 || in zrestore()
137 restore_fix_stack(&e_stack, asave, true); in zrestore()
363 restore_fix_stack(&e_stack, asave, false); in zforgetsave()
H A Dzpcolor.c135 uint edepth = ref_stack_count(&e_stack); in zsetpatternspace()
163 ref_stack_pop_to(&e_stack, edepth); in zsetpatternspace()
168 …return (ref_stack_count(&e_stack) == edepth ? 0 : o_push_estack); /* installation will load the ca… in zsetpatternspace()
H A Dinterp.c375 ref_stack_clear(&e_stack); in gs_interp_reset()
472 o_stack.requested = e_stack.requested = d_stack.requested = 0; in gs_call_interp()
511 ref_stack_pop_block(&e_stack); in gs_call_interp()
572 ccode = copy_stack(i_ctx_p, &e_stack, &saref); in gs_call_interp()
576 uint count = ref_stack_count(&e_stack); in gs_call_interp()
577 uint limit = ref_stack_max_count(&e_stack) - ES_HEADROOM; in gs_call_interp()
588 const ref *ep = ref_stack_index(&e_stack, i); in gs_call_interp()
879 ref_stack_count(&d_stack), ref_stack_count(&e_stack), in interp()
1147 code = ref_stack_extend(&e_stack, 2); in interp()
1737 for (i = 0; (ep = ref_stack_index(&e_stack, i)) != 0; ++i) { in oparray_find()
H A Dzcie.c287 ref_stack_pop_to(&e_stack, edepth); in cie_set_finish()
292 return (ref_stack_count(&e_stack) == edepth ? 0 : o_push_estack); in cie_set_finish()
307 int edepth = ref_stack_count(&e_stack); in zsetciedefgspace()
366 int edepth = ref_stack_count(&e_stack); in zsetciedefspace()
425 int edepth = ref_stack_count(&e_stack); in zsetcieabcspace()
468 int edepth = ref_stack_count(&e_stack); in zsetcieaspace()
H A Dzicc.c68 int edepth = ref_stack_count(&e_stack); in zseticcspace()
H A Dzht2.c82 uint edepth = ref_stack_count(&e_stack); in zsethalftone5()
329 ref_stack_pop_to(&e_stack, edepth); in zsethalftone5()
345 return (ref_stack_count(&e_stack) > edepth ? o_push_estack : 0); in zsethalftone5()
H A Dzchar.c646 ref_stack_enum_begin(&rsenum, &e_stack); in op_show_find_index()
666 return r_ptr(ref_stack_index(&e_stack, index - (snumpush - 1)), in op_show_find()
703 es_ptr ep = (es_ptr) ref_stack_index(&e_stack, index - (snumpush - 1)); in op_show_return_width()
H A Dzusparam.c352 return ref_stack_max_count(&e_stack); in current_MaxExecStack()
357 return ref_stack_set_max_count(&e_stack, val); in set_MaxExecStack()
H A Dimain.c966 debug_dump_stack(minst->heap, &e_stack, "Execution stack"); in gs_main_dump_stack()
H A Dzcontext.c762 pop_estack(&pcur->state, ref_stack_count(&e_stack) - 1); in fork_done()