Home
last modified time | relevance | path

Searched defs:Mock (Results 1 – 25 of 54) sorted by relevance

123

/external/skia/tests/
DTDPQueueTest.cpp68 struct Mock { struct
73 static bool LessP(Mock* const& a, Mock* const& b) { return a->fPriority < b->fPriority; } in LessP() argument
74 static int* PQIndex(Mock* const& mock) { return &mock->fIndex; } in PQIndex() argument
76 bool operator== (const Mock& that) const { in operator ==() argument
79 bool operator!= (const Mock& that) const { return !(*this == that); } in operator !=() argument
/external/pytorch/tools/test/
Dtest_executorch_custom_ops.py114 self, unused: Mock, mock_method: Mock
134 self, unused: Mock, mock_method: Mock
Dgen_operators_yaml_test.py230 self, mock_parse_options: Mock, mock_load_op_dep_graph: Mock
/external/rust/android-crates-io/crates/tokio-test/src/
Dio.rs40 pub struct Mock { struct
44 /// A handle to send additional actions to the related `Mock`. argument
131 pub fn build(&mut self) -> Mock { in build()
137 pub fn build_with_handle(&mut self) -> (Mock, Handle) { in build_with_handle()
335 impl Mock { implementation
348 impl AsyncRead for Mock { implementation
396 impl AsyncWrite for Mock { implementation
454 impl Drop for Mock { implementation
/external/rust/android-crates-io/crates/http-body/tests/
Dis_end_stream.rs6 struct Mock { struct
10 impl Body for Mock { implementation
/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/
DSpecialEncoderTest.java12 private class Mock extends Special { class in SpecialEncoderTest
14 public Mock(SpecialType specialType) { in Mock() method in SpecialEncoderTest.Mock
/external/rust/android-crates-io/crates/tokio-util/tests/
Dframed_write.rs170 struct Mock { struct
174 impl Write for Mock { argument
192 impl AsyncWrite for Mock { implementation
Dlength_delimited.rs754 struct Mock { struct
763 impl AsyncRead for Mock { argument
783 impl AsyncWrite for Mock { implementation
Dframed_read.rs316 struct Mock { struct
320 impl AsyncRead for Mock { implementation
/external/rust/android-crates-io/crates/tower/tests/balance/
Dmain.rs14 struct Mock(mock::Mock<Req, Req>); struct
16 impl Service<Req> for Mock { implementation
28 impl tower::load::Load for Mock { implementation
/external/rust/android-crates-io/crates/tower/tests/filter/
Dasync_filter.rs52 type Mock = mock::Mock<String, String>; typedef
55 fn new_service<F, U>(f: F) -> (AsyncFilter<Mock, F>, Handle) in new_service()
/external/rust/android-crates-io/crates/tokio/src/process/
Dmod.rs1567 struct Mock { struct
1568 num_kills: usize,
1569 num_polls: usize,
1570 poll_result: Poll<Result<(), ()>>,
1573 impl Mock { implementation
1587 impl Kill for Mock { implementation
1594 impl Future for Mock { implementation
/external/rust/android-crates-io/crates/tower/tests/hedge/
Dmain.rs146 type Mock = tower_test::mock::Mock<Req, Res>; typedef
169 fn new_service<P: Policy<Req> + Clone>(policy: P) -> (mock::Spawn<Hedge<Mock, P>>, Handle) { in new_service()
/external/skia/bazel/exporter/interfaces/mocks/
DQueryCommand.go9 mock.Mock anonMember
DFileSystem.go12 mock.Mock anonMember
/external/python/cpython3/Doc/library/
Dunittest.mock.rst2238 .. [#] Magic methods *should* be looked up on the class rather than the
2242 .. [#] The function is basically hooked up to the class, but each ``Mock``
/external/googletest/
DCONTRIBUTING.md99 ### Testing Google Test and Google Mock Themselves
/external/cronet/tot/third_party/googletest/src/
DCONTRIBUTING.md99 ### Testing Google Test and Google Mock Themselves
/external/cronet/tot/third_party/boringssl/src/third_party/googletest/
DCONTRIBUTING.md99 ### Testing Google Test and Google Mock Themselves
/external/mockito/src/main/java/org/mockito/
DMock.java76 public @interface Mock { annotation
/external/cronet/stable/third_party/boringssl/src/third_party/googletest/
DCONTRIBUTING.md99 ### Testing Google Test and Google Mock Themselves
/external/cronet/stable/third_party/googletest/src/
DCONTRIBUTING.md99 ### Testing Google Test and Google Mock Themselves
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc227 struct Mock { in TEST() struct
228 int v; in TEST()
229 const char* p; in TEST()
230 double d; in TEST()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dcompressed_tuple_test.cc227 struct Mock { in TEST() struct
228 int v; in TEST()
229 const char* p; in TEST()
230 double d; in TEST()
/external/angle/src/common/vulkan/
Dvulkan_icd.h31 Mock, enumerator

123