Lines Matching refs:ZEND_OP2_LITERAL

80 					zval_get_long(&ZEND_OP2_LITERAL(opline)) == 0) {  in zend_optimizer_pass1()
84 zval_get_long(&ZEND_OP2_LITERAL(opline)) < 0) { in zend_optimizer_pass1()
87 …duces_numeric_string_error(opline->opcode, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline))) { in zend_optimizer_pass1()
94 if (binary_op(&result, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)) != SUCCESS) { in zend_optimizer_pass1()
102 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
197 final_length += Z_STRLEN(ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1()
205 final_length += (requires_conversion? 1 : Z_STRLEN(ZEND_OP2_LITERAL(opline))); in zend_optimizer_pass1()
211 char chval = (char)Z_LVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
213 ZVAL_NEW_STR(&ZEND_OP2_LITERAL(opline), str); in zend_optimizer_pass1()
218 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline))); in zend_optimizer_pass1()
219 ptr += Z_STRLEN(ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
220 zend_string_release(Z_STR(ZEND_OP2_LITERAL(opline))); in zend_optimizer_pass1()
221 ZVAL_NEW_STR(&ZEND_OP2_LITERAL(opline), str); in zend_optimizer_pass1()
226 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(next_op)), Z_STRLEN(ZEND_OP2_LITERAL(next_op))); in zend_optimizer_pass1()
227 ptr += Z_STRLEN(ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1()
228 literal_dtor(&ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1()
230 *ptr = (char)Z_LVAL(ZEND_OP2_LITERAL(next_op)); in zend_optimizer_pass1()
249 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING && in zend_optimizer_pass1()
250 Z_STRLEN(ZEND_OP2_LITERAL(opline)) == sizeof("__COMPILER_HALT_OFFSET__") - 1 && in zend_optimizer_pass1()
251 …memcmp(Z_STRVAL(ZEND_OP2_LITERAL(opline)), "__COMPILER_HALT_OFFSET__", sizeof("__COMPILER_HALT_OFF… in zend_optimizer_pass1()
264 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
273 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
278 if (!zend_optimizer_get_persistent_constant(Z_STR(ZEND_OP2_LITERAL(opline)), &c, 1)) { in zend_optimizer_pass1()
279 …onstants || !zend_optimizer_get_collected_constant(ctx->constants, &ZEND_OP2_LITERAL(opline), &c))… in zend_optimizer_pass1()
287 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
295 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
337 Z_STR(ZEND_OP2_LITERAL(opline)))) != NULL && in zend_optimizer_pass1()
359 literal_dtor(&ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
400 Z_TYPE(ZEND_OP2_LITERAL(init_opline)) != IS_STRING) { in zend_optimizer_pass1()
407 if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("define")-1 && in zend_optimizer_pass1()
408 …zend_binary_strcasecmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), Z_STRLEN(ZEND_OP2_LITERAL(init_opl… in zend_optimizer_pass1()
429 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
447 if ((Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("function_exists")-1 && in zend_optimizer_pass1()
448 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
451 (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("is_callable")-1 && in zend_optimizer_pass1()
452 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
467 if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("is_callable") - 1 || in zend_optimizer_pass1()
474 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
484 } else if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("extension_loaded")-1 && in zend_optimizer_pass1()
485 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
514 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
521 } else if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("defined")-1 && in zend_optimizer_pass1()
522 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
531 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
539 } else if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("constant")-1 && in zend_optimizer_pass1()
540 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
547 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
556 Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("strlen") - 1 && in zend_optimizer_pass1()
557 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), "strlen", sizeof("strlen") - 1) && in zend_optimizer_pass1()
563 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
571 } else if (Z_STRLEN(ZEND_OP2_LITERAL(init_opline)) == sizeof("dirname")-1 && in zend_optimizer_pass1()
572 !memcmp(Z_STRVAL(ZEND_OP2_LITERAL(init_opline)), in zend_optimizer_pass1()
583 literal_dtor(&ZEND_OP2_LITERAL(init_opline)); in zend_optimizer_pass1()
628 Z_TYPE(ZEND_OP2_LITERAL(opline)) <= IS_STRING) { in zend_optimizer_pass1()
629 zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()