Home
last modified time | relevance | path

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

12345678910>>...32

/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 …]
DAnswersWithDelayTest.java19 …assertThat(new AnswersWithDelay(1, new Returns("value")).answer(new InvocationBuilder().method("on… in should_return_value()
24 …new AnswersWithDelay(1, new Returns("one")).validateFor(new InvocationBuilder().method("voidMethod… in should_fail_when_contained_answer_should_fail()
29 …new AnswersWithDelay(1, new Returns("one")).validateFor(new InvocationBuilder().simpleMethod().toI… in should_succeed_when_contained_answer_should_succeed()
36 final AnswersWithDelay testSubject = new AnswersWithDelay(sleepyTime, new Returns("value")); in should_delay()
/external/python/cpython3/Doc/c-api/
Dnumber.rst11 Returns ``1`` if the object *o* provides numeric protocols, and false otherwise.
15 Returns ``1`` if *o* is an index integer.
20 Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. This is the
26 Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. This is
32 Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. This is
38 Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on
61 Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. This is
69 See the built-in function :func:`divmod`. Returns ``NULL`` on failure. This is
77 See the built-in function :func:`pow`. Returns ``NULL`` on failure. This is the
85 Returns the negation of *o* on success, or ``NULL`` on failure. This is the
[all …]
Dobjbuffer.rst23 Returns a pointer to a read-only memory location usable as character-based
26 and *buffer_len* to the buffer length. Returns ``-1`` and sets a
32 Returns a pointer to a read-only memory location containing arbitrary data.
35 and *buffer_len* to the buffer length. Returns ``-1`` and sets a
41 Returns ``1`` if *o* supports the single-segment readable buffer interface.
51 Returns a pointer to a writable memory location. The *obj* argument must
54 buffer length. Returns ``-1`` and sets a :exc:`TypeError` on error.
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DNumberFormat.java.patch19 * Returns the default number format for the current default <code>FORMAT</code> locale.
29 * Returns the default number format for the specified locale.
39 * <strong>[icu]</strong> Returns the default number format for the specified locale.
49 …* <strong>[icu]</strong> Returns a specific style number format for default <code>FORMAT</code> lo…
59 * <strong>[icu]</strong> Returns a specific style number format for a specific locale.
69 * Returns a general-purpose number format for the current default <code>FORMAT</code> locale.
79 * Returns a general-purpose number format for the specified locale.
89 * <strong>[icu]</strong> Returns a general-purpose number format for the specified locale.
99 * Returns an integer number format for the current default <code>FORMAT</code> locale. The
109 * Returns an integer number format for the specified locale. The
[all …]
DDecimalFormatSymbols.java.patch5 * Returns the character used for zero. Different for Arabic, etc.
13 * Returns the array of characters used as digits, in order from 0 through 9
30 * Returns the character used for grouping separator. Different for French, etc.
46 * Returns the character used for decimal sign. Different for French, etc.
54 * Returns the character used for mille percent sign. Different for Arabic, etc.
62 * Returns the character used for percent sign. Different for Arabic, etc.
86 * Returns the monetary decimal separator.
94 * <strong>[icu]</strong> Returns the monetary grouping separator.
/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 …]
/external/python/cpython2/Doc/c-api/
Dnumber.rst11 Returns ``1`` if the object *o* provides numeric protocols, and false otherwise.
17 Returns the result of adding *o1* and *o2*, or *NULL* on failure. This is the
23 Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. This is
29 Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. This is
35 Returns the result of dividing *o1* by *o2*, or *NULL* on failure. This is the
60 Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This is
68 See the built-in function :func:`divmod`. Returns *NULL* on failure. This is
76 See the built-in function :func:`pow`. Returns *NULL* on failure. This is the
84 Returns the negation of *o* on success, or *NULL* on failure. This is the
90 Returns *o* on success, or *NULL* on failure. This is the equivalent of the
[all …]
Dobjbuffer.rst18 Returns a pointer to a read-only memory location usable as character-based
21 and *buffer_len* to the buffer length. Returns ``-1`` and sets a
33 Returns a pointer to a read-only memory location containing arbitrary data.
36 and *buffer_len* to the buffer length. Returns ``-1`` and sets a
48 Returns ``1`` if *o* supports the single-segment readable buffer interface.
56 Returns a pointer to a writeable memory location. The *obj* argument must
59 buffer length. Returns ``-1`` and sets a :exc:`TypeError` on error.
/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/python/cpython3/Doc/library/
Dplatform.rst29 Returns a tuple ``(bits, linkage)`` which contain information about the bit
56 Returns the machine type, e.g. ``'i386'``. An empty string is returned if the
62 Returns the computer's network name (may not be fully qualified!). An empty
68 Returns a single string identifying the underlying platform with as much useful
90 Returns the (real) processor name, e.g. ``'amdk6'``.
99 Returns a tuple ``(buildno, builddate)`` stating the Python build number and
105 Returns a string identifying the compiler used for compiling Python.
110 Returns a string identifying the Python implementation SCM branch.
115 Returns a string identifying the Python implementation. Possible return values
121 Returns a string identifying the Python implementation SCM revision.
[all …]
Dcurses.panel.rst26 Returns the bottom panel in the panel stack.
31 Returns a panel object, associating it with the given window *win*. Be aware
38 Returns the top panel in the panel stack.
62 Returns the panel above the current panel.
67 Returns the panel below the current panel.
77 Returns ``True`` if the panel is hidden (not visible), ``False`` otherwise.
114 Returns the user pointer for the panel. This might be any Python object.
119 Returns the window object associated with the panel.
Dunicodedata.rst40 Returns the name assigned to the character *chr* as a string. If no
47 Returns the decimal value assigned to the character *chr* as integer.
54 Returns the digit value assigned to the character *chr* as integer.
61 Returns the numeric value assigned to the character *chr* as float.
68 Returns the general category assigned to the character *chr* as
74 Returns the bidirectional class assigned to the character *chr* as
80 Returns the canonical combining class assigned to the character *chr*
81 as integer. Returns ``0`` if no combining class is defined.
86 Returns the east asian width assigned to the character *chr* as
92 Returns the mirrored property assigned to the character *chr* as
[all …]
/external/python/cpython2/Doc/library/
Dplatform.rst31 Returns a tuple ``(bits, linkage)`` which contain information about the bit
58 Returns the machine type, e.g. ``'i386'``. An empty string is returned if the
64 Returns the computer's network name (may not be fully qualified!). An empty
70 Returns a single string identifying the underlying platform with as much useful
87 Returns the (real) processor name, e.g. ``'amdk6'``.
96 Returns a tuple ``(buildno, builddate)`` stating the Python build number and
102 Returns a string identifying the compiler used for compiling Python.
107 Returns a string identifying the Python implementation SCM branch.
114 Returns a string identifying the Python implementation. Possible return values
122 Returns a string identifying the Python implementation SCM revision.
[all …]
Dcurses.panel.rst24 Returns the bottom panel in the panel stack.
29 Returns a panel object, associating it with the given window *win*. Be aware
36 Returns the top panel in the panel stack.
60 Returns the panel above the current panel.
65 Returns the panel below the current panel.
75 Returns true if the panel is hidden (not visible), false otherwise.
112 Returns the user pointer for the panel. This might be any Python object.
117 Returns the window object associated with the panel.
Dunicodedata.rst35 Returns the name assigned to the Unicode character *unichr* as a string. If no
42 Returns the decimal value assigned to the Unicode character *unichr* as integer.
49 Returns the digit value assigned to the Unicode character *unichr* as integer.
56 Returns the numeric value assigned to the Unicode character *unichr* as float.
63 Returns the general category assigned to the Unicode character *unichr* as
69 Returns the bidirectional class assigned to the Unicode character *unichr* as
75 Returns the canonical combining class assigned to the Unicode character *unichr*
76 as integer. Returns ``0`` if no combining class is defined.
81 Returns the east asian width assigned to the Unicode character *unichr* as
89 Returns the mirrored property assigned to the Unicode character *unichr* as
[all …]
Dfm.rst45 Returns a list of available font names. This is an interface to
62 Returns the current font search path.
69 Returns a handle for a scaled version of this font. Calls ``fmscalefont(fh,
81 Returns this font's name. Calls ``fmgetfontname(fh)``.
86 Returns the comment string associated with this font. Raises an exception if
92 Returns a tuple giving some pertinent data about this font. This is an interface
99 Returns the width, in pixels, of *string* when drawn in this font. Calls
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp43 SmallVector<wasm::ValType, 4> Returns; in GetGlobalAddressSymbol() local
56 Returns.push_back(WebAssembly::toValType(ResultMVT)); in GetGlobalAddressSymbol()
70 WasmSym->setReturns(std::move(Returns)); in GetGlobalAddressSymbol()
98 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol() local
100 GetSignature(Subtarget, Name, Returns, Params); in GetExternalSymbolSymbol()
102 WasmSym->setReturns(std::move(Returns)); in GetExternalSymbolSymbol()
173 SmallVector<wasm::ValType, 4> Returns; in Lower() local
179 Returns.push_back(getType(MRI.getRegClass(MO.getReg()))); in Lower()
190 WasmSym->setReturns(std::move(Returns)); in Lower()
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientMockableTest.cs39 …t.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(expected); in ClientBaseBlockingUnaryCallCanBeMocked()
49 …ckClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), Moq.It.IsAny<CallOptions>())).Returns(expected); in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked()
60 …up(m => m.DivAsync(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseAsyncUnaryCallCanBeMocked()
72 mockClient.Setup(m => m.Sum(null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseClientStreamingCallCanBeMocked()
84 …t.Setup(m => m.Fib(Moq.It.IsAny<FibArgs>(), null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseServerStreamingCallCanBeMocked()
97 mockClient.Setup(m => m.DivMany(null, null, CancellationToken.None)).Returns(fakeCall); in ClientBaseDuplexStreamingCallCanBeMocked()
/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/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dhlo_ops_base.td53 Returns `abs(operand)` element-wise.
64 Returns `Ceil(operand)` element-wise.
75 Returns the number of leading zeros in each operand element-wise.
106 Returns `Cos(operand)` element-wise.
117 Returns `e^(operand)` element-wise.
128 Returns `e^(operand) - 1` element-wise.
139 Returns `Floor(operand)` element-wise.
150 Returns the size of the given dimension of the operand.
161 Returns `Imag(operand)` element-wise.
170 negative infinity, and is not NaN. Returns a tensor of 1-bit integers with
[all …]
/external/u-boot/scripts/dtc/pylibfdt/
Dlibfdt.i_shipped75 Returns:
89 Returns:
110 Returns:
147 Returns:
161 Returns:
178 Returns:
193 Returns:
204 Returns:
212 Returns:
220 Returns:
[all …]
/external/tensorflow/third_party/mkl_dnn/
Dbuild_defs.bzl2 """Returns `if_true` if MKL-DNN v0.x is used.
7 Returns a select statement which evaluates to if_true if we're building
18 """Returns `if_true` if MKL-DNN v1.x is used.
23 Returns a select statement which evaluates to if_true if we're building

12345678910>>...32