Home
last modified time | relevance | path

Searched refs:file_buffer_c (Results 1 – 2 of 2) sorted by relevance

/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/makefsdata/
H A Dmakefsdata.c150 static char file_buffer_c[COPY_BUFSIZE * 5 + ((COPY_BUFSIZE / HEX_BYTES_PER_LINE) * 3)]; variable
583 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - 5); in process_file_data()
584 sprintf(&file_buffer_c[off], "0x%02.2x,", file_data[i]); in process_file_data()
587 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - NEWLINE_LEN); in process_file_data()
588 memcpy(&file_buffer_c[off], NEWLINE, NEWLINE_LEN); in process_file_data()
591 if (off + 20 >= sizeof(file_buffer_c)) { in process_file_data()
592 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()
597 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/makefsdata/
H A Dmakefsdata.c129 static char file_buffer_c[COPY_BUFSIZE * 5 + ((COPY_BUFSIZE / HEX_BYTES_PER_LINE) * 3)]; variable
636 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - 5); in process_file_data()
637 sprintf(&file_buffer_c[off], "0x%02x,", file_data[i]); in process_file_data()
640 LWIP_ASSERT("file_buffer_c overflow", off < sizeof(file_buffer_c) - NEWLINE_LEN); in process_file_data()
641 memcpy(&file_buffer_c[off], NEWLINE, NEWLINE_LEN); in process_file_data()
644 if (off + 20 >= sizeof(file_buffer_c)) { in process_file_data()
645 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()
650 written = fwrite(file_buffer_c, 1, off, data_file); in process_file_data()