Home
last modified time | relevance | path

Searched refs:Style (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPath.h28 enum class Style { windows, posix, native }; enum
58 Style S = Style::native; ///< The path style to use.
61 friend const_iterator begin(StringRef path, Style style);
84 Style S = Style::native; ///< The path style to use.
86 friend reverse_iterator rbegin(StringRef path, Style style);
101 const_iterator begin(StringRef path, Style style = Style::native);
111 reverse_iterator rbegin(StringRef path, Style style = Style::native);
134 void remove_filename(SmallVectorImpl<char> &path, Style style = Style::native);
149 Style style = Style::native);
181 Style style = Style::native, bool strict = false);
[all …]
DFormatProviders.h77 static bool consumeHexStyle(StringRef &Str, HexPrintStyle &Style) { in consumeHexStyle() argument
82 Style = HexPrintStyle::Lower; in consumeHexStyle()
84 Style = HexPrintStyle::Upper; in consumeHexStyle()
86 Style = HexPrintStyle::PrefixLower; in consumeHexStyle()
88 Style = HexPrintStyle::PrefixUpper; in consumeHexStyle()
92 static size_t consumeNumHexDigits(StringRef &Str, HexPrintStyle Style, in consumeNumHexDigits() argument
95 if (isPrefixedHexStyle(Style)) in consumeNumHexDigits()
131 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
134 if (consumeHexStyle(Style, HS)) {
135 Digits = consumeNumHexDigits(Style, HS, 0);
[all …]
DChrono.h72 StringRef Style);
124 static std::pair<InternalRep, StringRef> consumeUnit(StringRef &Style,
127 if (Style.consume_front("ns"))
129 if (Style.consume_front("us"))
131 if (Style.consume_front("ms"))
133 if (Style.consume_front("s"))
135 if (Style.consume_front("m"))
137 if (Style.consume_front("h"))
142 static bool consumeShowUnit(StringRef &Style) {
143 if (Style.empty())
[all …]
DNativeFormatting.h25 size_t getDefaultPrecision(FloatStyle Style);
30 IntegerStyle Style);
31 void write_integer(raw_ostream &S, int N, size_t MinDigits, IntegerStyle Style);
33 IntegerStyle Style);
35 IntegerStyle Style);
37 IntegerStyle Style);
39 IntegerStyle Style);
41 void write_hex(raw_ostream &S, uint64_t N, HexPrintStyle Style,
43 void write_double(raw_ostream &S, double D, FloatStyle Style,
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dprinter_test.cc41 printer->write("Default", Style{Color::kDefault, false}); in TEST_F()
42 printer->write("Black", Style{Color::kBlack, false}); in TEST_F()
43 printer->write("Red", Style{Color::kRed, false}); in TEST_F()
44 printer->write("Green", Style{Color::kGreen, false}); in TEST_F()
45 printer->write("Yellow", Style{Color::kYellow, false}); in TEST_F()
46 printer->write("Blue", Style{Color::kBlue, false}); in TEST_F()
47 printer->write("Magenta", Style{Color::kMagenta, false}); in TEST_F()
48 printer->write("Cyan", Style{Color::kCyan, false}); in TEST_F()
49 printer->write("White", Style{Color::kWhite, false}); in TEST_F()
55 printer->write("Default", Style{Color::kDefault, true}); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatProviders.h78 static bool consumeHexStyle(StringRef &Str, HexPrintStyle &Style) { in consumeHexStyle() argument
83 Style = HexPrintStyle::Lower; in consumeHexStyle()
85 Style = HexPrintStyle::Upper; in consumeHexStyle()
87 Style = HexPrintStyle::PrefixLower; in consumeHexStyle()
89 Style = HexPrintStyle::PrefixUpper; in consumeHexStyle()
93 static size_t consumeNumHexDigits(StringRef &Str, HexPrintStyle Style, in consumeNumHexDigits() argument
96 if (isPrefixedHexStyle(Style)) in consumeNumHexDigits()
132 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
135 if (consumeHexStyle(Style, HS)) {
136 Digits = consumeNumHexDigits(Style, HS, 0);
[all …]
DNativeFormatting.h26 size_t getDefaultPrecision(FloatStyle Style);
31 IntegerStyle Style);
32 void write_integer(raw_ostream &S, int N, size_t MinDigits, IntegerStyle Style);
34 IntegerStyle Style);
36 IntegerStyle Style);
38 IntegerStyle Style);
40 IntegerStyle Style);
42 void write_hex(raw_ostream &S, uint64_t N, HexPrintStyle Style,
44 void write_double(raw_ostream &S, double D, FloatStyle Style,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DNativeFormatting.cpp53 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument
65 if (Len < MinDigits && Style != IntegerStyle::Number) { in write_unsigned_impl()
70 if (Style == IntegerStyle::Number) { in write_unsigned_impl()
79 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument
82 write_unsigned_impl(S, static_cast<uint32_t>(N), MinDigits, Style, in write_unsigned()
85 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
90 IntegerStyle Style) { in write_signed() argument
96 write_unsigned(S, static_cast<UnsignedT>(N), MinDigits, Style); in write_signed()
101 write_unsigned(S, UN, MinDigits, Style, true); in write_signed()
105 IntegerStyle Style) { in write_integer() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DNativeFormatting.cpp52 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument
64 if (Len < MinDigits && Style != IntegerStyle::Number) { in write_unsigned_impl()
69 if (Style == IntegerStyle::Number) { in write_unsigned_impl()
78 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument
81 write_unsigned_impl(S, static_cast<uint32_t>(N), MinDigits, Style, in write_unsigned()
84 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
89 IntegerStyle Style) { in write_signed() argument
95 write_unsigned(S, static_cast<UnsignedT>(N), MinDigits, Style); in write_signed()
100 write_unsigned(S, UN, MinDigits, Style, true); in write_signed()
104 IntegerStyle Style) { in write_integer() argument
[all …]
DPath.cpp37 using llvm::sys::path::Style;
39 inline Style real_style(Style style) { in real_style()
41 return (style == Style::posix) ? Style::posix : Style::windows; in real_style()
43 return (style == Style::windows) ? Style::windows : Style::posix; in real_style()
47 inline const char *separators(Style style) { in separators()
48 if (real_style(style) == Style::windows) in separators()
53 inline char preferred_separator(Style style) { in preferred_separator()
54 if (real_style(style) == Style::windows) in preferred_separator()
59 StringRef find_first_component(StringRef path, Style style) { in find_first_component()
69 if (real_style(style) == Style::windows) { in find_first_component()
[all …]
DChrono.cpp54 StringRef Style) { in format() argument
60 if (Style.empty()) Style = "%Y-%m-%d %H:%M:%S.%N"; in format()
63 for (unsigned I = 0; I < Style.size(); ++I) { in format()
64 if (Style[I] == '%' && Style.size() > I + 1) switch (Style[I + 1]) { in format()
85 FStream << Style[I]; in format()
/third_party/typescript/tests/baselines/reference/
DmappedTypeMultiInference.types2 interface Style {
8 >mergeStyleSets : <K extends string>(...cssSets: { [P in K]?: Style; }[]) => { [P in K]: Style; }
10 ...cssSets: { [P in K]?: Style }[]): { [P in K]: Style };
11 >cssSets : { [P in K]?: Style; }[]
15 // a: Style;
16 // b: Style;
19 >x : { a: Style; b: Style; }
20 … a: { flashy: true }, }, { b: { flashy: true }, },) : { a: Style; b: Style; }
21 >mergeStyleSets : <K extends string>(...cssSets: { [P in K]?: Style; }[]) => { [P in K]: Style; }
DmappedTypeMultiInference.symbols2 interface Style {
3 >Style : Symbol(Style, Decl(mappedTypeMultiInference.ts, 0, 0))
6 >flashy : Symbol(Style.flashy, Decl(mappedTypeMultiInference.ts, 0, 17))
13 ...cssSets: { [P in K]?: Style }[]): { [P in K]: Style };
17 >Style : Symbol(Style, Decl(mappedTypeMultiInference.ts, 0, 0))
20 >Style : Symbol(Style, Decl(mappedTypeMultiInference.ts, 0, 0))
24 // a: Style;
25 // b: Style;
DnestedRecursiveArraysOrObjectsError01.symbols2 type Style = StyleBase | StyleArray;
3 >Style : Symbol(Style, Decl(nestedRecursiveArraysOrObjectsError01.ts, 0, 0))
7 interface StyleArray extends Array<Style> {}
10 >Style : Symbol(Style, Decl(nestedRecursiveArraysOrObjectsError01.ts, 0, 0))
19 const blah: Style = [
21 >Style : Symbol(Style, Decl(nestedRecursiveArraysOrObjectsError01.ts, 0, 0))
DnestedRecursiveArraysOrObjectsError01.errors.txt1 …or01.ts(10,9): error TS2322: Type '{ foo: string; jj: number; }' is not assignable to type 'Style'.
2 Object literal may only specify known properties, and 'jj' does not exist in type 'Style'.
6 type Style = StyleBase | StyleArray;
7 interface StyleArray extends Array<Style> {}
12 const blah: Style = [
17 !!! error TS2322: Type '{ foo: string; jj: number; }' is not assignable to type 'Style'.
18 …S2322: Object literal may only specify known properties, and 'jj' does not exist in type 'Style'.
DnestedRecursiveArraysOrObjectsError01.types2 type Style = StyleBase | StyleArray;
3 >Style : Style
5 interface StyleArray extends Array<Style> {}
11 const blah: Style = [
12 >blah : Style
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dscientificnumberformatter.h144 class U_I18N_API Style : public UObject {
146 virtual Style *clone() const = 0;
158 class U_I18N_API SuperscriptStyle : public Style {
160 virtual Style *clone() const;
170 class U_I18N_API MarkupStyle : public Style {
175 : Style(), in MarkupStyle()
178 virtual Style *clone() const;
193 Style *styleToAdopt,
204 Style *styleToAdopt,
209 Style *fStyle;
/third_party/ffmpeg/tests/ref/fate/
Dsub-ssa-to-ass-remux14 Last Style Storage: Default
28 Style: Song (romaji) ED-furigana,Verdana,15,7363111,8454016,0,16777215,-1,-1,1,1,0,6,30,30,16,0,0
29 Style: SongED-furigana,Verdana,15,1393701,8454016,0,16777215,-1,-1,1,1,0,2,30,30,26,0,0
30 Style: Song (romaji) OP-furigana,Verdana,15,7363111,8454016,0,16777215,-1,-1,1,1,0,2,30,30,18,0,0
31 Style: SongOP-furigana,Verdana,15,3305768,8454016,0,16777215,-1,0,1,1,0,2,30,30,30,0,0
32 Style: Signs-furigana,Arial,14,16777215,65535,0,0,-1,0,1,1,0,2,40,40,28,0,0
33 Style: CF2-furigana,Verdana,14,16777215,16777215,0,0,-1,-1,1,1,0,2,30,30,30,0,0
34 Style: Default-furigana,Verdana,14,16777215,65535,0,0,-1,0,1,1,0,2,30,30,28,0,0
35 Style: Default,Verdana,28,16777215,65535,0,0,-1,0,1,2,0,2,30,30,28,0,0
36 Style: CF2,Verdana,28,16777215,16777215,0,0,-1,-1,1,2,0,2,30,30,30,0,0
[all …]
Dsub-ass-to-ass-transcode17 Last Style Storage: Default1
28 Style: Default,Luxi Sub Sans,48,&H00F9FDFB,&H00003FFF,&H0A093346,&HDC0A0E10,-1,0,0,0,99,100,0,0,1,2…
29 Style: Default2,Luxi Sub Sans,48,&H00F9FDFB,&H00003FFF,&H0A093346,&HDC0A0E10,-1,0,0,0,99,100,0,0,1,…
30 Style: Default - Alt,Luxi Sub Sans,48,&H00F9FDFB,&H00003FFF,&H0A673308,&HDC0A0E10,-1,0,0,0,99,100,0…
31 Style: OP2-Romaji-furigana,Chinacat,21,&H003B1A9A,&H00CBCB9F,&H00FFFFFF,&H00000000,0,0,0,0,96,114,0…
32 Style: OP1-Eng-furigana,Chinacat,20,&H003B1A9A,&H000019FF,&H00FFFFFF,&H007857D5,0,0,0,0,96,114,0.5,…
33 Style: OP1-Romaji-furigana,Chinacat,21,&H003B1A9A,&H00CBCB9F,&H00FFFFFF,&H00000000,0,0,0,0,96,114,0…
34 Style: OP1-Romaji,Chinacat,42,&H003B1A9A,&H00CBCB9F,&H00FFFFFF,&H00000000,0,0,0,0,96,114,0,0,1,5,0,…
35 Style: OP1-Eng,Chinacat,39,&H003B1A9A,&H000019FF,&H00FFFFFF,&H007857D5,0,0,0,0,96,114,0.5,0,1,5,0.1…
36 Style: OP2-Romaji,Chinacat,42,&H003B1A9A,&H00CBCB9F,&H00FFFFFF,&H00000000,0,0,0,0,96,114,0,0,1,5,0,…
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRelativeDateTimeFormatter.java86 public static enum Style { enum in RelativeDateTimeFormatter
477 … return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); in getInstance()
487 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); in getInstance()
510 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); in getInstance()
526 Style style, in getInstance()
886 private String getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) { in getAbsoluteUnitString()
947 public Style getFormatStyle() { in getFormatStyle()
972 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatter() argument
973 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, in RelativeDateTimeFormatter()
977 Style style, in RelativeDateTimeFormatter()
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Dscientificnumberformatter.h146 class U_I18N_API Style : public UObject {
148 virtual Style *clone() const = 0;
160 class U_I18N_API SuperscriptStyle : public Style {
172 class U_I18N_API MarkupStyle : public Style {
177 : Style(), in MarkupStyle()
195 Style *styleToAdopt,
206 Style *styleToAdopt,
211 Style *fStyle;
/third_party/icu/icu4c/source/i18n/unicode/
Dscientificnumberformatter.h146 class U_I18N_API Style : public UObject {
148 virtual Style *clone() const = 0;
160 class U_I18N_API SuperscriptStyle : public Style {
172 class U_I18N_API MarkupStyle : public Style {
177 : Style(), in MarkupStyle()
195 Style *styleToAdopt,
206 Style *styleToAdopt,
211 Style *fStyle;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dscientificnumberformatter.h146 class U_I18N_API Style : public UObject {
148 virtual Style *clone() const = 0;
160 class U_I18N_API SuperscriptStyle : public Style {
172 class U_I18N_API MarkupStyle : public Style {
177 : Style(), in MarkupStyle()
195 Style *styleToAdopt,
206 Style *styleToAdopt,
211 Style *fStyle;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTrieMapTest.java29 import ohos.global.icu.dev.test.util.TrieMap.Style;
134 checkGet(unicodeTestMap, TrieMap.Style.BYTES); in TestGet()
135 checkGet(unicodeTestMap, TrieMap.Style.CHARS); in TestGet()
138 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { in checkGet()
162 timeIteration(unicodeTestMap, comparisonTime, Style.BYTES, 5); in TestTimeIteration()
163 timeIteration(unicodeTestMap, comparisonTime, Style.CHARS, 3); in TestTimeIteration()
167 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration()
216 checkContents(unicodeTestMap, Style.BYTES); in TestContents()
217 checkContents(unicodeTestMap, Style.CHARS); in TestContents()
220 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java42 import ohos.global.icu.text.TimeZoneFormat.Style;
566 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL, in TestParse()
569 {"Z", 0, "en_US", Style.SPECIFIC_LONG, in TestParse()
572 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL, in TestParse()
575 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION, in TestParse()
578 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, in TestParse()
581 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL, in TestParse()
584 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL, in TestParse()
587 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, in TestParse()
590 {"-2222", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL, in TestParse()
[all …]

12345678910>>...19