/device/soc/esp/esp32/components/nvs_flash/src/ |
D | nvs_storage.cpp | 169 …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 …]
|
D | nvs_storage.hpp | 76 … 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);
|
D | nvs_page.cpp | 178 …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 …]
|
D | nvs_handle_locked.cpp | 72 …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()
|
D | nvs_handle_simple.cpp | 24 …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()
|
D | nvs_handle_simple.hpp | 45 …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);
|
D | nvs_handle_locked.hpp | 56 …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;
|
D | nvs_types.hpp | 63 uint16_t dataSize; member 68 uint32_t dataSize; member
|
D | nvs_page.hpp | 96 …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…
|
D | nvs_api.cpp | 487 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/ |
D | rk_face_node.cpp | 156 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()
|
D | rk_face_node.h | 56 … CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize); 58 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
|
D | rk_codec_node.cpp | 249 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/ |
D | rk_face_node.cpp | 156 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()
|
D | rk_face_node.h | 56 … CopyBuffer(unsigned char *sourceBuffer, std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize); 58 std::shared_ptr<IBuffer>& outPutBuffer, int32_t dataSize);
|
D | rk_codec_node.cpp | 231 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/ |
D | nvs_handle.hpp | 204 …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/ |
D | display_layer.c | 205 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/ |
D | display_gralloc.c | 199 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/ |
D | audio_interface_lib_capture_alsa.c | 485 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/ |
D | neptune100.hcs | 53 dataSize = 8;
|
/device/board/osware/imx8mm/drivers/camera/driver_adapter/test/main_test/ |
D | stream_customer.cpp | 60 buff->GetExtraData()->ExtraGet(OHOS::Camera::dataSize, gotSize); in CamFrame()
|
/device/soc/rockchip/rk3568/hardware/omx_il/include/rockchip/ |
D | Rockchip_OMX_Def.h | 250 OMX_U32 dataSize; member
|
/device/board/isoftstone/yangfan/kernel/hdf/drivers/camera/pipeline_core/src/node/ |
D | rk_codec_node.cpp | 96 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/ |
D | rk_codec_node.cpp | 160 constexpr uint32_t dataSize = 4; in findStartCode() local 169 if ((dataSz > dataSize) && (data[0] == 0) && (data[1] == 0) && in findStartCode()
|