Lines Matching refs:envptr
73 unsigned char *dataptr, *envptr; in main() local
152 envptr = dataptr + CRC_SIZE + redundant; in main()
155 memset(envptr, padbyte, envsize); in main()
160 int readlen = sizeof(*envptr) * 4096; in main()
196 filebuf = mmap(NULL, sizeof(*envptr) * filesize, PROT_READ, in main()
200 sizeof(*envptr) * filesize, in main()
204 filebuf = malloc(sizeof(*envptr) * filesize); in main()
205 ret = read(txt_fd, filebuf, sizeof(*envptr) * filesize); in main()
206 if (ret != sizeof(*envptr) * filesize) { in main()
208 sizeof(*envptr) * filesize, in main()
234 envptr[ep++] = '\n'; in main()
237 envptr[ep++] = '\0'; in main()
244 envptr[ep++] = filebuf[fp]; in main()
270 if (envptr[ep-1] != '\0') { in main()
271 envptr[ep++] = '\0'; in main()
280 envptr[ep] = '\0'; in main()
282 envptr[ep] = '\0'; in main()
286 crc = crc32(0, envptr, envsize); in main()