Searched refs:copy_cb (Results 1 – 3 of 3) sorted by relevance
657 RepeatingCallback<int()> copy_cb = BindRepeating(&Identity, n); in TEST_F() local659 EXPECT_EQ(n, copy_cb.Run()); in TEST_F()662 EXPECT_EQ(n - 1, copy_cb.Run()); in TEST_F()682 OnceCallback<int()> copy_cb = BindOnce(&Identity, n); in TEST_F() local685 EXPECT_EQ(n - 1, std::move(copy_cb).Run()); in TEST_F()
99 pub fn copy_cb<F: FnOnce(&[u8])>(&mut self, size: usize, cb: F) { in copy_cb() method
264 pub fn copy_cb<F: FnOnce(&mut [u8])>(&mut self, size: usize, cb: F) { in copy_cb() method