Lines Matching refs:dtpg

74     UDateTimePatternGenerator *dtpg, *dtpg2;  in TestOpenClose()  local
79 dtpg=udatpg_open(NULL, &errorCode); in TestOpenClose()
84 udatpg_close(dtpg); in TestOpenClose()
87 dtpg=udatpg_open("de", &errorCode); in TestOpenClose()
94 udatpg_setDecimal(dtpg, pipeString, 1); in TestOpenClose()
97 dtpg2=udatpg_clone(dtpg, &errorCode); in TestOpenClose()
110 udatpg_close(dtpg); in TestOpenClose()
130 UDateTimePatternGenerator *dtpg; in TestUsage() local
138 dtpg=udatpg_open("fi", &errorCode); in TestUsage()
143 length = udatpg_getBestPattern(dtpg, testSkeleton1, 4, in TestUsage()
157 length = udatpg_getBestPattern(dtpg, s, 0, bestPattern, 20, &errorCode); in TestUsage()
164 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
176 length = udatpg_getSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage()
183 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
195 length = udatpg_getBaseSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage()
202 udatpg_setAppendItemFormat( dtpg, UDATPG_MONTH_FIELD, testFormat, 7 ); in TestUsage()
203 r = udatpg_getAppendItemFormat(dtpg, UDATPG_MONTH_FIELD, &length); in TestUsage()
213 … const UChar * namePtr = udatpg_getAppendItemName(dtpg, appItemNameDataPtr->field, &nameLength); in TestUsage()
220 udatpg_setAppendItemName(dtpg, UDATPG_HOUR_FIELD, appendItemName, 2); in TestUsage()
221 r = udatpg_getAppendItemName(dtpg, UDATPG_HOUR_FIELD, &length); in TestUsage()
229 udatpg_setDateTimeFormat( dtpg, testFormat, 7 ); in TestUsage()
230 r = udatpg_getDateTimeFormat(dtpg, &length); in TestUsage()
236 udatpg_close(dtpg); in TestUsage()
241 UDateTimePatternGenerator *dtpg; in TestBuilder() local
258 dtpg=udatpg_openEmpty(&errorCode); in TestBuilder()
265 conflict = udatpg_addPattern(dtpg, redundantPattern, 5, FALSE, result, 20, in TestBuilder()
272 conflict = udatpg_addPattern(dtpg, redundantPattern, 5, FALSE, result, 20, in TestBuilder()
280 length = udatpg_addPattern(dtpg, s, 0, FALSE, result, 20, in TestBuilder()
289 conflict = udatpg_addPattern(dtpg, testPattern2, 7, FALSE, result, 20, in TestBuilder()
295 length = udatpg_replaceFieldTypes(dtpg, testPattern2, 7, replacedStr, 4, in TestBuilder()
306 en = udatpg_openSkeletons(dtpg, &errorCode); in TestBuilder()
312 p = udatpg_getPatternForSkeleton(dtpg, s, length, &pLength); in TestBuilder()
322 en = udatpg_openBaseSkeletons(dtpg, &errorCode); in TestBuilder()
325 p = udatpg_getPatternForSkeleton(dtpg, s, length, &pLength); in TestBuilder()
338 udatpg_close(dtpg); in TestBuilder()