/third_party/node/lib/internal/util/ |
D | colors.js | 16 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/ |
D | test-tty-color-support.js | 16 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/ |
D | DrawAtlasOp.cpp | 70 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 …]
|
D | DrawVerticesOp.cpp | 260 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/ |
D | tty.js | 36 hasColors, 124 WriteStream.prototype.hasColors = hasColors; method in WriteStream
|
/third_party/node/lib/internal/ |
D | tty.js | 222 function hasColors(count, env) { function 236 hasColors, property
|
/third_party/skia/src/core/ |
D | SkVertices.cpp | 101 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()
|
D | SkVerticesPriv.h | 25 bool hasColors() const { return SkToBool(fVertices->fColors); } in hasColors() function
|
/third_party/node/doc/api/ |
D | tty.md | 235 ### `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' });
|
D | repl.md | 593 all cases and `useColors` checks `hasColors()` if available.
|
D | util.md | 810 terminals. To verify color support use [`tty.hasColors()`][]. 3348 [`tty.hasColors()`]: tty.md#writestreamhascolorscount-env
|
/third_party/node/test/sequential/ |
D | test-util-debug.js | 118 value: tty.WriteStream.prototype.hasColors
|
/third_party/skia/src/gpu/v1/ |
D | Device.cpp | 92 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/ |
D | CHANGELOG_V11.md | 247 …* 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 …
|
D | CHANGELOG_V10.md | 1028 …b.com/nodejs/node/commit/4285b57e78)] - **(SEMVER-MINOR)** **tty**: add hasColors function (Ruben …
|