ESP-IDF
rbALIGN_SIZE
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
rbALIGN_SIZE
rbALIGN_SIZE macro
Syntax
Show:
Summary
Declaration
from
ringbuf.c:21
#define
rbALIGN_SIZE
(
xSize
)
(
(
xSize
+
rbALIGN_MASK
)
&
~
rbALIGN_MASK
)
Arguments
Argument
xSize
Examples
References
from
examples
Code
Location
#define
rbALIGN_SIZE
(
xSize
)
(
(
xSize
+
rbALIGN_MASK
)
&
~
rbALIGN_MASK
)
ringbuf.c:21
pxNewRingbuffer
->
xMaxItemSize
=
rbALIGN_SIZE
(
pxNewRingbuffer
->
xSize
/
2
)
-
rbHEADER_SIZE
;
ringbuf.c:233
size_t
xTotalItemSize
=
rbALIGN_SIZE
(
xItemSize
)
+
rbHEADER_SIZE
;
//Rounded up aligned item size with header
ringbuf.c:285
size_t
xAlignedItemSize
=
rbALIGN_SIZE
(
xItemSize
)
;
//Rounded up aligned item size
ringbuf.c:327
size_t
xAlignedItemSize
=
rbALIGN_SIZE
(
pxCurHeader
->
xItemLen
)
;
ringbuf.c:395
size_t
xAlignedItemSize
=
rbALIGN_SIZE
(
xItemSize
)
;
//Rounded up aligned item size
ringbuf.c:424
pxRingbuffer
->
pucRead
+=
rbHEADER_SIZE
+
rbALIGN_SIZE
(
pxHeader
->
xItemLen
)
;
//Update pucRead
ringbuf.c:561
size_t
xAlignedItemSize
=
rbALIGN_SIZE
(
pxCurHeader
->
xItemLen
)
;
ringbuf.c:639
xBufferSize
=
rbALIGN_SIZE
(
xBufferSize
)
;
//xBufferSize is rounded up for no-split/allow-split buffers
ringbuf.c:941
return
xRingbufferCreate
(
(
rbALIGN_SIZE
(
xItemSize
)
+
rbHEADER_SIZE
)
*
xItemNum
,
RINGBUF_TYPE_NOSPLIT
)
;
ringbuf.c:961
xBufferSize
=
rbALIGN_SIZE
(
xBufferSize
)
;
//xBufferSize is rounded up for no-split/allow-split buffers
ringbuf.c:1391
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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