Home
last modified time | relevance | path

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

12345678910>>...27

/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/python/cpython3/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 matrix multiplication on *o1* and *o2*, or *NULL* on
58 Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This is
66 See the built-in function :func:`divmod`. Returns *NULL* on failure. This is
74 See the built-in function :func:`pow`. Returns *NULL* on failure. This is the
82 Returns the negation of *o* on success, or *NULL* on failure. This is the
88 Returns *o* on success, or *NULL* on failure. This is the equivalent of 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.
47 Returns a pointer to a writable memory location. The *obj* argument must
50 buffer length. Returns ``-1`` and sets a :exc:`TypeError` on error.
/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.
Dobject.rst11 Print an object *o*, on file *fp*. Returns ``-1`` on error. The flags argument
19 Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. This
26 Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. This
33 Retrieve an attribute named *attr_name* from object *o*. Returns the attribute
40 Retrieve an attribute named *attr_name* from object *o*. Returns the attribute
91 Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on failure.
97 Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on failure.
108 to *opid*. Returns the value of the comparison on success, or *NULL* on failure.
116 ``<=``, ``==``, ``!=``, ``>``, or ``>=`` respectively. Returns ``-1`` on error,
131 is returned in *result*. Returns ``-1`` on failure. This is the equivalent of
[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:
162 Returns:
177 Returns:
[all …]
/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/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 …]
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 …]
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.
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/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
85 Returns the (real) processor name, e.g. ``'amdk6'``.
94 Returns a tuple ``(buildno, builddate)`` stating the Python build number and
100 Returns a string identifying the compiler used for compiling Python.
105 Returns a string identifying the Python implementation SCM branch.
110 Returns a string identifying the Python implementation. Possible return values
116 Returns a string identifying the Python implementation SCM revision.
[all …]
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 …]
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/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/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
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/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/skia/docs/
DSkPixmap_Reference.bmh291 Returns width, height, Alpha_Type, Color_Type, and Color_Space.
326 Returns row bytes, the interval from one pixel row to the next. Row bytes
333 Returns zero if colorType is kUnknown_SkColorType.
361 Returns pixel address, the base address corresponding to the pixel origin.
396 Returns pixel count in each pixel row. Should be equal or less than:
424 Returns pixel row count.
446 Returns Color_Type, one of: kUnknown_SkColorType, kAlpha_8_SkColorType,
473 Returns Alpha_Type, one of: kUnknown_SkAlphaType, kOpaque_SkAlphaType,
497 Returns Color_Space associated with Image_Info. The
530 Returns true if Alpha_Type is kOpaque_SkAlphaType.
[all …]
/external/skqp/docs/
DSkPixmap_Reference.bmh328 Returns width, height, Alpha_Type, Color_Type, and Color_Space.
363 Returns row bytes, the interval from one pixel row to the next. Row bytes
370 Returns zero if colorType is kUnknown_SkColorType.
398 Returns pixel address, the base address corresponding to the pixel origin.
433 Returns pixel count in each pixel row. Should be equal or less than:
461 Returns pixel row count.
483 Returns Color_Type, one of: kUnknown_SkColorType, kAlpha_8_SkColorType,
510 Returns Alpha_Type, one of: kUnknown_SkAlphaType, kOpaque_SkAlphaType,
534 Returns Color_Space associated with Image_Info. The
567 Returns true if Alpha_Type is kOpaque_SkAlphaType.
[all …]
DSkIRect_Reference.bmh76 Returns constructed IRect set to (0, 0, 0, 0).
110 Returns constructed IRect set to (0, 0, w, h). Does not validate input; w or h
140 Returns constructed IRect set to (0, 0, size.width(), size.height()).
169 Returns constructed IRect set to (l, t, r, b). Does not sort input; IRect may
202 Returns constructed IRect set to:
241 Returns left edge of IRect, if sorted.
266 Returns top edge of IRect, if sorted. Call isEmpty to see if IRect may be invalid,
291 Returns right edge of IRect, if sorted.
316 Returns bottom edge of IRect, if sorted. Call isEmpty to see if IRect may be invalid,
341 Returns left edge of IRect, if sorted. Call isEmpty to see if IRect may be invalid,
[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 …]
/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/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 …]

12345678910>>...27