/external/abi-dumper/ |
Makefile.pl | 222 find(\&wanted, $From); 223 sub wanted { subroutine
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
EqualsWithDelta.java | 14 private final Number wanted; field in class:EqualsWithDelta 18 this.wanted = value; 23 if (wanted == null ^ actual == null) { 27 if (wanted == actual) { 31 return wanted.doubleValue() - delta.doubleValue() <= actual.doubleValue() 32 && actual.doubleValue() <= wanted.doubleValue() 37 return "eq(" + wanted + ", " + delta + ")";
|
Same.java | 15 private final Object wanted; field in class:Same 17 public Same(Object wanted) { 18 this.wanted = wanted; 22 return wanted == actual; 26 return "same(" + ValuePrinter.print(wanted) + ")";
|
ArrayEquals.java | 13 public ArrayEquals(Object wanted) { 14 super(wanted); 18 Object wanted = getWanted(); local 19 if (wanted == null || actual == null) { 21 } else if (wanted instanceof boolean[] && actual instanceof boolean[]) { 22 return Arrays.equals((boolean[]) wanted, (boolean[]) actual); 23 } else if (wanted instanceof byte[] && actual instanceof byte[]) { 24 return Arrays.equals((byte[]) wanted, (byte[]) actual); 25 } else if (wanted instanceof char[] && actual instanceof char[]) { 26 return Arrays.equals((char[]) wanted, (char[]) actual) [all...] |
CompareTo.java | 13 private final T wanted; field in class:CompareTo 16 this.wanted = value; 24 if (!actual.getClass().isInstance(wanted)){ 28 int result = actual.compareTo(wanted); 34 return getName() + "(" + wanted + ")";
|
Equals.java | 15 private final Object wanted; field in class:Equals 17 public Equals(Object wanted) { 18 this.wanted = wanted; 22 return Equality.areEqual(this.wanted, actual); 26 return describe(wanted); 34 return wanted; 43 return this.wanted == null && other.wanted == null || this.wanted != null && this.wanted.equals(other.wanted) [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/apachecommons/ |
ReflectionEquals.java | 14 private final Object wanted; field in class:ReflectionEquals 17 public ReflectionEquals(Object wanted, String... excludeFields) { 18 this.wanted = wanted; 23 return EqualsBuilder.reflectionEquals(wanted, actual, excludeFields); 27 return "refEq(" + wanted + ")";
|
/external/mockito/src/main/java/org/mockito/internal/reporting/ |
SmartPrinter.java | 13 * Makes sure both wanted and actual are printed consistently (single line or multiline) 19 private final String wanted; field in class:SmartPrinter 22 public SmartPrinter(MatchableInvocation wanted, Invocation actual, Integer ... indexesOfMatchersToBeDescribedWithExtraTypeInfo) { 24 printSettings.setMultiline(wanted.toString().contains("\n") || actual.toString().contains("\n")); 27 this.wanted = printSettings.print(wanted); 32 return wanted;
|
/external/abi-compliance-checker/ |
Makefile.pl | 249 find(\&wanted, $From); 250 sub wanted { subroutine
|
/external/mockito/src/main/java/org/mockito/internal/verification/ |
Calls.java | 39 MatchableInvocation wanted = data.getWanted(); local 41 checkMissingInvocation(allInvocations, wanted, data.getOrderingContext()); 42 checkNumberOfInvocationsNonGreedy(allInvocations, wanted, wantedCount, data.getOrderingContext()); 47 return "Wanted invocations count (non-greedy): " + wantedCount;
|
VerificationDataImpl.java | 20 private final InvocationMatcher wanted; field in class:VerificationDataImpl 23 public VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted) { 25 this.wanted = wanted; 36 return wanted; 41 return wanted; 45 if (wanted == null) { 48 if (isToStringMethod(wanted.getMethod())) {
|
AtMost.java | 34 MatchableInvocation wanted = data.getTarget(); local 36 List<Invocation> found = findInvocations(invocations, wanted); 43 markVerified(found, wanted);
|
Times.java | 34 MatchableInvocation wanted = data.getTarget(); local 39 checkNumberOfInvocations(invocations, wanted, wantedCount); 44 MatchableInvocation wanted = data.getWanted(); local 47 checkMissingInvocation(allInvocations, wanted, data.getOrderingContext()); 49 checkNumberOfInvocations(allInvocations, wanted, wantedCount, data.getOrderingContext()); 54 return "Wanted invocations count: " + wantedCount;
|
/external/mockito/src/main/java/org/mockito/internal/verification/api/ |
VerificationDataInOrderImpl.java | 17 private final MatchableInvocation wanted; field in class:VerificationDataInOrderImpl 19 public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, MatchableInvocation wanted) { 22 this.wanted = wanted; 34 return wanted;
|
/external/mockito/src/test/java/org/mockito/internal/verification/ |
OnlyTest.java | 26 private final InvocationMatcher wanted; field in class:OnlyTest.VerificationDataStub 28 public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) { 30 this.wanted = wanted; 39 return wanted; 43 return wanted;
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
MissingInvocationCheckerTest.java | 25 private InvocationMatcher wanted; field in class:MissingInvocationCheckerTest 36 wanted = buildSimpleMethod().toInvocationMatcher(); 39 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); 44 wanted = buildSimpleMethod().toInvocationMatcher(); 48 exception.expectMessage("Wanted but not invoked:"); 53 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); 58 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); 63 exception.expectMessage("Argument(s) are different! Wanted:"); 68 MissingInvocationChecker.checkMissingInvocation(invocations, wanted);
|
MissingInvocationInOrderCheckerTest.java | 33 private InvocationMatcher wanted; field in class:MissingInvocationInOrderCheckerTest 55 wanted = buildSimpleMethod().toInvocationMatcher(); 57 checkMissingInvocation(invocations, wanted, context); 63 wanted = buildSimpleMethod().toInvocationMatcher(); 66 exception.expectMessage("Wanted but not invoked:"); 69 checkMissingInvocation(invocations, wanted, context); 75 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); 79 exception.expectMessage("Argument(s) are different! Wanted:"); 84 checkMissingInvocation(invocations, wanted, context); 96 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher() [all...] |
NumberOfInvocationsCheckerTest.java | 34 private InvocationMatcher wanted; field in class:NumberOfInvocationsCheckerTest 49 wanted = buildSimpleMethod().toInvocationMatcher(); 54 exception.expectMessage("Wanted 100 times"); 57 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); 62 wanted = buildSimpleMethod().toInvocationMatcher(); 67 exception.expectMessage("Wanted 100 times"); 71 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); 77 wanted = buildSimpleMethod().toInvocationMatcher(); 81 exception.expectMessage("Wanted 100 times"); 85 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100) [all...] |
NumberOfInvocationsInOrderCheckerTest.java | 32 private InvocationMatcher wanted; field in class:NumberOfInvocationsInOrderCheckerTest 50 wanted = buildSimpleMethod().toInvocationMatcher(); 53 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 0, context); 58 wanted = buildSimpleMethod().toInvocationMatcher(); 60 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context); 68 wanted = buildSimpleMethod().toInvocationMatcher(); 73 exception.expectMessage("Wanted 4 times"); 76 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 4, context); 84 wanted = buildSimpleMethod().toInvocationMatcher(); 87 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context) [all...] |
/external/mockito/src/test/java/org/mockitousage/matchers/ |
ReflectionMatchersTest.java | 55 Child wanted = new Child(1, "foo", 2, "bar"); local 56 verify(mock).run(refEq(wanted)); 61 Child wanted = new Child(1, "foo", 2, "bar XXX"); local 62 verify(mock).run(refEq(wanted)); 67 Child wanted = new Child(1, "foo", 999, "bar"); local 68 verify(mock).run(refEq(wanted)); 73 Child wanted = new Child(1, "XXXXX", 2, "bar"); local 74 verify(mock).run(refEq(wanted)); 79 Child wanted = new Child(234234, "foo", 2, "bar"); local 80 verify(mock).run(refEq(wanted)); 85 Child wanted = new Child(1, "foo", 2, "excluded"); local 91 Child wanted = new Child(234234, "foo", 2, "excluded"); local 98 Child wanted = new Child(234234, "foo", 2, "excluded"); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
fixcid.py | 34 # changing the function wanted() you can make a different selection of
91 Wanted = '^[a-zA-Z0-9_]+\.[ch]$'
92 def wanted(name):
function 93 return re.match(Wanted, name) >= 0
111 elif wanted(name):
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
InvocationsFinder.java | 23 public static List<Invocation> findInvocations(List<Invocation> invocations, MatchableInvocation wanted) { 24 return ListUtil.filter(invocations, new RemoveNotMatching(wanted)); 27 public static List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, MatchableInvocation wanted, InOrderContext orderingContext) { 29 return ListUtil.filter(unverified, new RemoveNotMatching(wanted)); 38 * if wanted is 1 and mode is times(2) then returns 41 * if wanted is 1 and mode is atLeast() then returns 44 * if wanted is 1 and mode is times(x), where x != 2 then returns 47 public static List<Invocation> findMatchingChunk(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) { 49 List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified); 52 return findAllMatchingUnverifiedChunks(invocations, wanted, context) 142 private final MatchableInvocation wanted; field in class:InvocationsFinder.RemoveNotMatching [all...] |
/external/python/cpython2/Tools/scripts/ |
fixcid.py | 34 # changing the function wanted() you can make a different selection of 91 Wanted = r'^[a-zA-Z0-9_]+\.[ch]$' 92 def wanted(name): function 93 return re.match(Wanted, name) 111 elif wanted(name):
|
/bionic/libc/bionic/ |
getentropy_linux.c | 253 size_t wanted = len - i; local 254 ssize_t ret = read(fd, (char *)buf + i, wanted);
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
DescriptiveMessagesWhenVerificationFailsTest.java | 42 "Wanted but not invoked:" + 75 String wanted = local 77 "Argument(s) are different! Wanted:" + 81 assertThat(e).hasMessageContaining(wanted); 101 String wanted = local 103 "Argument(s) are different! Wanted:" + 115 assertThat(e).hasMessageContaining(wanted); 172 "No interactions wanted here:" + 197 "No interactions wanted here:" + 231 "Wanted but not invoked:" [all...] |