Lines Matching refs:length_ptr
125 buffer_get_string_ret(Buffer *buffer, u_int *length_ptr) in buffer_get_string_ret() argument
135 if (length_ptr != NULL) in buffer_get_string_ret()
136 *length_ptr = len; /* Safe: sshbuf never stores len > 2^31 */ in buffer_get_string_ret()
141 buffer_get_string(Buffer *buffer, u_int *length_ptr) in buffer_get_string() argument
145 if ((ret = buffer_get_string_ret(buffer, length_ptr)) == NULL) in buffer_get_string()
151 buffer_get_cstring_ret(Buffer *buffer, u_int *length_ptr) in buffer_get_cstring_ret() argument
161 if (length_ptr != NULL) in buffer_get_cstring_ret()
162 *length_ptr = len; /* Safe: sshbuf never stores len > 2^31 */ in buffer_get_cstring_ret()
167 buffer_get_cstring(Buffer *buffer, u_int *length_ptr) in buffer_get_cstring() argument
171 if ((ret = buffer_get_cstring_ret(buffer, length_ptr)) == NULL) in buffer_get_cstring()
177 buffer_get_string_ptr_ret(Buffer *buffer, u_int *length_ptr) in buffer_get_string_ptr_ret() argument
187 if (length_ptr != NULL) in buffer_get_string_ptr_ret()
188 *length_ptr = len; /* Safe: sshbuf never stores len > 2^31 */ in buffer_get_string_ptr_ret()
193 buffer_get_string_ptr(Buffer *buffer, u_int *length_ptr) in buffer_get_string_ptr() argument
197 if ((ret = buffer_get_string_ptr_ret(buffer, length_ptr)) == NULL) in buffer_get_string_ptr()