/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | mock_custom_func.cpp | 60 int nLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + uOption[DHCP_OPT_LEN_INDEX]; in AddOptDoubleValueToOpts() local 61 return AddOptStrToOpts(pOpts, uOption, nLen); in AddOptDoubleValueToOpts() 69 int nLen = MockCustomFunc::GetInstance().GetDhcpRawPacket(getPacket, rawFd); in __wrap_GetDhcpRawPacket() local 78 if (nLen == 1) { in __wrap_GetDhcpRawPacket() 81 } else if (nLen == NUM_TWO) { in __wrap_GetDhcpRawPacket() 83 } else if (nLen == NUM_THREE) { in __wrap_GetDhcpRawPacket() 85 } else if (nLen == NUM_FOUR) { in __wrap_GetDhcpRawPacket() 93 return nLen; in __wrap_GetDhcpRawPacket() 104 int nLen = MockCustomFunc::GetInstance().GetDhcpKernelPacket(getPacket, sockFd); in __wrap_GetDhcpKernelPacket() local 113 if (nLen in __wrap_GetDhcpKernelPacket() [all...] |
H A D | dhcp_options_test.cpp | 336 int nLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + option[DHCP_OPT_LEN_INDEX]; in HWTEST_F() local 338 EXPECT_GT(AddOptStrToOpts(packet.options, option, nLen), 0); in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/ |
H A D | rtsp_sdp.cpp | 110 int32_t MediaDescription::GetUe(const uint8_t *buf, uint32_t nLen, uint32_t &pos) in GetUe() argument 114 while (pos < nLen * 8) { // 8:unit in GetUe() 135 int32_t MediaDescription::GetSe(uint8_t *buf, uint32_t nLen, uint32_t &pos) in GetSe() argument 138 int32_t UeVal = GetUe(buf, nLen, pos); in GetSe() 185 uint32_t nLen = sps.size(); in GetVideoSize() local 191 ExtractNaluRbsp(buf, &nLen); in GetVideoSize() 220 GetUe(buf, nLen, cursor); in GetVideoSize() 235 int32_t chromaFormatIdc = GetUe(buf, nLen, cursor); in GetVideoSize() 241 GetUe(buf, nLen, cursor); in GetVideoSize() 243 GetUe(buf, nLen, curso in GetVideoSize() [all...] |
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | net_http_request_context.h | 40 LoadBytes() : nLen(0), tLen(0) {}; in LoadBytes() 41 LoadBytes(curl_off_t nowLen, curl_off_t totalLen): nLen(nowLen), tLen(totalLen) {}; in LoadBytes() 44 curl_off_t nLen; member
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/ |
H A D | request_context.h | 35 LoadBytes() : nLen(0), tLen(0){}; in LoadBytes() 38 nLen = nowLen; in LoadBytes() 42 curl_off_t nLen; member
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/ |
H A D | rtsp_sdp.h | 109 int32_t GetSe(uint8_t *buf, uint32_t nLen, uint32_t &pos); 110 int32_t GetUe(const uint8_t *buf, uint32_t nLen, uint32_t &pos);
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_request_context.cpp | 206 dlBytes.nLen = dlBytes_.front().nLen; in GetDlLen() 218 ulBytes.nLen = ulBytes_.back().nLen; in GetUlLen() 231 return nowLen == lastElement.nLen && totalLen == lastElement.tLen; in CompareWithLastElement()
|
H A D | net_http_client_exec.cpp | 935 CDataSendProgressInfo info = {.sendSize = ulLen.nLen, .totalSize = ulLen.tLen}; in ProgressCallback() 954 CDataReceiveProgressInfo info = {.receiveSize = dlLen.nLen, .totalSize = dlLen.tLen}; in ProgressCallback()
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/ |
H A D | request_context.cpp | 577 dlBytes.nLen = dlBytes_.front().nLen; in GetDlLen() 599 ulBytes.nLen = ulBytes_.back().nLen; in GetUlLen() 612 return nowLen == lastElement.nLen && totalLen == lastElement.tLen; in CompareWithLastElement()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_options.cpp | 383 int nLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + uOption[DHCP_OPT_LEN_INDEX]; in AddOptValueToOpts() local 384 return AddOptStrToOpts(pOpts, uOption, nLen); in AddOptValueToOpts()
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 1369 if (dlLen.tLen && dlLen.nLen) { in AddCurlHandle() 1370 NapiUtils::SetUint32Property(context->GetEnv(), progress, "receiveSize", static_cast<uint32_t>(dlLen.nLen)); in AddCurlHandle() 1391 static_cast<uint32_t>(context->GetUlLen().nLen)); in AddCurlHandle()
|