Searched refs:file_buffer_c (Results 1 – 1 of 1) sorted by relevance
/btstack/3rd-party/lwip/core/src/apps/http/makefsdata/ |
H A D | makefsdata.c | 135 static char file_buffer_c[COPY_BUFSIZE * 5 + ((COPY_BUFSIZE / HEX_BYTES_PER_LINE) * 3)]; variable 661 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - 5); in process_file_data() 662 sprintf(&file_buffer_c[off], "0x%02x,", file_data[i]); in process_file_data() 665 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - NEWLINE_LEN); in process_file_data() 666 memcpy(&file_buffer_c[off], NEWLINE, NEWLINE_LEN); in process_file_data() 669 if (off + 20 >= sizeof(file_buffer_c)) { in process_file_data() 670 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data() 675 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()
|