Lines Matching refs:write_buffer

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