Lines Matching +refs:env +refs:PATH
196 template <typename OPSET, typename PARAM, typename PATH=path_procs_null_t<cff2_cs_interp_env_t, PAR…
197 struct cff2_cs_opset_t : cs_opset_t<blend_arg_t, OPSET, cff2_cs_interp_env_t, PARAM, PATH>
199 static void process_op (op_code_t op, cff2_cs_interp_env_t &env, PARAM& param) in process_op()
205 if (unlikely (env.argStack.peek ().blending ())) in process_op()
207 env.set_error (); in process_op()
210 SUPER::process_op (op, env, param); in process_op()
214 OPSET::process_blend (env, param); in process_op()
218 if (unlikely (env.argStack.peek ().blending ())) in process_op()
220 env.set_error (); in process_op()
223 OPSET::process_vsindex (env, param); in process_op()
227 SUPER::process_op (op, env, param); in process_op()
231 static void process_blend (cff2_cs_interp_env_t &env, PARAM& param) in process_blend()
235 env.process_blend (); in process_blend()
236 k = env.get_region_count (); in process_blend()
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()
243 env.set_error (); 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()
253 env.argStack.pop (k * n); in process_blend()
256 static void process_vsindex (cff2_cs_interp_env_t &env, PARAM& param) in process_vsindex()
258 env.process_vsindex (); in process_vsindex()
259 env.clear_args (); in process_vsindex()
263 typedef cs_opset_t<blend_arg_t, OPSET, cff2_cs_interp_env_t, PARAM, PATH> SUPER;