ESP-IDF
nvs::Page::cmpItem()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
nvs::Page::cmpItem()
nvs::Page::cmpItem() method
Syntax
Show:
Summary
Declaration
from
nvs_page.hpp:93
esp_err_t
cmpItem
(
uint8_t
nsIndex
,
ItemType
datatype
,
const
char
*
key
,
const
void
*
data
,
size_t
dataSize
,
uint8_t
chunkIdx
=
CHUNK_ANY
,
VerOffset
chunkStart
=
VerOffset
::
VER_ANY
)
;
Arguments
Argument
nsIndex
datatype
key
data
dataSize
chunkIdx
chunkStart
Examples
References
from
examples
Code
Location
Scope
Referrer
esp_err_t
Page
::
cmpItem
(
uint8_t
nsIndex
,
ItemType
datatype
,
const
char
*
key
,
const
void
*
data
,
size_t
dataSize
,
uint8_t
chunkIdx
,
VerOffset
chunkStart
)
nvs_page.cpp:304
esp_err_t
cmpItem
(
uint8_t
nsIndex
,
const
char
*
key
,
const
T
&
value
)
nvs_page.hpp:116
esp_err_t
cmpItem
(
uint8_t
nsIndex
,
ItemType
datatype
,
const
char
*
key
,
const
void
*
data
,
size_t
dataSize
,
uint8_t
chunkIdx
=
CHUNK_ANY
,
VerOffset
chunkStart
=
VerOffset
::
VER_ANY
)
;
nvs_page.hpp:93
findPage
->
cmpItem
(
nsIndex
,
datatype
,
key
,
data
,
dataSize
)
==
ESP_OK
)
{
nvs_storage.cpp:470
nvs::Storage
nvs::Storage::writeItem()
err
=
findPage
->
cmpItem
(
nsIndex
,
ItemType
::
BLOB_DATA
,
key
,
static_cast
<
const
uint8_t
*
>
(
data
)
+
offset
,
item
.
varLength
.
dataSize
,
static_cast
<
uint8_t
>
(
chunkStart
)
+
chunkNum
)
;
nvs_storage.cpp:662
nvs::Storage
nvs::Storage::cmpMultiPageBlob()
Call Tree
from
examples
nvs::Page::cmpItem()
is called by 2 functions and calls 6 functions:
nvs::Storage::writeItem()
nvs::Storage::cmpMultiPageBlob()
All items filtered out
nvs::Page::cmpItem()
nvs::isVariableLengthType()
nvs::Page::getAlignmentForType()
nvs::Item::Item()
nvs::Page::readEntry() const
nvs::Page::findItem()
nvs::Item::calculateCrc32()
All items filtered out
Data Use
from
examples
nvs::Page::cmpItem()
reads 11 variables:
nvs::VerOffset::VER_ANY
nvs::Item::
::
::span
nvs::Item::
::
::
::
::dataSize
nvs::Item::
::
::
::
::dataCrc32
nvs::Item::
::
::
::varLength
nvs::Page::PageState::INVALID
nvs::Page::mState
nvs::Item::
::
::
::data
nvs::Item::
::rawData
nvs::Page::ENTRY_SIZE
nvs::Page::CHUNK_ANY
All items filtered out
nvs::Page::cmpItem()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out