Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 25 of 27) sorted by relevance

12

/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_storage.cpp169 …ultiPageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize, VerOffset chunkS… in writeMultiPageBlob() argument
173 size_t remainingSize = dataSize; in writeMultiPageBlob()
184 if (dataSize > max_pages * Page::CHUNK_MAX_SIZE) { in writeMultiPageBlob()
192 …if (chunkCount == 0U && ((tailroom < dataSize) || (tailroom == 0 && dataSize == 0)) && tailroom < … in writeMultiPageBlob()
251 item.blobIndex.dataSize = dataSize; in writeMultiPageBlob()
272 …::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, size_t dataSize) in writeItem() argument
299 if (cmpMultiPageBlob(nsIndex, key, data, dataSize) == ESP_OK) { in writeItem()
316 err = writeMultiPageBlob(nsIndex, key, data, dataSize, nextStart); in writeItem()
349 findPage->cmpItem(nsIndex, datatype, key, data, dataSize) == ESP_OK) { in writeItem()
354 err = page.writeItem(nsIndex, datatype, key, data, dataSize); in writeItem()
[all …]
Dnvs_storage.hpp76 … writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, size_t dataSize);
78 …p_err_t readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t dataSize);
80 … esp_err_t getItemDataSize(uint8_t nsIndex, ItemType datatype, const char* key, size_t& dataSize);
118 …ultiPageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize, VerOffset chunkS…
120 esp_err_t readMultiPageBlob(uint8_t nsIndex, const char* key, void* data, size_t dataSize);
122 esp_err_t cmpMultiPageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize);
Dnvs_page.cpp178 …t nsIndex, ItemType datatype, const char* key, const void* data, size_t dataSize, uint8_t chunkIdx) in writeItem() argument
203 if (dataSize > Page::CHUNK_MAX_SIZE) { in writeItem()
210 size_t roundedSize = (dataSize + ENTRY_SIZE - 1) & ~(ENTRY_SIZE - 1); in writeItem()
234 memcpy(item.data, data, dataSize); in writeItem()
242 item.varLength.dataCrc32 = Item::calculateCrc32(src, dataSize); in writeItem()
243 item.varLength.dataSize = dataSize; in writeItem()
251 size_t left = dataSize / ENTRY_SIZE * ENTRY_SIZE; in writeItem()
259 size_t tail = dataSize - left; in writeItem()
273 …uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t dataSize, uint8_t chunkIdx… in readItem() argument
288 if (dataSize != getAlignmentForType(datatype)) { in readItem()
[all …]
Dnvs_handle_locked.cpp72 …ndleLocked::set_typed_item(ItemType datatype, const char *key, const void* data, size_t dataSize) { in set_typed_item() argument
74 return handle->set_typed_item(datatype, key, data, dataSize); in set_typed_item()
77 … NVSHandleLocked::get_typed_item(ItemType datatype, const char *key, void* data, size_t dataSize) { in get_typed_item() argument
79 return handle->get_typed_item(datatype, key, data, dataSize); in get_typed_item()
Dnvs_handle_simple.cpp24 …HandleSimple::set_typed_item(ItemType datatype, const char *key, const void* data, size_t dataSize) in set_typed_item() argument
29 return mStoragePtr->writeItem(mNsIndex, datatype, key, data, dataSize); in set_typed_item()
32 …_t NVSHandleSimple::get_typed_item(ItemType datatype, const char *key, void* data, size_t dataSize) in get_typed_item() argument
36 return mStoragePtr->readItem(mNsIndex, datatype, key, data, dataSize); in get_typed_item()
Dnvs_handle_simple.hpp45 …esp_err_t set_typed_item(ItemType datatype, const char *key, const void *data, size_t dataSize) ov…
47 …esp_err_t get_typed_item(ItemType datatype, const char *key, void *data, size_t dataSize) override;
67 esp_err_t getItemDataSize(ItemType datatype, const char *key, size_t &dataSize);
Dnvs_handle_locked.hpp56 …esp_err_t set_typed_item(ItemType datatype, const char *key, const void* data, size_t dataSize) ov…
58 …esp_err_t get_typed_item(ItemType datatype, const char *key, void* data, size_t dataSize) override;
Dnvs_types.hpp63 uint16_t dataSize; member
68 uint32_t dataSize; member
Dnvs_page.hpp96 …t nsIndex, ItemType datatype, const char* key, const void* data, size_t dataSize, uint8_t chunkIdx…
98 …uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t dataSize, uint8_t chunkIdx…
100 …t nsIndex, ItemType datatype, const char* key, const void* data, size_t dataSize, uint8_t chunkIdx…
Dnvs_api.cpp487 size_t dataSize; in nvs_get_str_or_blob() local
488 err = handle->get_item_size(type, key, dataSize); in nvs_get_str_or_blob()
496 *length = dataSize; in nvs_get_str_or_blob()
498 } else if (*length < dataSize) { in nvs_get_str_or_blob()
499 *length = dataSize; in nvs_get_str_or_blob()
503 *length = dataSize; in nvs_get_str_or_blob()
504 return handle->get_typed_item(type, key, out_value, dataSize); in nvs_get_str_or_blob()
/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/src/node/
Drk_face_node.cpp156 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize) in CopyMetadataBuffer() argument
177 …::CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize) in CopyBuffer() argument
179 if (memcpy_s(outPutBuffer->GetVirAddress(), dataSize, sourceBuffer, dataSize) != 0) { in CopyBuffer()
183 outPutBuffer->SetEsFrameSize(dataSize); in CopyBuffer()
Drk_face_node.h56 … CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
58 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
Drk_codec_node.cpp249 constexpr uint32_t dataSize = 4; in findStartCode() local
258 if ((dataSz > dataSize) && (data[0] == 0) && (data[1] == 0) && \ in findStartCode()
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/src/node/
Drk_face_node.cpp156 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize) in CopyMetadataBuffer() argument
177 …::CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize) in CopyBuffer() argument
179 if (memcpy_s(outPutBuffer->GetVirAddress(), dataSize, sourceBuffer, dataSize) != 0) { in CopyBuffer()
183 outPutBuffer->SetEsFrameSize(dataSize); in CopyBuffer()
Drk_face_node.h56 … CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
58 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
Drk_codec_node.cpp231 constexpr uint32_t dataSize = 4; in findStartCode() local
240 if ((dataSz > dataSize) && (data[0] == 0) && (data[1] == 0) && \ in findStartCode()
/device/soc/esp/esp32/components/nvs_flash/include/
Dnvs_handle.hpp204 …sp_err_t set_typed_item(ItemType datatype, const char *key, const void* data, size_t dataSize) = 0;
206 …tual esp_err_t get_typed_item(ItemType datatype, const char *key, void* data, size_t dataSize) = 0;
/device/soc/nxp/hardware/display/src/display_layer/
Ddisplay_layer.c205 uint32_t dataSize = 0; in GetInfo() local
206 …if (!HdfSbufReadBuffer(reply, (const void **)(&tmpInfo), &dataSize) || dataSize != sizeof(struct D… in GetInfo()
212 if (memcpy_s(info, sizeof(struct DispInfo), tmpInfo, dataSize) != EOK) { in GetInfo()
/device/board/bearpi/bearpi_hm_micro/hal/display/
Ddisplay_gralloc.c199 uint32_t dataSize = 0; in GetInfo() local
200 …if (!HdfSbufReadBuffer(reply, (const void **)(&tmpInfo), &dataSize) || dataSize != sizeof(struct D… in GetInfo()
204 if (memcpy_s(info, sizeof(struct DispInfo), tmpInfo, dataSize) != EOK) { in GetInfo()
/device/board/unionman/unionpi_tiger/hardware/audio_alsa/src/
Daudio_interface_lib_capture_alsa.c485 uint32_t dataSize = 8192; // See to 'buffer_size' in audio_policy_config.xml in DoOutputCaptureRead() local
492 dataSize) < 0) { in DoOutputCaptureRead()
498 handleData->frameCaptureMode.bufferSize = dataSize; in DoOutputCaptureRead()
500 pcm_bytes_to_frames(aCtx->pcmHandler, dataSize); in DoOutputCaptureRead()
/device/board/hihope/shields/neptune100/
Dneptune100.hcs53 dataSize = 8;
/device/board/osware/imx8mm/drivers/camera/driver_adapter/test/main_test/
Dstream_customer.cpp60 buff->GetExtraData()->ExtraGet(OHOS::Camera::dataSize, gotSize); in CamFrame()
/device/soc/rockchip/rk3568/hardware/omx_il/include/rockchip/
DRockchip_OMX_Def.h250 OMX_U32 dataSize; member
/device/board/isoftstone/yangfan/kernel/hdf/drivers/camera/pipeline_core/src/node/
Drk_codec_node.cpp96 constexpr uint32_t dataSize = 4; in findStartCode() local
105 if ((dataSz > dataSize) && (data[0] == 0) && (data[1] == 0) && \ in findStartCode()
/device/board/kaihong/khdvk_3566b/camera/pipeline_core/src/node/
Drk_codec_node.cpp160 constexpr uint32_t dataSize = 4; in findStartCode() local
169 if ((dataSz > dataSize) && (data[0] == 0) && (data[1] == 0) && in findStartCode()

12