Home
last modified time | relevance | path

Searched refs:out_buf_len (Results 1 – 7 of 7) sorted by relevance

/third_party/quickjs/
Dqjsc.c180 size_t out_buf_len; in output_object_code() local
185 out_buf = JS_WriteObject(ctx, &out_buf_len, obj, flags); in output_object_code()
194 c_name, (unsigned int)out_buf_len); in output_object_code()
196 c_name, (unsigned int)out_buf_len); in output_object_code()
197 dump_hex(fo, out_buf, out_buf_len); in output_object_code()
/third_party/mbedtls/library/
Dssl_tls.c300 ssl->out_buf_len > out_buf_new_len && ssl->out_left < out_buf_new_len : in handle_buffer_resizing()
301 ssl->out_buf_len < out_buf_new_len ) in handle_buffer_resizing()
303 if( resize_buffer( &ssl->out_buf, out_buf_new_len, &ssl->out_buf_len ) != 0 ) in handle_buffer_resizing()
3249 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in mbedtls_ssl_setup() local
3275 ssl->out_buf_len = out_buf_len; in mbedtls_ssl_setup()
3277 ssl->out_buf = mbedtls_calloc( 1, out_buf_len ); in mbedtls_ssl_setup()
3280 … MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%" MBEDTLS_PRINTF_SIZET " bytes) failed", out_buf_len ) ); in mbedtls_ssl_setup()
3304 ssl->out_buf_len = 0; in mbedtls_ssl_setup()
3336 size_t out_buf_len = ssl->out_buf_len; in ssl_session_reset_msg_layer() local
3339 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in ssl_session_reset_msg_layer()
[all …]
Dssl_msg.c171 size_t out_buf_len = ssl->out_buf_len; in ssl_get_maximum_datagram_size() local
173 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in ssl_get_maximum_datagram_size() local
176 if( mtu != 0 && mtu < out_buf_len ) in ssl_get_maximum_datagram_size()
179 return( out_buf_len ); in ssl_get_maximum_datagram_size()
2376 size_t out_buf_len = ssl->out_buf_len; in mbedtls_ssl_write_record() local
2378 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN; in mbedtls_ssl_write_record() local
2400 rec.buf_len = out_buf_len - ( ssl->out_iv - ssl->out_buf ); in mbedtls_ssl_write_record()
Dssl_cli.c3933 size_t out_buf_len = ssl->out_buf_len - ( ssl->out_msg - ssl->out_buf ); in ssl_write_certificate_verify() local
3935 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN - ( ssl->out_msg - ssl->out_buf ); in ssl_write_certificate_verify() local
4036 out_buf_len - 6 - offset, in ssl_write_certificate_verify()
Dssl_srv.c2917 size_t out_buf_len = ssl->out_buf_len - ( ssl->out_msg - ssl->out_buf ); in ssl_prepare_server_key_exchange() local
2919 size_t out_buf_len = MBEDTLS_SSL_OUT_BUFFER_LEN - ( ssl->out_msg - ssl->out_buf ); in ssl_prepare_server_key_exchange() local
3231 out_buf_len - ssl->out_msglen - 2, in ssl_prepare_server_key_exchange()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function1837 TEST_ASSERT( client.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN );
1839 TEST_ASSERT( server.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN );
1876 TEST_ASSERT( client.ssl.out_buf_len ==
1880 TEST_ASSERT( server.ssl.out_buf_len ==
1931 TEST_ASSERT( server.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN );
1942 TEST_ASSERT( server.ssl.out_buf_len ==
1995 TEST_ASSERT( client.ssl.out_buf_len == MBEDTLS_SSL_OUT_BUFFER_LEN );
2016 TEST_ASSERT( client.ssl.out_buf_len ==
2020 TEST_ASSERT( server.ssl.out_buf_len ==
/third_party/mbedtls/include/mbedtls/
Dssl.h1604 size_t MBEDTLS_PRIVATE(out_buf_len); /*!< length of output buffer */