Home
last modified time | relevance | path

Searched refs:c2 (Results 1 - 25 of 42) sorted by relevance

12

/foundation/arkui/ace_engine/test/unittest/core/pattern/recycle_node/
H A Drecycle_manager_test.cpp50 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 Dcolor.cpp153 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 Ddm_crypto.cpp149 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 Dsoftbus_utils.c208 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 Dinjector_utils.cpp101 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 Drpc_types.h19 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dcolor.cpp18 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 DRefUriTest.cpp285 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 Dohos_bt_gatt_utils.cpp41 [](char c1, char c2) { return tolower(c1) < tolower(c2); }); in operator ()()
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/
H A Dipc_types.h24 #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 Dinterstitialdialogaction.js59 (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 Dinterstitialdialogaction.js59 (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 Deasing_curve.cpp177 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 Dipc_types.h25 #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 Dheif_format_agent.h34 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 Dcolor.h149 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 Dheif_format_agent.cpp154 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 DIntfAnyTest.cpp155 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 Dcloud_extension_stub.js231 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 Dtypeface_test.cpp27 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 Dsys_binder.h24 #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 Dtransform_component.cpp153 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 Dtransform_component.h81 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 Dskia_typeface_test.cpp28 #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 Dsys_binder.h28 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4))

Completed in 13 milliseconds

12