Searched refs:addLen (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_message.cpp | 58 int addLen = 0; in SetSmsTpduDestAddress() local 61 return addLen; in SetSmsTpduDestAddress() 63 addLen = static_cast<int>(desAddr.length()); in SetSmsTpduDestAddress() 66 if (addLen < MAX_ADDRESS_LEN) { in SetSmsTpduDestAddress() 68 desAddr.c_str(), addLen); in SetSmsTpduDestAddress() 71 return addLen; in SetSmsTpduDestAddress() 73 tPdu->data.submit.destAddress.address[addLen] = '\0'; in SetSmsTpduDestAddress() 84 return addLen; in SetSmsTpduDestAddress() 88 return addLen; in SetSmsTpduDestAddress()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 269 double addLen = 0.0; // When left < 2 * gap, splits left to gaps. in SetBorderEffect() local 283 (dashGap >= 0.f ? dashGap : width + addLen) }; in SetBorderEffect() 334 float addLen = (borderStyle != BorderStyle::DOTTED) ? 0.0f : 0.5f; in ApplyLineStyle() local 335 auto borderLength = length - borderWidth * addLen * PARAM_DOUBLE; in ApplyLineStyle() 373 float addLen = (GetStyle(RSBorder::LEFT) != BorderStyle::DOTTED) ? 0.0f : 0.5f; in PaintFourLine() local 376 … Drawing::Point(rect.left_ + borderLeftWidth / PARAM_DOUBLE, rect.top_ + addLen * borderTopWidth), in PaintFourLine() 381 float addLen = (GetStyle(RSBorder::RIGHT) != BorderStyle::DOTTED) ? 0.0f : 0.5f; in PaintFourLine() local 385 rect.GetBottom() - addLen * borderBottomWidth), in PaintFourLine() 390 float addLen = (GetStyle(RSBorder::TOP) != BorderStyle::DOTTED) ? 0.0f : 0.5f; in PaintFourLine() local 393 …Drawing::Point(rect.GetRight() - addLen * borderRightWidth, rect.top_ + borderTopWidth / PARAM_DOU… in PaintFourLine() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 2337 double addLen = 0.0; // When left < 2 * gap, splits left to gaps. in SetBorderStyle() local 2349 addLen = in SetBorderStyle() 2378 double addLen = 0.0; // When left < 2 * gap, splits left to gaps. in SetBorderStyle() local 2390 addLen = in SetBorderStyle() 2767 double addLen = 0.5; in PaintBorderWithLine() local 2769 addLen = 0.0; in PaintBorderWithLine() 2787 offset.GetY() + addLen * NormalizeToPx(left.GetWidth()), in PaintBorderWithLine() 2793 offset.GetY() + addLen * NormalizeToPx(left.GetWidth())), in PaintBorderWithLine() 2814 canvas->drawLine(offset.GetX() + addLen * NormalizeToPx(bottom.GetWidth()), in PaintBorderWithLine() 2870 canvas->drawLine(offset.GetX() + addLen * NormalizeToPx(top.GetWidth()), in PaintBorderWithLine() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | sysio_udp.c | 233 FILLP_SIZE_T addLen = sizeof(struct sockaddr_in6); in SysioFetchPacketUdp() local 243 (size_t)FILLP_MAX_PKT_SIZE, 0, &netbuf->addr, (FILLP_SIZE_T *)&addLen); in SysioFetchPacketUdp()
|