Lines Matching refs:status

66                 UErrorCode  *status,
73 va_start(ap, status);
75 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
89 UErrorCode *status)
93 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,nullptr,status);
94 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
106 UErrorCode *status,
113 va_start(ap, status);
115 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
130 UErrorCode *status)
134 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
135 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status);
151 UErrorCode *status,
158 va_start(ap, status);
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status);
172 UErrorCode *status)
175 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,nullptr,status);
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
188 UErrorCode *status,
196 va_start(ap, status);
198 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status);
210 UErrorCode* status)
213 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,error,status);
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
230 UErrorCode *status)
233 if(status==nullptr || U_FAILURE(*status))
238 *status=U_ILLEGAL_ARGUMENT_ERROR;
251 MessageFormat* retVal = new MessageFormat(patString,Locale(locale),*parseError,*status);
253 *status = U_MEMORY_ALLOCATION_ERROR;
256 if (U_SUCCESS(*status) && MessageFormatAdapter::hasArgTypeConflicts(*retVal)) {
257 *status = U_ARGUMENT_TYPE_MISMATCH;
274 UErrorCode *status)
277 if(status==nullptr || U_FAILURE(*status)){
281 *status = U_ILLEGAL_ARGUMENT_ERROR;
286 *status = U_MEMORY_ALLOCATION_ERROR;
317 UErrorCode* status)
321 if(status ==nullptr||U_FAILURE(*status)){
325 *status=U_ILLEGAL_ARGUMENT_ERROR;
334 ((MessageFormat*)fmt)->applyPattern(UnicodeString(pattern,patternLength),*parseError,*status);
341 UErrorCode* status)
344 if(status ==nullptr||U_FAILURE(*status)){
348 *status=U_ILLEGAL_ARGUMENT_ERROR;
360 return res.extract(result, resultLength, *status);
367 UErrorCode *status,
378 va_start(ap, status);
380 actLen = umsg_vformat(fmt,result,resultLength,ap,status);
393 UErrorCode *status)
396 if(status==0 || U_FAILURE(*status))
401 *status=U_ILLEGAL_ARGUMENT_ERROR;
447 *status=U_ILLEGAL_ARGUMENT_ERROR;
473 ((const MessageFormat*)fmt)->format(args,count,resultStr,fieldPosition,*status);
477 if(U_FAILURE(*status)){
481 return resultStr.extract(result, resultLength, *status);
489 UErrorCode *status,
498 va_start(ap, status);
500 umsg_vparse(fmt,source,sourceLength,count,ap,status);
512 UErrorCode *status)
515 if(status==nullptr||U_FAILURE(*status))
520 *status=U_ILLEGAL_ARGUMENT_ERROR;
528 Formattable *args = ((const MessageFormat*)fmt)->parse(srcString,*count,*status);
545 *status=U_ILLEGAL_ARGUMENT_ERROR;
554 *status=U_ILLEGAL_ARGUMENT_ERROR;
563 *status=U_ILLEGAL_ARGUMENT_ERROR;
572 *status=U_ILLEGAL_ARGUMENT_ERROR;
584 *status= U_ILLEGAL_ARGUMENT_ERROR;