• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:ucfpos

22     const UConstrainedFieldPosition* ucfpos,
42 UConstrainedFieldPosition* ucfpos = ucfpos_open(&status); in TestBasic() local
44 assertTrue("ucfpos should not be null", ucfpos != NULL); in TestBasic()
48 ucfpos, in TestBasic()
56 ucfpos_close(ucfpos); in TestBasic()
61 UConstrainedFieldPosition* ucfpos = ucfpos_open(&status); in TestSetters() local
63 assertTrue("ucfpos should not be null", ucfpos != NULL); in TestSetters()
65 ucfpos_constrainCategory(ucfpos, UFIELD_CATEGORY_DATE, &status); in TestSetters()
69 ucfpos, in TestSetters()
77 ucfpos_constrainField(ucfpos, UFIELD_CATEGORY_NUMBER, UNUM_COMPACT_FIELD, &status); in TestSetters()
81 ucfpos, in TestSetters()
89 ucfpos_setInt64IterationContext(ucfpos, 42424242424242LL, &status); in TestSetters()
93 ucfpos, in TestSetters()
101 ucfpos_setState(ucfpos, UFIELD_CATEGORY_NUMBER, UNUM_COMPACT_FIELD, 5, 10, &status); in TestSetters()
105 ucfpos, in TestSetters()
113 ucfpos_reset(ucfpos, &status); in TestSetters()
117 ucfpos, in TestSetters()
125 ucfpos_close(ucfpos); in TestSetters()
136 const UConstrainedFieldPosition* ucfpos, in AssertAllPartsEqual() argument
155 UFieldCategory _category = ucfpos_getCategory(ucfpos, &status); in AssertAllPartsEqual()
159 int32_t _field = ucfpos_getField(ucfpos, &status); in AssertAllPartsEqual()
164 ucfpos_getIndexes(ucfpos, &_start, &_limit, &status); in AssertAllPartsEqual()
169 int64_t _context = ucfpos_getInt64IterationContext(ucfpos, &status); in AssertAllPartsEqual()
173 …UBool _matchesInteger = ucfpos_matchesField(ucfpos, UFIELD_CATEGORY_NUMBER, UNUM_INTEGER_FIELD, &s… in AssertAllPartsEqual()
178 …UBool _matchesCompact = ucfpos_matchesField(ucfpos, UFIELD_CATEGORY_NUMBER, UNUM_COMPACT_FIELD, &s… in AssertAllPartsEqual()
183 … UBool _matchesDate = ucfpos_matchesField(ucfpos, UFIELD_CATEGORY_DATE, UDAT_AM_PM_FIELD, &status); in AssertAllPartsEqual()
222 UConstrainedFieldPosition* ucfpos = ucfpos_open(&ec); in checkFormattedValue() local
224 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkFormattedValue()
226 expectedCategory, ucfpos_getCategory(ucfpos, &ec)); in checkFormattedValue()
228 expectedFieldPositions[i].field, ucfpos_getField(ucfpos, &ec)); in checkFormattedValue()
230 ucfpos_getIndexes(ucfpos, &start, &limit, &ec); in checkFormattedValue()
237 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkFormattedValue()
239 ucfpos_close(ucfpos); in checkFormattedValue()
254 UConstrainedFieldPosition* ucfpos = ucfpos_open(&ec); in checkMixedFormattedValue() local
256 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkMixedFormattedValue()
258 expectedFieldPositions[i].category, ucfpos_getCategory(ucfpos, &ec)); in checkMixedFormattedValue()
260 expectedFieldPositions[i].field, ucfpos_getField(ucfpos, &ec)); in checkMixedFormattedValue()
262 ucfpos_getIndexes(ucfpos, &start, &limit, &ec); in checkMixedFormattedValue()
269 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkMixedFormattedValue()
271 ucfpos_close(ucfpos); in checkMixedFormattedValue()