i80_controller sample
lv_cache_ops_t::compare_cb
is only used within i80_controller sample.
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
i80_controller sample
lv_cache_ops_t::compare_cb
lv_cache_ops_t::compare_cb field
Compare function for keys
Syntax
Show:
Summary
Declaration
from
lv_cache_private.h:114
lv_cache_compare_cb_t
compare_cb
;
Examples
References
from
examples
Code
Location
Referrer
lv_cache_compare_cb_t
compare_cb
;
/**< Compare function for keys */
lv_cache_private.h:114
cache
->
ops
.
compare_cb
=
compare_cb
;
lv_cache.c:273
lv_cache_set_compare_cb()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
compare_cb
)
;
lv_cache_lru_rb.c:197
init_cnt_cb()
if
(
lru
->
cache
.
node_size
<=
0
||
lru
->
cache
.
ops
.
compare_cb
==
NULL
||
lru
->
cache
.
ops
.
free_cb
==
NULL
)
{
lv_cache_lru_rb.c:201
init_cnt_cb()
if
(
!
lv_rb_init
(
&
lru
->
rb
,
lru
->
cache
.
ops
.
compare_cb
,
lv_cache_entry_get_size
(
lru
->
cache
.
node_size
)
+
sizeof
(
void
*
)
)
)
{
lv_cache_lru_rb.c:206
init_cnt_cb()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
compare_cb
)
;
lv_cache_lru_rb.c:220
init_size_cb()
if
(
lru
->
cache
.
node_size
<=
0
||
lru
->
cache
.
ops
.
compare_cb
==
NULL
||
lru
->
cache
.
ops
.
free_cb
==
NULL
)
{
lv_cache_lru_rb.c:224
init_size_cb()
if
(
!
lv_rb_init
(
&
lru
->
rb
,
lru
->
cache
.
ops
.
compare_cb
,
lv_cache_entry_get_size
(
lru
->
cache
.
node_size
)
+
sizeof
(
void
*
)
)
)
{
lv_cache_lru_rb.c:229
init_size_cb()
if
(
lru
->
cache
.
ops
.
compare_cb
(
data
,
key
)
==
0
)
{
lv_cache_lru_rb.c:273
get_cb()
.
compare_cb
=
(
lv_cache_compare_cb_t
)
image_cache_compare_cb
,
lv_image_cache.c:62
lv_image_cache_init()
.
compare_cb
=
(
lv_cache_compare_cb_t
)
image_header_cache_compare_cb
,
lv_image_header_cache.c:60
lv_image_header_cache_init()
Call Tree
from
examples
lv_cache_ops_t::compare_cb
is called by 1 function:
get_cb()
All items filtered out
lv_cache_ops_t::compare_cb
All items filtered out
Data Use
from
examples
lv_cache_ops_t::compare_cb
is written by 1 function and is read by 2 functions:
lv_cache_set_compare_cb()
All items filtered out
lv_cache_ops_t::compare_cb
init_cnt_cb()
init_size_cb()
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