Home
last modified time | relevance | path

Searched refs:MAY_BE_DOUBLE (Results 1 – 25 of 26) sorted by path

12

/PHP-8.1/Zend/Optimizer/
H A Ddfa_pass.c347 uint32_t simple = MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE; in opline_supports_assign_contraction()
1249 if ((OP2_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1264 || ((OP2_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1281 && (OP2_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
1302 if ((OP1_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1315 || ((OP1_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1326 && (OP1_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
1508 …fo[result_var].type & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
1522 …fo[result_var].type & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
H A Dzend_dump.c232 if (info & MAY_BE_DOUBLE) { in zend_dump_type_info()
H A Dzend_func_info.c73 if ((t1 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info()
74 || (t2 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info()
75 || (t3 & (MAY_BE_DOUBLE|MAY_BE_STRING))) { in zend_range_info()
78 if ((t1 & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE)) in zend_range_info()
79 && (t2 & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE))) { in zend_range_info()
80 if ((t3 & MAY_BE_ANY) != MAY_BE_DOUBLE) { in zend_range_info()
H A Dzend_func_infos.h76 F1("date_sunrise", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE),
77 F1("date_sunset", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE),
671 F1("microtime", MAY_BE_STRING|MAY_BE_DOUBLE),
674 F1("gettimeofday", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_DOUBLE),
H A Dzend_inference.c2261 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2262 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2288 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2289 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2296 if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2297 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2782 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info()
2794 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info()
2849 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info()
2911 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info()
[all …]
/PHP-8.1/Zend/
H A Dzend_compile.c1257 if (type_mask & MAY_BE_DOUBLE) { in zend_type_to_string_resolved()
6507 if ((ZEND_TYPE_FULL_MASK(type) & MAY_BE_DOUBLE) && Z_TYPE_P(value) == IS_LONG) { in zend_is_valid_default_value()
H A Dzend_execute.c714 if ((type_mask & MAY_BE_DOUBLE) && Z_TYPE_P(arg) == IS_STRING) { in zend_verify_weak_scalar_type_hint()
734 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, 0)) { in zend_verify_weak_scalar_type_hint()
775 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, (uint32_t)-1)) { in zend_verify_weak_scalar_type_hint_no_sideeffect()
792 if (!(type_mask & MAY_BE_DOUBLE) || Z_TYPE_P(arg) != IS_LONG) { in zend_verify_scalar_type_hint()
799 && (type_mask & (MAY_BE_TRUE|MAY_BE_FALSE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING)); in zend_verify_scalar_type_hint()
1823 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_get_prop_not_accepting_double()
1921 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop()
1943 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval()
1982 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval()
3462 if ((type_mask & MAY_BE_DOUBLE) && zv_type == IS_LONG) { in i_zend_verify_type_assignable_zval()
[all …]
H A Dzend_type_info.h30 #define MAY_BE_DOUBLE (1 << IS_DOUBLE) macro
35 #define MAY_BE_ANY (MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE
52 #define MAY_BE_ARRAY_OF_DOUBLE (MAY_BE_DOUBLE << MAY_BE_ARRAY_SHIFT)
H A Dzend_vm_def.h9369 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_ADD, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9405 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_SUB, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9443 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_MUL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9467 …_HANDLER(ZEND_IS_EQUAL|ZEND_IS_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9491 …(ZEND_IS_NOT_EQUAL|ZEND_IS_NOT_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9544 …VM_HOT_TYPE_SPEC_HANDLER(ZEND_IS_SMALLER, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9568 …PE_SPEC_HANDLER(ZEND_IS_SMALLER_OR_EQUAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9686 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_QM_ASSIGN, (op1_info == MAY_BE_DOUBLE), ZEND_QM_ASSIGN_DOUBLE, C…
9696 …E_ANY|MAY_BE_UNDEF)-(MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE))))), ZEND_QM_…
H A Dzend_vm_execute.h64041 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64062 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64083 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64099 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64117 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64135 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64151 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64164 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64177 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64187 } else if (op1_info == MAY_BE_DOUBLE) {
[all …]
/PHP-8.1/ext/date/
H A Dphp_date_arginfo.h211 …TURN_TYPE_MASK_EX(arginfo_date_sunrise, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
/PHP-8.1/ext/intl/calendar/
H A Dcalendar_arginfo.h94 …TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getTime, 0, 0, MAY_BE_DOUBLE|MAY_BE_FALSE)
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat_arginfo.h73 …N_TYPE_MASK_EX(arginfo_class_IntlDateFormatter_parse, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
/PHP-8.1/ext/intl/formatter/
H A Dformatter_arginfo.h17 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
21 …URN_TYPE_MASK_EX(arginfo_class_NumberFormatter_parse, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
32 …_RETURN_TYPE_MASK_EX(arginfo_class_NumberFormatter_parseCurrency, 0, 2, MAY_BE_DOUBLE|MAY_BE_FALSE)
40 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
43 …E_MASK_EX(arginfo_class_NumberFormatter_getAttribute, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
H A Dformatter_functions_arginfo.h11 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE)
15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_B…
28 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse_currency, 0, 3, MAY_BE_DOUBLE|MAY_BE_F…
/PHP-8.1/ext/intl/
H A Dphp_intl_arginfo.h26 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_time, 0, 1, MAY_BE_DOUBLE|MAY_BE_FALSE)
350 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_…
378 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
382 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_B…
395 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse_currency, 0, 3, MAY_BE_DOUBLE|MAY_BE_F…
405 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
408 …ITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_attribute, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
/PHP-8.1/ext/mysqli/
H A Dmysqli_arginfo.h118 …PE_MASK_EX(arginfo_mysqli_fetch_column, 0, 1, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|…
638 …ginfo_class_mysqli_result_fetch_column, 0, 0, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|…
/PHP-8.1/ext/oci8/
H A Doci8_arginfo.h389 …_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
525 …TYPE_MASK_EX(arginfo_class_OCICollection_getElem, 0, 1, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit.c2073 if ((ssa->var_info[current->ssa_var].type & MAY_BE_ANY) == MAY_BE_DOUBLE) { in zend_jit_try_allocate_free_reg()
2675 return (op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) in zend_jit_supported_binary_op()
2676 && (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)); in zend_jit_supported_binary_op()
2960 …(op1_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, ssa_op, op… in zend_jit()
3033 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit()
3034 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit()
3075 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (res_info & MAY_BE_DOUBLE) && zend_may_ove… in zend_jit()
3127 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may… in zend_jit()
H A Dzend_jit_arm64.dasc4405 if (op1_info & MAY_BE_DOUBLE) {
4412 if (op2_info & MAY_BE_DOUBLE) {
4431 if (op1_info & MAY_BE_DOUBLE) {
4437 if (op2_info & MAY_BE_DOUBLE) {
4469 if (op2_info & MAY_BE_DOUBLE) {
4504 if (op1_info & MAY_BE_DOUBLE) {
7407 if (op1_info & MAY_BE_DOUBLE) {
7444 if (op2_info & MAY_BE_DOUBLE) {
7478 if (op1_info & MAY_BE_DOUBLE) {
15339 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) {
[all …]
H A Dzend_jit_helpers.c2188 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_jit_get_prop_not_accepting_double()
2675 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_inc_typed_prop()
2705 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_dec_typed_prop()
2751 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_typed_prop()
2782 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_typed_prop()
2808 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_inc_obj_helper()
2878 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_dec_obj_helper()
2947 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_obj_helper()
3008 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_obj_helper()
H A Dzend_jit_trace.c1095 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1108 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1162 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
2906 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE) in zend_jit_trace_allocate_registers()
4349 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
4413 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
4469 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit_trace()
4470 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_trace()
4485 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
4504 || (res_info & (MAY_BE_ANY|MAY_BE_GUARD)) == (MAY_BE_DOUBLE|MAY_BE_GUARD)) in zend_jit_trace()
[all …]
H A Dzend_jit_x86.dasc4851 if (op1_info & MAY_BE_DOUBLE) {
4858 if (op2_info & MAY_BE_DOUBLE) {
4877 if (op1_info & MAY_BE_DOUBLE) {
4883 if (op2_info & MAY_BE_DOUBLE) {
4915 if (op2_info & MAY_BE_DOUBLE) {
4950 if (op1_info & MAY_BE_DOUBLE) {
8008 if (op1_info & MAY_BE_DOUBLE) {
8045 if (op2_info & MAY_BE_DOUBLE) {
8079 if (op1_info & MAY_BE_DOUBLE) {
16311 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) {
[all …]
/PHP-8.1/ext/opcache/tests/jit/
H A Dbool_not_002.phpt2 JIT BOOL_NOT: 002 Incorrect function JIT for MAY_BE_DOUBLE|MAY_BE_UNDEF
/PHP-8.1/ext/reflection/
H A Dphp_reflection.c3134 if (type_mask & MAY_BE_DOUBLE) { in ZEND_METHOD()
3135 append_type_mask(return_value, MAY_BE_DOUBLE); in ZEND_METHOD()

Completed in 333 milliseconds

12