Lines Matching refs:dtpg
83 UDateTimePatternGenerator *dtpg, *dtpg2; in TestOpenClose() local
88 dtpg=udatpg_open(NULL, &errorCode); in TestOpenClose()
93 udatpg_close(dtpg); in TestOpenClose()
96 dtpg=udatpg_open("de", &errorCode); in TestOpenClose()
103 udatpg_setDecimal(dtpg, pipeString, 1); in TestOpenClose()
106 dtpg2=udatpg_clone(dtpg, &errorCode); in TestOpenClose()
119 udatpg_close(dtpg); in TestOpenClose()
139 UDateTimePatternGenerator *dtpg; in TestUsage() local
147 dtpg=udatpg_open("fi", &errorCode); in TestUsage()
152 length = udatpg_getBestPattern(dtpg, testSkeleton1, 4, in TestUsage()
166 length = udatpg_getBestPattern(dtpg, s, 0, bestPattern, 20, &errorCode); in TestUsage()
173 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
185 length = udatpg_getSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage()
192 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
204 length = udatpg_getBaseSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage()
211 udatpg_setAppendItemFormat( dtpg, UDATPG_MONTH_FIELD, testFormat, 7 ); in TestUsage()
212 r = udatpg_getAppendItemFormat(dtpg, UDATPG_MONTH_FIELD, &length); in TestUsage()
222 … const UChar * namePtr = udatpg_getAppendItemName(dtpg, appItemNameDataPtr->field, &nameLength); in TestUsage()
229 udatpg_setAppendItemName(dtpg, UDATPG_HOUR_FIELD, appendItemName, 2); in TestUsage()
230 r = udatpg_getAppendItemName(dtpg, UDATPG_HOUR_FIELD, &length); in TestUsage()
238 udatpg_setDateTimeFormat( dtpg, testFormat, 7 ); in TestUsage()
239 r = udatpg_getDateTimeFormat(dtpg, &length); in TestUsage()
245 udatpg_close(dtpg); in TestUsage()
250 UDateTimePatternGenerator *dtpg; in TestBuilder() local
267 dtpg=udatpg_openEmpty(&errorCode); in TestBuilder()
274 conflict = udatpg_addPattern(dtpg, redundantPattern, 5, FALSE, result, 20, in TestBuilder()
281 conflict = udatpg_addPattern(dtpg, redundantPattern, 5, FALSE, result, 20, in TestBuilder()
289 length = udatpg_addPattern(dtpg, s, 0, FALSE, result, 20, in TestBuilder()
298 conflict = udatpg_addPattern(dtpg, testPattern2, 7, FALSE, result, 20, in TestBuilder()
304 length = udatpg_replaceFieldTypes(dtpg, testPattern2, 7, replacedStr, 4, in TestBuilder()
315 en = udatpg_openSkeletons(dtpg, &errorCode); in TestBuilder()
321 p = udatpg_getPatternForSkeleton(dtpg, s, length, &pLength); in TestBuilder()
331 en = udatpg_openBaseSkeletons(dtpg, &errorCode); in TestBuilder()
334 p = udatpg_getPatternForSkeleton(dtpg, s, length, &pLength); in TestBuilder()
347 udatpg_close(dtpg); in TestBuilder()