Lines Matching refs:style
2 // Use of this source code is governed by a BSD-style license that can be
36 // or "unit" identifying the style of the number format.
59 // localized long name if formatting with the "unit" style. It is
373 // Return the style as a String.
374 Handle<String> StyleAsString(Isolate* isolate, Style style) {
375 switch (style) {
936 // [[Style]] "style"
968 Style style = StyleFromSkeleton(skeleton);
971 StyleAsString(isolate, style), Just(kDontThrow))
992 if (style == Style::UNIT) {
1219 // 3. Let style be ? GetOption(options, "style", "string", « "decimal",
1223 isolate, options, "style", service,
1228 Style style = maybe_style.FromJust();
1230 // 4. Set intlObj.[[Style]] to style.
1256 // 7. If style is "currency" and currency is undefined, throw a TypeError
1258 if (style == Style::CURRENCY) {
1311 // 12. If style is "unit" and unit is undefined, throw a TypeError
1313 if (style == Style::UNIT) {
1331 // 14. If style is "currency", then
1333 if (style == Style::CURRENCY) {
1364 // 15. If style is "unit", then
1365 if (style == Style::UNIT) {
1366 // Track newer style "unit".
1387 if (style == Style::PERCENT) {
1392 // 16. If style is "currency", then
1394 if (style == Style::CURRENCY) {
1405 // b. If style is "percent", then
1406 if (style == Style::PERCENT) {
1603 // 28. Let stylePatterns be patterns.[[<style>]].
1769 // var nf = new Intl.NumberFormat(['de'], {style:'currency',currency:'EUR'});
1892 // Special case when style is unit.