Home
last modified time | relevance | path

Searched refs:nLen (Results 1 - 11 of 11) sorted by relevance

/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Dmock_custom_func.cpp60 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 Ddhcp_options_test.cpp336 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 Drtsp_sdp.cpp110 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 Dnet_http_request_context.h40 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 Drequest_context.h35 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 Drtsp_sdp.h109 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 Dnet_http_request_context.cpp206 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 Dnet_http_client_exec.cpp935 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 Drequest_context.cpp577 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 Ddhcp_options.cpp383 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 Dhttp_exec.cpp1369 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()

Completed in 11 milliseconds