Lines Matching refs:nsb
102 NumberStringBuilder nsb; in testPatternWithNoPlaceholder() local
103 nsb.append(u"x123y", UNUM_FIELD_COUNT, status); in testPatternWithNoPlaceholder()
105 mod.apply(nsb, 1, 4, status); in testPatternWithNoPlaceholder()
107 assertEquals("Unsafe Path", u"xabcy", nsb.toUnicodeString()); in testPatternWithNoPlaceholder()
110 nsb.clear(); in testPatternWithNoPlaceholder()
111 nsb.append(u"x123y", UNUM_FIELD_COUNT, status); in testPatternWithNoPlaceholder()
123 micros.modMiddle->apply(nsb, 1, 4, status); in testPatternWithNoPlaceholder()
125 assertEquals("Safe Path", u"xabcy", nsb.toUnicodeString()); in testPatternWithNoPlaceholder()
171 NumberStringBuilder nsb; in getPrefix() local
172 mod.apply(nsb, 0, 0, status); in getPrefix()
174 return UnicodeString(nsb.toUnicodeString(), 0, prefixLength); in getPrefix()
178 NumberStringBuilder nsb; in getSuffix() local
179 mod.apply(nsb, 0, 0, status); in getSuffix()
181 return UnicodeString(nsb.toUnicodeString(), prefixLength, nsb.length() - prefixLength); in getSuffix()