Searched refs:Returns (Results 1 - 25 of 80) sorted by relevance

1234

/external/mockito/src/org/mockito/internal/stubbing/answers/
H A DReturns.java12 public class Returns implements Answer<Object>, Serializable { class in inherits:Answer,Serializable
17 public Returns(Object value) { method in class:Returns
39 return "Returns: " + value;
H A DAnswersValidator.java21 if (answer instanceof Returns) {
22 validateReturnValue((Returns) answer, methodInfo);
63 private void validateReturnValue(Returns answer, MethodInfo methodInfo) {
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Dnumber.pxd10 # Returns 1 if the object o provides numeric protocols, and false
15 # Returns the result of adding o1 and o2, or NULL on failure. This
20 # Returns the result of subtracting o2 from o1, or NULL on
26 # Returns the result of multiplying o1 and o2, or NULL on
32 # Returns the result of dividing o1 by o2, or NULL on
52 # Returns the remainder of dividing o1 by o2, or NULL on
58 # See the built-in function divmod(). Returns NULL on
64 # See the built-in function pow(). Returns NULL on failure. This
72 # Returns the negation of o on success, or NULL on failure. This
77 # Returns
[all...]
H A Dobject.pxd10 # Print an object o, on file fp. Returns -1 on error. The flags
16 # Returns 1 if o has the attribute attr_name, and 0
22 # attr_name from object o. Returns the attribute value on success,
27 # Returns 1 if o has the attribute attr_name, and 0
33 # attr_name from object o. Returns the attribute value on success,
39 # the value v. Returns -1 on failure. This is the equivalent of
44 # the value v. Returns -1 on failure. This is the equivalent of
48 # Delete attribute named attr_name, for object o. Returns -1 on
53 # Delete attribute named attr_name, for object o. Returns -1 on
66 # opid. Returns th
[all...]
H A Dsequence.pxd14 # Returns the number of objects in sequence o on success, and -1
58 # Assign object v to the ith element of o. Returns -1 on
63 # Delete the ith element of object o. Returns -1 on failure. This
72 # Delete the slice in sequence object o from i1 to i2. Returns -1
107 # Returns the sequence o as a tuple, unless it is already a tuple
110 # result. Returns NULL on failure. If the object is not a
130 # Returns the length of o, assuming that o was returned by
H A Dcomplex.pxd50 # Returns (-1+0i) in case of an error
H A Dtuple.pxd65 # creating a new one, only more efficiently. Returns 0 on
/external/llvm/bindings/ocaml/bitwriter/
H A 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. *)
H A Dllvm_bitwriter.ml16 (* Writes the bitcode for module the given path. Returns true if successful. *)
/external/llvm/bindings/ocaml/target/
H A Dllvm_target.mli76 (** Returns the byte order of a target, either [Endian.Big] or
81 (** Returns the pointer size in bytes for a target.
85 (** Returns the integer type that is the same size as a pointer on a target.
89 (** Returns the pointer size in bytes for a target in a given address space.
93 (** Returns the integer type that is the same size as a pointer on a target
163 (** Returns the name of a target. See [llvm::Target::getName]. *)
166 (** Returns the description of a target.
170 (** Returns [true] if the target has a JIT. *)
173 (** Returns [true] if the target has a target machine associated. *)
176 (** Returns [tru
[all...]
/external/mockito/src/org/mockito/internal/stubbing/
H A DBaseStubbing.java8 import org.mockito.internal.stubbing.answers.Returns;
16 return thenAnswer(new Returns(value));
73 return toAnswer(new Returns(value));
H A DStubberImpl.java38 answers.add(new Returns(toBeReturned));
/external/llvm/bindings/ocaml/bitreader/
H A Dllvm_bitreader.mli18 memory buffer [mb] in the context [context]. Returns [m] if successful, or
25 memory buffer [mb] in the context [context]. Returns [m] if successful, or
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp489 /// Returns a musttail call instruction if one immediately precedes the given
595 SmallVector<ReturnInst*, 8> Returns; local
634 /*ModuleLevelChanges=*/false, Returns, ".i",
765 for (ReturnInst *RI : Returns) {
789 for (ReturnInst *RI : Returns) {
814 for (ReturnInst *RI : Returns) {
836 std::swap(Returns, NormalReturns);
842 if (Returns.size() == 1 && std::distance(FirstNewBlock, Caller->end()) == 1) {
853 NewBr->setDebugLoc(Returns[0]->getDebugLoc());
859 ReturnInst *R = Returns[
[all...]
H A DCloneModule.cpp101 SmallVector<ReturnInst*, 8> Returns; // Ignore returns cloned. local
102 CloneFunctionInto(F, I, VMap, /*ModuleLevelChanges=*/true, Returns);
H A DCloneFunction.cpp80 SmallVectorImpl<ReturnInst*> &Returns,
143 Returns.push_back(RI);
245 SmallVector<ReturnInst*, 8> Returns; // Ignore returns cloned. local
246 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo);
422 SmallVectorImpl<ReturnInst*> &Returns,
627 Returns.push_back(RI);
77 CloneFunctionInto(Function *NewFunc, const Function *OldFunc, ValueToValueMapTy &VMap, bool ModuleLevelChanges, SmallVectorImpl<ReturnInst*> &Returns, const char *NameSuffix, ClonedCodeInfo *CodeInfo, ValueMapTypeRemapper *TypeMapper, ValueMaterializer *Materializer) argument
419 CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc, ValueToValueMapTy &VMap, bool ModuleLevelChanges, SmallVectorImpl<ReturnInst*> &Returns, const char *NameSuffix, ClonedCodeInfo *CodeInfo, const DataLayout *DL, Instruction *TheCall) argument
/external/guava/guava/src/com/google/common/primitives/
H A Dgenerate.sh78 * Returns a hash code for {@code value}; equal to the result of invoking
89 * Returns the {@code primtyp} value that is equal to {@code value}, if
104 * Returns the {@code primtyp} nearest in value to {@code value}.
135 * Returns {@code true} if {@code target} is present as an element anywhere in
153 * Returns the index of the first appearance of the value {@code target} in
177 * Returns the start position of the first occurrence of the specified {@code
207 * Returns the index of the last appearance of the value {@code target} in
231 * Returns the least value present in {@code array}.
250 * Returns the greatest value present in {@code array}.
269 * Returns th
[all...]
/external/llvm/bindings/ocaml/irreader/
H A Dllvm_irreader.mli18 memory buffer [mb] in the context [context]. Returns [m] if successful, or
/external/llvm/include/llvm/Transforms/Utils/
H A DCloning.h130 SmallVectorImpl<ReturnInst*> &Returns,
150 SmallVectorImpl<ReturnInst*> &Returns,
/external/chromium_org/tools/code_coverage/
H A Dcroc_scan.py28 Returns:
92 Returns:
153 Returns:
/external/clang/lib/Index/
H A DCommentToXML.cpp91 SmallVector<const BlockCommandComment *, 4> Returns; member in struct:__anon17939::FullCommentParts
133 Returns.push_back(BCC);
343 "<span class=\"word-returns\">Returns</span> ";
478 if (Parts.Returns.size() != 0) {
480 for (unsigned i = 0, e = Parts.Returns.size(); i != e; ++i)
481 visit(Parts.Returns[i]);
997 if (Parts.Returns.size() != 0) {
999 for (unsigned i = 0, e = Parts.Returns.size(); i != e; ++i)
1000 visit(Parts.Returns[i]);
/external/chromium_org/tools/vim/
H A Dninja-build.vim25 """Returns the absolute path of the current buffer."""
30 """Returns the absolute path to the chromium source root."""
65 """Returns the shell command to compile the file in the current buffer."""
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp172 SmallVector<ReturnInst*, 4> Returns; local
176 CloneFunctionInto(F2, F1, VMap, false, Returns);
195 SmallVector<ReturnInst*, 4> Returns; local
199 CloneFunctionInto(F2, F1, VMap, false, Returns);
/external/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp385 SmallVector<ReturnInst *, 16> Returns; local
404 Returns.push_back(RI);
497 for (unsigned I = 0, E = Returns.size(); I != E; ++I)
498 CallInst::Create(UnregisterFn, FuncCtx, "", Returns[I]);
/external/llvm/bindings/ocaml/executionengine/
H A Dllvm_executionengine.mli122 modules owned by the execution engine [ee]. Returns [None] if the function
141 [args], and [envp] as specified by the array [env]. Returns the integer
155 to the host. Returns [true] if initialization is {b not} done. *)

Completed in 425 milliseconds

1234