Home
last modified time | relevance | path

Searched refs:varArgs (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/invocation/
DArgumentsProcessor.java26 Object[] varArgs; in expandVarArgs() local
29 varArgs = new Object[] { null }; in expandVarArgs()
31 varArgs = ArrayEquals.createObjectArray(args[nonVarArgsCount]); in expandVarArgs()
33 final int varArgsCount = varArgs.length; in expandVarArgs()
36 System.arraycopy(varArgs, 0, newArgs, nonVarArgsCount, varArgsCount); in expandVarArgs()
/external/mockito/src/test/java/org/mockitousage/basicapi/
DUsingVarargsTest.java120 foo.varArgs(""); in shouldVerifyWithAnyObject()
121 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithAnyObject()
122 Mockito.verify(foo).varArgs((String) Mockito.anyObject()); in shouldVerifyWithAnyObject()
128 foo.varArgs((String[]) null); in shouldVerifyWithNullVarArgArray()
129 Mockito.verify(foo).varArgs((String[]) Mockito.anyObject()); in shouldVerifyWithNullVarArgArray()
130 Mockito.verify(foo).varArgs((String[]) null); in shouldVerifyWithNullVarArgArray()
134 public void varArgs(String... args) {} in varArgs() method in UsingVarargsTest.Foo
/external/easymock/src/org/easymock/internal/
DInvocation.java56 Object[] varArgs = createObjectArray(args[args.length - 1]); in expandVarArgs() local
58 final int varArgsCount = varArgs.length; in expandVarArgs()
61 System.arraycopy(varArgs, 0, newArgs, nonVarArgsCount, varArgsCount); in expandVarArgs()
/external/clang/test/CodeGen/
Dx86_32-arguments-iamcu.c65 int varArgs(int i1, ...) { return i1; } in varArgs() function