Lines Matching refs:dfo

35 static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value TSRM…  in internal_format()  argument
40 …needed=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL, &INTL_DATA… in internal_format()
41 if(INTL_DATA_ERROR_CODE(dfo)==U_BUFFER_OVERFLOW_ERROR) in internal_format()
43 INTL_DATA_ERROR_CODE(dfo)=U_ZERO_ERROR; in internal_format()
45 …udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_E… in internal_format()
48 if (formatted && U_FAILURE( INTL_DATA_ERROR_CODE(dfo) ) ) { in internal_format()
52 INTL_METHOD_CHECK_STATUS( dfo, "Date formatting failed" ); in internal_format()
53 INTL_METHOD_RETVAL_UTF8( dfo, formatted, resultlengthneeded, 1 ); in internal_format()
62 static int32_t internal_get_arr_ele(IntlDateFormatter_object *dfo, in internal_get_arr_ele() argument
101 static UDate internal_get_timestamp(IntlDateFormatter_object *dfo, in internal_get_timestamp() argument
112 intl_error *err = &dfo->datef_data.error; in internal_get_timestamp()
115 internal_get_arr_ele(dfo, hash_arr, (elem), err TSRMLS_CC) in internal_get_timestamp()
129 pcal = ucal_clone(udat_getCalendar(DATE_FORMAT_OBJECT(dfo)), in internal_get_timestamp()
130 &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
132 if (INTL_DATA_ERROR_CODE(dfo) != U_ZERO_ERROR) { in internal_get_timestamp()
133 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
139 ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
143 result = ucal_getMillis(pcal, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
177 timestamp = internal_get_timestamp(dfo, hash_arr TSRMLS_CC); in PHP_FUNCTION()
178 INTL_METHOD_CHECK_STATUS(dfo, "datefmt_format: date formatting failed") in PHP_FUNCTION()
180 timestamp = intl_zval_to_millis(zarg, INTL_DATA_ERROR_P(dfo), in PHP_FUNCTION()
182 if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in PHP_FUNCTION()
187 internal_format( dfo, timestamp, return_value TSRMLS_CC); in PHP_FUNCTION()