Home
last modified time | relevance | path

Searched refs:newColor (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang/test/SemaObjC/
Dobjcbridge-related-attribute.m21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
22 …foo(newColor); // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conver…
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
24 …return newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conv…
27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
28 foo(newColor); // expected-warning {{incompatible pointer types passing 'CGColorRef1'}}
29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning}}
30 return newColor; // expected-warning {{incompatible pointer types returning}}
33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) {
34newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
[all …]
Darc-objcbridge-related-attribute.m21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
22 …foo(newColor); // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conver…
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
24 …return newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conv…
27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
28 …foo(newColor); // expected-warning {{incompatible pointer types passing 'CGColorRef1' (aka 'struct…
29 …textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning t…
30 …return newColor; // expected-warning {{incompatible pointer types returning 'CGColorRef1' (aka 'st…
33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) {
34newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
[all …]
Dcheck-objcbridge-related-attribute-lookup.m22 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
25newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
28 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
29 …textField.backgroundColor = newColor; // expected-error {{could not find Objective-C class 'XNSCol…
31newColor = textField.backgroundColor ; // expected-error {{could not find Objective-C class 'XNSCo…
35 NSColor * Test3(NSTextField *textField, CGColorRef2 newColor) {
36 …textField.backgroundColor = newColor; // expected-error {{'PNsColor' must be name of an Objective-…
38newColor = textField.backgroundColor; // expected-error {{'PNsColor' must be name of an Objective-…
/external/clang/test/SemaObjC/
Dobjcbridge-related-attribute.m21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
22 …foo(newColor); // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conver…
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
24 …return newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conv…
27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
28 foo(newColor); // expected-warning {{incompatible pointer types passing 'CGColorRef1'}}
29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning}}
30 return newColor; // expected-warning {{incompatible pointer types returning}}
33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) {
34newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
[all …]
Darc-objcbridge-related-attribute.m21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
22 …foo(newColor); // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conver…
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
24 …return newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly conv…
27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
28 …foo(newColor); // expected-warning {{incompatible pointer types passing 'CGColorRef1' (aka 'struct…
29 …textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning t…
30 …return newColor; // expected-warning {{incompatible pointer types returning 'CGColorRef1' (aka 'st…
33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) {
34newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
[all …]
Dcheck-objcbridge-related-attribute-lookup.m22 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
23 …textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') mu…
25newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted…
28 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) {
29 …textField.backgroundColor = newColor; // expected-error {{could not find Objective-C class 'XNSCol…
31newColor = textField.backgroundColor ; // expected-error {{could not find Objective-C class 'XNSCo…
35 NSColor * Test3(NSTextField *textField, CGColorRef2 newColor) {
36 …textField.backgroundColor = newColor; // expected-error {{'PNsColor' must be name of an Objective-…
38newColor = textField.backgroundColor; // expected-error {{'PNsColor' must be name of an Objective-…
/external/llvm-project/clang/test/SemaObjCXX/
Dobjcbridge-related-attribute.mm16 NSColor *Test1(NSColor *nsColor, CGColorRef newColor) {
17 …nsColor = newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converte…
18 …NSColor *ns = newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly conv…
19 …return newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converted t…
22 CGColorRef Test2(NSColor *newColor, CGColorRef cgColor) {
23 …cgColor = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (…
24 …CGColorRef cg = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColor…
25 …return newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka…
/external/clang/test/SemaObjCXX/
Dobjcbridge-related-attribute.mm16 NSColor *Test1(NSColor *nsColor, CGColorRef newColor) {
17 …nsColor = newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converte…
18 …NSColor *ns = newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly conv…
19 …return newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converted t…
22 CGColorRef Test2(NSColor *newColor, CGColorRef cgColor) {
23 …cgColor = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (…
24 …CGColorRef cg = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColor…
25 …return newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka…
/external/skia/tests/
DCompressedBackendAllocationTest.cpp165 SkColor4f newColor; in test_compressed_color_init() local
166 newColor.fR = color.fB; in test_compressed_color_init()
167 newColor.fG = color.fR; in test_compressed_color_init()
168 newColor.fB = color.fG; in test_compressed_color_init()
169 newColor.fA = color.fA; in test_compressed_color_init()
171 bool result = dContext->updateCompressedBackendTexture(backendTex, newColor, nullptr, nullptr); in test_compressed_color_init()
175 SkColor4f expectedNewColors[6] = {newColor, newColor, newColor, newColor, newColor, newColor}; in test_compressed_color_init()
179 check_readback(dContext, std::move(img), compression, newColor, reporter, "solid readback"); in test_compressed_color_init()
DBackendAllocationTest.cpp339 SkColor4f newColor = {color.fB , color.fR, color.fG, color.fA }; in test_color_init() local
346 newColor, in test_color_init()
349 checkBackendTexture(newColor); in test_color_init()
/external/llvm-project/clang/test/FixIt/
Dfixit-objc-bridge-related-attr.m19 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
20 textField.backgroundColor = newColor;
21 return newColor;
24 CGColorRef Test2(NSTextField *textField, CGColorRef newColor) {
25 newColor = textField.backgroundColor; // [textField.backgroundColor CGColor]
Dfixit-objc-bridge-related-property.m18 CGColorRef Test(NSTextField *textField, CGColorRef newColor) {
19 newColor = textField.backgroundColor;
/external/clang/test/FixIt/
Dfixit-objc-bridge-related-attr.m19 NSColor * Test1(NSTextField *textField, CGColorRef newColor) {
20 textField.backgroundColor = newColor;
21 return newColor;
24 CGColorRef Test2(NSTextField *textField, CGColorRef newColor) {
25 newColor = textField.backgroundColor; // [textField.backgroundColor CGColor]
Dfixit-objc-bridge-related-property.m18 CGColorRef Test(NSTextField *textField, CGColorRef newColor) {
19 newColor = textField.backgroundColor;
/external/deqp/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp440 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference() local
442 dst.setPixel(x, y, newColor); in renderReference()
488 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference() local
490 dst.setPixel(x, y, newColor); in renderReference()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilClearTests.cpp443 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference() local
445 dst.setPixel(x, y, newColor); in renderReference()
491 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference() local
493 dst.setPixel(x, y, newColor); in renderReference()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp747 Vec4 newColor; in executeMaskedColorWrite() local
749 newColor.xyz() = m_sampleRegister[regSampleNdx].blendedRGB; in executeMaskedColorWrite()
750 newColor.w() = m_sampleRegister[regSampleNdx].blendedA; in executeMaskedColorWrite()
753 newColor = tcu::linearToSRGB(newColor); in executeMaskedColorWrite()
755 newColor = colorMaskFactor*newColor + colorMaskNegationFactor*originalColor; in executeMaskedColorWrite()
757 colorBuffer.setPixel(newColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite()
/external/perfetto/ui/src/frontend/
Dnotes_panel.ts290 const newColor = (e.target as HTMLInputElement).value; constant
293 newColor,
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp219 tcu::Vec4 newColor = color; in replaceBadFloatReinterpretValues() local
227 newColor[i] = 0.0f; in replaceBadFloatReinterpretValues()
233 newColor[i] = 0.0f; in replaceBadFloatReinterpretValues()
237 if (newColor != color) in replaceBadFloatReinterpretValues()
238 access.setPixel(newColor, x, y, z); in replaceBadFloatReinterpretValues()
252 tcu::IVec4 newColor = color; in replaceSnormReinterpretValues() local
257 if (oldColor == -128) newColor[i] = -127; in replaceSnormReinterpretValues()
260 if (newColor != color) in replaceSnormReinterpretValues()
261 access.setPixel(newColor, x, y, z); in replaceSnormReinterpretValues()
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js426 set: function(newColor) { argument
427 this._shadowColor = parseColor(newColor);
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js445 set: function(newColor) { argument
446 this._shadowColor = parseColor(newColor);
/external/perfetto/ui/src/common/
Dactions.ts576 changeNoteColor(state: StateDraft, args: {id: string, newColor: string}):
580 note.color = args.newColor;
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1282 const tcu::Vec4& newColor = (currentColor[0] < color[0]) ? currentColor : color; in fillQuarter() local
1284 pixelBuffer.setPixel(newColor, x, y, layerNdx); in fillQuarter()