/foundation/arkui/ace_engine/test/unittest/core/pattern/recycle_node/ |
H A D | recycle_manager_test.cpp | 50 bool CompareConfig(ConfigurationChange& c1, ConfigurationChange& c2); 51 bool ContainConfig(ConfigurationChange& c1, ConfigurationChange& c2); 70 bool RecycleManagerTest::CompareConfig(ConfigurationChange& c1, ConfigurationChange& c2) in CompareConfig() argument 72 return c1.colorModeUpdate == c2.colorModeUpdate && c1.languageUpdate == c2.languageUpdate && in CompareConfig() 73 c1.directionUpdate == c2.directionUpdate && c1.dpiUpdate == c2.dpiUpdate && c1.fontUpdate == c2.fontUpdate && in CompareConfig() 74 c1.iconUpdate == c2.iconUpdate && c1.skinUpdate == c2 in CompareConfig() 78 ContainConfig(ConfigurationChange& c1, ConfigurationChange& c2) ContainConfig() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | color.cpp | 153 bool operator==(const Color& c1, const Color& c2) in operator ==() argument 155 return c1.alpha_ == c2.alpha_ && c1.red_ == c2.red_ && c1.green_ == c2.green_ && c1.blue_ == c2.blue_; in operator ==() 157 bool operator!=(const Color& c1, const Color& c2) in operator !=() argument 159 return c1.alpha_ != c2.alpha_ || c1.red_ != c2.red_ || c1.green_ != c2.green_ || c1.blue_ != c2 in operator !=() [all...] |
/foundation/distributedhardware/device_manager/utils/src/crypto/ |
H A D | dm_crypto.cpp | 149 unsigned char c2 = *inBuf++; in ConvertHexStringToBytes() local 150 if ((c2 >= '0') && (c2 <= '9')) { in ConvertHexStringToBytes() 151 c2 -= '0'; in ConvertHexStringToBytes() 152 } else if ((c2 >= 'a') && (c2 <= 'f')) { in ConvertHexStringToBytes() 153 c2 -= 'a' - DEC_MAX_NUM; in ConvertHexStringToBytes() 154 } else if ((c2 >= 'A') && (c2 <= 'F')) { in ConvertHexStringToBytes() 155 c2 in ConvertHexStringToBytes() [all...] |
/foundation/communication/dsoftbus/core/common/utils/ |
H A D | softbus_utils.c | 208 unsigned char c2 = *inBuf++; in ConvertHexStringToBytes() local 209 if ((c2 >= '0') && (c2 <= '9')) { in ConvertHexStringToBytes() 210 c2 -= '0'; in ConvertHexStringToBytes() 211 } else if ((c2 >= 'a') && (c2 <= 'f')) { in ConvertHexStringToBytes() 212 c2 -= 'a' - DEC_MAX_NUM; in ConvertHexStringToBytes() 213 } else if ((c2 >= 'A') && (c2 <= 'F')) { in ConvertHexStringToBytes() 214 c2 in ConvertHexStringToBytes() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/ |
H A D | injector_utils.cpp | 101 const int c2 = 4; in EaseInOutCubic() local 106 return (t < c1) ? (c2 * t * t * t) : (1 - pow(c3 * t + c4, c5) / c6); in EaseInOutCubic() 113 const int c2 = 8; in EaseInOutQuart() local 118 return (t < c1) ? (c2 * t * t * t * t) : (1 - pow(c3 * t + c4, c5) / c6); in EaseInOutQuart()
|
/foundation/communication/ipc/ipc/native/c/manager/include/ |
H A D | rpc_types.h | 19 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | color.cpp | 18 ColorType Color::GetMixColor(ColorType c1, ColorType c2, uint8_t mix) in GetMixColor() argument 23 ret.red = (static_cast<uint16_t>(c1.red) * mix + (static_cast<uint16_t>(c2.red) * (255 ^ mix))) >> 8; in GetMixColor() 25 ret.green = (static_cast<uint16_t>(c1.green) * mix + (static_cast<uint16_t>(c2.green) * (255 ^ mix))) >> 8; in GetMixColor() 27 ret.blue = (static_cast<uint16_t>(c1.blue) * mix + (static_cast<uint16_t>(c2.blue) * (255 ^ mix))) >> 8; in GetMixColor()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/ |
H A D | RefUriTest.cpp | 285 auto c2 = CreateTestContainer(); in HWTEST_F() local 286 c2->SetName("c2"); in HWTEST_F() 291 interface_pointer_cast<IContainer>(c2)->Add(interface_pointer_cast<IObject>(r2)); in HWTEST_F() 292 interface_pointer_cast<IContainer>(c2)->Add(interface_pointer_cast<IObject>(c1)); in HWTEST_F() 293 interface_pointer_cast<IContainer>(c3)->Add(interface_pointer_cast<IObject>(c2)); in HWTEST_F() 303 auto o3 = interface_pointer_cast<IObjectInstance>(c3)->Resolve<IObjectInstance>(RefUri("ref:/c2/c1/r1")); in HWTEST_F() 311 auto o5 = interface_pointer_cast<IObjectInstance>(r1)->Resolve<IObjectInstance>(RefUri("ref://c2/r2")); in HWTEST_F() 330 auto c2 = CreateTestContainer(); in HWTEST_F() local 331 c2 in HWTEST_F() [all...] |
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt_utils.cpp | 41 [](char c1, char c2) { return tolower(c1) < tolower(c2); });
in operator ()()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/ |
H A D | ipc_types.h | 24 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 59 (function (c2) { 60 c2[c2["OFFSET_FOR_BAR"] = 0] = "OFFSET_FOR_BAR"; 61 c2[c2["OFFSET_FOR_NONE"] = 1] = "OFFSET_FOR_NONE";
|
/foundation/arkui/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 59 (function (c2) { 60 c2[c2["OFFSET_FOR_BAR"] = 0] = "OFFSET_FOR_BAR"; 61 c2[c2["OFFSET_FOR_NONE"] = 1] = "OFFSET_FOR_NONE";
|
/foundation/graphic/graphic_3d/lume/metaobject/src/curves/ |
H A D | easing_curve.cpp | 177 constexpr float c2 = c1 * 1.525f; in EaseInOutBack() local 179 return (Pow2(2.f * t) * ((c2 + 1.f) * 2.f * t - c2)) / 2.f; in EaseInOutBack() 181 return (Pow2(2.f * t - 2.f) * ((c2 + 1.f) * (t * 2.f - 2.f) + c2) + 2.f) / 2.f; in EaseInOutBack()
|
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
H A D | ipc_types.h | 25 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
|
/foundation/multimedia/image_framework/plugins/common/libs/image/formatagentplugin/include/ |
H A D | heif_format_agent.h | 34 uint32_t Fourcc(uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | color.h | 149 friend DRAWING_API bool operator==(const Color& c1, const Color& c2); 150 friend DRAWING_API bool operator!=(const Color& c1, const Color& c2);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/formatagentplugin/src/ |
H A D | heif_format_agent.cpp | 154 uint32_t HeifFormatAgent::Fourcc(uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4) in Fourcc() argument 156 return (c1 << (SHIFT_BASE * TIMES_THREE)) | (c2 << (SHIFT_BASE * TIMES_TWO)) | (c3 << SHIFT_BASE) | (c4); in Fourcc()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/ |
H A D | IntfAnyTest.cpp | 155 auto c2 = other.Clone(true); in HWTEST_F() local 156 ASSERT_TRUE(c2); in HWTEST_F() 157 EXPECT_EQ(GetValue<uint32_t>(*c2), 2); in HWTEST_F() 404 auto c2 = interface_pointer_cast<IArrayAny>(other.Clone(true)); in HWTEST_F() local 405 ASSERT_TRUE(c2); in HWTEST_F() 406 EXPECT_EQ(GetValue<ArrayType>(*c2), vv); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 231 for (let c2 = 0; c2 < b2; c2++) { 258 for (let c2 = 0; c2 < g2; c2++) { 279 h1.tables[c2].fields.push(w1); 584 for (let c2 = 0; c2 < p3; c2 [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/ |
H A D | typeface_test.cpp | 27 constexpr uint32_t HB_TAG(char c1, char c2, char c3, char c4) in HB_TAG() argument 30 const uint32_t c2_shift = static_cast<uint32_t>(c2) & 0xFF; in HB_TAG()
|
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/ |
H A D | sys_binder.h | 24 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
|
/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 153 void TransformComponent::Matrix3d(float a1, float b1, float c1, float d1, float a2, float b2, float c2, float d2, in Matrix3d() argument 159 operation.matrix4_ = Matrix4(a1, a2, a3, a4, b1, b2, b3, b4, c1, c2, c3, c4, d1, d2, d3, d4); in Matrix3d()
|
H A D | transform_component.h | 81 void Matrix3d(float a1, float b1, float c1, float d1, float a2, float b2, float c2, float d2, float a3, float b3,
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_typeface_test.cpp | 28 #define HB_TAG(c1,c2,c3,c4) ((uint32_t)((((uint32_t)(c1)&0xFF)<<24)|(((uint32_t)(c2)&0xFF)<<16)|(((uint32_t)(c3)&0xFF)<<8)|((uint32_t)(c4)&0xFF)))
|
/foundation/communication/ipc/ipc/native/src/mock/include/ |
H A D | sys_binder.h | 28 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
|