OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bio2
(Results
1 - 3
of
3
) sorted by null
/external/boringssl/src/crypto/bio/
bio_test.cc
225
// Run through the tests twice, swapping |bio1| and |
bio2
|, for symmetry.
229
BIO *bio1, *
bio2
;
local
230
ASSERT_TRUE(BIO_new_bio_pair(&bio1, 10, &
bio2
, 10));
231
bssl::UniquePtr<BIO> free_bio1(bio1), free_bio2(
bio2
);
234
std::swap(bio1,
bio2
);
245
ASSERT_EQ(5, BIO_read(
bio2
, buf, sizeof(buf)));
254
ASSERT_EQ(10, BIO_read(
bio2
, buf, sizeof(buf)));
259
EXPECT_EQ(-1, BIO_read(
bio2
, buf, 5));
260
EXPECT_TRUE(BIO_should_read(
bio2
));
264
EXPECT_EQ(-1, BIO_read(
bio2
, buf, 20))
[
all
...]
pair.c
305
static int bio_make_pair(BIO *bio1, BIO *
bio2
, size_t writebuf1_len,
310
assert(
bio2
!= NULL);
313
b2 =
bio2
->ptr;
346
b1->peer =
bio2
;
354
bio2
->init = 1;
464
BIO *
bio2
= BIO_new(bio_s_bio());
local
465
if (bio1 == NULL ||
bio2
== NULL ||
466
!bio_make_pair(bio1,
bio2
, writebuf1_len, writebuf2_len)) {
468
BIO_free(
bio2
);
475
*bio2_p =
bio2
;
[
all
...]
/external/boringssl/src/ssl/
ssl_test.cc
1579
BIO *bio1, *
bio2
;
local
3447
BIO *bio1, *
bio2
;
local
[
all
...]
Completed in 331 milliseconds