Home
last modified time | relevance | path

Searched refs:notation (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DScientificNotation.java129 final ScientificNotation notation; field in ScientificNotation.ScientificHandler
136 ScientificNotation notation, in ScientificHandler() argument
140 this.notation = notation; in ScientificHandler()
169 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity()
172 notation.engineeringInterval); in processQuantity()
203 int interval = notation.engineeringInterval; in getMultiplier()
205 if (notation.requireMinInt) { in getMultiplier()
269 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply()
271 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply()
276 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
DNumberFormatterSettings.java88 public T notation(Notation notation) { in notation() argument
89 return create(KEY_NOTATION, notation); in notation()
566 if (macros.notation == null) { in resolve()
567 macros.notation = (Notation) current.value; in resolve()
DCompactNotation.java82 CompactNotation notation, in CompactHandler() argument
92 if (notation.compactStyle != null) { in CompactHandler()
93 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
95 data.populate(notation.compactCustomData); in CompactHandler()
DNumberSkeletonImpl.java193 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject
627 checkNull(macros.notation, segment); in parseStem()
628 macros.notation = StemToObject.notation(stem); in parseStem()
819 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton()
901 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption()
924 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption()
1248 private static boolean notation(MacroProps macros, StringBuilder sb) { in notation() method in NumberSkeletonImpl.GeneratorHelpers
1249 if (macros.notation instanceof CompactNotation) { in notation()
1250 if (macros.notation == Notation.compactLong()) { in notation()
1253 } else if (macros.notation == Notation.compactShort()) { in notation()
[all …]
DNumberFormatterImpl.java258 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
276 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
316 if (macros.notation instanceof ScientificNotation) { in macrosToMicroGenerator()
317 … chain = ((ScientificNotation) macros.notation).withLocaleData(micros.symbols, safe, chain); in macrosToMicroGenerator()
365 if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
373 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, in macrosToMicroGenerator()
DNumberPropertyMapper.java258 macros.notation = new ScientificNotation( in oldToNew()
303 macros.notation = new CompactNotation(properties.getCompactCustomData()); in oldToNew()
305 macros.notation = Notation.compactLong(); in oldToNew()
307 macros.notation = Notation.compactShort(); in oldToNew()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DScientificNotation.java127 final ScientificNotation notation; field in ScientificNotation.ScientificHandler
134 ScientificNotation notation, in ScientificHandler() argument
138 this.notation = notation; in ScientificHandler()
167 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity()
170 notation.engineeringInterval); in processQuantity()
201 int interval = notation.engineeringInterval; in getMultiplier()
203 if (notation.requireMinInt) { in getMultiplier()
267 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply()
269 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply()
274 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
DNumberFormatterSettings.java87 public T notation(Notation notation) { in notation() argument
88 return create(KEY_NOTATION, notation); in notation()
549 if (macros.notation == null) { in resolve()
550 macros.notation = (Notation) current.value; in resolve()
DNumberSkeletonImpl.java194 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject
628 checkNull(macros.notation, segment); in parseStem()
629 macros.notation = StemToObject.notation(stem); in parseStem()
820 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton()
902 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption()
925 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption()
1249 private static boolean notation(MacroProps macros, StringBuilder sb) { in notation() method in NumberSkeletonImpl.GeneratorHelpers
1250 if (macros.notation instanceof CompactNotation) { in notation()
1251 if (macros.notation == Notation.compactLong()) { in notation()
1254 } else if (macros.notation == Notation.compactShort()) { in notation()
[all …]
DCompactNotation.java82 CompactNotation notation, in CompactHandler() argument
92 if (notation.compactStyle != null) { in CompactHandler()
93 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
95 data.populate(notation.compactCustomData); in CompactHandler()
DNumberFormatterImpl.java259 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
277 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
317 if (macros.notation instanceof ScientificNotation) { in macrosToMicroGenerator()
318 … chain = ((ScientificNotation) macros.notation).withLocaleData(micros.symbols, safe, chain); in macrosToMicroGenerator()
366 if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator()
374 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, in macrosToMicroGenerator()
DNumberPropertyMapper.java259 macros.notation = new ScientificNotation( in oldToNew()
304 macros.notation = new CompactNotation(properties.getCompactCustomData()); in oldToNew()
306 macros.notation = Notation.compactLong(); in oldToNew()
308 macros.notation = Notation.compactShort(); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java20 public Notation notation; field in MacroProps
45 if (notation == null) in fallback()
46 notation = fallback.notation; in fallback()
81 return Objects.hash(notation, in hashCode()
108 return Objects.equals(notation, other.notation) in equals()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMacroProps.java24 public Notation notation; field in MacroProps
49 if (notation == null) in fallback()
50 notation = fallback.notation; in fallback()
85 return Objects.hash(notation, in hashCode()
112 return Objects.equals(notation, other.notation) in equals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java90 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
116 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
131 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
146 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
161 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
176 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
184 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
192 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
203 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact()
218 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact()
[all …]
DNumberRangeFormatterTest.java430 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
447 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
463 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
480 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
497 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
514 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
531 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
548 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
616 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
732 .notation(Notation.compactShort())) in testFieldPositions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java93 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
119 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
134 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
149 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
164 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
179 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
187 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
195 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
206 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact()
221 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact()
[all …]
DNumberRangeFormatterTest.java433 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
450 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
466 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
483 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
500 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
517 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
534 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
551 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
619 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
735 .notation(Notation.compactShort())) in testFieldPositions()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp130 NumberFormatter::with().notation(Notation::simple()), in notationSimple()
156 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
171 NumberFormatter::with().notation(Notation::engineering()), in notationScientific()
186 NumberFormatter::with().notation( in notationScientific()
202 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific()
217 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
225 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
233 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
243 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact()
258 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact()
[all …]
Dnumbertest_range.cpp431 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
448 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
464 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
481 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
498 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
515 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
532 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse()
549 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse()
616 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort())), in testIdentity()
737 .notation(Notation::compactShort())) in testFieldPositions()
/external/u-boot/doc/
DREADME.fsl-dpaa5 on SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and MAC as below:
7 on SoCs T1024, etc, the notation between 10GEC and MAC as below:
/external/icu/icu4c/source/i18n/
Dnumber_fluent.cpp25 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() function in NumberFormatterSettings
28 copy.fMacros.notation = notation; in notation()
33 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() argument
36 move.fMacros.notation = notation; in notation()
Dnumber_skeletons.cpp150 Notation stem_to_object::notation(skeleton::StemEnum stem) { in notation() function in stem_to_object
590 CHECK_NULL(seen, notation, status); in parseStem()
591 macros.notation = stem_to_object::notation(stem); in parseStem()
784 if (GeneratorHelpers::notation(macros, sb, status)) { in generateSkeleton()
876 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption()
900 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption()
1321 bool GeneratorHelpers::notation(const MacroProps& macros, UnicodeString& sb, UErrorCode& status) { in notation() function in GeneratorHelpers
1322 if (macros.notation.fType == Notation::NTN_COMPACT) { in notation()
1323 UNumberCompactStyle style = macros.notation.fUnion.compactStyle; in notation()
1336 } else if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in notation()
[all …]
Dnumber_formatimpl.cpp293 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
312 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
352 if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in macrosToMicroGenerator()
353 auto newScientificHandler = new ScientificHandler(&macros.notation, fMicros.symbols, chain); in macrosToMicroGenerator()
423 if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
427 macros.notation.fUnion.compactStyle, in macrosToMicroGenerator()
/external/v8/src/objects/
Djs-number-format.cc151 icu::number::Notation ToICUNotation(Notation notation, in ToICUNotation() argument
153 switch (notation) { in ToICUNotation()
429 Handle<String> NotationAsString(Isolate* isolate, Notation notation) { in NotationAsString() argument
430 switch (notation) { in NotationAsString()
769 Notation notation = NotationFromSkeleton(skeleton); in ResolvedOptions() local
772 NotationAsString(isolate, notation), Just(kDontThrow)) in ResolvedOptions()
775 if (notation == Notation::COMPACT) { in ResolvedOptions()
1121 Notation notation = Notation::STANDARD; in New() local
1131 notation = maybe_notation.FromJust(); in New()
1138 notation == Notation::COMPACT); in New()
[all …]

12345678910>>...15