Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 20 of 20) sorted by relevance

/foundation/graphic/standard/rosen/modules/2d_graphics/src/draw/
Dcolor.cpp155 bool operator==(const Color& c1, const Color& c2) in operator ==() argument
157 …return c1.alpha_ == c2.alpha_ && c1.red_ == c2.red_ && c1.green_ == c2.green_ && c1.blue_ == c2.bl… in operator ==()
159 bool operator!=(const Color& c1, const Color& c2) in operator !=() argument
161 …return c1.alpha_ != c2.alpha_ || c1.red_ != c2.red_ || c1.green_ != c2.green_ || c1.blue_ != c2.bl… in operator !=()
/foundation/communication/dsoftbus/core/common/utils/
Dsoftbus_utils.c147 unsigned char c2 = *inBuf++; in ConvertHexStringToBytes() local
148 if ((c2 >= '0') && (c2 <= '9')) { in ConvertHexStringToBytes()
149 c2 -= '0'; in ConvertHexStringToBytes()
150 } else if ((c2 >= 'a') && (c2 <= 'f')) { in ConvertHexStringToBytes()
151 c2 -= 'a' - DEC_MAX_NUM; in ConvertHexStringToBytes()
152 } else if ((c2 >= 'A') && (c2 <= 'F')) { in ConvertHexStringToBytes()
153 c2 -= 'A' - DEC_MAX_NUM; in ConvertHexStringToBytes()
155 SoftBusLog(SOFTBUS_LOG_COMM, SOFTBUS_LOG_ERROR, "HexToString Error! %c2", c2); in ConvertHexStringToBytes()
159 *outBuf++ = (c << HEX_MAX_BIT_NUM) | c2; in ConvertHexStringToBytes()
/foundation/communication/ipc/ipc/native/c/manager/include/
Drpc_types.h19 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/foundation/graphic/utils/frameworks/
Dcolor.cpp19 ColorType Color::GetMixColor(ColorType c1, ColorType c2, uint8_t mix) in GetMixColor() argument
24 …ret.red = (static_cast<uint16_t>(c1.red) * mix + (static_cast<uint16_t>(c2.red) * (255 ^ mix))) >>… in GetMixColor()
26 …ret.green = (static_cast<uint16_t>(c1.green) * mix + (static_cast<uint16_t>(c2.green) * (255 ^ mix… in GetMixColor()
28 …ret.blue = (static_cast<uint16_t>(c1.blue) * mix + (static_cast<uint16_t>(c2.blue) * (255 ^ mix)))… in GetMixColor()
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/
Dipc_types.h24 #define ZIPC_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/foundation/graphic/standard/rosen/modules/2d_graphics/include/draw/
Dcolor.h132 friend bool operator==(const Color& c1, const Color& c2);
133 friend bool operator!=(const Color& c1, const Color& c2);
/foundation/multimedia/image_standard/plugins/common/libs/image/formatagentplugin/include/
Dheif_format_agent.h33 uint32_t Fourcc(uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4);
/foundation/multimedia/image_standard/plugins/common/libs/image/formatagentplugin/src/
Dheif_format_agent.cpp126 uint32_t HeifFormatAgent::Fourcc(uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4) in Fourcc() argument
128 …return (c1 << (SHIFT_BASE * TIMES_THREE)) | (c2 << (SHIFT_BASE * TIMES_TWO)) | (c3 << SHIFT_BASE) … in Fourcc()
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/
Dsys_binder.h24 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/foundation/communication/ipc_lite/frameworks/liteipc_linux/include/
Dsys_binder.h22 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/foundation/graphic/utils/interfaces/kits/gfx_utils/
Dcolor.h129 static ColorType GetMixColor(ColorType c1, ColorType c2, uint8_t mix);
/foundation/communication/netmanager_base/services/netconnmanager/src/
Dnetwork.cpp144 uint8_t c2 = 0; in Ipv4PrefixLen() local
148 ret = sscanf_s(ip.c_str(), "%hhu.%hhu.%hhu.%hhu", &c1, &c2, &c3, &c4); in Ipv4PrefixLen()
152 ipNum = (c1 << static_cast<uint32_t>(BIT24)) | (c2 << static_cast<uint32_t>(BIT16)) | in Ipv4PrefixLen()
/foundation/communication/ipc/ipc/native/src/mock/include/
Dsys_binder.h28 #define B_PACK_CHARS(c1, c2, c3, c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/foundation/multimodalinput/input/patch/prebuild_eudev/rules.d/
D90-fwupd-devices.rules8 …endor}=="2109", ATTRS{idProduct}=="0810", ENV{FWUPD_GUID}="adbb9034-b577-42c2-a661-1ee4f49ef64c", …
D80-udisks2.rules126 …e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928|e3…
D60-libfprint-2.rules150 SUBSYSTEM=="usb", ATTRS{idVendor}=="06cb", ATTRS{idProduct}=="00c2", ATTRS{dev}=="*", TEST=="power/…
151 SUBSYSTEM=="usb", ATTRS{idVendor}=="06cb", ATTRS{idProduct}=="00c2", ENV{LIBFPRINT_DRIVER}="Synapti…
D69-libmtp.rules366 ATTR{idVendor}=="0781", ATTR{idProduct}=="74c2", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", E…
590 ATTR{idVendor}=="0e79", ATTR{idProduct}=="52c2", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", E…
/foundation/ace/ace_engine/frameworks/core/components/transform/
Dtransform_component.cpp153 …Component::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()
Dtransform_component.h81 …void Matrix3d(float a1, float b1, float c1, float d1, float a2, float b2, float c2, float d2, floa…
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
Dethernet_management.cpp530 uint8_t c2 = 0; in Ipv4PrefixLen() local
534 ret = sscanf_s(ip.c_str(), "%hhu.%hhu.%hhu.%hhu", &c1, &c2, &c3, &c4); in Ipv4PrefixLen()
538 ipNum = (c1 << BIT24) | (c2 << BIT16) | (c3 << BIT8) | c4; in Ipv4PrefixLen()