Home
last modified time | relevance | path

Searched refs:argStack (Results 1 – 10 of 10) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-cff2-interp-cs.hh117 blend_arg_t &arg = argStack[i]; in eval_arg()
124 blend_arg_t &arg = argStack.pop (); in pop_arg()
147 unsigned int index = argStack.pop_uint (); in process_vsindex()
205 if (unlikely (env.argStack.peek ().blending ())) in process_op()
218 if (unlikely (env.argStack.peek ().blending ())) in process_op()
237 n = env.argStack.pop_uint (); in process_blend()
239 unsigned int start = env.argStack.get_count () - ((k+1) * n); in process_blend()
241 if (unlikely (start > env.argStack.get_count ())) in process_blend()
248 const hb_array_t<const blend_arg_t> blends = env.argStack.get_subarray (start + n + (i * k)); in process_blend()
249 env.argStack[start + i].set_blends (n, i, k, blends); in process_blend()
[all …]
Dhb-cff-interp-cs-common.hh153 int n = SUPER::argStack.pop_int (); in pop_subr_num()
191 vstem_count += SUPER::argStack.get_count() / 2; in determine_hintmask_size()
267 env.argStack.push_fixed_from_substr (env.str_ref); in process_op()
377 env.hstem_count += env.argStack.get_count () / 2; in process_hstem()
383 env.vstem_count += env.argStack.get_count () / 2; in process_vstem()
428 env.pop_n_args (env.argStack.get_count ()); in flush_args()
490 for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2) in rlineto()
502 for (; i + 2 <= env.argStack.get_count (); i += 2) in hlineto()
510 if (i < env.argStack.get_count ()) in hlineto()
522 for (; i + 2 <= env.argStack.get_count (); i += 2) in vlineto()
[all …]
Dhb-cff1-interp-cs.hh54 if (likely (!processed_width && (SUPER::argStack.get_count () > 0))) in set_width()
58 width = SUPER::argStack[0]; in set_width()
99 if (env.argStack.get_count () >= 4) in process_op()
126 has_width = ((env.argStack.get_count () & 1) != 0); in check_width()
130 has_width = (env.argStack.get_count () > 1); in check_width()
133 has_width = (env.argStack.get_count () > 2); in check_width()
Dhb-ot-cff2-table.hh192 dictval.vstoreOffset = env.argStack.pop_uint (); in process_op()
196 dictval.FDSelectOffset = env.argStack.pop_uint (); in process_op()
203 if (!env.argStack.is_empty ()) return; in process_op()
232 dictval.privateDictInfo.offset = env.argStack.pop_uint (); in process_op()
233 dictval.privateDictInfo.size = env.argStack.pop_uint (); in process_op()
239 if (!env.argStack.is_empty ()) in process_op()
296 set_ivs (argStack.pop_uint ()); in process_vsindex()
324 val.single_val = env.argStack.pop_num (); in process_op()
336 dictval.subrsOffset = env.argStack.pop_uint (); in process_op()
349 if (!env.argStack.is_empty ()) return; in process_op()
[all …]
Dhb-cff-interp-common.hh598 argStack.init (); in init()
601 void fini () { argStack.fini (); } in fini()
604 { return error || str_ref.in_error () || argStack.in_error (); } in in_error()
624 const ARG& eval_arg (unsigned int i) { return argStack[i]; } in eval_arg()
626 ARG& pop_arg () { return argStack.pop (); } in pop_arg()
627 void pop_n_args (unsigned int n) { argStack.pop (n); } in pop_n_args()
629 void clear_args () { pop_n_args (argStack.get_count ()); } in clear_args()
634 argStack; member
648 env.argStack.push_int ((int16_t)((env.str_ref[0] << 8) | env.str_ref[1])); in process_op()
654 env.argStack.push_int ((int16_t)((op - OpCode_TwoBytePosInt0) * 256 + env.str_ref[0] + 108)); in process_op()
[all …]
Dhb-ot-cff1-table.cc271 unsigned int n = env.argStack.get_count (); in process_seac()
273 delta.x = env.argStack[n-4]; in process_seac()
274 delta.y = env.argStack[n-3]; in process_seac()
275 hb_codepoint_t base = param.cff->std_code_to_glyph (env.argStack[n-2].to_int ()); in process_seac()
276 hb_codepoint_t accent = param.cff->std_code_to_glyph (env.argStack[n-1].to_int ()); in process_seac()
365 unsigned int n = env.argStack.get_count (); in process_seac()
366 hb_codepoint_t base_char = (hb_codepoint_t)env.argStack[n-2].to_int (); in process_seac()
367 hb_codepoint_t accent_char = (hb_codepoint_t)env.argStack[n-1].to_int (); in process_seac()
Dhb-cff-interp-dict-common.hh84 env.argStack.push_longint_from_substr (env.str_ref); in process_op()
88 env.argStack.push_real (parse_bcd (env.str_ref)); in process_op()
177 dictval.charStringsOffset = env.argStack.pop_uint (); in process_op()
181 dictval.FDArrayOffset = env.argStack.pop_uint (); in process_op()
Dhb-ot-cff1-table.hh760 dictval.nameSIDs[name_dict_values_t::name_op_to_index (op)] = env.argStack.pop_uint (); in process_op()
783 dictval.cidCount = env.argStack.pop_uint (); in process_op()
788 dictval.ros_supplement = env.argStack.pop_uint (); in process_op()
789 dictval.nameSIDs[name_dict_values_t::ordering] = env.argStack.pop_uint (); in process_op()
790 dictval.nameSIDs[name_dict_values_t::registry] = env.argStack.pop_uint (); in process_op()
795 dictval.EncodingOffset = env.argStack.pop_uint (); in process_op()
801 dictval.CharsetOffset = env.argStack.pop_uint (); in process_op()
807 dictval.FDSelectOffset = env.argStack.pop_uint (); in process_op()
812 dictval.privateDictInfo.offset = env.argStack.pop_uint (); in process_op()
813 dictval.privateDictInfo.size = env.argStack.pop_uint (); in process_op()
[all …]
Dhb-subset-cff2.cc114 for (unsigned int i = 0; i < env.argStack.get_count ();) in flush_args()
116 const blend_arg_t &arg = env.argStack[i]; in flush_args()
119 if (unlikely (!((arg.numValues > 0) && (env.argStack.get_count () >= arg.numValues)))) in flush_args()
143 const blend_arg_t &arg1 = env.argStack[i + j]; in flatten_blends()
155 const blend_arg_t &arg1 = env.argStack[i + j]; in flatten_blends()
Dhb-subset-cff1.cc298 for (unsigned int i = env.arg_start; i < env.argStack.get_count (); i++) in flush_args()