/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/meta/meta.rel/ |
D | is_invocable_r_v.compile.pass.cpp | 26 T Return(); 28 static_assert(std::is_invocable_r_v<int, decltype(Return<int>)>); 29 static_assert(std::is_invocable_r_v<char, decltype(Return<char>)>); 30 static_assert(std::is_invocable_r_v<int*, decltype(Return<int*>)>); 31 static_assert(std::is_invocable_r_v<int&, decltype(Return<int&>)>); 32 static_assert(std::is_invocable_r_v<int&&, decltype(Return<int&&>)>); 37 static_assert(std::is_invocable_r_v<void, decltype(Return<void>)>); 38 static_assert(std::is_invocable_r_v<void, decltype(Return<int>)>); 39 static_assert(std::is_invocable_r_v<void, decltype(Return<int*>)>); 40 static_assert(std::is_invocable_r_v<void, decltype(Return<int&>)>); [all …]
|
D | is_invocable_r.compile.pass.cpp | 26 T Return(); 28 static_assert(std::is_invocable_r<int, decltype(Return<int>)>::value); 29 static_assert(std::is_invocable_r<char, decltype(Return<char>)>::value); 30 static_assert(std::is_invocable_r<int*, decltype(Return<int*>)>::value); 31 static_assert(std::is_invocable_r<int&, decltype(Return<int&>)>::value); 32 static_assert(std::is_invocable_r<int&&, decltype(Return<int&&>)>::value); 37 static_assert(std::is_invocable_r<void, decltype(Return<void>)>::value); 38 static_assert(std::is_invocable_r<void, decltype(Return<int>)>::value); 39 static_assert(std::is_invocable_r<void, decltype(Return<int*>)>::value); 40 static_assert(std::is_invocable_r<void, decltype(Return<int&>)>::value); [all …]
|
/external/cronet/base/nix/ |
D | xdg_util_unittest.cc | 14 using ::testing::Return; 65 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 67 .WillOnce(DoAll(SetArgPointee<1>(kDesktopGnome), Return(true))); in TEST() 74 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 76 .WillOnce(DoAll(SetArgPointee<1>(kDesktopMATE), Return(true))); in TEST() 83 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 85 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE4), Return(true))); in TEST() 92 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 94 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE), Return(true))); in TEST() 101 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() [all …]
|
/external/perfetto/src/profiling/memory/ |
D | system_property_unittest.cc | 26 using ::testing::Return; 40 .WillOnce(Return(true)); in TEST() 42 .WillOnce(Return(true)); in TEST() 50 .WillOnce(Return(true)); in TEST() 52 .WillOnce(Return(true)); in TEST() 63 .WillOnce(Return(true)); in TEST() 65 .WillOnce(Return(true)); in TEST() 73 .WillOnce(Return(true)); in TEST() 75 .WillOnce(Return(true)); in TEST() 77 .WillOnce(Return(true)); in TEST() [all …]
|
/external/libbrillo/brillo/http/ |
D | http_transport_curl_test.cc | 20 using testing::Return; 36 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_)); in SetUp() 38 .WillOnce(Return(CURLE_OK)); in SetUp() 40 .WillOnce(Return(CURLE_OK)); in SetUp() 42 .WillOnce(Return(CURLE_OK)); in SetUp() 44 .WillOnce(Return(CURLE_OK)); in SetUp() 46 .WillRepeatedly(Return(CURLE_OK)); in SetUp() 63 .WillOnce(Return(CURLE_OK)); in TEST_F() 66 .WillOnce(Return(CURLE_OK)); in TEST_F() 69 .WillOnce(Return(CURLE_OK)); in TEST_F() [all …]
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2diehandler_unittest.cc | 52 using ::testing::Return; 117 .WillOnce(Return(false)); in TEST() 136 .WillOnce(Return(true)); in TEST() 140 .WillOnce(Return(false)); in TEST() 163 .WillOnce(Return(true)); in TEST() 166 .WillOnce(Return(true)); in TEST() 169 .WillOnce(Return(false)); in TEST() 171 .WillOnce(Return()); in TEST() 204 .WillOnce(Return(true)); in TEST() 209 .WillOnce(Return(true)); in TEST() [all …]
|
D | dwarf2reader_cfi_unittest.cc | 83 using testing::Return; 214 .WillOnce(Return()); in TEST_F() 240 .WillOnce(Return()); in TEST_F() 265 .WillOnce(Return()); in TEST_F() 292 .WillOnce(Return()); in TEST_F() 344 .WillOnce(Return(true)); in TEST_F() 345 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F() 381 .WillOnce(Return(true)); in TEST_F() 382 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F() 388 .WillOnce(Return(true)); in TEST_F() [all …]
|
/external/google-breakpad/src/common/ |
D | stabs_reader_unittest.cc | 55 using ::testing::Return; 296 .WillOnce(Return(true)); in TEST_F() 298 .WillOnce(Return(true)); in TEST_F() 301 .WillOnce(Return(true)); in TEST_F() 304 .WillOnce(Return(true)); in TEST_F() 306 .WillOnce(Return(true)); in TEST_F() 308 .WillOnce(Return(true)); in TEST_F() 311 .WillOnce(Return(true)); in TEST_F() 314 .WillOnce(Return(true)); in TEST_F() 316 .WillOnce(Return(true)); in TEST_F() [all …]
|
/external/libchrome/base/nix/ |
D | xdg_util_unittest.cc | 13 using ::testing::Return; 52 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 54 .WillOnce(DoAll(SetArgPointee<1>(kDesktopGnome), Return(true))); in TEST() 61 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 63 .WillOnce(DoAll(SetArgPointee<1>(kDesktopMATE), Return(true))); in TEST() 70 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 72 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE4), Return(true))); in TEST() 79 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() 81 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE), Return(true))); in TEST() 88 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); in TEST() [all …]
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 33 using ::testing::Return; 40 .WillOnce(Return(20)); in TEST() 45 .WillOnce(Return(5.0)); in TEST() 50 .WillOnce(Return(42)); in TEST() 54 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 59 .WillOnce(Return(true)); in TEST() 64 .WillOnce(Return(1221)); in TEST() 69 .WillOnce(Return(0.001)); in TEST() 74 .WillOnce(Return(500000)); in TEST() 83 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 33 using ::testing::Return; 40 .WillOnce(Return(20)); in TEST() 45 .WillOnce(Return(5.0)); in TEST() 50 .WillOnce(Return(42)); in TEST() 54 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 59 .WillOnce(Return(true)); in TEST() 64 .WillOnce(Return(1221)); in TEST() 69 .WillOnce(Return(0.001)); in TEST() 74 .WillOnce(Return(500000)); in TEST() 83 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/cronet/third_party/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 33 using ::testing::Return; 40 .WillOnce(Return(20)); in TEST() 45 .WillOnce(Return(5.0)); in TEST() 50 .WillOnce(Return(42)); in TEST() 54 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 59 .WillOnce(Return(true)); in TEST() 64 .WillOnce(Return(1221)); in TEST() 69 .WillOnce(Return(0.001)); in TEST() 74 .WillOnce(Return(500000)); in TEST() 83 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 33 using ::testing::Return; 40 .WillOnce(Return(20)); in TEST() 45 .WillOnce(Return(5.0)); in TEST() 50 .WillOnce(Return(42)); in TEST() 54 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 59 .WillOnce(Return(true)); in TEST() 64 .WillOnce(Return(1221)); in TEST() 69 .WillOnce(Return(0.001)); in TEST() 74 .WillOnce(Return(500000)); in TEST() 83 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 32 using ::testing::Return; 39 .WillOnce(Return(20)); in TEST() 44 .WillOnce(Return(5.0)); in TEST() 49 .WillOnce(Return(42)); in TEST() 53 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 58 .WillOnce(Return(true)); in TEST() 63 .WillOnce(Return(1221)); in TEST() 68 .WillOnce(Return(0.001)); in TEST() 73 .WillOnce(Return(500000)); in TEST() 82 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 33 using ::testing::Return; 40 .WillOnce(Return(20)); in TEST() 45 .WillOnce(Return(5.0)); in TEST() 50 .WillOnce(Return(42)); in TEST() 54 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 59 .WillOnce(Return(true)); in TEST() 64 .WillOnce(Return(1221)); in TEST() 69 .WillOnce(Return(0.001)); in TEST() 74 .WillOnce(Return(500000)); in TEST() 83 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/perfetto/src/base/threading/ |
D | stream_unittest.cc | 34 using testing::Return; 60 .WillOnce(Return(StreamPollResult<int>(0))); in TEST_F() 72 .WillOnce(Return(PendingPollResult())) in TEST_F() 73 .WillOnce(Return(StreamPollResult<int>(1))) in TEST_F() 74 .WillOnce(Return(DonePollResult())); in TEST_F() 86 .WillOnce(Return(PendingPollResult())) in TEST_F() 87 .WillOnce(Return(StreamPollResult<int>(1))) in TEST_F() 88 .WillOnce(Return(PendingPollResult())) in TEST_F() 89 .WillOnce(Return(StreamPollResult<int>(2))) in TEST_F() 90 .WillOnce(Return(DonePollResult())); in TEST_F() [all …]
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | mocking_bit_gen_test.cc | 30 using ::testing::Return; 37 .WillOnce(Return(20)); in TEST() 42 .WillOnce(Return(5.0)); in TEST() 47 .WillOnce(Return(42)); in TEST() 51 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 56 .WillOnce(Return(true)); in TEST() 61 .WillOnce(Return(1221)); in TEST() 66 .WillOnce(Return(0.001)); in TEST() 71 .WillOnce(Return(500000)); in TEST() 80 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 30 using ::testing::Return; 37 .WillOnce(Return(20)); in TEST() 42 .WillOnce(Return(5.0)); in TEST() 47 .WillOnce(Return(42)); in TEST() 51 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST() 56 .WillOnce(Return(true)); in TEST() 61 .WillOnce(Return(1221)); in TEST() 66 .WillOnce(Return(0.001)); in TEST() 71 .WillOnce(Return(500000)); in TEST() 80 .WillByDefault(Return(20)); in TEST() [all …]
|
/external/webrtc/net/dcsctp/tx/ |
D | stream_scheduler_test.cc | 20 using ::testing::Return; 81 .WillRepeatedly(Return(packet_size)); in TestStream() 122 .WillOnce(Return(kPayloadSize)) // When making active in TEST() 123 .WillOnce(Return(0)); in TEST() 142 .WillOnce(Return(kPayloadSize)) // When making active in TEST() 143 .WillOnce(Return(kPayloadSize)) in TEST() 144 .WillOnce(Return(kPayloadSize)) in TEST() 145 .WillOnce(Return(0)); in TEST() 156 .WillOnce(Return(kPayloadSize)) // When making active in TEST() 157 .WillOnce(Return(kPayloadSize)) in TEST() [all …]
|
/external/libbrillo/brillo/namespaces/ |
D | mount_namespace_test.cc | 20 using ::testing::Return; 43 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 44 EXPECT_CALL(platform_, Mount(_, _, _, _, _)).WillOnce(Return(0)); in TEST_F() 46 .WillOnce(DoAll(SetArgPointee<1>(0x00000000), Return(0))); in TEST_F() 48 EXPECT_CALL(platform_, Unmount(ns->path(), _, _)).WillOnce(Return(true)); in TEST_F() 54 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 55 EXPECT_CALL(platform_, Mount(_, _, _, _, _)).WillOnce(Return(0)); in TEST_F() 56 EXPECT_CALL(platform_, Waitpid(_, _)).WillOnce(Return(-1)); in TEST_F() 63 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 64 EXPECT_CALL(platform_, Mount(_, _, _, _, _)).WillOnce(Return(-1)); in TEST_F() [all …]
|
/external/minigbm/cros_gralloc/gralloc4/ |
D | CrosGralloc4Mapper.h | 17 android::hardware::Return<void> createDescriptor(const BufferDescriptorInfo& description, 20 android::hardware::Return<void> importBuffer(const android::hardware::hidl_handle& rawHandle, 23 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> freeBuffer( 26 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> validateBufferSize( 29 android::hardware::Return<void> getTransportSize(void* rawHandle, 32 android::hardware::Return<void> lock(void* rawHandle, uint64_t cpuUsage, 37 android::hardware::Return<void> unlock(void* rawHandle, unlock_cb hidlCb) override; 39 android::hardware::Return<void> flushLockedBuffer(void* rawHandle, 42 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> rereadLockedBuffer( 45 android::hardware::Return<void> isSupported(const BufferDescriptorInfo& descriptor, [all …]
|
/external/python/cpython2/Doc/library/ |
D | symtable.rst | 26 Return the toplevel :class:`SymbolTable` for the Python source *code*. 40 Return the type of the symbol table. Possible values are ``'class'``, 45 Return the table's identifier. 49 Return the table's name. This is the name of the class if the table is 55 Return the number of the first line in the block this table represents. 59 Return ``True`` if the locals in this table can be optimized. 63 Return ``True`` if the block is a nested class or function. 67 Return ``True`` if the block has nested namespaces within it. These can 72 Return ``True`` if the block uses ``exec``. 76 Return ``True`` if the block uses a starred from-import. [all …]
|
/external/libbrillo/brillo/streams/ |
D | stream_test.cc | 19 using testing::Return; 94 EXPECT_CALL(stream_mock, GetPosition()).WillOnce(Return(123)); in TEST() 95 EXPECT_CALL(stream_mock, SetSizeBlocking(123, _)).WillOnce(Return(true)); in TEST() 102 .WillOnce(Return(true)); in TEST() 109 .WillOnce(Return(true)); in TEST() 136 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST() 138 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST() 160 Return(true))); in TEST() 181 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); in TEST() 221 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST() [all …]
|
/external/python/cpython3/Doc/library/ |
D | symtable.rst | 26 Return the toplevel :class:`SymbolTable` for the Python source *code*. 40 Return the type of the symbol table. Possible values are ``'class'``, 45 Return the table's identifier. 49 Return the table's name. This is the name of the class if the table is 55 Return the number of the first line in the block this table represents. 59 Return ``True`` if the locals in this table can be optimized. 63 Return ``True`` if the block is a nested class or function. 67 Return ``True`` if the block has nested namespaces within it. These can 72 Return a list of names of symbols in this table. 80 Return a list of :class:`Symbol` instances for names in the table. [all …]
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_config_muxer_unittest.cc | 39 using testing::Return; 59 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs() 60 ON_CALL(*this, WriteToFile(_, _)).WillByDefault(Return(true)); in MockFtraceProcfs() 61 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 256 .WillByDefault(Return("[local] global boot")); in TEST_F() 260 .WillOnce(Return("nop")); in TEST_F() 262 .WillOnce(Return('1')); in TEST_F() 263 EXPECT_CALL(ftrace, WriteToFile(_, _)).WillRepeatedly(Return(true)); in TEST_F() 287 .WillByDefault(Return("[local] global boot")); in TEST_F() 291 .WillOnce(Return("nop")); in TEST_F() [all …]
|