Home
last modified time | relevance | path

Searched refs:num_init (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/tokio/tests/
Dio_read_to_end.rs27 num_init: usize, field
39 assert_eq!(real_num_init, me.num_init, "{:?}", me.state); in poll_read()
43 buf.initialize_unfilled_to(me.num_init + 2); in poll_read()
45 me.num_init += 1; in poll_read()
47 if me.num_init == 24 { in poll_read()
53 me.num_init -= 1; in poll_read()
55 if me.num_init == 15 { in poll_read()
57 me.num_init = 0; in poll_read()
72 num_init: 0, in read_to_end_uninit()
/external/protobuf/src/google/protobuf/
Darena_unittest.cc1387 ++num_init; in on_init()
1413 static uint32 num_init; member in google::protobuf::ArenaHooksTestUtil
1418 uint32 ArenaHooksTestUtil::num_init = 0; member in google::protobuf::ArenaHooksTestUtil
1442 EXPECT_EQ(1, ArenaHooksTestUtil::num_init); in TEST()