Home
last modified time | relevance | path

Searched refs:ref_stack_count (Results 1 – 25 of 27) sorted by relevance

12

/plan9/sys/src/cmd/gs/src/
H A Distack.h91 uint ref_stack_count(const ref_stack_t *pstack);
139 #define ref_stack_clear(pstk) ref_stack_pop(pstk, ref_stack_count(pstk))
141 ref_stack_pop(pstk, ref_stack_count(pstk) - (depth))
H A Dzpcolor.c135 uint edepth = ref_stack_count(&e_stack); in zsetpatternspace()
168 …return (ref_stack_count(&e_stack) == edepth ? 0 : o_push_estack); /* installation will load the ca… in zsetpatternspace()
274 make_int(esp, ref_stack_count(&o_stack)); in pattern_paint_prepare()
285 int o_stack_adjust = ref_stack_count(&o_stack) - esp->value.intval; in pattern_paint_finish()
H A Dztoken.c59 int orig_ostack_depth = ref_stack_count(&o_stack); in ztoken()
69 if (orig_ostack_depth < ref_stack_count(&o_stack)) in ztoken()
70 pop(ref_stack_count(&o_stack)- orig_ostack_depth); in ztoken()
H A Didstack.c87 uint count = ref_stack_count(&pds->stack); in dstack_dict_is_permanent()
172 uint size = ref_stack_count(&pds->stack); in dstack_find_name_by_index()
225 uint count = ref_stack_count(&pds->stack); in dstack_gc_cleanup()
H A Dzdict.c176 uint size = ref_stack_count(&d_stack); in zload()
302 uint count = ref_stack_count(&d_stack); in zcountdictstack()
316 uint count = ref_stack_count(&d_stack); in zdictstack()
H A Dzcsindex.c51 uint edepth = ref_stack_count(&e_stack); in zsetindexedspace()
128 …return (ref_stack_count(&e_stack) == edepth ? 0 : o_push_estack); /* installation will load the ca… in zsetindexedspace()
H A Dzstack.c111 op1->value.intval + 2 > ref_stack_count(&o_stack) in zroll()
242 make_int(op, ref_stack_count(&o_stack) - 1); in zcount()
H A Dzfsample.c419 penum->o_stack_depth = ref_stack_count(&o_stack); in sampled_data_setup()
491 if (num_out + O_STACK_PAD + penum->o_stack_depth != ref_stack_count(&o_stack)) { in sampled_data_continue()
492 int stack_depth_adjust = ref_stack_count(&o_stack) - penum->o_stack_depth; in sampled_data_continue()
H A Dzchar.c582 sodepth.value.intval = ref_stack_count(&o_stack) - 2; in op_show_continue_dispatch()
583 sddepth.value.intval = ref_stack_count(&d_stack); in op_show_continue_dispatch()
710 ocount = ref_stack_count(&o_stack) - (uint) esodepth(ep).value.intval; in op_show_return_width()
714 dcount = ref_stack_count(&d_stack); in op_show_return_width()
744 uint count = ref_stack_count(&o_stack); in op_show_restore()
H A Dzcie.c292 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 Dzarray.c100 if (size >= ref_stack_count(&o_stack)) in zastore()
H A Dzcolor.c433 if (ref_stack_count(&o_stack) < transfer_map_size) in zcolor_remap_one_store()
492 if (ref_stack_count(&o_stack) < ncomp) in zcolor_test()
543 if (ref_stack_count(&o_stack) < 1) in zcolor_test_all()
H A Dzht2.c82 uint edepth = ref_stack_count(&e_stack); in zsethalftone5()
273 uint odepth = ref_stack_count(&o_stack); in zsethalftone5()
345 return (ref_stack_count(&e_stack) > edepth ? o_push_estack : 0); in zsethalftone5()
H A Dinterp.c576 uint count = ref_stack_count(&e_stack); in gs_call_interp()
677 uint size = ref_stack_count(pstack); in copy_stack()
879 ref_stack_count(&d_stack), ref_stack_count(&e_stack), in interp()
880 ref_stack_count(&o_stack), (ulong)IREF, icount); in interp()
1711 uint ocount = ref_stack_count(&o_stack); in oparray_cleanup()
1712 uint dcount = ref_stack_count(&d_stack); in oparray_cleanup()
H A Direclaim.c164 *systemdict = *ref_stack_index(&d_stack, ref_stack_count(&d_stack) - 1); in gs_vmreclaim()
H A Dzmisc2.c93 ref_stack_index(&d_stack, ref_stack_count(&d_stack) - 2); in set_language_level()
H A Dzpacked.c53 op->value.intval >= ref_stack_count(&o_stack)) in zpackedarray()
H A Distack.c193 ref_stack_count(const ref_stack_t *pstack) in ref_stack_count() function
303 if (count > ref_stack_count(pstack) || count > r_size(parray)) in ref_stack_store()
H A Dziodev.c224 uint depth = ref_stack_count(&o_stack); in zfilelineedit()
H A Dicontext.c196 ref_stack_index(rdstack, ref_stack_count(rdstack) - 1 - in context_state_load()
H A Didebug.c264 for (i = ref_stack_count(pstack); i != 0;) { in debug_dump_stack()
H A Dzcontext.c686 uint count = ref_stack_count(&d_stack); in do_fork()
762 pop_estack(&pcur->state, ref_stack_count(&e_stack) - 1); in fork_done()
864 uint count = ref_stack_count(ostack); in zjoin()
H A Dzgeneric.c79 check_int_ltu(*op, ref_stack_count(&o_stack)); in zcopy_integer()
H A Dimain.c672 if (!ref_stack_count(&o_stack)) in pop_value()

12