| /foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
| D | wifi_wpa_hal_test.cpp | 50 char buf[bufLen] = "12:23:34:45:56:67"; variable 57 char buf[bufLen] = "12:23:34:45:56:67"; variable 64 char buf[bufLen] = "12:23:34:45:56:67"; variable 71 char buf[bufLen] = "12:23:34:45:56:67"; variable 78 char buf[bufLen] = "12:23:34:45:56:67"; variable 85 char buf[bufLen] = "12:23:34:45:56:67"; variable 93 char buf[bufLen] = "12:23:34:45:56:67"; variable 100 char buf[bufLen] = "12:23:34:45:56:67"; variable 108 char buf[bufLen] = "12:23:34:45:56:67"; variable 115 char buf[bufLen] = "12:23:34:45:56:67"; variable [all …]
|
| /foundation/multimodalinput/input/util/socket/test/ |
| D | stream_buffer_test.cpp | 42 bool CloneUnitTest(const StreamBuffer& buf) in CloneUnitTest() 57 char buf[] = ""; variable 74 char buf[] = "1234"; variable 91 std::string buf = ""; variable 107 std::string buf = "Stream Data"; variable 123 StreamBuffer buf; variable 139 std::string buf; variable 154 std::string buf = "stream data"; variable 169 StreamBuffer buf; variable 183 char buf[100]; variable [all …]
|
| /foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
| D | rs_profiler_archive_test.cpp | 39 std::vector<char> buf; variable 57 std::vector<char> buf; variable 75 std::vector<char> buf; variable 93 std::vector<char> buf; variable 111 std::vector<char> buf; variable 129 std::vector<char> buf; variable 148 std::vector<char> buf; variable 166 std::vector<char> buf; variable 184 std::vector<char> buf; variable 223 std::vector<char> buf; variable [all …]
|
| /foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
| D | buffer.c | 35 Buffer *buf = (Buffer *)calloc(1, (sizeof(Buffer) + size)); in BufferMalloc() local 47 Buffer *BufferRefMalloc(const Buffer *buf) in BufferRefMalloc() 66 Buffer *BufferSliceMalloc(const Buffer *buf, uint32_t offset, uint32_t size) in BufferSliceMalloc() 88 Buffer *BufferResize(Buffer *buf, uint32_t offset, uint32_t size) in BufferResize() 111 void BufferFree(Buffer *buf) in BufferFree() 127 void *BufferPtr(const Buffer *buf) in BufferPtr() 136 uint32_t BufferGetSize(const Buffer *buf) in BufferGetSize()
|
| /foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_p2p_hal/ |
| D | wifi_p2p_hal.c | 66 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdWpsPbc() local 99 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdWpsPin() local 132 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetPowerSave() local 150 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetGroupIdle() local 169 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsName() local 187 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsDeviceType() local 206 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsSecDeviceType() local 224 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsConfigMethods() local 242 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetSsidPostfixName() local 265 char *buf = (char *)calloc(P2P_REPLY_BUF_LENGTH, sizeof(char)); in WpaP2pCliCmdGetDeviceAddress() local [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
| D | distributeddb_parcel_unit_test.cpp | 71 uint8_t *buf = new (nothrow) uint8_t[len]; variable 124 uint8_t *buf = new (nothrow) uint8_t[len]; variable 159 uint8_t *buf = new (nothrow) uint8_t[len]; variable 194 uint8_t *buf = new (nothrow) uint8_t[len]; variable 229 uint8_t *buf = new (nothrow) uint8_t[len]; variable 265 uint8_t *buf = new (nothrow) uint8_t[len]; variable 300 uint8_t *buf = new (nothrow) uint8_t[len]; variable 335 uint8_t *buf = new (nothrow) uint8_t[len]; variable 375 uint8_t *buf = new (nothrow) uint8_t[len]; variable 415 uint8_t *buf = new (nothrow) uint8_t[len]; variable [all …]
|
| /foundation/multimodalinput/input/util/network/src/ |
| D | stream_buffer.cpp | 24 StreamBuffer::StreamBuffer(const StreamBuffer &buf) in StreamBuffer() 66 bool StreamBuffer::Read(std::string &buf) in Read() 78 bool StreamBuffer::Write(const std::string &buf) in Write() 83 bool StreamBuffer::Read(StreamBuffer &buf) in Read() 88 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() 93 bool StreamBuffer::Read(char *buf, size_t size) in Read() 124 bool StreamBuffer::Write(const char *buf, size_t size) in Write() 212 bool StreamBuffer::Clone(const StreamBuffer &buf) in Clone()
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
| D | lnn_local_net_ledger.c | 81 static int32_t LlGetNodeSoftBusVersion(void *buf, uint32_t len) in LlGetNodeSoftBusVersion() 94 static int32_t LlGetDeviceUdid(void *buf, uint32_t len) in LlGetDeviceUdid() 117 static int32_t LlGetNetworkId(void *buf, uint32_t len) in LlGetNetworkId() 130 static int32_t LlGetOsVersion(void *buf, uint32_t len) in LlGetOsVersion() 144 static int32_t LlGetOffLineCode(void *buf, uint32_t len) in LlGetOffLineCode() 158 static int32_t LlGetExtData(void *buf, uint32_t len) in LlGetExtData() 172 static int32_t LlGetBleMac(void *buf, uint32_t len) in LlGetBleMac() 191 static int32_t LlGetUuid(void *buf, uint32_t len) in LlGetUuid() 204 static int32_t L1GetNodeScreenOnFlag(void *buf, uint32_t len) in L1GetNodeScreenOnFlag() 218 static int32_t UpdateLocalDeviceUdid(const void *buf) in UpdateLocalDeviceUdid() [all …]
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
| D | data_buf_test.cpp | 51 byte buf[2] = {0x01, 0x02}; variable 70 byte buf[2]; variable 92 byte buf[4]; variable 118 byte buf[4] = {0x01, 0x02, 0x03, 0x04}; variable
|
| /foundation/communication/netmanager_ext/frameworks/js/napi/extensionability/ |
| D | vpn_extension_ability_module.cpp | 35 const char **buf, int *bufLen) in NAPI_app_ability_VpnExtensionAbility_GetJSCode() 47 const char **buf, int *buflen) in NAPI_app_ability_VpnExtensionAbility_GetABCCode() 68 const char **buf, int *bufLen) in NAPI_application_VpnExtensionAbility_GetJSCode() 80 const char **buf, int *buflen) in NAPI_application_VpnExtensionAbility_GetABCCode()
|
| /foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/rtp/ |
| D | wfd_rtp_producer_test.cpp | 61 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable 81 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable 209 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable 228 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable 257 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable 275 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(); variable
|
| /foundation/ability/ability_runtime/frameworks/js/napi/ability/ |
| D | ability_module.cpp | 35 void NAPI_app_ability_UIAbility_GetJSCode(const char **buf, int *bufLen) in NAPI_app_ability_UIAbility_GetJSCode() 48 void NAPI_app_ability_UIAbility_GetABCCode(const char **buf, int *buflen) in NAPI_app_ability_UIAbility_GetABCCode() 70 void NAPI_application_Ability_GetJSCode(const char **buf, int *bufLen) in NAPI_application_Ability_GetJSCode() 83 void NAPI_application_Ability_GetABCCode(const char **buf, int *buflen) in NAPI_application_Ability_GetABCCode()
|
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
| D | obex_body.cpp | 24 ObexArrayBodyObject::ObexArrayBodyObject(const uint8_t *buf, size_t bufLen) in ObexArrayBodyObject() 32 size_t ObexArrayBodyObject::Read(uint8_t *buf, size_t bufLen) in Read() 47 size_t ObexArrayBodyObject::Write(const uint8_t *buf, size_t bufLen) in Write() 52 size_t ObexArrayBodyObject::PrivateWrite(const uint8_t *buf, size_t bufLen) in PrivateWrite()
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
| D | nstackx_dfinder_hidump.c | 43 char *buf; member 49 static DumpMsg *CreateDumpMsg(char *buf, uint32_t size) in CreateDumpMsg() 75 static int PostDumpMsg(char *buf, uint32_t size, EventHandle handle) in PostDumpMsg() 102 char *buf = (char *)calloc(size, sizeof(char)); in Dump() local 119 static int DumpStatisticsInfo(char *buf, uint32_t size) in DumpStatisticsInfo() 177 static int DumpStatistics(char *buf, uint32_t size) in DumpStatistics() 182 int DFinderDumpIface(char *buf, int size, const char *ifname, const struct in_addr *ip, uint8_t sta… in DFinderDumpIface() 205 int DumpDeviceInfo(const DeviceInfo *info, char *buf, int size, uint8_t remote) in DumpDeviceInfo() 255 static int DumpLocalDeviceInfo(char *buf, uint32_t size) in DumpLocalDeviceInfo() 273 static int DumpRemoteDeviceInfo(char *buf, uint32_t size) in DumpRemoteDeviceInfo() [all …]
|
| /foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/hostapd_hal/ |
| D | wifi_hostapd_hal.c | 195 char *buf = (char *)calloc(BUFSIZE_RECV, sizeof(char)); in HostapdReceiveCallback() local 354 static int WpaCtrlCommand(struct wpa_ctrl *ctrl, const char *cmd, char *buf, size_t bufSize) in WpaCtrlCommand() 380 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in EnableAp() local 390 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApName() local 405 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApRsnPairwise() local 419 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaPairwise() local 433 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaKeyMgmt() local 445 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaValue() local 489 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApPasswd() local 500 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApChannel() local [all …]
|
| /foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/ |
| D | wifi_wpa_hal.c | 90 static void DealP2pFindInfo(char *buf) in DealP2pFindInfo() 139 static void DealP2pGoNegRequest(const char *buf) in DealP2pGoNegRequest() 158 static void DealGroupStartInfo(char *buf) in DealGroupStartInfo() 202 static void DealServiceDiscRespEvent(char *buf) in DealServiceDiscRespEvent() 245 static void DealP2pGroupRemove(const char *buf) in DealP2pGroupRemove() 268 static void DealP2pConnectChanged(const char *buf, int type) in DealP2pConnectChanged() 289 static void DealDeviceLostEvent(const char *buf) in DealDeviceLostEvent() 307 static void DealInvitationReceived(char *buf, int type) in DealInvitationReceived() 339 static void DealInvitationResultEvent(const char *buf) in DealInvitationResultEvent() 361 static void DealP2pGoNegotiationFailure(const char *buf) in DealP2pGoNegotiationFailure() [all …]
|
| /foundation/multimedia/media_foundation/engine/pipeline/filters/common/ |
| D | plugin_utils.cpp | 49 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const T& val) in Stringiness() 56 int32_t FixedCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in FixedCapKeyStringiness() 74 int32_t IntervalCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in IntervalCapKeyStringiness() 98 int32_t DiscreteCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in DiscreteCapKeyStringiness() 128 int32_t CapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in CapKeyStringiness() 144 MEDIA_UNUSED int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int32_t& val) in Stringiness() 150 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint32_t& val) in Stringiness() 156 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const std::string& val) in Stringiness() 162 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int64_t& val) in Stringiness() 168 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint64_t& val) in Stringiness() [all …]
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
| D | lnn_distributed_net_ledger_manager.c | 45 static int32_t DlGetDeviceUuid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUuid() 57 static int32_t DlGetDeviceOfflineCode(const char *networkId, bool checkOnline, void *buf, uint32_t … in DlGetDeviceOfflineCode() 69 static int32_t DlGetDeviceUdid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUdid() 87 static int32_t DlGetNodeSoftBusVersion(const char *networkId, bool checkOnline, void *buf, uint32_t… in DlGetNodeSoftBusVersion() 99 static int32_t DlGetDeviceType(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceType() 117 static int32_t DlGetDeviceTypeId(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceTypeId() 127 static int32_t DlGetAuthType(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetAuthType() 136 static int32_t DlGetDeviceName(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceName() 154 static int32_t DlGetBtMac(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetBtMac() 172 static int32_t DlGetWlanIp(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetWlanIp() [all …]
|
| /foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/ |
| D | coap_adapter.c | 90 static int32_t CoapParseOption(CoapOption *option, uint16_t *runningDelta, const uint8_t **buf, uin… in CoapParseOption() 130 static int32_t CoapParseOptionsAndPayloadEx(CoapPacket *pkt, const uint8_t *buf, uint32_t buflen) in CoapParseOptionsAndPayloadEx() 171 static int32_t CoapParseOptionsAndPayload(CoapPacket *pkt, const uint8_t *buf, uint32_t buflen) in CoapParseOptionsAndPayload() 180 static int32_t CoapParseHeader(CoapPacket *pkt, const uint8_t *buf, uint32_t bufLen) in CoapParseHeader() 196 static int32_t CoapSoftBusDecodeEx(CoapPacket *pkt, const uint8_t *buf, uint32_t bufLen) in CoapSoftBusDecodeEx() 254 int32_t CoapSoftBusDecode(CoapPacket *pkt, const uint8_t *buf, uint32_t bufLen) in CoapSoftBusDecode() 263 …32_t CoapCreateHeaderEx(CoapPacket *pkt, const CoapPacketParam *pktParam, CoapReadWriteBuffer *buf) in CoapCreateHeaderEx() 306 …nt32_t CoapCreateHeader(CoapPacket *pkt, const CoapPacketParam *pktParam, CoapReadWriteBuffer *buf) in CoapCreateHeader() 315 static int32_t CoapAddData(CoapPacket *pkt, const CoapBuffer *payload, CoapReadWriteBuffer *buf) in CoapAddData() 389 …_t CoapCheckOption(const CoapPacket *pkt, const CoapOption *option, const CoapReadWriteBuffer *buf) in CoapCheckOption() [all …]
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
| D | tiff_parser_test.cpp | 39 unsigned char* buf = nullptr; variable 56 unsigned char* buf = nullptr; variable 77 unsigned char* buf = nullptr; variable 93 unsigned char* buf = nullptr; variable
|
| /foundation/multimedia/media_foundation/engine/plugin/plugins/minimp3_adapter/ |
| D | minimp3_wrapper.c | 35 int Minimp3WrapperMp3decDetectBuf(const uint8_t *buf, size_t bufSize) in Minimp3WrapperMp3decDetectBuf() 40 int Minimp3WrapperMp3decDetectCb(Minimp3WrapperMp3decIO *io, uint8_t *buf, size_t bufSize) in Minimp3WrapperMp3decDetectCb() 45 int Minimp3WrapperMp3decIterateBuf(const uint8_t *buf, size_t bufSize, MINIMP3_WRAPPER_MP3D_ITERATE… in Minimp3WrapperMp3decIterateBuf() 51 int Minimp3WrapperMp3decIterateCb(Minimp3WrapperMp3decIO *io, uint8_t *buf, size_t bufSize, in Minimp3WrapperMp3decIterateCb()
|
| /foundation/CastEngine/castengine_wifi_display/services/network/session/ |
| D | tcp_session.cpp | 55 bool TcpSession::Send(const DataBuffer::Ptr &buf, int32_t nSize) in Send() 62 bool TcpSession::Send(const char *buf, int32_t nSize) in Send() 106 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnSessionReadble() local
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
| D | plugin_libjpeg_test.cpp | 57 unsigned char *buf = nullptr; variable 72 unsigned char buf = 'n'; variable 87 unsigned char *buf = nullptr; variable 302 uint8_t buf[bufSize] = "exif"; variable 319 uint8_t buf[bufSize] = "exif"; variable 335 const uint8_t *buf = new uint8_t; variable 361 const uint8_t *buf = new uint8_t; variable 403 unsigned char buf[20] = "ttttttExif"; variable 424 unsigned char buf[20] = "tttttttttt"; variable 445 unsigned char *buf = new unsigned char; variable [all …]
|
| /foundation/ability/ability_runtime/frameworks/js/napi/insight_intent/insight_intent_executor/ |
| D | insight_intent_executor_module.cpp | 36 void NAPI_app_ability_InsightIntentExecutor_GetJSCode(const char **buf, int *bufLen) in NAPI_app_ability_InsightIntentExecutor_GetJSCode() 48 void NAPI_app_ability_InsightIntentExecutor_GetABCCode(const char **buf, int *buflen) in NAPI_app_ability_InsightIntentExecutor_GetABCCode()
|
| /foundation/window/window_manager/interfaces/kits/napi/extension_window/ |
| D | extension_window_module.cpp | 34 void NAPI_application_extensionWindow_GetJSCode(const char** buf, int* bufLen) in NAPI_application_extensionWindow_GetJSCode() 47 void NAPI_application_extensionWindow_GetABCCode(const char** buf, int* buflen) in NAPI_application_extensionWindow_GetABCCode()
|