Home
last modified time | relevance | path

Searched refs:Returns (Results 1 – 25 of 218) sorted by relevance

123456789

/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DReturnsTest.java17 …assertThat(new Returns("value").answer(new InvocationBuilder().method("oneArg").arg("A").toInvocat… in should_return_value()
22 new Returns("one").validateFor(new InvocationBuilder().method("voidMethod").toInvocation()); in should_fail_when_return_Value_is_set_for_void_method()
27 new Returns("one").validateFor(new InvocationBuilder().simpleMethod().toInvocation()); in should_allow_correct_type_of_return_value()
28 …new Returns(false).validateFor(new InvocationBuilder().method("booleanReturningMethod").toInvocati… in should_allow_correct_type_of_return_value()
29 …new Returns(TRUE).validateFor(new InvocationBuilder().method("booleanObjectReturningMethod").toInv… in should_allow_correct_type_of_return_value()
30 …new Returns(1).validateFor(new InvocationBuilder().method("integerReturningMethod").toInvocation()… in should_allow_correct_type_of_return_value()
31 … new Returns(1L).validateFor(new InvocationBuilder().method("longReturningMethod").toInvocation()); in should_allow_correct_type_of_return_value()
32 …new Returns(1L).validateFor(new InvocationBuilder().method("longObjectReturningMethod").toInvocati… in should_allow_correct_type_of_return_value()
33 …new Returns(null).validateFor(new InvocationBuilder().method("objectReturningMethodNoArgs").toInvo… in should_allow_correct_type_of_return_value()
34 …new Returns(1).validateFor(new InvocationBuilder().method("objectReturningMethodNoArgs").toInvocat… in should_allow_correct_type_of_return_value()
[all …]
/external/chromium-trace/catapult/devil/docs/
Dmarkdown.md36 Returns markdown-formatted bold text.
39 Returns a markdown-formatted code block in the given language.
45 Returns markdown-formatted heading.
48 Returns markdown-formatted inline code.
51 Returns markdown-formatted italic text.
75 Returns:
89 Returns:
103 Returns:
112 Returns:
124 Returns:
[all …]
Ddevice_utils.md30 Returns:
43 Returns:
50 Returns the device serial.
59 Returns:
79 Returns:
95 Returns:
126 Returns:
144 Returns:
161 Returns:
173 Returns:
[all …]
Dadb_wrapper.md24 Returns:
64 Returns:
95 Returns:
174 Returns:
187 Returns:
281 Returns:
294 Returns:
334 Returns:
361 Returns:
370 Returns:
/external/mockito/src/test/java/org/mockito/internal/exceptions/
DReporterTest.java15 import org.mockito.internal.stubbing.answers.Returns;
39 …s_default_answer = new InvocationBuilder().mock(mock(IMethods.class, new Returns(false))).toInvoca… in can_use_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted()
45 …s_default_answer = new InvocationBuilder().mock(mock(IMethods.class, new Returns(false))).toInvoca… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted_in_order()
51 …s_default_answer = new InvocationBuilder().mock(mock(IMethods.class, new Returns(false))).toInvoca… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_invalid_argument_position()
57 …s_default_answer = new InvocationBuilder().mock(mock(IMethods.class, new Returns(false))).toInvoca… in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_wrong_argument_to_return()
64 IMethods mock_with_bogus_default_answer = mock(IMethods.class, new Returns(false)); in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_dont_exists()
71 IMethods mock_with_bogus_default_answer = mock(IMethods.class, new Returns(false)); in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_has_wrong_return_type()
77 IMethods mock_with_bogus_default_answer = mock(IMethods.class, new Returns(false)); in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_injection_failure()
/external/llvm/bindings/ocaml/target/
Dllvm_target.mli70 (** Returns the byte order of a target, either [Endian.Big] or
75 (** Returns the pointer size in bytes for a target.
79 (** Returns the integer type that is the same size as a pointer on a target.
83 (** Returns the pointer size in bytes for a target in a given address space.
87 (** Returns the integer type that is the same size as a pointer on a target
157 (** Returns the name of a target. See [llvm::Target::getName]. *)
160 (** Returns the description of a target.
164 (** Returns [true] if the target has a JIT. *)
167 (** Returns [true] if the target has a target machine associated. *)
170 (** Returns [true] if the target has an ASM backend (required for
[all …]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dzipio.rst31 Returns true if *path* exists and refers to a file.
40 Returns true if *path* exists and refers to a directory.
49 Returns true if *path* exists and refers to a symbolic link.
58 Returns the contents of a symbolic link, like :func:`os.readlink`.
62 Returns the last modifiction time of a file or directory, like
67 Returns the UNIX file mode for a file or directory, like the
/external/google-breakpad/src/testing/test/
Dgmock_output_test_golden.txt8 Returns: false
35 Returns: false
61 Returns: false
77 Returns: false
92 Returns: false
113 Returns: false
134 Returns: false
173 Returns: '\0'
189 Returns: false
203 Returns: false
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp968 SmallVector<ReturnInst*, 8> Returns; in InlineFunction() local
1008 /*ModuleLevelChanges=*/false, Returns, ".i", in InlineFunction()
1077 for (unsigned ri = 0, re = Returns.size(); ri != re; ++ri) { in InlineFunction()
1078 IRBuilder<> builder(Returns[ri]); in InlineFunction()
1098 for (unsigned i = 0, e = Returns.size(); i != e; ++i) { in InlineFunction()
1099 IRBuilder<>(Returns[i]).CreateCall(StackRestore, SavedPtr); in InlineFunction()
1103 unsigned NumStackRestores = Returns.size(); in InlineFunction()
1155 if (Returns.size() == 1 && std::distance(FirstNewBlock, Caller->end()) == 1) { in InlineFunction()
1170 ReturnInst *R = Returns[0]; in InlineFunction()
1180 Returns[0]->eraseFromParent(); in InlineFunction()
[all …]
DCloneFunction.cpp77 SmallVectorImpl<ReturnInst*> &Returns, in CloneFunctionInto() argument
119 Returns.push_back(RI); in CloneFunctionInto()
169 SmallVector<ReturnInst*, 8> Returns; // Ignore returns cloned. in CloneFunction() local
170 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo); in CloneFunction()
184 SmallVectorImpl<ReturnInst*> &Returns; member
198 Returns(returns), NameSuffix(nameSuffix), CodeInfo(codeInfo), TD(td) { in PruningFunctionCloner()
313 Returns.push_back(RI); in CloneBlock()
350 SmallVectorImpl<ReturnInst*> &Returns, in CloneAndPruneFunctionInto() argument
364 Returns, NameSuffix, CodeInfo, TD); in CloneAndPruneFunctionInto()
/external/googletest/googlemock/test/
Dgmock_output_test_golden.txt8 Returns: false
35 Returns: false
61 Returns: false
77 Returns: false
92 Returns: false
113 Returns: false
134 Returns: false
173 Returns: '\0'
189 Returns: false
203 Returns: false
[all …]
/external/v8/testing/gmock/test/
Dgmock_output_test_golden.txt8 Returns: false
35 Returns: false
61 Returns: false
77 Returns: false
92 Returns: false
113 Returns: false
134 Returns: false
173 Returns: '\0'
189 Returns: false
203 Returns: false
[all …]
/external/mockito/src/test/java/org/mockito/internal/stubbing/
DInvocationContainerImplStubbingTest.java17 import org.mockito.internal.stubbing.answers.Returns;
60 invocationContainerImpl.addAnswer(new Returns("test")); in should_finish_stubbing_on_adding_return_value()
67 invocationContainerImpl.addAnswer(new Returns("simpleMethod")); in should_get_results_for_methods()
84 invocationContainerImplStubOnly.addAnswer(new Returns("simpleMethod")); in should_get_results_for_methods_stub_only()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerFactoryTest.java11 import org.mockito.internal.stubbing.answers.Returns;
32 …gs<?> settings = (MockCreationSettings<?>) new MockSettingsImpl().defaultAnswer(new Returns(null)); in handle_result_must_not_be_null_for_primitives()
50 …ngs<?> settings = (MockCreationSettings<?>) new MockSettingsImpl().defaultAnswer(new Returns(123)); in valid_handle_result_is_permitted()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1478 SmallVector<ReturnInst*, 8> Returns; in InlineFunction() local
1524 /*ModuleLevelChanges=*/false, Returns, ".i", in InlineFunction()
1733 for (ReturnInst *RI : Returns) { in InlineFunction()
1761 for (ReturnInst *RI : Returns) { in InlineFunction()
1857 auto NewEnd = remove_if(Returns, [](ReturnInst *RI) { in InlineFunction()
1860 Returns.erase(NewEnd, Returns.end()); in InlineFunction()
1867 for (ReturnInst *RI : Returns) { in InlineFunction()
1904 std::swap(Returns, NormalReturns); in InlineFunction()
1919 for (ReturnInst *RI : Returns) { in InlineFunction()
1942 std::swap(Returns, NormalReturns); in InlineFunction()
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/bitwriter/
Dllvm_bitwriter.mli16 [path]. Returns [true] if successful, [false] otherwise. *)
22 will be flushed. Returns [true] if successful, [false] otherwise. *)
29 will be flushed. Returns [true] if successful, [false] otherwise. *)
/external/llvm/bindings/ocaml/bitwriter/
Dllvm_bitwriter.mli16 [path]. Returns [true] if successful, [false] otherwise. *)
23 will be flushed. Returns [true] if successful, [false] otherwise. *)
36 will be flushed. Returns [true] if successful, [false] otherwise. *)
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dobjectgraph.rst42 Returns the newly created node.
63 Returns the *graphident* attribute of *node*, or the graph itself
76 Returns a given node in the graph, or :data:`Node` when it cannot
84 Returns True if *node* is a member of the graph. *Node* is either an
102 Returns two iterators that yield the nodes reaching by
110 Returns a tuple containing the number of:
Dgraph.rst82 Returns *node*, the node's data and the lists of outgoing
92 Returns True iff *node* is a node in the graph. This
189 Returns a list with all visible edges in the graph.
193 Returns a list with all hidden edges in the graph.
208 Returns a list of nodes connected by an incoming or outgoing edge.
258 Returns a list of nodes starting at *start* in some bread first
265 Returns a list of nodes starting at *start* in some bread first
296 Returns True iff every node in the graph can be reached from
301 Returns the local clustering coefficient of node.
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubberImpl.java15 import org.mockito.internal.stubbing.answers.Returns;
53 answers.add(new Returns(null)); in doReturnValues()
57 answers.add(new Returns(r)); in doReturnValues()
/external/guice/core/src/com/google/inject/matcher/
DMatchers.java371 return new Returns(returnType); in returns()
374 private static class Returns extends AbstractMatcher<Method> implements Serializable { class in Matchers
377 public Returns(Matcher<? super Class<?>> returnType) { in Returns() method in Matchers.Returns
386 return other instanceof Returns in equals()
387 && ((Returns) other).returnType.equals(returnType); in equals()
/external/vboot_reference/scripts/image_signing/lib/shflags/
Dshflags210 # Returns:
345 # Returns:
382 # Returns flag details based on a flag name and flag info.
389 # Returns:
434 # Returns:
452 # Returns the width of the current screen.
478 # Returns:
499 # Returns:
528 # Returns:
556 # Returns:
[all …]
/external/shflags/lib/
Dshflags234 # Returns:
382 # Returns:
421 # Returns flag details based on a flag name and flag info.
428 # Returns:
477 # Returns:
494 # Returns the width of the current screen.
520 # Returns:
541 # Returns:
583 # Returns:
618 # Returns:
[all …]
/external/shflags/src/
Dshflags233 # Returns:
381 # Returns:
420 # Returns flag details based on a flag name and flag info.
427 # Returns:
476 # Returns:
493 # Returns the width of the current screen.
519 # Returns:
540 # Returns:
582 # Returns:
617 # Returns:
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h143 SmallVectorImpl<ReturnInst*> &Returns,
152 SmallVectorImpl<ReturnInst *> &Returns,
169 SmallVectorImpl<ReturnInst*> &Returns,

123456789