Lines Matching refs:elem

413 	zval			*elem;  in umsg_format_helper()  local
419 ZEND_HASH_FOREACH_KEY_VAL(args, num_index, str_index, elem) { in umsg_format_helper()
474 str = zval_get_tmp_string(elem, &tmp_str); in umsg_format_helper()
495 double d = zval_get_double(elem); in umsg_format_helper()
503 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
504 if (Z_DVAL_P(elem) > (double)INT32_MAX || in umsg_format_helper()
505 Z_DVAL_P(elem) < (double)INT32_MIN) { in umsg_format_helper()
510 tInt32 = (int32_t)Z_DVAL_P(elem); in umsg_format_helper()
512 } else if (Z_TYPE_P(elem) == IS_LONG) { in umsg_format_helper()
513 if (Z_LVAL_P(elem) > INT32_MAX || in umsg_format_helper()
514 Z_LVAL_P(elem) < INT32_MIN) { in umsg_format_helper()
519 tInt32 = (int32_t)Z_LVAL_P(elem); in umsg_format_helper()
522 tInt32 = (int32_t)zval_get_long(elem); in umsg_format_helper()
531 if (Z_TYPE_P(elem) == IS_DOUBLE) { in umsg_format_helper()
532 if (Z_DVAL_P(elem) > (double)U_INT64_MAX || in umsg_format_helper()
533 Z_DVAL_P(elem) < (double)U_INT64_MIN) { in umsg_format_helper()
538 tInt64 = (int64_t)Z_DVAL_P(elem); in umsg_format_helper()
540 } else if (Z_TYPE_P(elem) == IS_LONG) { in umsg_format_helper()
542 tInt64 = (int64_t)Z_LVAL_P(elem); in umsg_format_helper()
544 tInt64 = (int64_t)zval_get_long(elem); in umsg_format_helper()
551 double dd = intl_zval_to_millis(elem, &err, "msgfmt_format"); in umsg_format_helper()
578 switch (Z_TYPE_P(elem)) { in umsg_format_helper()
580 formattable.setDouble(Z_DVAL_P(elem)); in umsg_format_helper()
583 formattable.setInt64((int64_t)Z_LVAL_P(elem)); in umsg_format_helper()