Lines Matching refs:elem

388 	zval			*elem;  in umsg_format_helper()  local
394 ZEND_HASH_FOREACH_KEY_VAL(args, num_index, str_index, elem) { in umsg_format_helper()
395 ZVAL_DEREF(elem); in umsg_format_helper()
450 str = zval_get_tmp_string(elem, &tmp_str); in umsg_format_helper()
471 double d = zval_get_double(elem); in umsg_format_helper()
479 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
480 if (UNEXPECTED(Z_DVAL_P(elem) > (double)INT32_MAX || in umsg_format_helper()
481 Z_DVAL_P(elem) < (double)INT32_MIN)) { in umsg_format_helper()
486 tInt32 = (int32_t)Z_DVAL_P(elem); in umsg_format_helper()
488 } else if (Z_TYPE_P(elem) == IS_LONG) { in umsg_format_helper()
489 if (UNEXPECTED(Z_LVAL_P(elem) > INT32_MAX || in umsg_format_helper()
490 Z_LVAL_P(elem) < INT32_MIN)) { in umsg_format_helper()
495 tInt32 = (int32_t)Z_LVAL_P(elem); in umsg_format_helper()
498 tInt32 = (int32_t)zval_get_long(elem); in umsg_format_helper()
507 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
508 if (UNEXPECTED(Z_DVAL_P(elem) > (double)U_INT64_MAX || in umsg_format_helper()
509 Z_DVAL_P(elem) < (double)U_INT64_MIN)) { in umsg_format_helper()
514 tInt64 = (int64_t)Z_DVAL_P(elem); in umsg_format_helper()
516 } else if (Z_TYPE_P(elem) == IS_LONG) { in umsg_format_helper()
518 tInt64 = (int64_t)Z_LVAL_P(elem); in umsg_format_helper()
520 tInt64 = (int64_t)zval_get_long(elem); in umsg_format_helper()
527 double dd = intl_zval_to_millis(elem, &err, "msgfmt_format"); in umsg_format_helper()
554 switch (Z_TYPE_P(elem)) { in umsg_format_helper()
556 formattable.setDouble(Z_DVAL_P(elem)); in umsg_format_helper()
559 formattable.setInt64((int64_t)Z_LVAL_P(elem)); in umsg_format_helper()