/foundation/multimodalinput/input/frameworks/util/socket/test/ |
D | stream_buffer_test.cpp | 39 bool CloneUnitTest(const StreamBuffer& buf) in CloneUnitTest() 65 char buf[100] = "stream data type3 001"; variable 76 char buf[] = ""; variable 86 char buf[] = "1234"; variable 96 std::string buf = ""; variable 105 std::string buf = "Stream Data"; variable 114 StreamBuffer buf; variable 123 std::string buf; variable 132 std::string buf = "stream data"; variable 141 StreamBuffer buf; variable [all …]
|
D | uds_socket_test.cpp | 118 char buf[] = ""; variable 127 char buf[] = "THIS IS RECEIVE DATA"; variable 136 char buf[] = "This is receive data."; variable 145 char *buf = nullptr; variable 154 const char *buf = ""; variable 163 const char *buf = nullptr; variable 172 const char *buf = "THIS IS WRITE DATA"; variable 181 const char *buf = "this is write data"; variable 190 const char *buf = ""; variable 200 const char *buf = "THIS IS RECEIVE DATA"; variable [all …]
|
D | uds_session_test.cpp | 57 const char *buf = "1234"; variable 66 const char *buf = nullptr; variable 76 const char *buf = nullptr; variable 85 const char *buf = "this unit data"; variable 95 const char *buf = "this unit data"; variable
|
/foundation/communication/bluetooth/services/bluetooth_standard/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/services/wifi_standard/wifi_hal/wifi_hal_module/wpa_supplicant_hal/wpa_p2p_hal/ |
D | wifi_p2p_hal.c | 67 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdWpsPbc() local 100 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdWpsPin() local 133 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetPowerSave() local 151 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetGroupIdle() local 170 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsName() local 188 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsDeviceType() local 207 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsSecDeviceType() local 225 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetWpsConfigMethods() local 243 char buf[P2P_REPLY_BUF_SMALL_LENGTH] = {0}; in WpaP2pCliCmdSetSsidPostfixName() local 266 char *buf = (char *)calloc(P2P_REPLY_BUF_LENGTH, sizeof(char)); in WpaP2pCliCmdGetDeviceAddress() local [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_hal/wifi_hal_module/hostapd_hal/ |
D | wifi_hostapd_hal.c | 97 char *buf = (char *)calloc(BUFSIZE_RECV, sizeof(char)); in HostapdReceiveCallback() local 227 static int WpaCtrlCommand(struct wpa_ctrl *ctrl, const char *cmd, char *buf, size_t bufSize) in WpaCtrlCommand() 253 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in EnableAp() local 263 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApName() local 278 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApRsnPairwise() local 292 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaPairwise() local 306 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaKeyMgmt() local 318 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApWpaValue() local 362 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApPasswd() local 373 char buf[BUFSIZE_REQUEST_SMALL] = {0}; in SetApChannel() local [all …]
|
/foundation/multimodalinput/input/frameworks/util/network/src/ |
D | stream_buffer.cpp | 21 StreamBuffer::StreamBuffer(const StreamBuffer &buf) in StreamBuffer() 63 bool StreamBuffer::Read(std::string &buf) in Read() 75 bool StreamBuffer::Write(const std::string &buf) in Write() 80 bool StreamBuffer::Read(StreamBuffer &buf) in Read() 85 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() 90 bool StreamBuffer::Read(char *buf, size_t size) in Read() 120 bool StreamBuffer::Write(const char *buf, size_t size) in Write() 208 bool StreamBuffer::Clone(const StreamBuffer &buf) in Clone()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/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/communication/wifi/services/wifi_standard/wifi_hal/wifi_hal_module/wpa_supplicant_hal/ |
D | wifi_wpa_hal.c | 55 static void DealP2pFindInfo(char *buf) in DealP2pFindInfo() 103 static void DealP2pGoNegRequest(const char *buf) in DealP2pGoNegRequest() 122 static void DealGroupStartInfo(char *buf) in DealGroupStartInfo() 172 static void DealServiceDiscRespEvent(char *buf) in DealServiceDiscRespEvent() 216 static void DealP2pGroupRemove(const char *buf) in DealP2pGroupRemove() 239 static void DealP2pConnectChanged(const char *buf, int type) in DealP2pConnectChanged() 256 static void DealDeviceLostEvent(const char *buf) in DealDeviceLostEvent() 274 static void DealInvitationReceived(char *buf, int type) in DealInvitationReceived() 306 static void DealInvitationResultEvent(const char *buf) in DealInvitationResultEvent() 328 static void DealP2pGoNegotiationFailure(const char *buf) in DealP2pGoNegotiationFailure() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/obex/ |
D | obex_body.cpp | 23 ObexArrayBodyObject::ObexArrayBodyObject(const uint8_t *buf, size_t bufLen) in ObexArrayBodyObject() 31 size_t ObexArrayBodyObject::Read(uint8_t *buf, size_t bufLen) in Read() 46 size_t ObexArrayBodyObject::Write(const uint8_t *buf, size_t bufLen) in Write() 51 size_t ObexArrayBodyObject::PrivateWrite(const uint8_t *buf, size_t bufLen) in PrivateWrite()
|
/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() 107 static int32_t UpdateLocalDeviceUdid(const void *buf) in UpdateLocalDeviceUdid() 116 static int32_t LlGetDeviceType(void *buf, uint32_t len) in LlGetDeviceType() 135 static int32_t UpdateLocalDeviceType(const void *buf) in UpdateLocalDeviceType() 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() [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_hal/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/ |
D | wifi_supplicant_hal.c | 73 char *buf = (char *)calloc(REPLY_BUF_LENGTH, sizeof(char)); in WpaCliCmdStatus() local 117 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdAddNetworks() local 134 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdReconnect() local 148 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdReassociate() local 162 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdDisconnect() local 176 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdSaveConfig() local 226 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdSetNetwork() local 248 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdEnableNetwork() local 262 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdSelectNetwork() local 276 char buf[REPLY_BUF_SMALL_LENGTH] = {0}; in WpaCliCmdDisableNetwork() local [all …]
|
/foundation/multimedia/histreamer/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() 71 int32_t IntervalCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in IntervalCapKeyStringiness() 92 int32_t DiscreteCapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in DiscreteCapKeyStringiness() 119 int32_t CapKeyStringiness(char* buf, size_t maxLen, const char* name, const char* typeName, in CapKeyStringiness() 135 MEDIA_UNUSED int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int32_t& val) in Stringiness() 141 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint32_t& val) in Stringiness() 147 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const std::string& val) in Stringiness() 153 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int64_t& val) in Stringiness() 159 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint64_t& val) in Stringiness() [all …]
|
/foundation/multimedia/histreamer/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/aafwk/standard/interfaces/kits/napi/aafwk/datashare_ext_ability_context/ |
D | datashare_ext_ability_context_module.cpp | 36 void NAPI_application_DataShareExtensionAbilityContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_DataShareExtensionAbilityContext_GetJSCode() 49 void NAPI_application_DataShareExtensionAbilityContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_DataShareExtensionAbilityContext_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/context/ |
D | context_module.cpp | 36 void NAPI_application_Context_GetJSCode(const char **buf, int *bufLen) in NAPI_application_Context_GetJSCode() 49 void NAPI_application_Context_GetABCCode(const char **buf, int *buflen) in NAPI_application_Context_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/ability_context/ |
D | ability_context_module.cpp | 36 void NAPI_application_AbilityContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_AbilityContext_GetJSCode() 49 void NAPI_application_AbilityContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_AbilityContext_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/test_runner/ |
D | test_runner_module.cpp | 35 const char **buf, int *bufLen) in NAPI_application_testRunner_GetJSCode() 48 const char **buf, int *buflen) in NAPI_application_testRunner_GetABCCode()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/work_scheduler_extension_context/ |
D | work_scheduler_extension_context_module.cpp | 36 void NAPI_WorkSchedulerExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_WorkSchedulerExtensionContext_GetJSCode() 50 void NAPI_WorkSchedulerExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_WorkSchedulerExtensionContext_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/ability/ |
D | ability_module.cpp | 36 void NAPI_application_Ability_GetJSCode(const char **buf, int *bufLen) in NAPI_application_Ability_GetJSCode() 49 void NAPI_application_Ability_GetABCCode(const char **buf, int *buflen) in NAPI_application_Ability_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/static_subscriber_extension_context/ |
D | static_subscriber_extension_context_module.cpp | 36 void NAPI_application_StaticSubscriberExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_StaticSubscriberExtensionContext_GetJSCode() 50 void NAPI_application_StaticSubscriberExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_StaticSubscriberExtensionContext_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/extensioncontext/ |
D | extension_context_module.cpp | 36 void NAPI_application_ExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_ExtensionContext_GetJSCode() 49 void NAPI_application_ExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_ExtensionContext_GetABCCode()
|
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_stage_napi/ |
D | window_stage_module.cpp | 35 void NAPI_application_WindowStage_GetJSCode(const char **buf, int *bufLen) in NAPI_application_WindowStage_GetJSCode() 48 void NAPI_application_WindowStage_GetABCCode(const char **buf, int *buflen) in NAPI_application_WindowStage_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/form_extension_context/ |
D | form_extension_context_module.cpp | 36 void NAPI_application_FormExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_FormExtensionContext_GetJSCode() 49 void NAPI_application_FormExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_FormExtensionContext_GetABCCode()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/form_extension/ |
D | form_extension_module.cpp | 36 void NAPI_application_FormExtension_GetJSCode(const char **buf, int *bufLen) in NAPI_application_FormExtension_GetJSCode() 49 void NAPI_application_FormExtension_GetABCCode(const char **buf, int *buflen) in NAPI_application_FormExtension_GetABCCode()
|