Lines Matching refs:targetCapacity
383 …mParameterCallback(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *s…
394 paramEmpty(const USystemParams * /* param */, char *target, int32_t targetCapacity, UErrorCode *sta… in paramEmpty() argument
396 return u_terminateChars(target, targetCapacity, 0, status); in paramEmpty()
400 paramStatic(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) { in paramStatic() argument
401 if(param->paramStr==NULL) return paramEmpty(param,target,targetCapacity,status); in paramStatic()
405 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity)); in paramStatic()
407 return u_terminateChars(target, targetCapacity, len, status); in paramStatic()
412 static int32_t stringToStringBuffer(char *target, int32_t targetCapacity, const char *str, UErrorCo… in stringToStringBuffer() argument
418 uprv_strncpy(target,str,uprv_min(len,targetCapacity)); in stringToStringBuffer()
424 uprv_strncpy(target,s,uprv_min(len,targetCapacity)); in stringToStringBuffer()
427 return u_terminateChars(target, targetCapacity, len, status); in stringToStringBuffer()
430 static int32_t integerToStringBuffer(char *target, int32_t targetCapacity, int32_t n, int32_t radix… in integerToStringBuffer() argument
434 return stringToStringBuffer(target,targetCapacity,str,status); in integerToStringBuffer()
438 paramInteger(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) { in paramInteger() argument
441 return integerToStringBuffer(target,targetCapacity,param->paramInt, 10,status); in paramInteger()
443 return integerToStringBuffer(target,targetCapacity,param->paramInt, 16,status); in paramInteger()
445 return integerToStringBuffer(target,targetCapacity,param->paramInt, 8,status); in paramInteger()
447 return integerToStringBuffer(target,targetCapacity,param->paramInt, 2,status); in paramInteger()
456 paramCldrVersion(const USystemParams * /* param */, char *target, int32_t targetCapacity, UErrorCod… in paramCldrVersion() argument
464 return stringToStringBuffer(target,targetCapacity,str,status); in paramCldrVersion()
473 paramTimezoneDefault(const USystemParams * /* param */, char *target, int32_t targetCapacity, UErro… in paramTimezoneDefault() argument
482 return stringToStringBuffer(target,targetCapacity, buf2,status); in paramTimezoneDefault()
490 paramLocaleDefaultBcp47(const USystemParams * /* param */, char *target, int32_t targetCapacity, UE… in paramLocaleDefaultBcp47() argument
493 return uloc_toLanguageTag(def,target,targetCapacity,FALSE,status); in paramLocaleDefaultBcp47()
499 func(const USystemParams *, char *target, int32_t targetCapacity, UErrorCode *status) \
500 { return stringToStringBuffer(target,targetCapacity,(str),status); }