Home
last modified time | relevance | path

Searched refs:BUF_MEM_reserve (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/buf/
Dbuf_test.cc30 ASSERT_TRUE(BUF_MEM_reserve(buf.get(), 200)); in TEST()
36 ASSERT_TRUE(BUF_MEM_reserve(buf.get(), 100)); in TEST()
47 ASSERT_TRUE(BUF_MEM_reserve(buf.get(), old_max + 1)); in TEST()
Dbuf.c89 int BUF_MEM_reserve(BUF_MEM *buf, size_t cap) { in BUF_MEM_reserve() function
120 if (!BUF_MEM_reserve(buf, len)) { in BUF_MEM_grow()
140 if (!BUF_MEM_reserve(buf, new_len)) { in BUF_MEM_append()
/external/boringssl/src/include/openssl/
Dbuf.h85 OPENSSL_EXPORT int BUF_MEM_reserve(BUF_MEM *buf, size_t cap);
/external/boringssl/src/ssl/
Ds3_both.cc155 if (!BUF_MEM_reserve(ssl->s3->pending_flight.get(), new_cap) || in add_record_to_flight()
354 if (!BUF_MEM_reserve(ssl->s3->hs_buf.get(), max_v3_client_hello) || in read_v2_client_hello()