HomeSort by relevance Sort by last modified time
    Searched defs:wanted (Results 1 - 25 of 47) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Tools/Scripts/
do-file-rename 46 find(\&wanted, "Source/JavaScriptCore");
47 find(\&wanted, "Source/WebCore");
48 find(\&wanted, "WebKit");
49 find(\&wanted, "Source/WebKit2");
51 sub wanted subroutine
do-webcore-rename 72 find(\&wanted, "Source/JavaScriptCore");
73 find(\&wanted, "Source/WebCore");
74 find(\&wanted, "Source/WebKit");
75 find(\&wanted, "Source/WebKit2");
76 find(\&wanted, "Tools/DumpRenderTree");
78 sub wanted subroutine
find-extra-includes 34 find(\&wanted, @ARGV ? @ARGV : ".");
39 sub wanted subroutine
report-include-statistics 34 find(\&wanted, @ARGV ? @ARGV : ".");
40 sub wanted subroutine
  /external/mockito/src/org/mockito/internal/matchers/
CompareTo.java 13 private final Comparable<T> wanted; field in class:CompareTo
16 this.wanted = value;
26 return matchResult(((Comparable) actual).compareTo(wanted));
30 description.appendText(getName() + "(" + wanted + ")");
Same.java 17 private final Object wanted; field in class:Same
19 public Same(Object wanted) {
20 this.wanted = wanted;
24 return wanted == actual;
30 description.appendText("" + wanted);
36 if (wanted instanceof String) {
38 } else if (wanted instanceof Character) {
ArrayEquals.java 17 public ArrayEquals(Object wanted) {
18 super(wanted);
22 Object wanted = getWanted(); local
23 if (wanted == null || actual == null) {
25 } else if (wanted instanceof boolean[] && actual instanceof boolean[]) {
26 return Arrays.equals((boolean[]) wanted, (boolean[]) actual);
27 } else if (wanted instanceof byte[] && actual instanceof byte[]) {
28 return Arrays.equals((byte[]) wanted, (byte[]) actual);
29 } else if (wanted instanceof char[] && actual instanceof char[]) {
30 return Arrays.equals((char[]) wanted, (char[]) actual)
    [all...]
EqualsWithDelta.java 17 private final Number wanted; field in class:EqualsWithDelta
22 this.wanted = value;
28 if (wanted == null ^ actual == null) {
32 if (wanted == null && actual == null) {
36 return wanted.doubleValue() - delta.doubleValue() <= actualNumber.doubleValue()
37 && actualNumber.doubleValue() <= wanted.doubleValue()
42 description.appendText("eq(" + wanted + ", " + delta + ")");
Equals.java 17 private final Object wanted; field in class:Equals
19 public Equals(Object wanted) {
20 this.wanted = wanted;
24 return Equality.areEqual(this.wanted, actual);
28 description.appendText(describe(wanted));
39 if (wanted instanceof String) {
41 } else if (wanted instanceof Character) {
49 return wanted;
58 return this.wanted == null && other.wanted == null || this.wanted != null && this.wanted.equals(other.wanted)
    [all...]
  /external/mockito/src/org/mockito/internal/reporting/
SmartPrinter.java 12 * Makes sure both wanted and actual are printed consistently (single line or multiline)
18 private final String wanted; field in class:SmartPrinter
21 public SmartPrinter(InvocationMatcher wanted, Invocation actual, Integer ... indexesOfMatchersToBeDescribedWithExtraTypeInfo) {
23 printSettings.setMultiline(wanted.toString().contains("\n") || actual.toString().contains("\n"));
26 this.wanted = printSettings.print(wanted);
31 return wanted;
  /external/mockito/src/org/mockito/internal/matchers/apachecommons/
ReflectionEquals.java 15 private final Object wanted; field in class:ReflectionEquals
18 public ReflectionEquals(Object wanted, String... excludeFields) {
19 this.wanted = wanted;
24 return EqualsBuilder.reflectionEquals(wanted, actual, excludeFields);
28 description.appendText("refEq(" + wanted + ")");
  /external/mockito/src/org/mockito/internal/verification/
AtMost.java 33 InvocationMatcher wanted = data.getWanted(); local
36 List<Invocation> found = finder.findInvocations(invocations, wanted);
42 invocationMarker.markVerified(found, wanted);
VerificationDataImpl.java 18 private final InvocationMatcher wanted; field in class:VerificationDataImpl
21 public VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted) {
23 this.wanted = wanted;
32 return wanted;
36 if (wanted == null) {
40 if (o.isToString(wanted.getMethod())) {
Calls.java 36 InvocationMatcher wanted = data.getWanted(); local
39 missingInvocation.check( allInvocations, wanted, this, data.getOrderingContext());
41 numberOfCalls.check( allInvocations, wanted, wantedCount, data.getOrderingContext());
46 return "Wanted invocations count (non-greedy): " + wantedCount;
AtLeast.java 45 InvocationMatcher wanted = data.getWanted(); local
51 missingInvocation.check(allInvocations, wanted, this, data.getOrderingContext());
54 numberOfCalls.check(allInvocations, wanted, wantedCount);
59 return "Wanted invocations count: at least " + wantedCount;
Times.java 44 InvocationMatcher wanted = data.getWanted(); local
48 missingInvocation.check(allInvocations, wanted, this, data.getOrderingContext());
51 numberOfCalls.check(allInvocations, wanted, wantedCount, data.getOrderingContext());
56 return "Wanted invocations count: " + wantedCount;
  /external/mockito/src/org/mockito/internal/verification/api/
VerificationDataInOrderImpl.java 16 private final InvocationMatcher wanted; field in class:VerificationDataInOrderImpl
18 public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, InvocationMatcher wanted) {
21 this.wanted = wanted;
33 return wanted;
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8PerContextData.cpp 159 unsigned wanted; local
161 wanted = snprintf(buffer, sizeof(buffer), "%s", worldName);
163 wanted = snprintf(buffer, sizeof(buffer), "%s,%d", worldName, debugId);
165 if (wanted < sizeof(buffer))
  /external/mockito/src/org/mockito/internal/invocation/
InvocationsFinder.java 19 public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) {
20 return ListUtil.filter(invocations, new RemoveNotMatching(wanted));
23 public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) {
25 return ListUtil.filter(unverified, new RemoveNotMatching(wanted));
34 * if wanted is 1 and mode is times(2) then returns
37 * if wanted is 1 and mode is atLeast() then returns
40 * if wanted is 1 and mode is times(x), where x != 2 then returns
43 public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) {
45 List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified);
48 return this.findAllMatchingUnverifiedChunks(invocations, wanted, context)
138 private final InvocationMatcher wanted; field in class:InvocationsFinder.RemoveNotMatching
    [all...]
  /bionic/libc/bionic/
getentropy_linux.c 264 size_t wanted = len - i; local
265 ssize_t ret = read(fd, (char *)buf + i, wanted);
  /external/qemu/android/
looper-generic.c 150 unsigned wanted; member in struct:GLoopIo
160 /* used to indicate that the set of wanted flags has changed */
162 gloopio_modify(GLoopIo* io, unsigned wanted)
165 if (io->wanted == wanted)
170 if (io->ready != 0 && (io->ready & wanted) == 0) {
173 io->ready &= wanted;
174 glooper_modifyFd(io->looper, io->fd, io->wanted, wanted);
175 io->wanted = wanted
    [all...]
looper-qemu.c 130 unsigned wanted; member in struct:QLoopIo
148 io->wanted = 0;
194 qloopio_modify(QLoopIo* io, unsigned wanted)
197 if (wanted == io->wanted)
202 if (io->ready && (io->ready & wanted) == 0) {
207 IOHandler* fd_read = (wanted & LOOP_IO_READ) ? qloopio_handleRead : NULL;
208 IOHandler* fd_write = (wanted & LOOP_IO_WRITE) ? qloopio_handleWrite : NULL;
210 io->wanted = wanted;
    [all...]
  /external/qemu/util/
osdep.c 504 int wanted = vsnprintf( *sptr = NULL, 0, fmt, argv ); local
505 if( (wanted > 0) && ((*sptr = malloc( 1 + wanted )) != NULL) )
508 return wanted;
  /external/chromium_org/third_party/skia/third_party/lua/src/
ldo.c 357 int wanted, i; local
368 wanted = ci->nresults;
371 for (i = wanted; i != 0 && firstResult < L->top; i--)
376 return (wanted - LUA_MULTRET); /* 0 iff wanted == LUA_MULTRET */
  /frameworks/av/media/libmedia/
AudioTrackShared.cpp 838 size_t wanted = buffer->mFrameCount; local
839 if (avail < wanted) {
842 avail = wanted;
    [all...]

Completed in 532 milliseconds

1 2