Lines Matching refs:memory

7 BIO_get_mem_ptr, BIO_new_mem_buf - memory BIO
26 BIO_s_mem() returns the memory BIO method function.
28 A memory BIO is a source/sink BIO which uses memory for its I/O. Data
29 written to a memory BIO is stored in a BUF_MEM structure which is extended
35 BIO_s_dgram_mem() is a memory BIO that respects datagram semantics. A single
36 call to L<BIO_write(3)> will write a single datagram to the memory BIO. A
51 Any data written to a memory BIO can be recalled by reading from it.
52 Unless the memory BIO is read only any data read from it is deleted from
61 If the BIO_CLOSE flag is set when a memory BIO is freed then the underlying
64 Calling BIO_reset() on a read write memory BIO clears any data in it if the
74 BIO_set_mem_eof_return() sets the behaviour of memory BIO B<b> when it is
75 empty. If the B<v> is zero then an empty memory BIO will return EOF (that is
82 BIO_get_mem_data() sets *B<pp> to a pointer to the start of the memory BIOs data
85 of this memory is implied. See notes on BIO_set_close().
94 BIO_new_mem_buf() creates a memory BIO using B<len> bytes of data at B<buf>,
98 made available from a static area of memory in the form of a BIO. The
100 first, so the supplied area of memory must be unchanged until the BIO is freed.
107 Writes to memory BIOs will always succeed if memory is available: that is
113 Every write after partial read (not all data in the memory buffer was read)
114 to a read write memory BIO will have to move the unread data with an internal
122 Switching a memory BIO from read write to read only is not supported and
124 exceptions to the rule. The first one is to assign a static memory buffer
136 allocated memory.
138 Calling BIO_reset() on a read write memory BIO with BIO_FLAGS_NONCLEAR_RST
153 BIO_s_mem(), BIO_s_dgram_mem() and BIO_s_secmem() return a valid memory
166 Create a memory BIO and write some data to it:
172 Create a read only memory BIO:
177 Extract the BUF_MEM structure from a memory BIO and then free up the BIO: