Lines Matching full:buffer
8 * @brief Generic double buffer data structure header.
16 /* Last enqueued element. It will be used after buffer is swapped. */
18 /* Size in a bytes of a single element stored in double buffer. */
20 /* Pointer for actual buffer memory. Its size should be 2 times @p elem_size. */
25 * @brief Allocate element in double buffer.
28 * For consecutive calls it always returns the same pointer until buffer is swapped
31 * @param hdr Pointer to double buffer header.
44 * @param hdr Pointer to double buffer header.
54 * @brief Enqueue new element for buffer swap.
56 * @param hdr Pointer to double buffer header.
65 * @brief Get latest element in buffer.
68 * If it points to a different index than member first, then buffer will be
73 * @param[in] hdr Pointer to double buffer header.
74 * @param[out] is_modified Pointer to return information if buffer was swapped.
76 * @return Pointer to latest enqueued buffer element.
88 * @param hdr Pointer to double buffer header.
90 * @return Pointer to element after last buffer swap.
98 * @brief Return information whether new element was enqueued to a buffer.
100 * @param hdr Pointer to double buffer header.