Lines Matching refs:elem

389 	zval			**elem;  in umsg_format_helper()  local
401 zend_hash_get_current_data_ex(args, (void **)&elem, &pos) in umsg_format_helper()
456 convert_to_string_ex(elem); in umsg_format_helper()
460 Z_STRVAL_PP(elem), Z_STRLEN_PP(elem), &err.code); in umsg_format_helper()
465 "'%s'", Z_STRVAL_PP(elem)); in umsg_format_helper()
477 if (Z_TYPE_PP(elem) == IS_DOUBLE) { in umsg_format_helper()
478 d = Z_DVAL_PP(elem); in umsg_format_helper()
479 } else if (Z_TYPE_PP(elem) == IS_LONG) { in umsg_format_helper()
480 d = (double)Z_LVAL_PP(elem); in umsg_format_helper()
482 SEPARATE_ZVAL_IF_NOT_REF(elem); in umsg_format_helper()
483 convert_scalar_to_number(*elem TSRMLS_CC); in umsg_format_helper()
484 d = (Z_TYPE_PP(elem) == IS_DOUBLE) in umsg_format_helper()
485 ? Z_DVAL_PP(elem) in umsg_format_helper()
486 : (double)Z_LVAL_PP(elem); in umsg_format_helper()
495 if (Z_TYPE_PP(elem) == IS_DOUBLE) { in umsg_format_helper()
496 if (Z_DVAL_PP(elem) > (double)INT32_MAX || in umsg_format_helper()
497 Z_DVAL_PP(elem) < (double)INT32_MIN) { in umsg_format_helper()
502 tInt32 = (int32_t)Z_DVAL_PP(elem); in umsg_format_helper()
504 } else if (Z_TYPE_PP(elem) == IS_LONG) { in umsg_format_helper()
505 if (Z_LVAL_PP(elem) > INT32_MAX || in umsg_format_helper()
506 Z_LVAL_PP(elem) < INT32_MIN) { in umsg_format_helper()
511 tInt32 = (int32_t)Z_LVAL_PP(elem); in umsg_format_helper()
514 SEPARATE_ZVAL_IF_NOT_REF(elem); in umsg_format_helper()
515 convert_scalar_to_number(*elem TSRMLS_CC); in umsg_format_helper()
525 if (Z_TYPE_PP(elem) == IS_DOUBLE) { in umsg_format_helper()
526 if (Z_DVAL_PP(elem) > (double)U_INT64_MAX || in umsg_format_helper()
527 Z_DVAL_PP(elem) < (double)U_INT64_MIN) { in umsg_format_helper()
532 tInt64 = (int64_t)Z_DVAL_PP(elem); in umsg_format_helper()
534 } else if (Z_TYPE_PP(elem) == IS_LONG) { in umsg_format_helper()
536 tInt64 = (int64_t)Z_LVAL_PP(elem); in umsg_format_helper()
538 SEPARATE_ZVAL_IF_NOT_REF(elem); in umsg_format_helper()
539 convert_scalar_to_number(*elem TSRMLS_CC); in umsg_format_helper()
547 double dd = intl_zval_to_millis(*elem, &err, "msgfmt_format" TSRMLS_CC); in umsg_format_helper()
574 switch (Z_TYPE_PP(elem)) { in umsg_format_helper()
576 formattable.setDouble(Z_DVAL_PP(elem)); in umsg_format_helper()
579 convert_to_long_ex(elem); in umsg_format_helper()
582 formattable.setInt64((int64_t)Z_LVAL_PP(elem)); in umsg_format_helper()