Lines Matching refs:status
49 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status);
69 UErrorCode status = U_ZERO_ERROR;
141 date(tz, style, format, &status);
144 return (U_FAILURE(status) ? 1 : 0);
176 UErrorCode *status)
183 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
188 len = udat_format(fmt, ucal_getNow(), 0, len, 0, status);
189 if(*status == U_BUFFER_OVERFLOW_ERROR) {
190 *status = U_ZERO_ERROR;
193 udat_format(fmt, ucal_getNow(), s, len + 1, 0, status);
194 if(U_FAILURE(*status)) goto finish;
198 uprint(s, stdout, status);