/SCP-firmware-master/framework/test/ |
A D | test_fwk_id_format.c | 19 char buffer[32]; in test_format_module_id() local 21 snprintf(buffer, sizeof(buffer), "%s", FWK_ID_STR(id)); in test_format_module_id() 29 char buffer[32]; in test_format_element_id() local 31 snprintf(buffer, sizeof(buffer), "%s", FWK_ID_STR(id)); in test_format_element_id() 39 char buffer[32]; in test_format_api_id() local 41 snprintf(buffer, sizeof(buffer), "%s", FWK_ID_STR(id)); in test_format_api_id() 49 char buffer[32]; in test_format_event_id() local 51 snprintf(buffer, sizeof(buffer), "%s", FWK_ID_STR(id)); in test_format_event_id() 59 char buffer[32]; in test_format_notification_id() local 61 snprintf(buffer, sizeof(buffer), "%s", FWK_ID_STR(id)); in test_format_notification_id() [all …]
|
/SCP-firmware-master/unit_test/unity_mocks/ |
A D | scp_unity.c | 18 char buffer[88]; in __wrap_fwk_log_printf() local 22 vsnprintf(buffer, sizeof(buffer), format, args); in __wrap_fwk_log_printf() 23 printf("%s\n", buffer); in __wrap_fwk_log_printf()
|
/SCP-firmware-master/framework/src/ |
A D | fwk_log.c | 90 char buffer[buffer_size], in fwk_log_vsnprintf() 129 buffer, in fwk_log_vsnprintf() 151 newline = strchr(buffer, (int)'\n'); in fwk_log_vsnprintf() 153 newline = buffer + length; in fwk_log_vsnprintf() 168 char buffer[buffer_size], in fwk_log_snprintf() 175 fwk_log_vsnprintf(buffer_size, buffer, format, &args); in fwk_log_snprintf() 195 fwk_log_snprintf(sizeof(buffer), buffer, "%s", banner); in fwk_log_banner() 215 char buffer[FMW_LOG_COLUMNS + sizeof(FWK_LOG_TERMINATOR)]; in fwk_log_printf() local 233 fwk_log_vsnprintf(sizeof(buffer), buffer, format, &args); in fwk_log_printf() 242 bool dropped = !fwk_log_buffer(&fwk_log_ctx.ring, buffer); in fwk_log_printf() [all …]
|
A D | fwk_ring.c | 78 buffer_size = (buffer == NULL) ? in fwk_ring_pop() 80 fwk_ring_peek(ring, buffer, buffer_size); in fwk_ring_pop() 93 char *buffer, in fwk_ring_peek() argument 97 fwk_assert(buffer != NULL); in fwk_ring_peek() 105 (void)memcpy(buffer, ring->storage + ring->head, buffer_size); in fwk_ring_peek() 109 (void)memcpy(buffer, ring->storage + ring->head, chunk_size); in fwk_ring_peek() 119 const char *buffer, in fwk_ring_push() argument 125 fwk_assert(buffer != NULL); in fwk_ring_push() 137 buffer += (buffer_size - ring->capacity); in fwk_ring_push() 144 (void)memcpy(ring->storage + ring->tail, buffer, buffer_size); in fwk_ring_push() [all …]
|
A D | fwk_io.c | 224 void *restrict buffer, in fwk_io_read() argument 230 char *cbuffer = buffer; in fwk_io_read() 256 const void *restrict buffer, in fwk_io_write() argument 262 const char *cbuffer = buffer; in fwk_io_write() 337 char *buffer; in fwk_io_vprintf() local 351 buffer = fwk_mm_alloc_notrap(sizeof(buffer[0]), (size_t)(length + 1)); in fwk_io_vprintf() 352 if (buffer == NULL) { /* Not enough memory for the string buffer */ in fwk_io_vprintf() 356 length = vsnprintf(buffer, (size_t)(length + 1), format, args); in fwk_io_vprintf() 358 status = fwk_io_puts(stream, buffer); /* Write out the buffer */ in fwk_io_vprintf() 363 fwk_mm_free(buffer); in fwk_io_vprintf()
|
A D | fwk_id.c | 23 static void fwk_id_format(char *buffer, size_t buffer_size, fwk_id_t id) in fwk_id_format() argument 47 buffer, in fwk_id_format() 87 buffer + length, in fwk_id_format() 100 snprintf(buffer + length, buffer_size - length, ":%u", indices[1]); in fwk_id_format() 111 snprintf(buffer + length, buffer_size - length, ":%u", indices[2]); in fwk_id_format() 119 (void)snprintf(buffer + length, buffer_size - length, "]"); in fwk_id_format()
|
/SCP-firmware-master/debugger/src/cli/ |
A D | cli.c | 200 char *buffer, 546 char *buffer, in cli_getline() argument 768 buffer = &(buffer[4]); in cli_format() 779 buffer = &(buffer[4]); in cli_format() 794 buffer = &(buffer[6]); in cli_format() 808 buffer = &(buffer[2]); in cli_format() 822 buffer = &(buffer[2]); in cli_format() 836 buffer = &(buffer[2]); in cli_format() 857 buffer = &(buffer[3]); in cli_format() 881 buffer = &(buffer[3]); in cli_format() [all …]
|
A D | readme.txt | 17 Definitions of compile-time command line interface settings, such as buffer 21 Function definitions for creating and accessing a FIFO buffer. Used to 23 thread as well as acting as a print buffer to store characters before 56 If a buffer fills up, you will see a message like "CONSOLE ERROR: Print buffer 63 functions are buffered, meaning print data is placed into a FIFO buffer rather 69 size of the scratch buffer (defined in cli_config.h) and how much space your 70 print buffer has. Text style options take up more space still. 73 space to allocate the scratch buffer.
|
/SCP-firmware-master/unit_test/unity_mocks/mocks/ |
A D | Mockfwk_ring.h | 141 …ring_pop_ExpectAndReturn(ring, buffer, buffer_size, cmock_retval) fwk_ring_pop_CMockExpectAndRetur… argument 147 …n(ring, ring_Depth, buffer, buffer_size, cmock_retval) fwk_ring_pop_CMockExpectWithArrayAndReturn(… argument 153 #define fwk_ring_pop_ReturnThruPtr_buffer(buffer) fwk_ring_pop_CMockReturnMemThruPtr_buffer(__LINE_… argument 154 …turnArrayThruPtr_buffer(buffer, cmock_len) fwk_ring_pop_CMockReturnMemThruPtr_buffer(__LINE__, buf… argument 155 …fwk_ring_pop_ReturnMemThruPtr_buffer(buffer, cmock_size) fwk_ring_pop_CMockReturnMemThruPtr_buffer… argument 169 …ng_peek_ExpectAndReturn(ring, buffer, buffer_size, cmock_retval) fwk_ring_peek_CMockExpectAndRetur… argument 175 …n(ring, ring_Depth, buffer, buffer_size, cmock_retval) fwk_ring_peek_CMockExpectWithArrayAndReturn… argument 177 #define fwk_ring_peek_ReturnThruPtr_buffer(buffer) fwk_ring_peek_CMockReturnMemThruPtr_buffer(__LIN… argument 178 …urnArrayThruPtr_buffer(buffer, cmock_len) fwk_ring_peek_CMockReturnMemThruPtr_buffer(__LINE__, buf… argument 179 …wk_ring_peek_ReturnMemThruPtr_buffer(buffer, cmock_size) fwk_ring_peek_CMockReturnMemThruPtr_buffe… argument [all …]
|
A D | Mockfwk_io.h | 97 …ectAndReturn(stream, read, buffer, size, count, cmock_retval) fwk_io_read_CMockExpectAndReturn(__L… argument 98 …TYPE cmock_line, const struct fwk_io_stream* stream, size_t* read, void* buffer, size_t size, size… 99 …o_read_CALLBACK)(const struct fwk_io_stream* stream, size_t* read, void* buffer, size_t size, size… 103 …h, buffer, buffer_Depth, size, count, cmock_retval) fwk_io_read_CMockExpectWithArrayAndReturn(__LI… argument 109 #define fwk_io_read_ReturnThruPtr_buffer(buffer) fwk_io_read_CMockReturnMemThruPtr_buffer(__LINE__,… argument 110 …turnArrayThruPtr_buffer(buffer, cmock_len) fwk_io_read_CMockReturnMemThruPtr_buffer(__LINE__, buff… argument 111 …e fwk_io_read_ReturnMemThruPtr_buffer(buffer, cmock_size) fwk_io_read_CMockReturnMemThruPtr_buffer… argument 112 void fwk_io_read_CMockReturnMemThruPtr_buffer(UNITY_LINE_TYPE cmock_line, void* buffer, size_t cmoc… 129 …dReturn(stream, written, buffer, size, count, cmock_retval) fwk_io_write_CMockExpectAndReturn(__LI… argument 131 …LLBACK)(const struct fwk_io_stream* stream, size_t* written, const void* buffer, size_t size, size… [all …]
|
A D | Mockfwk_ring.c | 1239 size_t fwk_ring_pop(struct fwk_ring* ring, char* buffer, size_t buffer_size) in fwk_ring_pop() argument 1297 UNITY_TEST_ASSERT_NOT_NULL(buffer, cmock_line, CMockStringPtrIsNULL); in fwk_ring_pop() 1298 memcpy((void*)buffer, (void*)cmock_call_instance->ReturnThruPtr_buffer_Val, in fwk_ring_pop() 1312 cmock_call_instance->Expected_buffer = buffer; in CMockExpectParameters_fwk_ring_pop() 1412 cmock_call_instance->ReturnThruPtr_buffer_Val = buffer; in fwk_ring_pop_CMockReturnMemThruPtr_buffer() 1437 size_t fwk_ring_peek(const struct fwk_ring* ring, char* buffer, size_t buffer_size) in fwk_ring_peek() argument 1489 UNITY_TEST_ASSERT_NOT_NULL(buffer, cmock_line, CMockStringPtrIsNULL); in fwk_ring_peek() 1490 memcpy((void*)buffer, (void*)cmock_call_instance->ReturnThruPtr_buffer_Val, in fwk_ring_peek() 1503 cmock_call_instance->Expected_buffer = buffer; in CMockExpectParameters_fwk_ring_peek() 1594 cmock_call_instance->ReturnThruPtr_buffer_Val = buffer; in fwk_ring_peek_CMockReturnMemThruPtr_buffer() [all …]
|
A D | Mockfwk_io.c | 900 int fwk_io_read(const struct fwk_io_stream* stream, size_t* read, void* buffer, size_t size, size_t… in fwk_io_read() argument 946 { UNITY_TEST_ASSERT_NULL(buffer, cmock_line, CMockStringExpNULL); } in fwk_io_read() 973 UNITY_TEST_ASSERT_NOT_NULL(buffer, cmock_line, CMockStringPtrIsNULL); in fwk_io_read() 974 memcpy((void*)buffer, (void*)cmock_call_instance->ReturnThruPtr_buffer_Val, in fwk_io_read() 991 cmock_call_instance->Expected_buffer = buffer; in CMockExpectParameters_fwk_io_read() 1048 …CMockExpectParameters_fwk_io_read(cmock_call_instance, stream, 1, read, 1, buffer, size, size, cou… in fwk_io_read_CMockExpectAndReturn() 1089 void fwk_io_read_CMockReturnMemThruPtr_buffer(UNITY_LINE_TYPE cmock_line, void* buffer, size_t cmoc… in fwk_io_read_CMockReturnMemThruPtr_buffer() argument 1094 cmock_call_instance->ReturnThruPtr_buffer_Val = buffer; in fwk_io_read_CMockReturnMemThruPtr_buffer() 1179 { UNITY_TEST_ASSERT_NULL(buffer, cmock_line, CMockStringExpNULL); } in fwk_io_write() 1218 cmock_call_instance->Expected_buffer = buffer; in CMockExpectParameters_fwk_io_write() [all …]
|
/SCP-firmware-master/framework/include/ |
A D | fwk_ring.h | 139 size_t fwk_ring_pop(struct fwk_ring *ring, char *buffer, size_t buffer_size); 152 char *buffer, 169 const char *buffer,
|
A D | fwk_io.h | 352 void *restrict buffer, 384 const void *restrict buffer,
|
/SCP-firmware-master/module/transport/src/ |
A D | mod_transport.c | 220 struct mod_transport_buffer *buffer; in transport_respond() local 234 buffer = ((struct mod_transport_buffer *) in transport_respond() 246 buffer->payload, in transport_respond() 252 buffer = channel_ctx->out; in transport_respond() 274 buffer->length = (volatile uint32_t)(sizeof(buffer->message_header) + size); in transport_respond() 308 struct mod_transport_buffer *buffer; in transport_transmit() local 338 buffer = channel_ctx->out; in transport_transmit() 340 buffer->reserved0 = 0; in transport_transmit() 341 buffer->reserved1 = 0; in transport_transmit() 348 buffer->message_header = message_header; in transport_transmit() [all …]
|
/SCP-firmware-master/debugger/include/ |
A D | cli.h | 261 char *buffer,
|
/SCP-firmware-master/arch/none/optee/doc/ |
A D | arch_optee_design.md | 74 - The static shared memory is reserved at boot time. The same memory buffer is 78 One buffer is used for the request and another one for the response. This
|
/SCP-firmware-master/product/synquacer/module/f_i2c/include/internal/ |
A D | i2c_driver.h | 104 char *buffer,
|
/SCP-firmware-master/module/transport/doc/ |
A D | transport.md | 91 read buffer and the length of the message header and payload is verified and 186 memory. The message is stored in a local read buffer and the length of the
|
/SCP-firmware-master/tools/ |
A D | ci_cmake.py | 87 sys.stdout.buffer.write(log)
|
/SCP-firmware-master/doc/ |
A D | framework.md | 559 buffer and outputting characters. These functions make up the log driver
|