Home
last modified time | relevance | path

Searched refs:Colors (Results 1 – 25 of 135) sorted by relevance

123456

/external/llvm-project/llvm/unittests/ADT/
DEnumeratedArrayTest.cpp24 enum class Colors { Red, Blue, Green, Last = Green }; in TEST() enum
26 EnumeratedArray<float, Colors, Colors::Last, size_t> Array1; in TEST()
28 Array1[Colors::Red] = 1.0; in TEST()
29 Array1[Colors::Blue] = 2.0; in TEST()
30 Array1[Colors::Green] = 3.0; in TEST()
32 EXPECT_EQ(Array1[Colors::Red], 1.0); in TEST()
33 EXPECT_EQ(Array1[Colors::Blue], 2.0); in TEST()
34 EXPECT_EQ(Array1[Colors::Green], 3.0); in TEST()
36 EnumeratedArray<bool, Colors> Array2(true); in TEST()
38 EXPECT_TRUE(Array2[Colors::Red]); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Draw_ostream.h76 enum class Colors { enum
89 static const Colors BLACK = Colors::BLACK;
90 static const Colors RED = Colors::RED;
91 static const Colors GREEN = Colors::GREEN;
92 static const Colors YELLOW = Colors::YELLOW;
93 static const Colors BLUE = Colors::BLUE;
94 static const Colors MAGENTA = Colors::MAGENTA;
95 static const Colors CYAN = Colors::CYAN;
96 static const Colors WHITE = Colors::WHITE;
97 static const Colors SAVEDCOLOR = Colors::SAVEDCOLOR;
[all …]
/external/llvm-project/clang/tools/diagtool/
DTreeView.cpp24 using Colors = llvm::raw_ostream::Colors; typedef in TreePrinter
68 out << Colors::RED; in printGroup()
70 out << Colors::GREEN; in printGroup()
72 out << Colors::YELLOW; in printGroup()
74 out << "-W" << Group.getName() << "\n" << Colors::RESET; in printGroup()
84 out << Colors::GREEN; in printGroup()
86 out << DR.getName() << Colors::RESET << "\n"; in printGroup()
132 out << '\n' << Colors::GREEN << "GREEN" << Colors::RESET in showKey()
134 out << '\n' << Colors::RED << "RED" << Colors::RESET in showKey()
/external/giflib/
Dgifalloc.c55 Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType)); in GifMakeMapObject()
56 if (Object->Colors == (GifColorType *) NULL) { in GifMakeMapObject()
66 memcpy((char *)Object->Colors, in GifMakeMapObject()
80 (void)free(Object->Colors); in GifFreeMapObject()
96 Object->Colors[i + j].Red, in DumpColorMap()
97 Object->Colors[i + j].Green, in DumpColorMap()
98 Object->Colors[i + j].Blue); in DumpColorMap()
138 ColorUnion->Colors[i] = ColorIn1->Colors[i]; in GifUnionColorMap()
148 while (ColorIn1->Colors[CrntSlot - 1].Red == 0 in GifUnionColorMap()
149 && ColorIn1->Colors[CrntSlot - 1].Green == 0 in GifUnionColorMap()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
Draw_ostream.h94 enum class Colors { enum
107 static constexpr Colors BLACK = Colors::BLACK;
108 static constexpr Colors RED = Colors::RED;
109 static constexpr Colors GREEN = Colors::GREEN;
110 static constexpr Colors YELLOW = Colors::YELLOW;
111 static constexpr Colors BLUE = Colors::BLUE;
112 static constexpr Colors MAGENTA = Colors::MAGENTA;
113 static constexpr Colors CYAN = Colors::CYAN;
114 static constexpr Colors WHITE = Colors::WHITE;
115 static constexpr Colors SAVEDCOLOR = Colors::SAVEDCOLOR;
[all …]
/external/llvm-project/flang/lib/Frontend/
DTextDiagnostic.cpp17 static const enum llvm::raw_ostream::Colors noteColor =
19 static const enum llvm::raw_ostream::Colors remarkColor =
21 static const enum llvm::raw_ostream::Colors warningColor =
23 static const enum llvm::raw_ostream::Colors errorColor = llvm::raw_ostream::RED;
24 static const enum llvm::raw_ostream::Colors fatalColor = llvm::raw_ostream::RED;
26 static const enum llvm::raw_ostream::Colors savedColor =
/external/ImageMagick/Magick++/demo/
Dsmile_anim.miff2 Class=PseudoClass Colors=2 Matte=False
11 Class=PseudoClass Colors=2 Matte=False
19 Class=PseudoClass Colors=2 Matte=False
27 Class=PseudoClass Colors=2 Matte=False
35 Class=PseudoClass Colors=2 Matte=False
43 Class=PseudoClass Colors=4 Matte=False
/external/llvm/lib/Analysis/
DEHPersonalities.cpp84 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() local
85 if (std::find(Colors.begin(), Colors.end(), Color) == Colors.end()) in colorEHFunclets()
86 Colors.push_back(Color); in colorEHFunclets()
/external/parameter-framework/upstream/test/xml-generator/testVector/
Dcomplex.pfw4 Colors Includes Red
19 Colors Includes Green
30 Colors Includes Green
33 Colors Includes Blue
Dsecond.pfw2 Colors Includes Red
10 Colors Includes Blue
23 Colors Includes Green
Dfirst.pfw2 Colors Includes Red
6 Colors Includes Blue
9 Colors Includes Green
/external/llvm/tools/llvm-cov/
DCoverageViewOptions.h25 bool Colors; member
38 raw_ostream::Colors Color) const { in colored_ostream()
39 return llvm::colored_ostream(OS, Color, Colors); in colored_ostream()
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp359 bool PNG_Predictor(int Colors, in PNG_Predictor() argument
365 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; in PNG_Predictor()
366 const int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; in PNG_Predictor()
457 int Colors, in TIFF_PredictLine() argument
460 int row_bits = std::min(BitsPerComponent * Colors * Columns, in TIFF_PredictLine()
478 int BytesPerPixel = BitsPerComponent * Colors / 8; in TIFF_PredictLine()
494 bool TIFF_Predictor(int Colors, in TIFF_Predictor() argument
499 int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; in TIFF_Predictor()
509 TIFF_PredictLine(scan_line, row_size, BitsPerComponent, Colors, Columns); in TIFF_Predictor()
656 int Colors,
[all …]
Dflatemodule.h29 int Colors,
38 int Colors,
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageViewOptions.h27 bool Colors; member
49 raw_ostream::Colors Color) const { in colored_ostream()
50 return llvm::colored_ostream(OS, Color, Colors); in colored_ostream()
/external/llvm-project/lld/Common/
DErrorHandler.cpp193 lld::errs() << sep << getLocation(msg) << ": " << Colors::MAGENTA in warn()
194 << "warning: " << Colors::RESET << msg << "\n"; in warn()
220 lld::errs() << sep << getLocation(msg) << ": " << Colors::RED in error()
221 << "error: " << Colors::RESET << msg << "\n"; in error()
223 lld::errs() << sep << getLocation(msg) << ": " << Colors::RED in error()
224 << "error: " << Colors::RESET << errorLimitExceededMsg in error()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp41 bool CheckFlateDecodeParams(int Colors, int BitsPerComponent, int Columns) { in CheckFlateDecodeParams() argument
42 if (Colors < 0 || BitsPerComponent < 0 || Columns < 0) in CheckFlateDecodeParams()
46 check *= Colors; in CheckFlateDecodeParams()
327 int Colors = 0; in CreateFlateDecoder() local
332 Colors = pParams->GetIntegerFor("Colors", 1); in CreateFlateDecoder()
335 if (!CheckFlateDecodeParams(Colors, BitsPerComponent, Columns)) in CreateFlateDecoder()
339 predictor, Colors, BitsPerComponent, in CreateFlateDecoder()
350 int Colors = 0; in FlateOrLZWDecode() local
357 Colors = pParams->GetIntegerFor("Colors", 1); in FlateOrLZWDecode()
360 if (!CheckFlateDecodeParams(Colors, BitsPerComponent, Columns)) in FlateOrLZWDecode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Draw_ostream.cpp68 const raw_ostream::Colors raw_ostream::BLACK;
69 const raw_ostream::Colors raw_ostream::RED;
70 const raw_ostream::Colors raw_ostream::GREEN;
71 const raw_ostream::Colors raw_ostream::YELLOW;
72 const raw_ostream::Colors raw_ostream::BLUE;
73 const raw_ostream::Colors raw_ostream::MAGENTA;
74 const raw_ostream::Colors raw_ostream::CYAN;
75 const raw_ostream::Colors raw_ostream::WHITE;
76 const raw_ostream::Colors raw_ostream::SAVEDCOLOR;
77 const raw_ostream::Colors raw_ostream::RESET;
[all …]
/external/llvm-project/llvm/lib/Support/
Draw_ostream.cpp66 constexpr raw_ostream::Colors raw_ostream::BLACK;
67 constexpr raw_ostream::Colors raw_ostream::RED;
68 constexpr raw_ostream::Colors raw_ostream::GREEN;
69 constexpr raw_ostream::Colors raw_ostream::YELLOW;
70 constexpr raw_ostream::Colors raw_ostream::BLUE;
71 constexpr raw_ostream::Colors raw_ostream::MAGENTA;
72 constexpr raw_ostream::Colors raw_ostream::CYAN;
73 constexpr raw_ostream::Colors raw_ostream::WHITE;
74 constexpr raw_ostream::Colors raw_ostream::SAVEDCOLOR;
75 constexpr raw_ostream::Colors raw_ostream::RESET;
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-non-dependent-types.cpp41 enum Colors {red, green, blue}; enum
44 C<Q, Colors> dummyColors;
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-non-dependent-types.cpp41 enum Colors {red, green, blue}; enum
44 C<Q, Colors> dummyColors;
/external/iptables/
Diptables-test.py36 class Colors: class
49 print(filename + ": " + Colors.RED + "ERROR" +
50 Colors.ENDC + ": line %d (%s)" % (lineno, reason))
285 print(filename + ": " + Colors.GREEN + "OK" + Colors.ENDC)
/external/llvm-project/llvm/lib/Analysis/
DEHPersonalities.cpp114 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() local
115 if (!is_contained(Colors, Color)) in colorEHFunclets()
116 Colors.push_back(Color); in colorEHFunclets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DEHPersonalities.cpp110 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() local
111 if (!is_contained(Colors, Color)) in colorEHFunclets()
112 Colors.push_back(Color); in colorEHFunclets()
/external/llvm-project/llvm/test/TableGen/
Dinterleave.td64 // CHECK: Colors = ["red", "green", "yellow"];
68 list<string> Colors = ["red", "green", "yellow"];
69 string ColorList = !interleave(Ishify<Colors>.ret, ", ");

123456