nm_data_slicer_s Struct Reference
internal state of a data slicer. More...
#include <nm_data.h>
Collaboration diagram for nm_data_slicer_s:

Data Fields | ||
| nm_data_slicer_kind_t | kind | |
| const struct nm_data_s * | p_data | |
| nm_len_t | done | |
| length of data processed so far | ||
| union { | ||
| struct { | ||
| struct nm_data_op_s op | ||
| op to apply on the current slice More... | ||
| volatile nm_len_t slice_len | ||
| length of the current slice More... | ||
| struct nm_data_coroutine_s coroutine | ||
| } coroutine | ||
| coroutine-based slicer More... | ||
| struct { | ||
| void * p_baseptr | ||
| base pointer of the data More... | ||
| } contig | ||
| slicer for contiguous data; no context switch More... | ||
| }; | ||
Detailed Description
internal state of a data slicer.
Opaque structure for the user.
Field Documentation
◆ [union]
| union { ... } nm_data_slicer_s |
◆ [struct]
| struct { ... } nm_data_slicer_s::contig |
slicer for contiguous data; no context switch
◆ coroutine [1/2]
| struct nm_data_coroutine_s nm_data_slicer_s::coroutine |
Definition at line 778 of file nm_data.h.
Referenced by nm_data_op_apply_slicer_coroutine().
◆ [struct] [2/2]
| struct { ... } nm_data_slicer_s::coroutine |
coroutine-based slicer
◆ done
| nm_len_t nm_data_slicer_s::done |
◆ kind
| nm_data_slicer_kind_t nm_data_slicer_s::kind |
Definition at line 769 of file nm_data.h.
Referenced by nm_data_slicer_isnull().
◆ op
| struct nm_data_op_s nm_data_slicer_s::op |
◆ p_baseptr
| void* nm_data_slicer_s::p_baseptr |
◆ p_data
◆ slice_len
| volatile nm_len_t nm_data_slicer_s::slice_len |
length of the current slice
Definition at line 777 of file nm_data.h.
Referenced by nm_data_op_apply_slicer_coroutine().
The documentation for this struct was generated from the following file: