Searched refs:msgBuf (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/ |
H A D | audio_codec_base.c | 493 uint8_t *msgBuf = NULL; in CodecI2cMsgFill() local 512 msgBuf = OsalMemCalloc(i2cTransferParam->i2cRegDataLen + 1); in CodecI2cMsgFill() 513 if (msgBuf == NULL) { in CodecI2cMsgFill() 517 msgBuf[0] = regs[0]; in CodecI2cMsgFill() 519 msgBuf[1] = (uint8_t)regAttr->value; in CodecI2cMsgFill() 521 msgBuf[1] = (regAttr->value >> COMM_SHIFT_8BIT); // High 8 bit in CodecI2cMsgFill() 522 msgBuf[I2C_MSG_BUF_SIZE_2] = (uint8_t)(regAttr->value & COMM_MASK_FF); // Low 8 bit in CodecI2cMsgFill() 527 msgs[0].buf = msgBuf; in CodecI2cMsgFill() 530 msgBuf = OsalMemCalloc(i2cTransferParam->i2cRegDataLen); in CodecI2cMsgFill() 531 if (msgBuf == NULL) { in CodecI2cMsgFill() [all …]
|
H A D | audio_platform_base.c | 1329 char msgBuf[AUDIO_PNP_MSG_LEN] = {0}; in AudioCapSilenceThresholdEvent() local 1336 ret = snprintf_s(msgBuf, AUDIO_PNP_MSG_LEN, AUDIO_PNP_MSG_LEN - 1, in AudioCapSilenceThresholdEvent() 1342 if (HdfDeviceObjectSetServInfo(device, msgBuf) != HDF_SUCCESS) { in AudioCapSilenceThresholdEvent()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/distributedtest/rdb_store_impl_test/ |
H A D | distributed_test.cpp | 161 std::string msgBuf = "recall function message test."; variable 162 …ret = SendMessage(AGENT_NO::ONE, msgBuf, MSG_LENGTH, [&](const std::string &szreturnbuf, int rlen)… in __anonf13e8b530202()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | p2p_state_machine.cpp | 715 std::any msgBuf = msg; in NotifyUserInvitationSentMessage() local 733 std::any msgBuf = msg; in NotifyUserProvDiscShowPinRequestMessage() local 756 std::any msgBuf = msg; in NotifyUserInvitationReceivedMessage() local
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-c-cpp-secure-coding-guide.md | 2656 char msgBuf[MAX_MSG_SIZE]; 2657 errno_t ret = strcpy(msgBuf, "No msg yet."); // 初始化消息内容 2663 ret = strcpy(msgBuf, "signal SIGINT received.");
|
H A D | OpenHarmony-c-coding-style-guide.md | 202 char *msgBuf;
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-c-cpp-secure-coding-guide.md | 2725 char msgBuf[MAX_MSG_SIZE]; 2726 errno_t ret = strcpy(msgBuf, "No msg yet."); // Initialize message content. 2732 ret = strcpy(msgBuf, "signal SIGINT received.");
|
H A D | OpenHarmony-c-coding-style-guide.md | 239 char *msgBuf;
|