Home
last modified time | relevance | path

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

12345678910>>...41

/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/chromium-trace/catapult/devil/docs/
Dmarkdown.md54 Returns:
65 Returns:
72 Returns markdown-formatted bold text.
82 Returns:
89 Returns a markdown-formatted code block in the given language.
94 Returns:
109 Returns:
116 Returns markdown-formatted heading.
119 Returns markdown-formatted inline code.
122 Returns markdown-formatted italic text.
[all …]
/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/tensorflow/third_party/remote_config/
Dcommon.bzl15 """Returns the full path to a program on the execution platform.
21 Returns:
40 Returns:
71 Returns:
88 """Returns a sorted list with all files in a directory.
97 Returns:
121 """Returns the value of an environment variable on the execution platform.
128 Returns:
150 """Returns the value of an environment variable on the host platform.
158 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/llvm-project/mlir/include/mlir/Dialect/Affine/IR/
DAffineMemoryOpInterfaces.td26 /*desc=*/"Returns the memref operand to read from.",
37 /*desc=*/"Returns the type of the memref operand.",
48 /*desc=*/"Returns affine map operands.",
60 Returns the affine map used to index the memref for this operation.
72 /*desc=*/"Returns the AffineMapAttr associated with 'memref'.",
85 /*desc=*/"Returns the value read by this operation.",
105 /*desc=*/"Returns the memref operand to write to.",
116 /*desc=*/"Returns the type of the memref operand.",
127 /*desc=*/"Returns affine map operands.",
139 Returns the affine map used to index the memref for this operation.
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dchlo_ops.td109 Returns `lhs + rhs` element-wise.
122 Returns `atan2(lhs/rhs)` element-wise.
135 Returns `lhs / rhs` element-wise.
148 Returns `max(lhs, rhs)` element-wise.
161 Returns `min(lhs, rhs)` element-wise.
174 Returns `lhs * rhs` element-wise.
186 Returns `Polygamma(operand, operand)` element-wise.
196 Returns `lhs ^ rhs` element-wise.
209 Returns `lhs % rhs` element-wise.
222 Returns `lhs << rhs` element-wise.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp93 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol() local
115 getLibcallSignature(Subtarget, Name, Returns, Params); in GetExternalSymbolSymbol()
118 std::make_unique<wasm::WasmSignature>(std::move(Returns), std::move(Params)); in GetExternalSymbolSymbol()
167 SmallVector<wasm::ValType, 1> &&Returns, in lowerTypeIndexOperand() argument
169 auto Signature = std::make_unique<wasm::WasmSignature>(std::move(Returns), in lowerTypeIndexOperand()
197 SmallVectorImpl<wasm::ValType> &Returns) { in getFunctionReturns() argument
203 valTypesFromMVTs(CallerRetTys, Returns); in getFunctionReturns()
236 SmallVector<wasm::ValType, 4> Returns; in lower() local
242 Returns.push_back(getType(MRI.getRegClass(MO.getReg()))); in lower()
255 getFunctionReturns(MI, Returns); in lower()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp96 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol() local
118 getLibcallSignature(Subtarget, Name, Returns, Params); in GetExternalSymbolSymbol()
121 std::make_unique<wasm::WasmSignature>(std::move(Returns), std::move(Params)); in GetExternalSymbolSymbol()
173 SmallVector<wasm::ValType, 1> &&Returns, in lowerTypeIndexOperand() argument
175 auto Signature = std::make_unique<wasm::WasmSignature>(std::move(Returns), in lowerTypeIndexOperand()
203 SmallVectorImpl<wasm::ValType> &Returns) { in getFunctionReturns() argument
209 valTypesFromMVTs(CallerRetTys, Returns); in getFunctionReturns()
244 SmallVector<wasm::ValType, 4> Returns; in lower() local
250 Returns.push_back(getType(MRI.getRegClass(MO.getReg()))); in lower()
263 getFunctionReturns(MI, Returns); in lower()
[all …]
/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.
/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/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-project/llvm/bindings/ocaml/target/
Dllvm_target.mli69 (** Returns the byte order of a target, either [Endian.Big] or
74 (** Returns the pointer size in bytes for a target.
78 (** Returns the integer type that is the same size as a pointer on a target.
82 (** Returns the pointer size in bytes for a target in a given address space.
86 (** Returns the integer type that is the same size as a pointer on a target
156 (** Returns the name of a target. See [llvm::Target::getName]. *)
159 (** Returns the description of a target.
163 (** Returns [true] if the target has a JIT. *)
166 (** Returns [true] if the target has a target machine associated. *)
169 (** Returns [true] if the target has an ASM backend (required for
[all …]
/external/llvm-project/clang/docs/
DLibFormat.rst47 /// Returns a format style complying with the LLVM coding standards:
51 /// Returns a format style complying with Google's C++ style guide:
55 /// Returns a format style complying with Chromium's style guide:
59 /// Returns a format style complying with the GNU coding standards:
63 /// Returns a format style complying with Mozilla's style guide
67 /// Returns a format style complying with Webkit's style guide:
71 /// Returns a format style complying with Microsoft's style guide:
/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()

12345678910>>...41