Searched refs:file_buffer_c (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/makefsdata/ |
A D | makefsdata.c | 152 static char file_buffer_c[COPY_BUFSIZE * 5 + ((COPY_BUFSIZE / HEX_BYTES_PER_LINE) * 3)]; variable 585 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - 5); in process_file_data() 586 sprintf(&file_buffer_c[off], "0x%02.2x,", file_data[i]); in process_file_data() 589 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - NEWLINE_LEN); in process_file_data() 590 memcpy(&file_buffer_c[off], NEWLINE, NEWLINE_LEN); in process_file_data() 593 if (off + 20 >= sizeof(file_buffer_c)) { in process_file_data() 594 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data() 599 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()
|
Completed in 4 milliseconds