Home
last modified time | relevance | path

Searched refs:tmpBuf (Results 1 - 12 of 12) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_mgt_msg_log.c202 FILLP_CHAR tmpBuf[FILLP_EXT_PARA_FORMAT_BUF_LEN] = {0}; in FillpConnReqAckRxLog() local
203 if (FillpExtParaFormat(extPara, extParaLen, tmpBuf, sizeof(tmpBuf)) < 0) { in FillpConnReqAckRxLog()
209 ack->tagCookie, ack->cookieLength, ack->timestamp, tmpBuf); in FillpConnReqAckRxLog()
215 FILLP_CHAR tmpBuf[FILLP_EXT_PARA_FORMAT_BUF_LEN] = {0}; in FillpConnReqAckTxLog() local
216 if (FillpExtParaFormat(extPara, extParaLen, tmpBuf, sizeof(tmpBuf)) < 0) { in FillpConnReqAckTxLog()
224 FILLP_NTOHS(ack->tagCookie), FILLP_NTOHS(ack->cookieLength), FILLP_NTOHLL(ack->timestamp), tmpBuf); in FillpConnReqAckTxLog()
230 FILLP_CHAR tmpBuf[FILLP_EXT_PARA_FORMAT_BUF_LEN] = {0}; in FillpConnConfirmRxLog() local
231 if (FillpExtParaFormat(extPara, extParaLen, tmpBuf, sizeo in FillpConnConfirmRxLog()
276 FILLP_CHAR tmpBuf[FILLP_EXT_PARA_FORMAT_BUF_LEN] = {0}; FillpConnConfirmTxLog() local
315 FILLP_CHAR tmpBuf[FILLP_EXT_PARA_FORMAT_BUF_LEN] = {0}; FillpConnFinLog() local
[all...]
H A Dfillp_output.c514 FILLP_CHAR *buf = pcb->pcbInst->tmpBuf[0]; in FillpSendPackWithPcbBuffer()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Djpeg_exif_metadata_accessor.cpp240 byte tmpBuf[JPEG_HEADER_LENGTH]; in WriteHeader() local
241 tmpBuf[0] = JPEG_MARKER_HEADER; in WriteHeader()
242 tmpBuf[1] = JPEG_MARKER_SOI; in WriteHeader()
243 if (bufStream.Write(tmpBuf, JPEG_HEADER_LENGTH) != JPEG_HEADER_LENGTH) { in WriteHeader()
277 std::array<byte, APP1_HEADER_LENGTH> tmpBuf; in WriteData() local
278 tmpBuf[0] = JPEG_MARKER_HEADER; in WriteData()
279 tmpBuf[1] = JPEG_MARKER_APP1; in WriteData()
296 std::copy_n(EXIF_ID, EXIF_ID_SIZE, tmpBuf.data() + MARKER_LENGTH_SIZE); in WriteData()
299 US2Data(tmpBuf.data() + EXIF_BLOB_OFFSET, static_cast<uint16_t>(size + exifHeaderLength), bigEndian); in WriteData()
300 if (bufStream.Write(tmpBuf in WriteData()
315 std::array<byte, SEGMENT_LENGTH_SIZE> tmpBuf; WriteSegment() local
332 std::array<byte, SEGMENT_LENGTH_SIZE> tmpBuf; WriteTail() local
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dfscrypt_control.c243 char *tmpBuf = (char *)malloc(bufMax); in SpliceKeyPath() local
244 if (!tmpBuf) { in SpliceKeyPath()
248 tmpBuf[0] = '\0'; in SpliceKeyPath()
250 int ret = strncat_s(tmpBuf, bufMax, path, pathLen); in SpliceKeyPath()
252 free(tmpBuf); in SpliceKeyPath()
256 ret = strncat_s(tmpBuf, bufMax, name, nameLen); in SpliceKeyPath()
258 free(tmpBuf); in SpliceKeyPath()
262 *buf = tmpBuf; in SpliceKeyPath()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_callback.c221 char tmpBuf[WIFI_BSSID_LENGTH] = {0}; in WifiHalCbStaJoin() local
224 StrSafeCopy(tmpBuf, sizeof(tmpBuf), content + strlen("AP-STA-CONNECTED") + MAC_OFFSET); in WifiHalCbStaJoin()
227 StrSafeCopy(tmpBuf, sizeof(tmpBuf), content + strlen("AP-STA-DISCONNECTED") + MAC_OFFSET); in WifiHalCbStaJoin()
238 StrSafeCopy(pCbkMsg->msg.ifMsg.ifname, sizeof(pCbkMsg->msg.ifMsg.ifname), tmpBuf); in WifiHalCbStaJoin()
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_mtp_device.cpp467 unsigned char *tmpBuf; in FileRead() local
469 int rval = LIBMTP_GetPartialObject(device_, fileToFetch->Id(), offset, size, &tmpBuf, &tmpSize); in FileRead()
471 if (memcpy_s(buf, tmpSize, tmpBuf, tmpSize) != EOK) { in FileRead()
472 LOGE("memcpy_s tmpBuf fail"); in FileRead()
474 free(tmpBuf); in FileRead()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/
H A Dwifi_supplicant_hal.c581 static void ListNetworkProcess(WifiNetworkInfo *pcmd, char *tmpBuf, int bufLeng) in ListNetworkProcess() argument
587 if (tmpBuf[end] != '\t') { in ListNetworkProcess()
591 tmpBuf[end] = '\0'; in ListNetworkProcess()
593 pcmd->id = atoi(tmpBuf); in ListNetworkProcess()
595 if (strcpy_s(pcmd->ssid, sizeof(pcmd->ssid), tmpBuf + start) != EOK) { in ListNetworkProcess()
600 if (strcpy_s(pcmd->bssid, sizeof(pcmd->bssid), tmpBuf + start) != EOK) { in ListNetworkProcess()
604 if (strcpy_s(pcmd->flags, sizeof(pcmd->flags), tmpBuf + start) != EOK) { in ListNetworkProcess()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge.h120 FILLP_CHAR *tmpBuf[FILLP_VLEN]; member
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/
H A Dwifi_hdi_wpa_callback.cpp369 char tmpBuf[WIFI_BSSID_LENGTH] = {0}; in onEventStaJoin() local
381 if (strcpy_s(tmpBuf, sizeof(tmpBuf), apCbParm->content + len + 1) != 0) { in onEventStaJoin()
390 cbInfo.mac = tmpBuf; in onEventStaJoin()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_headers.cpp220 auto tmpBuf = std::make_unique<uint8_t[]>(bytesLen); in ParseUnicodeText() local
221 if (memcpy_s(tmpBuf.get(), bytesLen, &buf[pos], bytesLen) != EOK) { in ParseUnicodeText()
226 ObexUtils::DataReverse(tmpBuf.get(), bytesLen, UINT16_LENGTH); in ParseUnicodeText()
228 std::u16string str((char16_t *)tmpBuf.get()); in ParseUnicodeText()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_core.c61 buf.p = inst->tmpBuf[0]; in SpungeDoRecvCycle()
314 inst->tmpBuf[i] = SpungeAlloc(1, (sizeof(FILLP_CHAR) * FILLP_MAX_PKT_SIZE), SPUNGE_ALLOC_TYPE_MALLOC); in SpungeInstSendInit()
315 if (inst->tmpBuf[i] == FILLP_NULL_PTR) { in SpungeInstSendInit()
316 FILLP_LOGERR("inst->tmpBuf[%d] is NULL", i); in SpungeInstSendInit()
528 if (inst->tmpBuf[j] == FILLP_NULL_PTR) { in SpungeFreeInstSendRecv()
531 SpungeFree(inst->tmpBuf[j], SPUNGE_ALLOC_TYPE_MALLOC); in SpungeFreeInstSendRecv()
532 inst->tmpBuf[j] = FILLP_NULL_PTR; in SpungeFreeInstSendRecv()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_p2p_hal/
H A Dwifi_p2p_hal.c915 char *tmpBuf = token + 1; in WpaP2pCliCmdNetworkList() local
917 token = strtok_r(tmpBuf, "\n", &savedPtr); in WpaP2pCliCmdNetworkList()

Completed in 22 milliseconds