Home
last modified time | relevance | path

Searched refs:_color (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/tests/sksl/dslfp/
DGrDSLFPTest_IfStatement.dsl.cpp36 Var _color(kNo_Modifier, DSLType(kHalf4_Type), "color", Half4(0.0f)); in emitCode() local
37 Declare(_color); in emitCode()
38 If(Swizzle(_color, X, Y) == Swizzle(_color, Z, W), /*Then:*/ _color.w() = _one); in emitCode()
39 If(Swizzle(_color, X, Y) == Swizzle(_color, Z, W), /*Then:*/ Block(_color.x() = _color.w())); in emitCode()
40 If(_color.x() == _color.y(), /*Then:*/ _color = Swizzle(_color, W, X, W, W), /*Else:*/ _color = Swi… in emitCode()
41_color.x() + _color.y()) + _color.z()) + _color.w() == _one, /*Then:*/ Block(_color = Half4(-1.0f)… in emitCode()
42_color.x() == _one, /*Then:*/ Block(If(_color.x() == 2.0f, /*Then:*/ Block(_color = Swizzle(_color in emitCode()
43 StaticIf(_one != 1.0f, /*Then:*/ Block(_color.x() = 1.0f)); in emitCode()
44 Return(_color); in emitCode()
DGrDSLFPTest_SwitchStatement.dsl.cpp30 Var _color(kNo_Modifier, DSLType(kInt4_Type), "color", Int4(0)); in emitCode() local
31 Declare(_color); in emitCode()
32 Switch(_color.x(), in emitCode()
33 Case(0, ++_color.y()), in emitCode()
37 Case(4, ++_color.x()), in emitCode()
38 Case(5, Block(++_color.z()), Break()), in emitCode()
39 Default(Block(--_color.y(), Break()))); in emitCode()
40 Switch(_color.y(), in emitCode()
42 Case(0, Block(_color.x() = 1, _color.z() = 1))); in emitCode()
44 Case(0, _color.x() = _color.y(), Break()), in emitCode()
[all …]
DGrDSLFPTest_WhileStatement.dsl.cpp27 Var _color(kNo_Modifier, DSLType(kHalf4_Type), "color", Half4(1.0f)); in emitCode() local
28 Declare(_color); in emitCode()
29 While(_color.x() > 0.5f, _color.x() -= 0.25f); in emitCode()
30 While(_color.w() == 1.0f, Block(_color.x() -= 0.25f, If(_color.x() <= 0.0f, /*Then:*/ Break()))); in emitCode()
31 While(_color.z() > 0.0f, Block(_color.z() -= 0.25f, If(_color.w() == 1.0f, /*Then:*/ Continue()), _… in emitCode()
32 Return(_color); in emitCode()
DGrDSLFPTest_DoStatement.dsl.cpp30 Var _color(kNo_Modifier, DSLType(kHalf4_Type), "color", Half4(1.0f, 1.0f, 1.0f, 1.0f)); in emitCode() local
31 Declare(_color); in emitCode()
32 Do(_color.x() -= 0.25f, /*While:*/ _shouldLoop); in emitCode()
33 Do(Block(_color.x() -= 0.25f, If(_color.x() <= 0.0f, /*Then:*/ Break())), /*While:*/ _color.w() == … in emitCode()
34 Do(Block(_color.z() -= 0.25f, If(_color.w() == 1.0f || sk_Caps.builtinFMASupport, /*Then:*/ Continu… in emitCode()
35 Return(_color); in emitCode()
DGrDSLFPTest_ForStatement.dsl.cpp30 Var _color(kNo_Modifier, DSLType(kHalf4_Type), "color", _colorWhite); in emitCode() local
36 Declare(_color); in emitCode()
37 For(Declare(_a), _a <= 1.0f, ++_a, /*Body:*/ _color.w() = _a); in emitCode()
38 For(Declare(_r), _r < 5.0f, _r += 1.0f, /*Body:*/ Block(_color.x() = _r, If(_color.x() == 0.0f, /*T… in emitCode()
39 …, _b >= 0.0f, _b -= 1.0f, /*Body:*/ Block(_color.z() = _b, If(_color.w() == 1.0f, /*Then:*/ Contin… in emitCode()
40 Block(Declare(_x), Declare(_y), For(Statement(), _x <= _y, ++_x, /*Body:*/ Block(_color.w() = Half(… in emitCode()
41 Return(_color); in emitCode()
/external/libnl/python/netlink/
Dutil.py21 def _color(t, c): function
25 return _color(t, 30)
28 return _color(t, 31)
31 return _color(t, 32)
34 return _color(t, 33)
37 return _color(t, 34)
40 return _color(t, 35)
43 return _color(t, 36)
46 return _color(t, 37)
49 return _color(t, 1)
/external/llvm-project/debuginfo-tests/dexter/dex/utils/posix/
DPrettyOutput.py13 def _color(self, text, color, stream, lock=_lock): member in PrettyOutput
22 self._color(text, 91, stream, **kwargs)
25 self._color(text, 93, stream, **kwargs)
28 self._color(text, 92, stream, **kwargs)
31 self._color(text, 96, stream, **kwargs)
34 self._color(text, 0, stream, **kwargs)
/external/llvm-project/debuginfo-tests/dexter/dex/utils/windows/
DPrettyOutput.py57 def _color(self, text, color, stream, lock=_lock): member in PrettyOutput
70 self._color(text, 12, stream, **kwargs)
73 self._color(text, 14, stream, **kwargs)
76 self._color(text, 10, stream, **kwargs)
79 self._color(text, 11, stream, **kwargs)
83 self._color(text, stream.orig_color, stream, **kwargs)
/external/python/cpython2/Demo/turtle/
Dtdemo_colormixer.py13 self._color = [0,0,0]
15 self._color[x] = y
16 self.color(self._color)
30 self._color[self.x] = self.ycor()
31 self.fillcolor(self._color)
/external/python/cpython3/Lib/turtledemo/
Dcolormixer.py13 self._color = [0,0,0]
15 self._color[x] = y
16 self.color(self._color)
30 self._color[self.x] = self.ycor()
31 self.fillcolor(self._color)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dpretty_printer.py35 def _color(self, string, color, attrs=None): member in PrettyPrinter
41 return self._color(node.__class__.__name__, None, ['bold'])
44 return self._color(name, 'blue')
47 return self._color(name, 'magenta')
50 return self._color(name, 'red')
53 return self._color('| ' * self.indent_lvl, None, ['dark'])
/external/autotest/site_utils/
Dgenerate_test_report412 self._color = terminal.Color(options.color)
554 value_entry = self._color.Color(
555 self._color.BOLD, result_dict[dict_key])
783 color = self._color.GREEN
787 color = self._color.YELLOW
789 color = self._color.MAGENTA
792 color = self._color.RED
794 test_entries = [test_entry, self._color.Color(color, status_entry)]
833 print 'Total PASS: ' + self._color.Color(self._color.BOLD, pass_str)
838 print self._color.Color(self._color.RED,
[all …]
/external/python/cpython3/Lib/test/
Dtest_dynamicclassattribute.py182 return self._color
184 self._color = 'cyan'
191 return self._color
193 self._color = 'magenta'
/external/ImageMagick/Magick++/lib/
DDrawable.cpp277 : _color(color_) in DrawableBorderColor()
284 _color(original_._color) in DrawableBorderColor()
301 color=static_cast<PixelInfo>(_color); in operator ()()
310 _color=color_; in color()
315 return(_color); in color()
683 : _color(color_) in DrawableFillColor()
689 _color(original_._color) in DrawableFillColor()
698 PixelInfo color = static_cast<PixelInfo>(_color); in operator ()()
1382 : _color(color_) in DrawableStrokeColor()
1388 _color(original_._color) in DrawableStrokeColor()
[all …]
DSTL.cpp1097 : _color( color_ ) in transparentImage()
1102 image_.transparent( _color ); in operator ()()
1184 : _color( color_ ) in backgroundColorImage()
1189 image_.backgroundColor( _color ); in operator ()()
1204 : _color( color_ ) in borderColorImage()
1209 image_.borderColor( _color ); in operator ()()
1287 _color( color_ ) in colorMapImage()
1292 image_.colorMap( _index, _color ); in operator ()()
1453 _color( color_ ) { } in pixelColorImage()
1457 image_.pixelColor( _x, _y, _color ); in operator ()()
/external/ImageMagick/Magick++/lib/Magick++/
DDrawable.h487 Color _color;
951 _color = color_; in color()
955 return _color; in color()
959 Color _color;
1927 _color = color_; in color()
1931 return _color; in color()
1935 Color _color;
2237 _color = color_; in color()
2241 return _color; in color()
2245 Color _color;
DSTL.h1189 Color _color;
1280 Color _color;
1304 Color _color;
1397 Color _color; variable
1619 Color _color; variable
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DUtil.pde27 saveStrings(file_name + "_color.txt", colors);
/external/flatbuffers/dart/example/
Dmonster_my_game.sample_generated.dart273 final Color _color;
296 _color = color,
331 fbBuilder.addInt8(6, _color?.value);
/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp63 ColorVerifier (const tcu::Vec3& _color, int _threshold = 8) in ColorVerifier() argument
64 : m_color (tcu::Vec4(_color.x(), _color.y(), _color.z(), 1.0f)) in ColorVerifier()
69 ColorVerifier (const tcu::Vec3& _color, tcu::IVec3 _threshold) in ColorVerifier() argument
70 : m_color (tcu::Vec4(_color.x(), _color.y(), _color.z(), 1.0f)) in ColorVerifier()
/external/flatbuffers/samples/
Dmonster_generated.h310 bool mutate_color(MyGame::Sample::Color _color) {
311 return SetField<int8_t>(VT_COLOR, static_cast<int8_t>(_color), 2);
604 auto _color = _o->color;
616 _color,
/external/python/cpython3/Lib/
Dturtle.py1170 def _color(self, cstr): member in TurtleScreen
1243 color = self._color(color)
2221 return self._color(self._pencolor), self._color(self._fillcolor)
2258 return self._color(self._pencolor)
2294 return self._color(self._fillcolor)
2468 def _color(self, args): member in TPen
2693 def _color(self, args): member in RawTurtle
2694 return self.screen._color(args)
/external/python/cpython2/Lib/lib-tk/
Dturtle.py1117 def _color(self, cstr): member in TurtleScreen
1190 color = self._color(color)
2135 return self._color(self._pencolor), self._color(self._fillcolor)
2172 return self._color(self._pencolor)
2208 return self._color(self._fillcolor)
2372 def _color(self, args): member in TPen
2597 def _color(self, args): member in RawTurtle
2598 return self.screen._color(args)
/external/deqp/doc/testspecs/GLES31/
Dfunctional.sample_shading.txt42 MIN_SAMPLE_SHADING values. *_color cases render pattern by rendering black or
/external/pdfium/third_party/libtiff/
Dtif_fax3.c971 #define finddiff(_cp, _bs, _be, _color) \ argument
972 (_bs + (_color ? find1span(_cp,_bs,_be) : find0span(_cp,_bs,_be)))
977 #define finddiff2(_cp, _bs, _be, _color) \ argument
978 (_bs < _be ? finddiff(_cp,_bs,_be,_color) : _be)

12