Searched defs:ring (Results 1 – 6 of 6) sorted by relevance
/SCP-firmware-master/framework/src/ |
A D | fwk_ring.c | 16 static size_t fwk_ring_offset(const struct fwk_ring *ring, size_t idx) in fwk_ring_offset() 21 void fwk_ring_init(struct fwk_ring *ring, char *storage, size_t storage_size) in fwk_ring_init() 35 size_t fwk_ring_get_capacity(const struct fwk_ring *ring) in fwk_ring_get_capacity() 42 size_t fwk_ring_get_length(const struct fwk_ring *ring) in fwk_ring_get_length() 53 size_t fwk_ring_get_free(const struct fwk_ring *ring) in fwk_ring_get_free() 60 bool fwk_ring_is_full(const struct fwk_ring *ring) in fwk_ring_is_full() 67 bool fwk_ring_is_empty(const struct fwk_ring *ring) in fwk_ring_is_empty() 74 size_t fwk_ring_pop(struct fwk_ring *ring, char *buffer, size_t buffer_size) in fwk_ring_pop() 92 const struct fwk_ring *ring, in fwk_ring_peek() 118 struct fwk_ring *ring, in fwk_ring_push() [all …]
|
A D | fwk_log.c | 31 struct fwk_ring ring; /* Buffer for formatted messages */ member 67 static bool fwk_log_buffer(struct fwk_ring *ring, const char *message) in fwk_log_buffer()
|
/SCP-firmware-master/unit_test/unity_mocks/mocks/ |
A D | Mockfwk_ring.h | 33 #define fwk_ring_init_Expect(ring, storage, storage_size) fwk_ring_init_CMockExpect(__LINE__, ring,… argument 41 #define fwk_ring_init_ReturnThruPtr_ring(ring) fwk_ring_init_CMockReturnMemThruPtr_ring(__LINE__, r… argument 43 #define fwk_ring_init_ReturnMemThruPtr_ring(ring, cmock_size) fwk_ring_init_CMockReturnMemThruPtr_r… argument 93 #define fwk_ring_get_free_ExpectAndReturn(ring, cmock_retval) fwk_ring_get_free_CMockExpectAndRetur… argument 109 #define fwk_ring_is_full_ExpectAndReturn(ring, cmock_retval) fwk_ring_is_full_CMockExpectAndReturn(… argument 125 #define fwk_ring_is_empty_ExpectAndReturn(ring, cmock_retval) fwk_ring_is_empty_CMockExpectAndRetur… argument 149 #define fwk_ring_pop_ReturnThruPtr_ring(ring) fwk_ring_pop_CMockReturnMemThruPtr_ring(__LINE__, rin… argument 151 #define fwk_ring_pop_ReturnMemThruPtr_ring(ring, cmock_size) fwk_ring_pop_CMockReturnMemThruPtr_rin… argument 201 #define fwk_ring_push_ReturnThruPtr_ring(ring) fwk_ring_push_CMockReturnMemThruPtr_ring(__LINE__, r… argument 217 #define fwk_ring_clear_Expect(ring) fwk_ring_clear_CMockExpect(__LINE__, ring) argument [all …]
|
A D | Mockfwk_ring.c | 380 void fwk_ring_init(struct fwk_ring* ring, char* storage, size_t storage_size) in fwk_ring_init() 558 size_t fwk_ring_get_capacity(const struct fwk_ring* ring) in fwk_ring_get_capacity() 695 size_t fwk_ring_get_length(const struct fwk_ring* ring) in fwk_ring_get_length() 832 size_t fwk_ring_get_free(const struct fwk_ring* ring) in fwk_ring_get_free() 969 bool fwk_ring_is_full(const struct fwk_ring* ring) in fwk_ring_is_full() 1104 bool fwk_ring_is_empty(const struct fwk_ring* ring) in fwk_ring_is_empty() 1239 size_t fwk_ring_pop(struct fwk_ring* ring, char* buffer, size_t buffer_size) in fwk_ring_pop() 1437 size_t fwk_ring_peek(const struct fwk_ring* ring, char* buffer, size_t buffer_size) in fwk_ring_peek() 1619 size_t fwk_ring_push(struct fwk_ring* ring, const char* buffer, size_t buffer_size) in fwk_ring_push() 1801 void fwk_ring_clear(struct fwk_ring* ring) in fwk_ring_clear() [all …]
|
/SCP-firmware-master/framework/test/ |
A D | test_fwk_ring_init.c | 18 struct fwk_ring ring; in test_fwk_ring_init() local
|
A D | test_fwk_ring.c | 16 static struct fwk_ring ring; variable
|
Completed in 19 milliseconds