Lines Matching +full:negative +full:- +full:reference +full:- +full:buffer
40 * Create a new sshbuf buffer.
41 * Returns pointer to buffer on success, or NULL on allocation failure.
46 * Create a new, read-only sshbuf buffer from existing data.
47 * Returns pointer to buffer on success, or NULL on allocation failure.
52 * Create a new, read-only sshbuf buffer from the contents of an existing
53 * buffer. The contents of "buf" must not change in the lifetime of the
54 * resultant buffer.
55 * Returns pointer to buffer on success, or NULL on allocation failure.
60 * Create a new, read-only sshbuf buffer from the contents of a string in
61 * an existing buffer (the string is consumed in the process).
63 * buffer.
64 * Returns pointer to buffer on success, or NULL on allocation failure.
85 * Returns 0 on success, or a negative SSH_ERR_* error code on failure.
95 * Returns number of bytes left in buffer before hitting max_size.
100 * Returns a read-only pointer to the start of the data in buf
106 * NULL if the buffer is read-only.
114 * Returns 0 on success, or a negative SSH_ERR_* error code on failure.
121 * required to avoid realloc in the buffer code.
122 * Returns 0 on success, or a negative SSH_ERR_* error code on failure.
129 * optional dpp parameter or a negative SSH_ERR_* error code on failure.
135 * Returns 0 on success, or a negative SSH_ERR_* error code on failure.
141 * Returns 0 on success, or a negative SSH_ERR_* error code on failure.
155 /* Functions to extract or store big-endian words of various sizes */
165 /* Functions to peek at the contents of a buffer without modifying it. */
176 * Functions to poke values into an existing buffer (e.g. a length header
177 * to a packet). The destination bytes must already exist in the buffer.
200 * next sshbuf-modifying function call. Caller does not free.
208 /* Another variant: "peeks" into the buffer without modifying it */
231 /* Dump the contents of the buffer in a human-readable format */
234 /* Dump specified memory in a human-readable format */
237 /* Return the hexadecimal representation of the contents of the buffer */
240 /* Encode the contents of the buffer as base64 */
246 /* Decode base64 data and append it to the buffer */
250 * Tests whether the buffer contains the specified byte sequence at the
253 * present but the buffer contents did not match those supplied. Zero-
265 * Searches the buffer for the specified string. Returns 0 on success
267 * the start of the buffer. Otherwise sshbuf_find will return a ssherr.h
269 * present in the buffer for a match to be possible but none was found.
270 * Searches for zero-length data are not allowed.
277 * Duplicate the contents of a buffer to a string (caller to free).
278 * Returns NULL on buffer error, or if the buffer contains a premature
284 * Fill a buffer from a file descriptor or filename. Both allocate the
285 * buffer for the caller.
293 * Write a buffer to a path, creating/truncating as needed (mode 0644,
294 * subject to umask). The buffer contents are not modified.
299 /* Read up to maxlen bytes from a fd directly to a buffer */
358 * Increment the reference count of buf.
363 * Return the parent buffer of buf, or NULL if it has no parent.
368 * Return the reference count of buf