/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_crpc_server_add_test.cpp | 95 mContext->nSize = strlen(buff); in HWTEST_F() 100 mContext->nSize = strlen(buff1); in HWTEST_F() 111 mContext->nSize = strlen(buff); in HWTEST_F() 116 mContext->nSize = strlen(buff1); in HWTEST_F() 127 mContext->nSize = strlen(buff); in HWTEST_F() 132 mContext->nSize = strlen(buff1); in HWTEST_F() 143 mContext->nSize = strlen(buff); in HWTEST_F() 148 mContext->nSize = strlen(buff1); in HWTEST_F() 159 mContext->nSize = strlen(buff); in HWTEST_F() 164 mContext->nSize in HWTEST_F() [all...] |
H A D | wifi_hal_crpc_server_test.cpp | 103 mContext->nSize = strlen(buff); in HWTEST_F() 108 mContext->nSize = strlen(buff2); in HWTEST_F() 114 mContext->nSize = strlen(buff3); in HWTEST_F() 385 mContext->nSize = strlen(buff); in HWTEST_F() 390 mContext->nSize = strlen(buff2); in HWTEST_F() 408 mContext->nSize = strlen(buff); in HWTEST_F() 413 mContext->nSize = strlen(buff2); in HWTEST_F() 418 mContext->nSize = strlen(buff3); in HWTEST_F() 429 mContext->nSize = strlen(buff); in HWTEST_F() 434 mContext->nSize in HWTEST_F() [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/ |
H A D | geometry_shorten_path.cpp | 29 int32_t nSize = int32_t(vtxSeq.Size() - TWO_STEP); in ShortenPath() local 30 while (nSize) { in ShortenPath() 31 vtxSeqDistance = vtxSeq[nSize].vertexDistance; in ShortenPath() 37 --nSize; in ShortenPath() 40 nSize = vtxSeq.Size() - 1; in ShortenPath() 41 VertexDist& prev = vtxSeq[nSize - 1]; in ShortenPath() 42 VertexDist& last = vtxSeq[nSize]; in ShortenPath()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | i_wifi_test.cpp | 356 mTestContext->nSize = strlen(test) + 1; in HWTEST_F() 367 mTestContext->nSize = strlen(test) + 1; in HWTEST_F() 372 mTestContext->nSize = strlen(test1) + 1; in HWTEST_F() 377 mTestContext->nSize = strlen(test2) + 1; in HWTEST_F() 382 mTestContext->nSize = strlen(test3) + 1; in HWTEST_F() 394 mTestContext->nSize = strlen(test) + 1; in HWTEST_F() 399 mTestContext->nSize = strlen(test1) + 1; in HWTEST_F() 409 mTestContext->nSize = strlen(test) + 1; in HWTEST_F() 414 mTestContext->nSize = strlen(test1) + 1; in HWTEST_F() 419 mTestContext->nSize in HWTEST_F() [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/mock/ |
H A D | mock_network_session.h | 27 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 30 (void)nSize; in Send() 51 MOCK_METHOD(bool, Send, (const char *buf, int32_t nSize));
|
H A D | mock_client.h | 27 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 30 (void)nSize; in Send() 39 MOCK_METHOD(bool, Send, (const char *buf, int32_t nSize));
|
/foundation/CastEngine/castengine_wifi_display/services/network/session/ |
H A D | tcp_session.cpp | 55 bool TcpSession::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 59 return TcpSession::Send(buf->Peek(), nSize); in Send() 62 bool TcpSession::Send(const char *buf, int32_t nSize) in Send() argument 67 int32_t ret = SocketUtils::SendSocket(socket_->GetPeerFd(), buf, nSize); in Send()
|
H A D | base_network_session.cpp | 56 bool BaseNetworkSession::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 60 (void)nSize; in Send() 64 bool BaseNetworkSession::Send(const char *buf, int32_t nSize) in Send() argument 68 (void)nSize; in Send()
|
H A D | udp_session.cpp | 70 bool UdpSession::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 73 return UdpSession::Send(buf->Peek(), nSize); in Send() 76 bool UdpSession::Send(const char *buf, int32_t nSize) in Send() argument 88 int32_t retCode = ::sendto(socket_->GetLocalFd(), buf, nSize, 0, (struct sockaddr *)&socket_->udpClientAddr_, in Send()
|
H A D | tcp_session.h | 36 bool Send(const char *buf, int32_t nSize) override; 37 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) override;
|
H A D | udp_session.h | 36 bool Send(const char *buf, int32_t nSize) override; 37 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) override;
|
H A D | base_network_session.h | 87 bool Send(const char *buf, int32_t nSize) override; 88 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) override;
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_service_impl.cpp | 388 int nSize = (int)iterRangeMap->second.size(); in PutDhcpRange() local 389 if (nSize > 1) { in PutDhcpRange() 390 DHCP_LOGE("PutDhcpRange failed, %{public}s range size:%{public}d error!", tagName.c_str(), nSize); in PutDhcpRange() 392 } else if (nSize == 0) { in PutDhcpRange() 405 DHCP_LOGE("PutDhcpRange failed, %{public}s range size:%{public}d already exist!", tagName.c_str(), nSize); in PutDhcpRange() 512 int nSize = (int)iterRangeMap->second.size(); in SetDhcpRange() local 513 if (nSize > 1) { in SetDhcpRange() 514 DHCP_LOGE("SetDhcpRange failed, %{public}s range size:%{public}d error!", ifname.c_str(), nSize); in SetDhcpRange() 518 if (nSize == 1) { in SetDhcpRange() 519 DHCP_LOGW("SetDhcpRange %{public}s range size:%{public}d already exist.", ifname.c_str(), nSize); in SetDhcpRange() 565 int nSize = (int)iterTag->second.size(); SetDhcpNameExt() local 685 int nSize = (int)iterRangeMap->second.size(); CheckAndUpdateConf() local 771 int nSize = (int)iterRangeMap->second.size(); GetUsingIpRange() local [all...] |
/foundation/CastEngine/castengine_wifi_display/services/network/client/ |
H A D | tcp_client.cpp | 100 bool TcpClient::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 104 return Send(buf->Peek(), nSize); in Send() 107 bool TcpClient::Send(const char *buf, int32_t nSize) in Send() argument 112 if (SocketUtils::SendSocket(socket_->GetLocalFd(), buf, nSize) != 0) { in Send()
|
H A D | udp_client.cpp | 86 bool UdpClient::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() argument 90 return Send(buf->Peek(), nSize); in Send() 93 bool UdpClient::Send(const char *buf, int32_t nSize) in Send() argument 100 if (::write(fd, buf, nSize) != -1) { in Send()
|
H A D | tcp_client.h | 36 bool Send(const char *buf, int32_t nSize) override; 37 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) override;
|
H A D | udp_client.h | 36 bool Send(const char *buf, int32_t nSize) override; 37 bool Send(const DataBuffer::Ptr &buf, int32_t nSize) override;
|
/foundation/CastEngine/castengine_wifi_display/services/network/interfaces/ |
H A D | inetwork_session.h | 34 virtual bool Send(const char *buf, int32_t nSize) = 0; 35 virtual bool Send(const DataBuffer::Ptr &buf, int32_t nSize) = 0;
|
H A D | iclient.h | 37 virtual bool Send(const char *buf, int32_t nSize) = 0; 38 virtual bool Send(const DataBuffer::Ptr &buf, int32_t nSize) = 0;
|
/foundation/systemabilitymgr/samgr/utils/native/source/ |
H A D | tools.cpp | 27 size_t nSize = mark.size(); in DeleteAllMark() local 33 s.erase(pos, nSize); in DeleteAllMark()
|
/foundation/communication/wifi/wifi/test/wifi_standard/ipc_framework/cRPC/unittest/ |
H A D | serial_test.cpp | 63 ctx->nSize = ctx->wEnd; in HWTEST_F() 71 ctx->nSize = ctx->nPos; in HWTEST_F() 76 ctx->nSize = ctx->wEnd; in HWTEST_F()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/ |
H A D | serial_test.cpp | 63 ctx->nSize = ctx->wEnd; in HWTEST_F() 71 ctx->nSize = ctx->nPos; in HWTEST_F() 76 ctx->nSize = ctx->wEnd; in HWTEST_F()
|
/foundation/communication/wifi/wifi/utils/inc/ |
H A D | magic_enum.h | 79 auto nSize = std::size_t{0}; in GetEnumSize() 82 ++nSize; in GetEnumSize() 85 return nSize; in GetEnumSize()
|
/foundation/communication/wifi/wifi/base/cRPC/include/ |
H A D | context.h | 39 unsigned int nSize; /* deal message's total size */ member
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_global_func.cpp | 578 int nSize = static_cast<int>(jsonValue.size()); in ParseJsonKey() local 579 for (int i = 0; i < nSize; i++) { in ParseJsonKey() 581 LOGW("ParseJsonKey JSON[%{public}d] has no member %{public}s.", nSize, key.c_str()); in ParseJsonKey() 607 int nSize = static_cast<int>(root.size()); in ParseJson() local 608 for (int i = 0; i < nSize; i++) { in ParseJson() 610 LOGW("ParseJson JSON[%{public}d] has no member %{public}s.", nSize, type.c_str()); in ParseJson()
|