Home
last modified time | relevance | path

Searched refs:hasColors (Results 1 – 15 of 15) sorted by relevance

/third_party/node/lib/internal/util/
Dcolors.js16 hasColors: false, property
27 const hasColors = module.exports.shouldColorize(process.stderr);
28 module.exports.blue = hasColors ? '\u001b[34m' : '';
29 module.exports.green = hasColors ? '\u001b[32m' : '';
30 module.exports.white = hasColors ? '\u001b[39m' : '';
31 module.exports.yellow = hasColors ? '\u001b[33m' : '';
32 module.exports.red = hasColors ? '\u001b[31m' : '';
33 module.exports.gray = hasColors ? '\u001b[90m' : '';
34 module.exports.clear = hasColors ? '\u001bc' : '';
35 module.exports.hasColors = hasColors;
/third_party/node/test/pseudo-tty/
Dtest-tty-color-support.js16 const support = writeStream.hasColors();
23 () => writeStream.hasColors(input),
30 () => writeStream.hasColors(input),
84 assert(writeStream.hasColors(colors, env));
85 assert(!writeStream.hasColors(colors + 1, env));
86 assert(depth >= 4 ? writeStream.hasColors(env) : !writeStream.hasColors(env));
/third_party/skia/src/gpu/ops/
DDrawAtlasOp.cpp70 bool hasColors() const { return fHasColors; } in hasColors() function in __anon976c3de00111::DrawAtlasOpImpl
92 bool hasColors, in make_gp() argument
97 if (hasColors) { in make_gp()
211 this->hasColors(), in onCreateProgramInfo()
273 if (this->hasColors() != that->hasColors()) { in onCombineIfPossible()
277 if (!this->hasColors() && this->color() != that->color()) { in onCombineIfPossible()
295 if (this->hasColors()) { in finalize()
362 bool hasColors) { in randomize_params() argument
366 if (hasColors) { in randomize_params()
379 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
[all …]
DDrawVerticesOp.cpp260 return fVertices->priv().hasColors() && !fIgnoreColors; in hasPerVertexColors()
319 fColorArrayType = info.hasColors() ? ColorArrayType::kSkColor in DrawVerticesOpImpl()
662 SkTArray<uint32_t>* colors, bool hasColors, in randomize_params() argument
669 if (hasColors) { in randomize_params()
699 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
706 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
711 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
/third_party/node/lib/
Dtty.js36 hasColors,
124 WriteStream.prototype.hasColors = hasColors; method in WriteStream
/third_party/node/lib/internal/
Dtty.js222 function hasColors(count, env) { function
236 hasColors, property
/third_party/skia/src/core/
DSkVertices.cpp101 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag); in Builder() local
102 this->init({mode, vertexCount, indexCount, hasTexs, hasColors}); in Builder()
311 const bool hasColors = SkToBool(packed & kHasColors_Mask); in Decode() local
319 const SkVertices::Desc desc{mode, vertexCount, indexCount, hasTexs, hasColors}; in Decode()
DSkVerticesPriv.h25 bool hasColors() const { return SkToBool(fVertices->fColors); } in hasColors() function
/third_party/node/doc/api/
Dtty.md235 ### `writeStream.hasColors([count][, env])`
257 process.stdout.hasColors();
259 process.stdout.hasColors(256);
261 process.stdout.hasColors({ TMUX: '1' });
263 process.stdout.hasColors(2 ** 24, { TMUX: '1' });
Drepl.md593 all cases and `useColors` checks `hasColors()` if available.
Dutil.md810 terminals. To verify color support use [`tty.hasColors()`][].
3348 [`tty.hasColors()`]: tty.md#writestreamhascolorscount-env
/third_party/node/test/sequential/
Dtest-util-debug.js118 value: tty.WriteStream.prototype.hasColors
/third_party/skia/src/gpu/v1/
DDevice.cpp92 bool hasColors, in init_vertices_paint() argument
94 if (hasColors) { in init_vertices_paint()
821 this->asMatrixProvider(), mode, info.hasColors(), &grPaint)) { in drawVertices()
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md247 …* Added a `hasColors` method to `WriteStream` (Ruben Bridgewater) [#26247](https://github.com/node…
420 …b.com/nodejs/node/commit/070faf0bc1)] - **(SEMVER-MINOR)** **tty**: add hasColors function (Ruben …
DCHANGELOG_V10.md1028 …b.com/nodejs/node/commit/4285b57e78)] - **(SEMVER-MINOR)** **tty**: add hasColors function (Ruben …