ESP-IDF
nvs::Item::
::
::chunkIndex
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
nvs::Item::
::
::chunkIndex
nvs::Item::
::
::chunkIndex field
Syntax
Show:
Summary
Declaration
from
nvs_types.hpp:50
uint8_t
chunkIndex
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
chunkIndex
;
nvs_types.hpp:50
&&
item
.
chunkIndex
!=
chunkIdx
)
{
nvs_page.cpp:940
nvs::Page
nvs::Page::findItem()
&&
item
.
chunkIndex
!=
CHUNK_ANY
)
{
nvs_page.cpp:971
nvs::Page
nvs::Page::findItem()
item
.
nsIndex
,
static_cast
<
uint8_t
>
(
item
.
datatype
)
,
item
.
span
,
item
.
key
,
item
.
chunkIndex
,
(
item
.
span
!=
1
)
?
(
static_cast
<
int32_t
>
(
item
.
varLength
.
dataSize
)
)
:
(
-
1
)
)
;
nvs_page.cpp:1115
nvs::Page
nvs::Page::debugDump() const
(
it
->
eraseItem
(
item
.
nsIndex
,
item
.
datatype
,
item
.
key
,
item
.
chunkIndex
)
==
ESP_OK
)
)
{
nvs_pagemanager.cpp:75
nvs::PageManager
nvs::PageManager::load()
(
it
->
eraseItem
(
item
.
nsIndex
,
ItemType
::
BLOB
,
item
.
key
,
item
.
chunkIndex
)
==
ESP_OK
)
)
{
nvs_pagemanager.cpp:85
nvs::PageManager
nvs::PageManager::load()
NVS_ASSERT_OR_RETURN
(
static_cast
<
uint8_t
>
(
chunkStart
)
+
chunkNum
==
item
.
chunkIndex
,
ESP_FAIL
)
;
nvs_storage.cpp:618
nvs::Storage
nvs::Storage::readMultiPageBlob()
NVS_ASSERT_OR_RETURN
(
static_cast
<
uint8_t
>
(
chunkStart
)
+
chunkNum
==
item
.
chunkIndex
,
ESP_FAIL
)
;
nvs_storage.cpp:666
nvs::Storage
nvs::Storage::cmpMultiPageBlob()
!
(
item
.
chunkIndex
==
static_cast
<
uint8_t
>
(
VerOffset
::
VER_0_OFFSET
)
nvs_storage.cpp:971
nvs::isMultipageBlob()
||
item
.
chunkIndex
==
static_cast
<
uint8_t
>
(
VerOffset
::
VER_1_OFFSET
)
)
)
;
nvs_storage.cpp:972
nvs::isMultipageBlob()
result
=
esp_rom_crc32_le
(
result
,
p
+
offsetof
(
Item
,
chunkIndex
)
,
sizeof
(
chunkIndex
)
)
;
nvs_types.cpp:32
nvs::Item
nvs::Item::calculateCrc32WithoutValue() const
if
(
chunkIndex
!=
CHUNK_ANY
)
{
nvs_types.cpp:78
nvs::Item
nvs::Item::checkHeaderConsistency() const
ESP_LOGD
(
TAG
,
"Invalid chunk index %u for BLOB_IDX"
,
(
unsigned
int
)
chunkIndex
)
;
nvs_types.cpp:79
nvs::Item
nvs::Item::checkHeaderConsistency() const
if
(
chunkIndex
==
CHUNK_ANY
)
{
nvs_types.cpp:106
nvs::Item
nvs::Item::checkHeaderConsistency() const
ESP_LOGD
(
TAG
,
"Invalid chunk index %u for BLOB_DATA"
,
(
unsigned
int
)
chunkIndex
)
;
nvs_types.cpp:107
nvs::Item
nvs::Item::checkHeaderConsistency() const
:
nsIndex
(
nsIndex
)
,
datatype
(
datatype
)
,
span
(
span
)
,
chunkIndex
(
chunkIdx
)
nvs_types.hpp:78
nvs::Item
nvs::Item::Item()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
nvs::Item::
::
::chunkIndex
is read by 8 functions:
All items filtered out
nvs::Item::
::
::chunkIndex
nvs::Page::findItem()
nvs::Page::debugDump() const
nvs::PageManager::load()
nvs::Storage::readMultiPageBlob()
nvs::Storage::cmpMultiPageBlob()
nvs::isMultipageBlob()
nvs::Item::calculateCrc32WithoutValue() const
nvs::Item::checkHeaderConsistency() const
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