Home
last modified time | relevance | path

Searched refs:nsb (Results 1 – 17 of 17) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DFormattedNumber.java26 final NumberStringBuilder nsb; field in FormattedNumber
29 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber() argument
30 this.nsb = nsb; in FormattedNumber()
43 return nsb.toString(); in toString()
63 appendable.append(nsb); in appendTo()
132 return nsb.nextFieldPosition(fieldPosition); in nextFieldPosition()
152 return nsb.toCharacterIterator(); in getFieldIterator()
170 return nsb.toCharacterIterator(); in toCharacterIterator()
204 return Arrays.hashCode(nsb.toCharArray()) in hashCode()
205 ^ Arrays.hashCode(nsb.toFieldArray()) in hashCode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumber.java25 final NumberStringBuilder nsb; field in FormattedNumber
28 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber() argument
29 this.nsb = nsb; in FormattedNumber()
43 return nsb.toString(); in toString()
64 appendable.append(nsb); in appendTo()
134 return nsb.nextFieldPosition(fieldPosition); in nextFieldPosition()
154 return nsb.toCharacterIterator(); in getFieldIterator()
173 return nsb.toCharacterIterator(); in toCharacterIterator()
209 return Arrays.hashCode(nsb.toCharArray()) in hashCode()
210 ^ Arrays.hashCode(nsb.toFieldArray()) in hashCode()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java121 NumberStringBuilder nsb = new NumberStringBuilder(); in patternWithNoPlaceholder() local
122 nsb.append("x123y", null); in patternWithNoPlaceholder()
123 mod.apply(nsb, 1, 4); in patternWithNoPlaceholder()
124 assertEquals("Unsafe Path", "xabcy", nsb.toString()); in patternWithNoPlaceholder()
127 nsb.clear(); in patternWithNoPlaceholder()
128 nsb.append("x123y", null); in patternWithNoPlaceholder()
131 micros.modMiddle.apply(nsb, 1, 4); in patternWithNoPlaceholder()
132 assertEquals("Safe Path", "xabcy", nsb.toString()); in patternWithNoPlaceholder()
136 NumberStringBuilder nsb = new NumberStringBuilder(); in getPrefix() local
137 mod.apply(nsb, 0, 0); in getPrefix()
[all …]
DNumberStringBuilderTest.java234 NumberStringBuilder nsb = new NumberStringBuilder(); in testCodePoints() local
235 assertEquals("First is -1 on empty string", -1, nsb.getFirstCodePoint()); in testCodePoints()
236 assertEquals("Last is -1 on empty string", -1, nsb.getLastCodePoint()); in testCodePoints()
237 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints()
239 nsb.append("q", null); in testCodePoints()
240 assertEquals("First is q", 'q', nsb.getFirstCodePoint()); in testCodePoints()
241 assertEquals("Last is q", 'q', nsb.getLastCodePoint()); in testCodePoints()
242 assertEquals("0th is q", 'q', nsb.codePointAt(0)); in testCodePoints()
243 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
244 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints()
[all …]
DAffixUtilsTest.java242 NumberStringBuilder nsb = new NumberStringBuilder(); in unescapeWithDefaults() local
243 int length = AffixUtils.unescape(input, nsb, 0, DEFAULT_SYMBOL_PROVIDER); in unescapeWithDefaults()
244 assertEquals("Return value of unescape", nsb.length(), length); in unescapeWithDefaults()
245 return nsb.toString(); in unescapeWithDefaults()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java118 NumberStringBuilder nsb = new NumberStringBuilder(); in patternWithNoPlaceholder() local
119 nsb.append("x123y", null); in patternWithNoPlaceholder()
120 mod.apply(nsb, 1, 4); in patternWithNoPlaceholder()
121 assertEquals("Unsafe Path", "xabcy", nsb.toString()); in patternWithNoPlaceholder()
124 nsb.clear(); in patternWithNoPlaceholder()
125 nsb.append("x123y", null); in patternWithNoPlaceholder()
128 micros.modMiddle.apply(nsb, 1, 4); in patternWithNoPlaceholder()
129 assertEquals("Safe Path", "xabcy", nsb.toString()); in patternWithNoPlaceholder()
133 NumberStringBuilder nsb = new NumberStringBuilder(); in getPrefix() local
134 mod.apply(nsb, 0, 0); in getPrefix()
[all …]
DNumberStringBuilderTest.java231 NumberStringBuilder nsb = new NumberStringBuilder(); in testCodePoints() local
232 assertEquals("First is -1 on empty string", -1, nsb.getFirstCodePoint()); in testCodePoints()
233 assertEquals("Last is -1 on empty string", -1, nsb.getLastCodePoint()); in testCodePoints()
234 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints()
236 nsb.append("q", null); in testCodePoints()
237 assertEquals("First is q", 'q', nsb.getFirstCodePoint()); in testCodePoints()
238 assertEquals("Last is q", 'q', nsb.getLastCodePoint()); in testCodePoints()
239 assertEquals("0th is q", 'q', nsb.codePointAt(0)); in testCodePoints()
240 assertEquals("Before 1st is q", 'q', nsb.codePointBefore(1)); in testCodePoints()
241 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints()
[all …]
DAffixUtilsTest.java239 NumberStringBuilder nsb = new NumberStringBuilder(); in unescapeWithDefaults() local
240 int length = AffixUtils.unescape(input, nsb, 0, DEFAULT_SYMBOL_PROVIDER); in unescapeWithDefaults()
241 assertEquals("Return value of unescape", nsb.length(), length); in unescapeWithDefaults()
242 return nsb.toString(); in unescapeWithDefaults()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_stringbuilder.cpp247 NumberStringBuilder nsb; in testCodePoints() local
248 assertEquals("First is -1 on empty string", -1, nsb.getFirstCodePoint()); in testCodePoints()
249 assertEquals("Last is -1 on empty string", -1, nsb.getLastCodePoint()); in testCodePoints()
250 assertEquals("Length is 0 on empty string", 0, nsb.codePointCount()); in testCodePoints()
252 nsb.append(u"q", UNUM_FIELD_COUNT, status); in testCodePoints()
254 assertEquals("First is q", u'q', nsb.getFirstCodePoint()); in testCodePoints()
255 assertEquals("Last is q", u'q', nsb.getLastCodePoint()); in testCodePoints()
256 assertEquals("0th is q", u'q', nsb.codePointAt(0)); in testCodePoints()
257 assertEquals("Before 1st is q", u'q', nsb.codePointBefore(1)); in testCodePoints()
258 assertEquals("Code point count is 1", 1, nsb.codePointCount()); in testCodePoints()
[all …]
Dnumbertest_patternmodifier.cpp102 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()
[all …]
Dnumbertest_affixutils.cpp243 NumberStringBuilder nsb; in unescapeWithDefaults() local
244 int32_t length = AffixUtils::unescape(input, nsb, 0, defaultProvider, status); in unescapeWithDefaults()
245 assertEquals("Return value of unescape", nsb.length(), length); in unescapeWithDefaults()
246 return nsb.toUnicodeString(); in unescapeWithDefaults()
/external/clang/test/Rewriter/
Dobjc-modern-boxing.mm58 NSNumber *nsb = @(b); function
71 // CHECK: NSNumber *nsb = ((NSNumber *(*)(Class, SEL, BOOL))(void *)objc_msgSend)(objc_getClass("N…
/external/u-boot/drivers/video/
Dmx3fb.c250 u32 nsb:1; member
291 u32 nsb:1; member
502 params->pp.nsb = 1; in ipu_ch_param_set_size()
/external/mesa3d/src/gallium/state_trackers/nine/
Ddevice9.c2257 struct NineStateBlock9 *nsb; in NineDevice9_CreateStateBlock() local
2277 hr = NineStateBlock9_new(This, &nsb, type); in NineDevice9_CreateStateBlock()
2280 *ppSB = (IDirect3DStateBlock9 *)nsb; in NineDevice9_CreateStateBlock()
2281 dst = &nsb->state; in NineDevice9_CreateStateBlock()
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt4789 $x{regensburg → regənsbʊrk ; # rɛdʒɛnsbərg
9223 $x{flensburg → flɛnsbʊrk ; # flɛnsbərg
10322 $x{ansbacher → ænzbɑkər ; # ænsbætʃər
12550 $x{lansbury → lænzbəri ; # lænsbəri
13040 $x{ginsburg → gɪnzbərg ; # dʒɪnsbərg
13041 $x{ginsberg → gɪnsbərg ; # dʒɪnsbərg
Dinternal_raw_IPA-old.txt48544 darensbourg dˈærənsbərg, dˈærənzbərg
71693 flansburg flˈænsbərg
71971 flensburg %15933 flˈɛnsbʊrk, flˈɛnzbərg
79641 ginsberg %21338 gˈɪnsbərg, gˈɪnzbərg
86586 hansberger hˈænsbərgər
86587 hansberry hˈænsbˌɛri
86589 hansbury hˈænsbɛri
92649 honsberger hˈɑnsbərgər
94270 hunsberger hˈənsbərgər
112991 lawrenceburg %2769 lˈɔrənsbərg, lˈɔrənsbˌərg
[all …]
Dinternal_raw_IPA.txt40887 darensbourg %29431 dˈærənsbərg, dˈærənzbərg
60515 flansburg flˈænsbərg
60751 flensburg %25038 flˈɛnsbʊrk, flˈɛnzbərg
67178 ginsberg %31752 gˈɪnsbərg, gˈɪnzbərg
72995 hansberger %29816 hˈænsbərgər
72996 hansberry %33246 hˈænsbˌɛri
72998 hansbury hˈænsbɛri
78195 honsberger hˈɑnsbərgər
79562 hunsberger %33252 hˈənsbərgər
95379 lawrenceburg %20740 lˈɔrənsbərg, lˈɔrənsbˌərg
[all …]