reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
172 write_buffer = realloc(write_buffer, size); 172 write_buffer = realloc(write_buffer, size); 178 memcpy(&write_buffer[cur_pos], s, len); 212 val = *(uint32_t*)&write_buffer[cur_pos]; 225 val |= write_buffer[cur_pos++] << (8*i); 284 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE, 286 if (write_buffer == (void *)-1) { 316 if (msync(write_buffer, file_size, MS_SYNC) == -1) { 325 (void)munmap(write_buffer, file_size); 328 write_buffer = NULL; 377 write_buffer = NULL; 383 memset(write_buffer, 0, WRITE_BUFFER_SIZE); 388 write_buffer = NULL; 391 memset(write_buffer, 0, WRITE_BUFFER_SIZE); 576 fwrite(write_buffer, cur_pos, 1, output_file); 577 free(write_buffer); 586 write_buffer = NULL;