Lines Matching refs:read_buf
436 + munmap(hc->read_buf, hc->read_size);
437 + hc->read_buf = NULL;
439 + httpd_realloc_str( &hc->read_buf, &hc->read_size, 500 );
497 httpd_realloc_str( &hc->read_buf, &hc->read_size, 500 );
515 + munmap(hc->read_buf, hc->read_size);
516 + hc->read_buf = NULL;
518 + httpd_realloc_str( &hc->read_buf, &hc->read_size, 500 );
588 +printf("**REQUEST [%d]**\n%*.*s\n", hc->conn_fd, hc->read_idx, hc->read_idx, hc->read_buf);
592 c = hc->read_buf[hc->checked_idx];
679 - free( (void*) hc->read_buf );
682 + munmap( hc->read_buf, hc->read_size );
684 + free( (void*) hc->read_buf );
998 char* read_buf;
1770 + int d = hc->read_buf - oldptr;
1791 + char *oldptr = hc->read_buf;
1815 + memcpy(p, hc->read_buf, hc->read_idx);
1816 + free(hc->read_buf);
1818 + hc->read_buf = p;
1829 + httpd_realloc_str(&hc->read_buf, &hc->read_size, hc->checked_idx + hc->contentlength + 10);
1831 + if (oldptr != hc->read_buf) realign_hc(hc, oldptr);
2088 + n = read(hc->conn_fd, hc->read_buf + hc->read_idx,
2197 + memmove(hc->read_buf, hc->read_buf + hc->checked_idx, hc->read_idx);