Lines Matching refs:pErrorCode
30 udatpg_open(const char *locale, UErrorCode *pErrorCode) {
32 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode);
34 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErrorCode);
39 udatpg_openEmpty(UErrorCode *pErrorCode) {
40 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode);
49 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) {
50 if(U_FAILURE(*pErrorCode)) {
60 UErrorCode *pErrorCode) {
63 bestPattern, capacity, pErrorCode);
71 UErrorCode *pErrorCode) {
72 if(U_FAILURE(*pErrorCode)) {
76 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
80 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode);
81 return result.extract(bestPattern, capacity, *pErrorCode);
88 UErrorCode *pErrorCode) {
89 if(U_FAILURE(*pErrorCode)) {
93 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
98 patternString, *pErrorCode);
99 return result.extract(skeleton, capacity, *pErrorCode);
106 UErrorCode *pErrorCode) {
107 if(U_FAILURE(*pErrorCode)) {
111 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
116 patternString, *pErrorCode);
117 return result.extract(skeleton, capacity, *pErrorCode);
125 UErrorCode *pErrorCode) {
126 if(U_FAILURE(*pErrorCode)) {
130 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
136 addPattern(patternString, override, conflictingPatternString, *pErrorCode);
137 int32_t length=conflictingPatternString.extract(conflictingPattern, capacity, *pErrorCode);
221 UErrorCode *pErrorCode) {
224 dest, destCapacity, pErrorCode);
233 UErrorCode *pErrorCode) {
234 if(U_FAILURE(*pErrorCode)) {
238 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
243 UnicodeString result=((DateTimePatternGenerator *)dtpg)->replaceFieldTypes(patternString, skeletonString, options, *pErrorCode);
244 return result.extract(dest, destCapacity, *pErrorCode);
248 udatpg_openSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) {
250 ((DateTimePatternGenerator *)dtpg)->getSkeletons(*pErrorCode),
251 pErrorCode);
255 udatpg_openBaseSkeletons(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) {
257 ((DateTimePatternGenerator *)dtpg)->getBaseSkeletons(*pErrorCode),
258 pErrorCode);