Lines Matching refs:dfo

31 static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value)  in internal_format()  argument
36 …needed=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL, &INTL_DATA… in internal_format()
37 if(INTL_DATA_ERROR_CODE(dfo)==U_BUFFER_OVERFLOW_ERROR) in internal_format()
39 INTL_DATA_ERROR_CODE(dfo)=U_ZERO_ERROR; in internal_format()
41 …udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_E… in internal_format()
44 if (formatted && U_FAILURE( INTL_DATA_ERROR_CODE(dfo) ) ) { in internal_format()
48 INTL_METHOD_CHECK_STATUS( dfo, "Date formatting failed" ); in internal_format()
49 INTL_METHOD_RETVAL_UTF8( dfo, formatted, resultlengthneeded, 1 ); in internal_format()
56 static int32_t internal_get_arr_ele(IntlDateFormatter_object *dfo, in internal_get_arr_ele() argument
92 static UDate internal_get_timestamp(IntlDateFormatter_object *dfo, in internal_get_timestamp() argument
103 intl_error *err = &dfo->datef_data.error; in internal_get_timestamp()
106 internal_get_arr_ele(dfo, hash_arr, (elem), err) in internal_get_timestamp()
120 pcal = ucal_clone(udat_getCalendar(DATE_FORMAT_OBJECT(dfo)), in internal_get_timestamp()
121 &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
123 if (INTL_DATA_ERROR_CODE(dfo) != U_ZERO_ERROR) { in internal_get_timestamp()
124 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
130 ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
134 result = ucal_getMillis(pcal, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
165 timestamp = internal_get_timestamp(dfo, hash_arr); in PHP_FUNCTION()
166 INTL_METHOD_CHECK_STATUS(dfo, "datefmt_format: date formatting failed") in PHP_FUNCTION()
168 timestamp = intl_zval_to_millis(zarg, INTL_DATA_ERROR_P(dfo), in PHP_FUNCTION()
170 if (U_FAILURE(INTL_DATA_ERROR_CODE(dfo))) { in PHP_FUNCTION()
175 internal_format( dfo, timestamp, return_value); in PHP_FUNCTION()