Searched refs:SUM (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/ |
H A D | path_effect_test.cpp | 258 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::SUM; 275 PathEffect::PathEffectType pathEffectType = PathEffect::PathEffectType::SUM; 309 …auto pathEffect = std::make_unique<PathEffect>(PathEffect::PathEffectType::SUM, pathEffect1, pathE…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
H A D | path_effect.cpp | 53 if (type_ == PathEffect::PathEffectType::SUM) { in PathEffect() 96 return std::make_shared<PathEffect>(PathEffect::PathEffectType::SUM, e1, e2); in CreateSumPathEffect()
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-c-coding-style-guide.md | 1535 #define SUM(a, b) a + b // Bad. 1539 `100 / SUM(2, 8)` 将扩展成 `(100 / 2) + 8`,预期结果则是`100 / (2 + 8)`。 1542 #define SUM(a, b) (a + b) // Bad. 1546 `SUM(1 << 2, 8)`扩展成`1 << (2 + 8)`(因为`<<`优先级低于`+`),跟预期结果`(1 << 2) + 8`不符。 1550 #define SUM(a, b) (a) + (b) // Bad. 1553 再看看第三种问题场景:`SUM(2, 8) * 10` 。扩展后的结果为 `(2) + ((8) * 10)`,跟预期结果`(2 + 8) * 10`不符。 1557 #define SUM(a, b) ((a) + (b)) // Good.
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/ |
H A D | path_effect.h | 40 SUM, enumerator
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-appx-code.md | 203 #define SUM(a, b) ((a) + (b)) // 符合本规范要求.
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-c-coding-style-guide.md | 1708 #define SUM(a, b) a + b // Bad 1713 `100 / SUM(2, 8)` is expanded to `(100 / 2) + 8`. The expected result is `100 / (2 + 8)`. 1718 #define SUM(a, b) (a + b) // Bad 1723 `SUM(1 << 2, 8)` is extended to `1 << (2 + 8)` (because the priority of `<<` is lower than that of … 1728 #define SUM(a, b) (a) + (b) // Bad 1731 The third scenario is as follows: `SUM(2, 8) * 10` . The result after the extension is `(2) + ((8) … 1736 #define SUM(a, b) ((a) + (b)) // Good.
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-mini-appx-code.md | 232 #define SUM(a, b) ((a) + (b)) // Complies with this specification.
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/resources/demuxer/ |
H A D | ts_video.ts | 5887 eT��ZB��"�hO)Z����]SUM�p����a".U��b�Ib.�e�Qr�G� �� ��.�KYr����v��'}�_Z�t�F"�!����$�b.M…
|