Lines Matching refs:decode
41 char *decode = NULL; in phpdbg_decode_op() local
46 spprintf(&decode, 0, "$%.*s%c", in phpdbg_decode_op()
52 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
55 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
59 decode = phpdbg_short_zval_print(literal, 20); in phpdbg_decode_op()
62 return decode; in phpdbg_decode_op()
68 char *result, *decode[4] = {NULL, NULL, NULL, NULL}; in phpdbg_decode_opline() local
74 decode[0] = estrdup("FAST_CALL<FROM_FINALLY>"); in phpdbg_decode_opline()
79 spprintf(&decode[0], 0, "FAST_RET<%s>", in phpdbg_decode_opline()
89 spprintf(&decode[1], 0, "J%td", OP_JMP_ADDR(op, op->op1) - ops->opcodes); in phpdbg_decode_opline()
96 spprintf(&decode[1], 0, "%" PRIu32, op->op1.num); in phpdbg_decode_opline()
100 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type); in phpdbg_decode_opline()
107 spprintf(&decode[2], 0, "J%td or J%td", in phpdbg_decode_opline()
118 spprintf(&decode[2], 0, "J%td", OP_JMP_ADDR(op, op->op2) - ops->opcodes); in phpdbg_decode_opline()
124 spprintf(&decode[2], 0, "J%" PRIu32, op->op2.opline_num); in phpdbg_decode_opline()
135 spprintf(&decode[2], 0, "%" PRIu32, op->op2.num); in phpdbg_decode_opline()
139 decode[2] = phpdbg_decode_op(ops, &op->op2, op->op2_type); in phpdbg_decode_opline()
146 spprintf(&decode[3], 0, "%" PRIu32, op->result.num); in phpdbg_decode_opline()
149 decode[3] = phpdbg_decode_op(ops, &op->result, op->result_type); in phpdbg_decode_opline()
155 decode[0] ? decode[0] : opcode_name, in phpdbg_decode_opline()
156 decode[1] ? decode[1] : "", in phpdbg_decode_opline()
157 decode[2] ? decode[2] : "", in phpdbg_decode_opline()
158 decode[3] ? decode[3] : ""); in phpdbg_decode_opline()
160 if (decode[0]) in phpdbg_decode_opline()
161 efree(decode[0]); in phpdbg_decode_opline()
162 if (decode[1]) in phpdbg_decode_opline()
163 efree(decode[1]); in phpdbg_decode_opline()
164 if (decode[2]) in phpdbg_decode_opline()
165 efree(decode[2]); in phpdbg_decode_opline()
166 if (decode[3]) in phpdbg_decode_opline()
167 efree(decode[3]); in phpdbg_decode_opline()
181 char *decode = phpdbg_decode_opline(&execute_data->func->op_array, opline); in phpdbg_print_opline_ex() local
188 decode, in phpdbg_print_opline_ex()
196 decode, in phpdbg_print_opline_ex()
200 efree(decode); in phpdbg_print_opline_ex()