Lines Matching refs:substr
544 void push_longint_from_substr (SubByteStr& substr) in push_longint_from_substr()
546 push_int ((substr[0] << 24) | (substr[1] << 16) | (substr[2] << 8) | (substr[3])); in push_longint_from_substr()
547 substr.inc (4); in push_longint_from_substr()
550 bool push_fixed_from_substr (SubByteStr& substr) in push_fixed_from_substr()
552 if (unlikely (!substr.avail (4))) in push_fixed_from_substr()
554 push_fixed ((int32_t)*(const HBUINT32*)&substr[0]); in push_fixed_from_substr()
555 substr.inc (4); in push_fixed_from_substr()
603 void add_op (OpCode op, const SubByteStr& substr = SubByteStr ()) in add_op()
607 val->str = ByteStr (substr.str, opStart, substr.offset - opStart); in add_op()
608 opStart = substr.offset; in add_op()
611 void add_op (OpCode op, const SubByteStr& substr, const VAL &v) in add_op()
615 val->str = ByteStr (substr.str, opStart, substr.offset - opStart); in add_op()
616 opStart = substr.offset; in add_op()
639 substr.reset (str_); in init()
646 { return error || substr.in_error () || argStack.in_error (); } in in_error()
653 if (unlikely (!substr.avail ())) in fetch_op()
655 op = (OpCode)(unsigned char)substr[0]; in fetch_op()
657 if (unlikely (!substr.avail ())) in fetch_op()
659 op = Make_OpCode_ESC(substr[1]); in fetch_op()
660 substr.inc (); in fetch_op()
662 substr.inc (); in fetch_op()
686 SubByteStr substr; member
701 env.argStack.push_int ((int16_t)((env.substr[0] << 8) | env.substr[1])); in process_op()
702 env.substr.inc (2); in process_op()
707 env.argStack.push_int ((int16_t)((op - OpCode_TwoBytePosInt0) * 256 + env.substr[0] + 108)); in process_op()
708 env.substr.inc (); in process_op()
713 env.argStack.push_int ((int16_t)(-(op - OpCode_TwoByteNegInt0) * 256 - env.substr[0] - 108)); in process_op()
714 env.substr.inc (); in process_op()