/foundation/aafwk/standard/services/appmgr/test/unittest/ams_service_app_spawn_socket_test/ |
D | ams_service_app_spawn_socket_test.cpp | 146 int32_t len = 10; variable 170 int32_t len = 0; variable 194 int32_t len = -1; variable 218 int32_t len = 10; variable 243 int32_t len = 10; variable 267 int32_t len = 10; variable 291 int32_t len = 0; variable 315 int32_t len = -1; variable 339 int32_t len = 10; variable 364 int32_t len = 10; variable
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/common/ |
D | distributeddb_parcel_unit_test.cpp | 69 uint32_t len = Parcel::GetIntLen() + Parcel::GetUInt32Len() + Parcel::GetUInt64Len(); variable 123 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 158 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 193 uint32_t len = Parcel::GetVectorLen<uint32_t>(writeData); variable 228 uint32_t len = Parcel::GetVectorLen<uint32_t>(writeData); variable 264 uint32_t len = Parcel::GetVectorLen<uint64_t>(writeData); variable 299 uint32_t len = Parcel::GetVectorLen<uint64_t>(writeData); variable 334 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 374 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 414 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable [all …]
|
/foundation/communication/wifi/services/wifi_standard/ipc_framework/cRPC/src/ |
D | context.c | 64 static int ExpandReadCache(Context *context, int len) in ExpandReadCache() 102 static int ExpandWriteCache(Context *context, int len) in ExpandWriteCache() 143 static int ContextAppendRead(Context *context, const char *buf, int len) in ContextAppendRead() 170 int ContextAppendWrite(Context *context, const char *buf, int len) in ContextAppendWrite() 206 int len = (context->rBegin <= context->rEnd) ? (context->rEnd - context->rBegin) in ContextGetReadRecord() local 254 int len = strlen(line); in ContextReadNet() local 277 int len = context->wCapacity - context->wBegin; in ContextWriteNet() local
|
D | serial.c | 32 int len = strlen(szTmp); in WriteBegin() local 42 int len = strlen(funcName) + 1; in WriteFunc() local 130 int len = strlen(pStr) + 1; in WriteStr() local 147 int WriteUStr(Context *context, const unsigned char *uStr, unsigned int len) in WriteUStr() 208 int len = ReadNext(context); in ReadFunc() local 244 int len = ReadNext(context); in ReadNextNum() local 267 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadInt() local 283 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadLong() local 299 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadInt64() local 315 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadDouble() local [all …]
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
D | lnn_network_id.c | 30 static int32_t GetUuidFromFile(char *id, uint32_t len) in GetUuidFromFile() 57 int32_t LnnGenLocalNetworkId(char *networkId, uint32_t len) in LnnGenLocalNetworkId() 71 int32_t LnnGenLocalUuid(char *uuid, uint32_t len) in LnnGenLocalUuid()
|
/foundation/aafwk/standard/test/systemtest/common/fms/fms_fuzz_test/src/ |
D | get_param.cpp | 220 size_t len = GenRandom(0, 255); in GetStringParam() local 232 size_t len = GenRandom(0, 255); in GetS64S32MapParam() local 246 size_t len = GenRandom(0, 255); in GetUnsignVectorParam() local 265 size_t len = GenRandom(0, 255); in GetBoolVectorParam() local 277 size_t len = GenRandom(0, 255); in GetShortVectorParam() local 289 size_t len = GenRandom(0, 255); in GetLongVectorParam() local 301 size_t len = GenRandom(0, 255); in GetIntVectorParam() local 313 size_t len = GenRandom(0, 255); in GetFloatVectorParam() local 325 size_t len = GenRandom(0, 255); in GetDoubleVectorParam() local 337 size_t len = GenRandom(0, 255); in GetCharVectorParam() local [all …]
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
D | lnn_local_net_ledger.c | 45 static int32_t LlGetNodeSoftBusVersion(void *buf, uint32_t len) in LlGetNodeSoftBusVersion() 58 static int32_t LlGetDeviceUdid(void *buf, uint32_t len) in LlGetDeviceUdid() 81 static int32_t LlGetNetworkId(void *buf, uint32_t len) in LlGetNetworkId() 94 static int32_t LlGetUuid(void *buf, uint32_t len) in LlGetUuid() 116 static int32_t LlGetDeviceType(void *buf, uint32_t len) in LlGetDeviceType() 150 static int32_t LlGetDeviceName(void *buf, uint32_t len) in LlGetDeviceName() 170 static int32_t LlGetBtMac(void *buf, uint32_t len) in LlGetBtMac() 189 static int32_t LlGetWlanIp(void *buf, uint32_t len) in LlGetWlanIp() 208 static int32_t LlGetNetIfName(void *buf, uint32_t len) in LlGetNetIfName() 227 static int32_t L1GetMasterNodeUdid(void *buf, uint32_t len) in L1GetMasterNodeUdid() [all …]
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/src/ |
D | parcel.cpp | 28 Parcel::Parcel(uint8_t *inBuf, uint32_t len) in Parcel() 58 uint32_t len = ReadUInt8(intVal); in ReadBool() local 163 uint32_t len = inVal.size(); in WriteString() local 206 uint32_t len = *(reinterpret_cast<uint32_t *>(bufPtr_)); in ReadString() local 273 uint64_t len = ReadVectorChar(commit.commitId); in ReadMultiVerCommit() local 288 uint64_t len = commits.size(); in WriteMultiVerCommits() local 339 uint64_t len = 0; in ReadMultiVerCommits() local 473 uint64_t len = sizeof(uint32_t) + static_cast<uint64_t>(data.size()); in GetStringLen() local 484 uint64_t len = GetVectorCharLen(commit.commitId); in GetMultiVerCommitLen() local 499 uint64_t len = GetUInt64Len(); in GetMultiVerCommitsLen() local [all …]
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
D | session_mock.cpp | 52 int32_t SendBytesInner(int32_t sessionId, const void *data, uint32_t len) in SendBytesInner() 72 int32_t GetMySessionNameInner(int32_t sessionId, char *data, uint16_t len) in GetMySessionNameInner() 77 int32_t GetPeerSessionNameInner(int32_t sessionId, char *data, uint16_t len) in GetPeerSessionNameInner() 82 int32_t GetPeerDeviceIdInner(int32_t sessionId, char *data, uint16_t len) in GetPeerDeviceIdInner() 87 int32_t GetPkgNameInner(int32_t sessionId, char *data, uint16_t len) in GetPkgNameInner()
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gatt/ |
D | gatt_server_profile_callback.h | 47 …al void OnMultipleCharacteristicValueEvent(uint16_t connectHandle, GattValue &value, size_t len){}; in OnMultipleCharacteristicValueEvent() 49 uint16_t connectHandle, uint16_t valueHandle, GattValue &value, size_t len){}; in OnWriteWithoutResponseEvent() 51 uint16_t connectHandle, uint16_t valueHandle, GattValue &value, size_t len){}; in OnWriteCharacteristicValueEvent() 53 … uint16_t connectHandle, uint16_t valueHandle, uint16_t offset, GattValue &value, size_t len){}; in OnPrepareWriteValueEvent() 56 …OnReliableWriteEvent(uint16_t connectHandle, uint16_t valueHandle, GattValue &value, size_t len){}; in OnReliableWriteEvent() 59 …DescriptorWriteEvent(uint16_t connectHandle, uint16_t valueHandle, GattValue &value, size_t len){}; in OnDescriptorWriteEvent()
|
/foundation/communication/dsoftbus/adapter/common/bus_center/network/ |
D | lnn_netlink_monitor.c | 42 #define NLMSG_OK(nlh, len) (((len) >= (int32_t)(sizeof(struct nlmsghdr))) && (((nlh)->nlmsg_len) >=… argument 79 static void ParseRtAttr(struct rtattr **tb, int max, struct rtattr *attr, int len) in ParseRtAttr() 112 int len; in ProcessLinkEvent() local 137 int32_t len; in NetlinkMonitorThread() local
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/include/ |
D | parcel.h | 77 uint32_t len = data.size(); in WriteVector() local 115 uint32_t len = *(reinterpret_cast<uint32_t *>(bufPtr_)); in ReadVector() local 159 uint64_t len = sizeof(uint32_t) + static_cast<uint64_t>(data.size()) * sizeof(T); in GetVectorLen() local
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/hfp_hf/ |
D | hfp_hf_command_parser.cpp | 39 auto len = PacketPayloadSize(pkt); in Read() local 50 …HfpHfCommandProcessor &commandProcessor, std::vector<uint8_t> &data, size_t &pos, const size_t len) in ParseBody() 77 HfpHfCommandProcessor &commandProcessor, std::vector<uint8_t> &data, size_t len) in Parse()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
D | nstackx_smartgenius.c | 44 static void ParseRTattr(struct rtattr **tb, uint32_t max, struct rtattr *attr, uint32_t len) in ParseRTattr() 64 uint32_t len = msgHdr->nlmsg_len - NLMSG_SPACE(sizeof(struct ifaddrmsg)); in IfAddrMsgHandle() local 116 int len; in SmartGeniusCallback() local 157 socklen_t len; in SmartGeniusInit() local
|
/foundation/communication/dsoftbus/adapter/common/kernel/liteos_a/ |
D | lnn_ip_utils_adapter.c | 23 static int32_t GetNetworkIfIp(int32_t fd, struct ifreq *req, char *ip, char *netmask, uint32_t len) in GetNetworkIfIp() 60 int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len) in GetNetworkIpByIfName()
|
/foundation/communication/dsoftbus/core/frame/small/init/src/ |
D | disc_server_stub.c | 34 size_t len; in ServerPublishService() local 72 size_t len; in ServerUnPublishService() local 91 size_t len; in ServerStartDiscovery() local 131 size_t len; in ServerStopDiscovery() local
|
/foundation/aafwk/standard/services/appmgr/src/ |
D | app_spawn_socket.cpp | 62 ErrCode AppSpawnSocket::WriteMessage(const void *buf, const int32_t len) in WriteMessage() 86 ErrCode AppSpawnSocket::ReadMessage(void *buf, const int32_t len) in ReadMessage()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
D | lnn_distributed_net_ledger.c | 138 uint32_t len = LNN_LINK_TYPE_BUTT * sizeof(int32_t); in InitLaneStatus() local 402 static int32_t DlGetDeviceUuid(const char *networkId, void *buf, uint32_t len) in DlGetDeviceUuid() 413 static int32_t DlGetDeviceUdid(const char *networkId, void *buf, uint32_t len) in DlGetDeviceUdid() 430 static int32_t DlGetNodeSoftBusVersion(const char *networkId, void *buf, uint32_t len) in DlGetNodeSoftBusVersion() 441 static int32_t DlGetDeviceType(const char *networkId, void *buf, uint32_t len) in DlGetDeviceType() 458 static int32_t DlGetDeviceName(const char *networkId, void *buf, uint32_t len) in DlGetDeviceName() 475 static int32_t DlGetBtMac(const char *networkId, void *buf, uint32_t len) in DlGetBtMac() 492 static int32_t DlGetWlanIp(const char *networkId, void *buf, uint32_t len) in DlGetWlanIp() 509 static int32_t DlGetMasterUdid(const char *networkId, void *buf, uint32_t len) in DlGetMasterUdid() 530 static int32_t DlGetAuthPort(const char *networkId, void *buf, uint32_t len) in DlGetAuthPort() [all …]
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/ |
D | nstackx_qdisc.c | 37 int32_t len = (int32_t)RTA_PAYLOAD(tb[TCA_STATS2]); in ProcessQdiscInfoInner() local 73 int32_t len = (int32_t)(h->nlmsg_len); in ProcessQdiscInfo() local 97 static int32_t GetQdiscUsedLength(const char *devName, int32_t protocol, int32_t *len) in GetQdiscUsedLength() 210 uint32_t len; in GetQdiscLeftLengthPolicy() local 222 int32_t GetQdiscLeftLength(const char *devName, int32_t protocol, uint32_t *len) in GetQdiscLeftLength()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/ |
D | generic_single_ver_kv_entry.cpp | 116 uint64_t len = 0; in SerializeData() local 154 uint64_t len = 0; in CalculateLen() local 165 uint64_t len = 0; in CalculateLens() local 184 uint64_t len = parcel.ReadUInt32(version); in DeSerializeData() local 197 uint64_t len = 0; in DeSerializeDatas() local 318 void GenericSingleVerKvEntry::CalLenByLaterVersion(uint64_t &len, uint32_t targetVersion) const in CalLenByLaterVersion() 336 void GenericSingleVerKvEntry::DeSerializeByFirstVersion(uint64_t &len, Parcel &parcel) in DeSerializeByFirstVersion() 346 void GenericSingleVerKvEntry::DeSerializeByLaterVersion(uint64_t &len, Parcel &parcel, uint32_t tar… in DeSerializeByLaterVersion() 354 …enericSingleVerKvEntry::DeSerializeByVersion(uint32_t targetVersion, Parcel &parcel, uint64_t &len) in DeSerializeByVersion() 372 uint64_t len = 0; in CalculateCompressedLens() local
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/auth/src/ |
D | client_trans_auth_manager.c | 73 const void *data, uint32_t len, SessionPktType type) in ClientTransAuthOnDataReceived() 97 int32_t TransAuthChannelSendBytes(int32_t channelId, const void *data, uint32_t len) in TransAuthChannelSendBytes() 104 int32_t TransAuthChannelSendMessage(int32_t channelId, const void *data, uint32_t len) in TransAuthChannelSendMessage()
|
/foundation/ace/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/ |
D | global_impl_mock.cpp | 26 int32_t GLOBAL_GetLanguage(char *language, uint8_t len) in GLOBAL_GetLanguage() 36 int32_t GLOBAL_GetRegion(char *region, uint8_t len) in GLOBAL_GetRegion()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/unittest/ |
D | trans_tcp_direct_test.cpp | 66 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 71 static void OnMessageReceived(int sessionId, const void *data, unsigned int len) in OnMessageReceived() 255 uint32_t len = strlen(data); variable 284 uint32_t len = strlen(data); variable
|
/foundation/ai/engine/test/function/set_get_option/ |
D | option_function_test.cpp | 84 int len = strlen(str) + 1; in GetClientInfo() local 101 int len = strlen(str) + 1; in GetSyncAlgorithmInfo() local 120 int len = strlen(str) + 1; in GetAsyncAlgorithmInfo() local 167 int len = strlen(str) + 1; variable 246 int len = strlen(str) + 1; variable 337 int len = strlen(str) + 1; variable 396 int len = strlen(str) + 1; variable
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
D | softbus_proxychannel_message.c | 31 static int32_t TransProxyParseMessageHead(char *data, int32_t len, ProxyMessage *msg) in TransProxyParseMessageHead() 54 int32_t GetRemoteUuidByBtMac(const char *peerMac, char *uuid, int32_t len) in GetRemoteUuidByBtMac() 139 int32_t TransProxyParseMessage(char *data, int32_t len, ProxyMessage *msg) in TransProxyParseMessage() 377 int32_t TransProxyUnpackHandshakeAckMsg(const char *msg, ProxyChannelInfo *chanInfo, int32_t len) in TransProxyUnpackHandshakeAckMsg() 415 size_t len = 0; in UnpackHandshakeMsgForNormal() local 439 int32_t TransProxyUnpackHandshakeMsg(const char *msg, ProxyChannelInfo *chan, int32_t len) in TransProxyUnpackHandshakeMsg() 480 size_t len = 0; in TransProxyUnpackHandshakeMsg() local 517 …t32_t TransProxyUnpackIdentity(const char *msg, char *identity, uint32_t identitySize, int32_t len) in TransProxyUnpackIdentity()
|