Home
last modified time | relevance | path

Searched refs:newbody (Results 1 – 3 of 3) sorted by relevance

/external/libmicrohttpd/src/examples/
Dmhd2spdy_http.c88 void *newbody; in http_cb_response() local
120 newbody = NULL; in http_cb_response()
125 if(NULL == (newbody = au_malloc(proxy->http_body_size - max))) in http_cb_response()
130 memcpy(newbody, proxy->http_body + max, proxy->http_body_size - max); in http_cb_response()
134 proxy->http_body = newbody; in http_cb_response()
Dmhd2spdy_spdy.c77 void *newbody; in spdy_cb_data_source_read() local
100 newbody = NULL; in spdy_cb_data_source_read()
105 if(NULL == (newbody = malloc(proxy->received_body_size - length))) in spdy_cb_data_source_read()
110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length); in spdy_cb_data_source_read()
114 proxy->received_body = newbody; in spdy_cb_data_source_read()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c335 void *newbody; in get_from_buffer() local
340 newbody = NULL; in get_from_buffer()
345 if(NULL == (newbody = malloc(*src_size - max_size))) in get_from_buffer()
347 memcpy(newbody, *src + ret, *src_size - ret); in get_from_buffer()
351 *src = newbody; in get_from_buffer()