Searched refs:filebuf (Results 1 - 1 of 1) sorted by path

/u-boot/tools/
H A Dmkenvimage.c76 unsigned char *filebuf = NULL; local
171 filebuf = realloc(filebuf, filesize + CHUNK_SIZE);
172 if (!filebuf) {
176 readbytes = read(txt_fd, filebuf + filesize, CHUNK_SIZE);
191 if (filebuf[fp] == '\n') {
192 if (fp == 0 || filebuf[fp-1] == '\n') {
197 } else if (filebuf[fp-1] == '\\') {
210 } else if ((fp == 0 || filebuf[fp-1] == '\n') && filebuf[f
[all...]

Completed in 90 milliseconds