#include <bytes_seq_private.H>
Public Types | |
| enum | stg_type { grow, full, manual } |
Static Public Member Functions | |
| static rep * | allocate_buffer (int len_hint=10, int bytes=0) |
| static void | expand (rep *&p, int len_hint, int min_body_add) |
Friends | |
| class | SRPC |
| class | SRPC_impl |
Classes | |
| struct | header |
| struct | rep |
Definition at line 26 of file bytes_seq_private.H.
| rep * bytes_seq_impl::allocate_buffer | ( | int | len_hint = 10, |
|
| int | bytes = 0 | |||
| ) | [static] |
Definition at line 41 of file bytes_seq.C.
References bytes_seq_impl::header::bodies, grow, bytes_seq_impl::rep::h, bytes_seq_impl::header::len, bytes_seq_impl::header::limit, bytes_seq::min_size(), NEW_PTRFREE_ARRAY, round_up(), and bytes_seq_impl::header::storage.
Referenced by bytes_seq::append(), bytes_seq::bytes_seq(), expand(), SRPC::recv_bytes_seq(), and SRPC::send_bytes_seq().
Here is the call graph for this function:

Here is the caller graph for this function:

| void bytes_seq_impl::expand | ( | rep *& | p, | |
| int | len_hint, | |||
| int | min_body_add | |||
| ) | [static] |
Definition at line 55 of file bytes_seq.C.
References allocate_buffer(), bytes_seq_impl::rep::base, bytes_seq_impl::header::bodies, bytes_seq_impl::rep::h, byte_str::l, bytes_seq_impl::header::len, bytes_seq_impl::header::limit, manual, max(), byte_str::p, and bytes_seq_impl::header::storage.
Referenced by bytes_seq::append(), and SRPC::recv_bytes_seq().
Here is the call graph for this function:

Here is the caller graph for this function:

friend class SRPC [friend] |
Definition at line 27 of file bytes_seq_private.H.
friend class SRPC_impl [friend] |
Definition at line 28 of file bytes_seq_private.H.
1.5.1