Home | History | Annotate | Download | only in cintltst

Lines Matching refs:ec

183         UErrorCode ec = U_ZERO_ERROR;
186 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec);
188 if(U_FAILURE(ec)){
189 log_data_err("umsg_open() failed for testCasePattens[%d]. -> %s (Are you missing data?)\n",i, u_errorName(ec));
202 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
203 if(U_FAILURE(ec)){
208 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1);
209 if(ec==U_BUFFER_OVERFLOW_ERROR){
210 ec=U_ZERO_ERROR;
212 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1);
213 if(U_FAILURE(ec)){
242 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2);
243 if(ec!=U_ILLEGAL_ARGUMENT_ERROR){
244 log_err("FAIL: Did not get expected error for umsg_parse(). Expected: U_ILLEGAL_ARGUMENT_ERROR Got: %s \n",u_errorName(ec));
246 ec = U_ZERO_ERROR;
254 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2);
255 if(U_FAILURE(ec)){
256 log_err("umsg_parse could not parse the pattern. Error: %s.\n",u_errorName(ec));
260 log_err("FAIL: Expected U_BUFFER_OVERFLOW error while preflighting got: %s for testCasePatterns[%d]",u_errorName(ec),i);