Home
last modified time | relevance | path

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

12

/PHP-8.2/Zend/
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
51 #define MAY_BE_ARRAY_OF_DOUBLE (MAY_BE_DOUBLE << MAY_BE_ARRAY_SHIFT)
H A Dzend_execute.c720 if ((type_mask & MAY_BE_DOUBLE) && Z_TYPE_P(arg) == IS_STRING) { in zend_verify_weak_scalar_type_hint()
740 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, 0)) { in zend_verify_weak_scalar_type_hint()
781 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()
798 if (!(type_mask & MAY_BE_DOUBLE) || Z_TYPE_P(arg) != IS_LONG) { in zend_verify_scalar_type_hint()
805 && (type_mask & (MAY_BE_TRUE|MAY_BE_FALSE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING)); in zend_verify_scalar_type_hint()
1786 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_get_prop_not_accepting_double()
1884 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop()
1906 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval()
1945 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval()
3428 if ((type_mask & MAY_BE_DOUBLE) && zv_type == IS_LONG) { in i_zend_verify_type_assignable_zval()
[all …]
H A Dzend_vm_def.h9436 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_ADD, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9472 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_SUB, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9510 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_MUL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z…
9534 …_HANDLER(ZEND_IS_EQUAL|ZEND_IS_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9558 …(ZEND_IS_NOT_EQUAL|ZEND_IS_NOT_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9611 …VM_HOT_TYPE_SPEC_HANDLER(ZEND_IS_SMALLER, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9635 …PE_SPEC_HANDLER(ZEND_IS_SMALLER_OR_EQUAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)…
9753 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_QM_ASSIGN, (op1_info == MAY_BE_DOUBLE), ZEND_QM_ASSIGN_DOUBLE, C…
9763 …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.h64341 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64362 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64383 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64399 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64417 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64435 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64451 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64464 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64477 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) {
64487 } else if (op1_info == MAY_BE_DOUBLE) {
[all …]
/PHP-8.2/Zend/Optimizer/
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_inference.c2284 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2285 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2311 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2312 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2319 if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type()
2320 tmp |= MAY_BE_DOUBLE; in binary_op_result_type()
2824 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info()
2843 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info()
2905 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info()
2967 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info()
[all …]
H A Ddfa_pass.c333 uint32_t simple = MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE; in opline_supports_assign_contraction()
1187 if ((OP2_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1202 || ((OP2_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1219 && (OP2_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
1240 if ((OP1_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1253 || ((OP1_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array()
1264 && (OP1_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
1469 …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()
1483 …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_func_infos.h74 F1("date_sunrise", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE),
75 F1("date_sunset", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE),
633 F1("microtime", MAY_BE_STRING|MAY_BE_DOUBLE),
636 F1("gettimeofday", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_DOUBLE),
H A Dzend_dump.c232 if (info & MAY_BE_DOUBLE) { in zend_dump_type_info()
/PHP-8.2/ext/intl/formatter/
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…
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)
/PHP-8.2/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.2/ext/opcache/jit/
H A Dzend_jit_x86.dasc4805 if (op1_info & MAY_BE_DOUBLE) {
4812 if (op2_info & MAY_BE_DOUBLE) {
4831 if (op1_info & MAY_BE_DOUBLE) {
4837 if (op2_info & MAY_BE_DOUBLE) {
4869 if (op2_info & MAY_BE_DOUBLE) {
4904 if (op1_info & MAY_BE_DOUBLE) {
7881 if (op1_info & MAY_BE_DOUBLE) {
7918 if (op2_info & MAY_BE_DOUBLE) {
7952 if (op1_info & MAY_BE_DOUBLE) {
16235 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) {
[all …]
H A Dzend_jit_arm64.dasc4377 if (op1_info & MAY_BE_DOUBLE) {
4384 if (op2_info & MAY_BE_DOUBLE) {
4403 if (op1_info & MAY_BE_DOUBLE) {
4409 if (op2_info & MAY_BE_DOUBLE) {
4441 if (op2_info & MAY_BE_DOUBLE) {
4476 if (op1_info & MAY_BE_DOUBLE) {
7291 if (op1_info & MAY_BE_DOUBLE) {
7328 if (op2_info & MAY_BE_DOUBLE) {
7362 if (op1_info & MAY_BE_DOUBLE) {
15275 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.c1092 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1105 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1113 } else if (!(tssa->var_info[tssa->ops[idx].op2_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
1159 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard()
2918 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE) in zend_jit_trace_allocate_registers()
4361 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
4425 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
4481 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit_trace()
4482 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_trace()
4497 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace()
[all …]
H A Dzend_jit.c2064 if ((ssa->var_info[current->ssa_var].type & MAY_BE_ANY) == MAY_BE_DOUBLE) { in zend_jit_try_allocate_free_reg()
2666 return (op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) in zend_jit_supported_binary_op()
2667 && (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)); in zend_jit_supported_binary_op()
2951 …(op1_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, ssa_op, op… in zend_jit()
3024 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit()
3025 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit()
3066 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (res_info & MAY_BE_DOUBLE) && zend_may_ove… in zend_jit()
3118 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may… in zend_jit()
/PHP-8.2/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.2/ext/standard/
H A Dbasic_functions_arginfo.h189 ZEND_ARG_TYPE_MASK(0, step, MAY_BE_LONG|MAY_BE_DOUBLE, "1")
326 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_sum, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1607 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_abs, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1608 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1612 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1618 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1699 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bindec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1703 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hexdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1707 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_octdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1740 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_microtime, 0, 0, MAY_BE_STRING|MAY_BE_DOUBLE)
[all …]
/PHP-8.2/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.2/ext/oci8/
H A Doci8_arginfo.h394 …_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
530 …TYPE_MASK_EX(arginfo_class_OCICollection_getElem, 0, 1, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
/PHP-8.2/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.2/ext/mysqli/
H A Dmysqli_arginfo.h126 …PE_MASK_EX(arginfo_mysqli_fetch_column, 0, 1, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|…
627 …ginfo_class_mysqli_result_fetch_column, 0, 0, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|…
/PHP-8.2/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.2/ext/reflection/
H A Dphp_reflection.c3176 if (type_mask & MAY_BE_DOUBLE) { in ZEND_METHOD()
3177 append_type_mask(return_value, MAY_BE_DOUBLE); in ZEND_METHOD()

Completed in 359 milliseconds

12