• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

32 udatpg_open(const char *locale, UErrorCode *pErrorCode) {  in udatpg_open()  argument
34 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode); in udatpg_open()
36 …(UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErrorCode); in udatpg_open()
41 udatpg_openEmpty(UErrorCode *pErrorCode) { in udatpg_openEmpty() argument
42 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode); in udatpg_openEmpty()
51 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
52 if(U_FAILURE(*pErrorCode)) { in udatpg_clone()
62 UErrorCode *pErrorCode) { in udatpg_getBestPattern() argument
65 bestPattern, capacity, pErrorCode); in udatpg_getBestPattern()
73 UErrorCode *pErrorCode) { in udatpg_getBestPatternWithOptions() argument
74 if(U_FAILURE(*pErrorCode)) { in udatpg_getBestPatternWithOptions()
78 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udatpg_getBestPatternWithOptions()
82 …ng result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode); in udatpg_getBestPatternWithOptions()
83 return result.extract(bestPattern, capacity, *pErrorCode); in udatpg_getBestPatternWithOptions()
90 UErrorCode *pErrorCode) { in udatpg_getSkeleton() argument
91 if(U_FAILURE(*pErrorCode)) { in udatpg_getSkeleton()
95 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udatpg_getSkeleton()
100 patternString, *pErrorCode); in udatpg_getSkeleton()
101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton()
108 UErrorCode *pErrorCode) { in udatpg_getBaseSkeleton() argument
109 if(U_FAILURE(*pErrorCode)) { in udatpg_getBaseSkeleton()
113 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udatpg_getBaseSkeleton()
118 patternString, *pErrorCode); in udatpg_getBaseSkeleton()
119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton()
127 UErrorCode *pErrorCode) { in udatpg_addPattern() argument
128 if(U_FAILURE(*pErrorCode)) { in udatpg_addPattern()
132 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udatpg_addPattern()
138 addPattern(patternString, override, conflictingPatternString, *pErrorCode); in udatpg_addPattern()
139 int32_t length=conflictingPatternString.extract(conflictingPattern, capacity, *pErrorCode); in udatpg_addPattern()
189 UErrorCode *pErrorCode) { in udatpg_getFieldDisplayName() argument
190 if (U_FAILURE(*pErrorCode)) in udatpg_getFieldDisplayName()
193 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; in udatpg_getFieldDisplayName()
200 return result.extract(fieldName, capacity, *pErrorCode); in udatpg_getFieldDisplayName()
242 UErrorCode *pErrorCode) { in udatpg_replaceFieldTypes() argument
245 dest, destCapacity, pErrorCode); in udatpg_replaceFieldTypes()
254 UErrorCode *pErrorCode) { in udatpg_replaceFieldTypesWithOptions() argument
255 if(U_FAILURE(*pErrorCode)) { in udatpg_replaceFieldTypesWithOptions()
259 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udatpg_replaceFieldTypesWithOptions()
264 …mePatternGenerator *)dtpg)->replaceFieldTypes(patternString, skeletonString, options, *pErrorCode); in udatpg_replaceFieldTypesWithOptions()
265 return result.extract(dest, destCapacity, *pErrorCode); in udatpg_replaceFieldTypesWithOptions()
269 udatpg_openSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_openSkeletons() argument
271 ((DateTimePatternGenerator *)dtpg)->getSkeletons(*pErrorCode), in udatpg_openSkeletons()
272 pErrorCode); in udatpg_openSkeletons()
276 udatpg_openBaseSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_openBaseSkeletons() argument
278 ((DateTimePatternGenerator *)dtpg)->getBaseSkeletons(*pErrorCode), in udatpg_openBaseSkeletons()
279 pErrorCode); in udatpg_openBaseSkeletons()
295 udatpg_getDefaultHourCycle(const UDateTimePatternGenerator *dtpg, UErrorCode* pErrorCode) { in udatpg_getDefaultHourCycle() argument
296 return ((const DateTimePatternGenerator *)dtpg)->getDefaultHourCycle(*pErrorCode); in udatpg_getDefaultHourCycle()