Home
last modified time | relevance | path

Searched refs:Return (Results 1 – 25 of 2124) sorted by relevance

12345678910>>...85

/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc33 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 …]
Dmock_distributions_test.cc22 using ::testing::Return;
29 .WillOnce(Return(20)); in TEST()
34 .WillOnce(Return(5.0)); in TEST()
39 .WillOnce(Return(42)); in TEST()
43 EXPECT_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillOnce(Return(500)); in TEST()
48 .WillOnce(Return(true)); in TEST()
53 .WillOnce(Return(0.567)); in TEST()
58 .WillOnce(Return(1221)); in TEST()
63 .WillOnce(Return(0.001)); in TEST()
68 .WillOnce(Return(2040)); in TEST()
/third_party/python/Doc/library/
Dsymtable.rst26 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 …]
/third_party/googletest/googlemock/test/
Dgmock-spec-builders_test.cc92 using testing::Return;
214 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
228 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
258 .WillByDefault(Return()); in TEST()
261 .WillByDefault(Return()); in TEST()
271 .WillByDefault(Return(Result())); in TEST()
289 .WillByDefault(Return()) in TEST()
290 .WillByDefault(Return()); in TEST()
351 .WillOnce(Return()) in TEST()
362 .WillOnce(Return()); in TEST()
[all …]
Dgmock_link_test.h169 using testing::Return;
250 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
259 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
267 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
379 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
389 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
398 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
407 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
479 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
486 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
[all …]
Dgmock-function-mocker_test.cc64 using testing::Return;
306 .WillOnce(Return(1)); in TYPED_TEST()
314 EXPECT_CALL(this->mock_foo_, Unary(Eq(2))).Times(2).WillOnce(Return(true)); in TYPED_TEST()
322 EXPECT_CALL(this->mock_foo_, Binary(2, _)).WillOnce(Return(3)); in TYPED_TEST()
331 .WillOnce(Return(5)); in TYPED_TEST()
340 .WillOnce(Return(true)); in TYPED_TEST()
349 .WillOnce(Return("Hello")); in TYPED_TEST()
364 .WillOnce(Return(1)); in TYPED_TEST()
366 .WillOnce(Return(2)); in TYPED_TEST()
375 .WillOnce(Return(1)); in TYPED_TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc30 using testing::Return;
44 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(16)); in TEST()
46 .WillOnce(Return(2)) in TEST()
47 .WillOnce(Return(3)) in TEST()
48 .WillOnce(Return(4)); in TEST()
65 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST()
67 .WillOnce(Return(1)) in TEST()
68 .WillOnce(Return(2)) in TEST()
69 .WillOnce(Return(3)); in TEST()
83 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(0)); in TEST()
[all …]
/third_party/python/Doc/c-api/
Ddatetime.rst30 Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of
37 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be
43 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a subtype of
50 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not
56 Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype of
63 Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not be
69 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype of
76 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not be
82 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype of
89 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must not be
[all …]
Dreflection.rst10 Return a dictionary of the builtins in the current execution frame,
16 Return a dictionary of the local variables in the current execution frame,
22 Return a dictionary of the global variables in the current execution frame,
28 Return the current thread state's frame, which is ``NULL`` if no frame is
38 Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame.
49 Return a :term:`strong reference`.
58 Return the line number that *frame* is currently executing.
65 Return the name of *func* if it is a function, class or instance object, else the
71 Return a description string, depending on the type of *func*.
72 Return values include "()" for functions and methods, " constructor",
/third_party/glslang/Test/baseResults/
Dhlsl.logicalConvert.frag.out13 0:4 Branch: Return with expression
24 0:6 Branch: Return with expression
35 0:8 Branch: Return with expression
46 0:10 Branch: Return with expression
57 0:12 Branch: Return with expression
68 0:14 Branch: Return with expression
79 0:16 Branch: Return with expression
90 0:18 Branch: Return with expression
101 0:20 Branch: Return with expression
112 0:22 Branch: Return with expression
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DCoroutine.hpp114 template<typename Return, typename... Arguments>
115 class Coroutine<Return(Arguments...)>
147 std::unique_ptr<Stream<Return>> operator()(Arguments...);
155 template<typename Return, typename... Arguments>
156 Coroutine<Return(Arguments...)>::Coroutine() in Coroutine()
168 Nucleus::createCoroutine(CToReactorT<Return>::type(), arguments); in Coroutine()
171 template<typename Return, typename... Arguments>
172 void Coroutine<Return(Arguments...)>::finalize(const char *name /*= "coroutine"*/, const Config::Ed… in finalize()
181 template<typename Return, typename... Arguments>
182 std::unique_ptr<Stream<Return>>
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_function_test.cc34 Return(), in TEST_F()
54 Return(), in TEST_F()
71 Return(), in TEST_F()
117 ty.f32(), {Return(Deref("foo"))}); in TEST_F()
134 Func("frag_main", ast::VariableList{foo_in}, ty.f32(), {Return("foo")}, in TEST_F()
182 {Return(MemberAccessor("coord", "x"))}, in TEST_F()
245 {Return(Construct(ty.Of(interface_struct), Construct(ty.vec4<f32>()), in TEST_F()
351 {Return(Construct(ty.Of(vertex_output_struct),
356 {Return(Construct(ty.Of(vertex_output_struct),
361 {Return(Construct(ty.Of(vertex_output_struct),
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Dexpecting_objectwriter.h67 using testing::Return;
105 .WillOnce(Return(mock_)) in StartObject()
112 .WillOnce(Return(mock_)) in EndObject()
120 .WillOnce(Return(mock_)) in StartList()
127 .WillOnce(Return(mock_)) in EndList()
137 .WillOnce(Return(mock_)) in RenderBool()
147 .WillOnce(Return(mock_)) in RenderInt32()
157 .WillOnce(Return(mock_)) in RenderUint32()
167 .WillOnce(Return(mock_)) in RenderInt64()
177 .WillOnce(Return(mock_)) in RenderUint64()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp40 using ::testing::Return;
125 .WillOnce(Return(ByMove(AcquireRef(bindGroupMock)))); in TEST_F()
150 .WillOnce(Return(ByMove(AcquireRef(bindGroupLayoutMock)))); in TEST_F()
191 .WillOnce(Return(ByMove(AcquireRef(bufferMock)))); in TEST_F()
208 .WillOnce(Return(ByMove(AcquireRef(bufferMock)))); in TEST_F()
234 .WillOnce(Return(ByMove(AcquireRef(commandBufferMock)))); in TEST_F()
258 ON_CALL(*computePipelineMock, ComputeContentHash).WillByDefault(Return(hash)); in TEST_F()
271 .WillOnce(Return(ByMove(AcquireRef(computePipelineMock)))); in TEST_F()
315 .WillOnce(Return(ByMove(AcquireRef(pipelineLayoutMock)))); in TEST_F()
341 .WillOnce(Return(ByMove(AcquireRef(querySetMock)))); in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_function_test.cc34 Return(), in TEST_F()
51 Return(), in TEST_F()
68 Return(), in TEST_F()
103 ty.f32(), {Return(Deref("foo"))}); in TEST_F()
120 Func("frag_main", ast::VariableList{foo_in}, ty.f32(), {Return("foo")}, in TEST_F()
154 {Return(MemberAccessor("coord", "x"))}, in TEST_F()
205 {Return(Construct(ty.Of(interface_struct), Construct(ty.vec4<f32>()), in TEST_F()
284 {Return(Construct(ty.Of(vertex_output_struct), in TEST_F()
289 {Return(Call("foo", Expr(0.5f)))}, {Stage(ast::PipelineStage::kVertex)}); in TEST_F()
292 {Return(Call("foo", Expr(0.25f)))}, in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_function_test.cc30 Return(), in TEST_F()
56 Return(), in TEST_F()
98 Func("frag_main", ast::VariableList{foo_in}, ty.f32(), {Return("foo")}, in TEST_F()
135 {Return(MemberAccessor("coord", "x"))}, in TEST_F()
186 {Return(Construct(ty.Of(interface_struct), Expr(0.5f), Expr(0.25f), in TEST_F()
267 {Return(Construct(ty.Of(vertex_output_struct), in TEST_F()
272 {Return(Expr(Call("foo", Expr(0.5f))))}, in TEST_F()
276 {Return(Expr(Call("foo", Expr(0.25f))))}, in TEST_F()
347 Return(), in TEST_F()
393 Return(), in TEST_F()
[all …]
Dgenerator_impl_if_test.cc26 auto* i = If(cond, Block(Return())); in TEST_F()
43 auto* i = If(cond, Block(Return()), Else(else_cond, Block(Return()))); in TEST_F()
63 auto* i = If(cond, Block(Return()), Else(nullptr, Block(Return()))); in TEST_F()
82 auto* i = If(cond, Block(Return()), Else(else_cond, Block(Return())), in TEST_F()
83 Else(nullptr, Block(Return()))); in TEST_F()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dtype_ptr.inl11 /// Return the constant address to the data of the vector input.
22 //! Return the address to the data of the vector input.
33 /// Return the constant address to the data of the vector input.
44 //! Return the address to the data of the vector input.
55 /// Return the constant address to the data of the vector input.
66 //! Return the address to the data of the vector input.
77 /// Return the constant address to the data of the matrix input.
88 //! Return the address to the data of the matrix input.
99 /// Return the constant address to the data of the matrix input.
110 //! Return the address to the data of the matrix input.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dbinary_parse_test.cpp49 using ::testing::Return;
240 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
249 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
260 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
277 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
293 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
319 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
336 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
355 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
369 EXPECT_HEADER(2).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dbinary_parse_test.cpp45 using ::testing::Return;
235 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
244 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
255 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
272 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
290 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
318 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
337 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
358 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
374 EXPECT_HEADER(2).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
[all …]
/third_party/spirv-tools/test/
Dbinary_parse_test.cpp49 using ::testing::Return;
231 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
240 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
251 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
268 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
284 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
310 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
327 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
346 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
360 EXPECT_HEADER(2).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dbinary_parse_test.cpp49 using ::testing::Return;
240 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
249 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
260 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
277 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
293 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
319 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
336 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
355 EXPECT_HEADER(1).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
369 EXPECT_HEADER(2).WillOnce(Return(SPV_SUCCESS)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireArgumentTests.cpp38 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
41 EXPECT_CALL(api, CommandEncoderBeginComputePass(apiEncoder, nullptr)).WillOnce(Return(apiPass)); in TEST_F()
57 EXPECT_CALL(api, DeviceCreateBindGroupLayout(apiDevice, _)).WillOnce(Return(apiBgl)); in TEST_F()
66 EXPECT_CALL(api, DeviceCreateBindGroup(apiDevice, _)).WillOnce(Return(apiBindGroup)); in TEST_F()
76 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
79 EXPECT_CALL(api, CommandEncoderBeginComputePass(apiEncoder, nullptr)).WillOnce(Return(apiPass)); in TEST_F()
101 EXPECT_CALL(api, DeviceCreateShaderModule(apiDevice, _)).WillOnce(Return(apiVsModule)); in TEST_F()
141 EXPECT_CALL(api, DeviceCreatePipelineLayout(apiDevice, _)).WillOnce(Return(apiLayout)); in TEST_F()
175 .WillOnce(Return(apiDummyPipeline)); in TEST_F()
184 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireArgumentTests.cpp38 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
41 EXPECT_CALL(api, CommandEncoderBeginComputePass(apiEncoder, nullptr)).WillOnce(Return(apiPass)); in TEST_F()
58 EXPECT_CALL(api, DeviceCreateBindGroupLayout(apiDevice, _)).WillOnce(Return(apiBgl)); in TEST_F()
68 EXPECT_CALL(api, DeviceCreateBindGroup(apiDevice, _)).WillOnce(Return(apiBindGroup)); in TEST_F()
78 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
81 EXPECT_CALL(api, CommandEncoderBeginComputePass(apiEncoder, nullptr)).WillOnce(Return(apiPass)); in TEST_F()
105 EXPECT_CALL(api, DeviceCreateShaderModule(apiDevice, _)).WillOnce(Return(apiVsModule)); in TEST_F()
159 EXPECT_CALL(api, DeviceCreatePipelineLayout(apiDevice, _)).WillOnce(Return(apiLayout)); in TEST_F()
198 .WillOnce(Return(apiDummyPipeline)); in TEST_F()
208 EXPECT_CALL(api, DeviceCreateCommandEncoder(apiDevice, nullptr)).WillOnce(Return(apiEncoder)); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/generator/templates/dawn_wire/
DWireCmd.cpp87 {% set Return = "Return" if is_return_command else "" %}
93 struct {{Return}}{{name}}Transfer {
96 {{Return}}WireCmd commandId;
115 …DAWN_DECLARE_UNUSED size_t {{Return}}{{name}}GetExtraRequiredSize(const {{Return}}{{name}}{{Cmd}}&…
151 DAWN_UNUSED_FUNC({{Return}}{{name}}GetExtraRequiredSize);
155 …DAWN_DECLARE_UNUSED void {{Return}}{{name}}Serialize(const {{Return}}{{name}}{{Cmd}}& record, {{Re…
165 transfer->commandId = {{Return}}WireCmd::{{name}};
203 DAWN_UNUSED_FUNC({{Return}}{{name}}Serialize);
208 …WN_DECLARE_UNUSED DeserializeResult {{Return}}{{name}}Deserialize({{Return}}{{name}}{{Cmd}}* recor…
219 ASSERT(transfer->commandId == {{Return}}WireCmd::{{name}});
[all …]

12345678910>>...85