Lines Matching refs:buffer
12 struct buffer_data *buffer = (struct buffer_data *) data;
13 char *p = buffer->ptr;
40 buffer->ptr = p;
55 struct buffer_data buffer;
59 memset( buffer.buf, 0, 2000 );
60 buffer.ptr = buffer.buf;
65 mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
70 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
84 struct buffer_data buffer;
88 memset( buffer.buf, 0, 2000 );
89 buffer.ptr = buffer.buf;
93 mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
97 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
112 struct buffer_data buffer;
118 memset( buffer.buf, 0, 2000 );
119 buffer.ptr = buffer.buf;
125 mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
129 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
144 struct buffer_data buffer;
149 memset( buffer.buf, 0, 2000 );
150 buffer.ptr = buffer.buf;
154 mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
159 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
174 struct buffer_data buffer;
180 memset( buffer.buf, 0, 2000 );
181 buffer.ptr = buffer.buf;
187 mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
191 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );