• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:argument +full:- +full:count

6 *   Copyright (C) 1999-2012, International Business Machines
11 * encoding: UTF-8
46 int32_t& count);
53 int32_t& count) { in getArgTypeList() argument
54 return m.getArgTypeList(count); in getArgTypeList()
71 //argument checking defered to subsequent method calls in u_formatMessage()
92 //argument checking defered to subsequent method calls in u_vformatMessage()
111 //argument checking defered to subsequent method calls in u_formatMessageWithError()
133 //argument checking defered to subsequent method calls in u_vformatMessageWithError()
155 //argument checking defered to subsequent method calls in u_parseMessage()
174 //argument checking defered to subsequent method calls in u_vparseMessage()
176 int32_t count = 0; in u_vparseMessage() local
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
193 //argument checking defered to subsequent method calls in u_parseMessageWithError()
212 //argument checking defered to subsequent method calls in u_vparseMessageWithError()
214 int32_t count = 0; in u_vparseMessageWithError() local
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessageWithError()
237 if(pattern==NULL||patternLength<-1){ in umsg_open()
248 int32_t len = (patternLength == -1 ? u_strlen(pattern) : patternLength); in umsg_open()
249 UnicodeString patString(patternLength == -1, pattern, len); in umsg_open()
284 UMessageFormat retVal = (UMessageFormat)((MessageFormat*)fmt)->clone(); in umsg_clone()
299 ((MessageFormat*)fmt)->setLocale(Locale(locale)); in umsg_setLocale()
309 return ((const MessageFormat*)fmt)->getLocale().getName(); in umsg_getLocale()
324 if(fmt==NULL || (pattern==NULL && patternLength!=0) || patternLength<-1) { in umsg_applyPattern()
333 // UnicodeString(pattern, -1) calls u_strlen(). in umsg_applyPattern()
334 ((MessageFormat*)fmt)->applyPattern(UnicodeString(pattern,patternLength),*parseError,*status); in umsg_applyPattern()
345 return -1; in umsg_toPattern()
349 return -1; in umsg_toPattern()
359 ((const MessageFormat*)fmt)->toPattern(res); in umsg_toPattern()
372 //argument checking defered to last method call umsg_vformat which in umsg_format()
398 return -1; in umsg_vformat()
402 return -1; in umsg_vformat()
405 int32_t count =0; in umsg_vformat() local
407 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, count); in umsg_vformat()
410 Formattable* args = new Formattable[count ? count : 1]; in umsg_vformat()
413 for(int32_t i = 0; i < count; ++i) { in umsg_vformat()
452 // throw away this argument in umsg_vformat()
453 // this is highly platform-dependent, and probably won't work in umsg_vformat()
460 // Unused argument number. Read and ignore a pointer argument. in umsg_vformat()
465 // Unknown/unsupported argument type. in umsg_vformat()
473 ((const MessageFormat*)fmt)->format(args,count,resultStr,fieldPosition,*status); in umsg_vformat()
478 return -1; in umsg_vformat()
488 int32_t *count, in umsg_parse() argument
493 //argument checking defered to last method call umsg_vparse which in umsg_parse()
500 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
510 int32_t *count, in umsg_vparse() argument
519 if(fmt==NULL||source==NULL || sourceLength<-1 || count==NULL){ in umsg_vparse()
523 if(sourceLength==-1){ in umsg_vparse()
528 Formattable *args = ((const MessageFormat*)fmt)->parse(srcString,*count,*status); in umsg_vparse()
537 for(int32_t i = 0; i < *count; i++) { in umsg_vparse()
627 return -1; in umsg_autoQuoteApostrophe()
630 if (pattern == NULL || patternLength < -1 || (dest == NULL && destCapacity > 0)) { in umsg_autoQuoteApostrophe()
632 return -1; in umsg_autoQuoteApostrophe()
636 if (patternLength == -1) { in umsg_autoQuoteApostrophe()
685 if (--braceCount == 0) { in umsg_autoQuoteApostrophe()