Lines Matching refs:filebuf
77 unsigned char *filebuf = NULL; in main() local
172 filebuf = realloc(filebuf, filesize + CHUNK_SIZE); in main()
173 if (!filebuf) { in main()
177 readbytes = read(txt_fd, filebuf + filesize, CHUNK_SIZE); in main()
192 if (filebuf[fp] == '\n') { in main()
193 if (fp == 0 || filebuf[fp-1] == '\n') { in main()
198 } else if (filebuf[fp-1] == '\\') { in main()
211 } else if ((fp == 0 || filebuf[fp-1] == '\n') && filebuf[fp] == '#') { in main()
213 while (++fp < filesize && filebuf[fp] != '\n') in main()
216 envptr[ep++] = filebuf[fp]; in main()
225 if (filebuf[fp] == '\n') { in main()
226 if (fp == 0 || filebuf[fp-1] == '\n') { in main()
230 } else if ((fp == 0 || filebuf[fp-1] == '\n') && filebuf[fp] == '#') { in main()
231 while (++fp < filesize && filebuf[fp] != '\n') in main()