Home | History | Annotate | Download | only in include

Lines Matching refs:state

27 void StatefulInit(MemcpyState *state, void *buf, uint64_t len);
30 * Skip [len] bytes only if there's enough data to skip according to [state].
32 * On success, return a meaningless but non-NULL pointer and updates [state].
33 * On failure, return NULL, set state->overrun to 1.
38 void *StatefulSkip(MemcpyState *state, uint64_t len);
42 * to [state].
44 * On success, return [dst] and update [state].
45 * On failure, return NULL, set state->overrun to 1.
50 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len);
54 * data from [src] into the buffer encapsulated in state [state].
56 * On success, return [src] and update [state].
57 * On failure, return NULL, set state->overrun to 1.
62 const void *StatefulMemcpy_r(MemcpyState *state, const void *src, uint64_t len);
68 * On success, return a meaningless but non-NULL pointer and updates [state].
69 * On failure, return NULL, set state->overrun to 1.
73 const void *StatefulMemset_r(MemcpyState *state, const uint8_t val,