Lines Matching refs:write_buffer
433 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment");
463 if(NULL == (session->write_buffer = malloc(total_size)))
483 memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Control_Frame));
488 memcpy(session->write_buffer + session->write_buffer_offset, &stream_id_nbo, 4);
492 memcpy(session->write_buffer + session->write_buffer_offset, compressed_headers, compressed_headers_size);
524 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment");
534 if(NULL == (session->write_buffer = malloc(total_size)))
546 memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Control_Frame));
551 memcpy(session->write_buffer + session->write_buffer_offset, &last_good_stream_id, 4);
555 memcpy(session->write_buffer + session->write_buffer_offset, response_queue->data, 4);
579 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment");
591 if(NULL == (session->write_buffer = malloc(total_size)))
603 memcpy(session->write_buffer + session->write_buffer_offset,&data_frame,sizeof(struct SPDYF_Data_Frame));
607 memcpy(session->write_buffer + session->write_buffer_offset, response_queue->data, response_queue->data_size);
619 if(NULL == (session->write_buffer = malloc(total_size)))
628 session->write_buffer + sizeof(struct SPDYF_Data_Frame),
634 free(session->write_buffer);
635 session->write_buffer = NULL;
655 free(session->write_buffer);
656 session->write_buffer = NULL;
692 free(session->write_buffer);
693 session->write_buffer = NULL;
724 memcpy(session->write_buffer + session->write_buffer_offset,
748 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment");
756 if(NULL == (session->write_buffer = malloc(total_size)))
768 memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Control_Frame));
772 memcpy(session->write_buffer + session->write_buffer_offset, response_queue->data, 8);
793 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment");
801 if(NULL == (session->write_buffer = malloc(total_size)))
813 memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Control_Frame));
817 memcpy(session->write_buffer + session->write_buffer_offset, response_queue->data, 8);
1003 if(NULL == session->write_buffer)
1081 session->write_buffer + session->write_buffer_beginning,
1117 free(session->write_buffer);
1118 session->write_buffer = NULL;
1611 free(session->write_buffer);