Searched refs:stream_buffer (Results 1 – 6 of 6) sorted by relevance
19 use crate::stream_buffer::StreamBuffer;64 pub(crate) stream_buffer: StreamBuffer, field78 stream_buffer: Default::default(), in default()97 self.stream_buffer.size() in size()100 size_of::<PackHead>() + self.stream_buffer.w_pos in get_packet_length()105 size: self.stream_buffer.w_pos, in make_data()108 …if self.stream_buffer.w_pos > 0 && !buf.write_char_usize(&self.stream_buffer.sz_buff[0] as *const … in make_data()109 self.stream_buffer.w_pos) { in make_data()
35 let stream_buffer: Box::<StreamBuffer> = Box::default(); in StreamBufferCreate() localVariable36 Box::into_raw(stream_buffer) in StreamBufferCreate()
22 mod stream_buffer; module
25 type ErrorStatus = crate::stream_buffer::ErrStatus;314 !pkt.stream_buffer.write_char_usize(buf.add(HEAD_SIZE) as *const c_char, size) { in read_client_packets()328 stream_buffer_ptr: Box::into_raw(Box::new(pkt.stream_buffer)) in read_client_packets()
29 "src/stream_buffer.cpp",
21 "src/stream_buffer.cpp",