Home
last modified time | relevance | path

Searched refs:finder (Results 1 – 25 of 94) sorted by relevance

1234

/external/opencv/cvaux/src/
Dcvclique.cpp129 void cvStartFindCliques( CvGraph* graph, CvCliqueFinder* finder, int reverse, int weighted, int wei…
135 finder->weighted = 1;
136 finder->best_weight = 0;
137 finder->vertex_weights = (float*)malloc( sizeof(float)*(graph->total+1));
138 finder->cur_weight = (float*)malloc( sizeof(float)*(graph->total+1));
139 finder->cand_weight = (float*)malloc( sizeof(float)*(graph->total+1));
141 finder->cur_weight[0] = 0;
142 finder->cand_weight[0] = 0;
148 finder->vertex_weights[i] = ver->weight;
149 finder->cand_weight[0] += ver->weight;
[all …]
/external/droiddriver/src/com/google/android/droiddriver/base/
DBaseDroidDriver.java38 public UiElement find(Finder finder) { in find() argument
39 Logs.call(this, "find", finder); in find()
40 return finder.find(getRootElement()); in find()
44 public boolean has(Finder finder) { in has() argument
47 find(finder); in has()
55 public boolean has(Finder finder, long timeoutMillis) { in has() argument
57 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis); in has()
65 public UiElement on(Finder finder) { in on() argument
66 Logs.call(this, "on", finder); in on()
67 return getPoller().pollFor(this, finder, Poller.EXISTS); in on()
[all …]
DDefaultPoller.java59 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker) { in pollFor() argument
60 return pollFor(driver, finder, checker, timeoutMillis); in pollFor()
64 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, in pollFor() argument
70 return checker.check(driver, finder); in pollFor()
76 pollingListener.onPolling(driver, finder); in pollFor()
82 timeoutListener.onTimeout(driver, finder); in pollFor()
85 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker)); in pollFor()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
Dfinder_unittest.py28 from webkitpy.test.finder import Finder
43 self.finder = Finder(self.fs)
44 self.finder.add_tree('/foo', 'bar')
45 self.finder.add_tree('/foo2')
61 self.assertEqual(self.finder.additional_paths(['/usr']),
65 self.assertTrue(self.finder.is_module('bar.baz'))
66 self.assertTrue(self.finder.is_module('bar2.baz2'))
67 self.assertTrue(self.finder.is_module('bar2.baz2_integrationtest'))
70 self.assertFalse(self.finder.is_module('baz'))
73 self.assertEqual(self.finder.to_module('/foo/test.py'), 'test')
[all …]
Dmain.py39 from webkitpy.test.finder import Finder
80 self.finder = Finder(self.filesystem)
86 self.finder.add_tree(top_directory, starting_subdirectory)
89 self.finder.skip(names, reason, bugid)
118 sys.path = self.finder.additional_paths(sys.path) + sys.path
133 self.finder.clean_trees()
135 names = self.finder.find_names(args, self._options.all)
182 if self.finder.is_module(name):
/external/droiddriver/src/com/google/android/droiddriver/
DPoller.java34 void onTimeout(DroidDriver driver, Finder finder); in onTimeout() argument
44 void onPolling(DroidDriver driver, Finder finder); in onPolling() argument
76 T check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException; in check() argument
89 public UiElement check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
91 return driver.find(finder);
108 public Void check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
111 driver.find(finder);
130 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker); in pollFor() argument
138 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, long timeoutMillis); in pollFor() argument
DDroidDriver.java31 boolean has(Finder finder); in has() argument
56 boolean has(Finder finder, long timeoutMillis); in has() argument
67 UiElement on(Finder finder); in on() argument
79 UiElement find(Finder finder); in find() argument
96 void checkExists(Finder finder); in checkExists() argument
106 void checkGone(Finder finder); in checkGone() argument
/external/droiddriver/src/com/google/android/droiddriver/exceptions/
DElementNotFoundException.java26 public ElementNotFoundException(Finder finder) { in ElementNotFoundException() argument
27 super(failMessage(finder)); in ElementNotFoundException()
30 public ElementNotFoundException(Finder finder, Throwable cause) { in ElementNotFoundException() argument
31 super(failMessage(finder), cause); in ElementNotFoundException()
42 protected static String failMessage(Finder finder) { in failMessage() argument
43 return "Could not find any element matching " + finder; in failMessage()
/external/mockito/src/org/mockito/internal/verification/checkers/
DMissingInvocationInOrderChecker.java22 private final InvocationsFinder finder; field in MissingInvocationInOrderChecker
28 MissingInvocationInOrderChecker(InvocationsFinder finder, Reporter reporter) { in MissingInvocationInOrderChecker() argument
29 this.finder = finder; in MissingInvocationInOrderChecker()
34 … List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, context); in check()
40 Invocation previousInOrder = finder.findPreviousVerifiedInOrder(invocations, context); in check()
49 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check()
51 Invocation similar = finder.findSimilarInvocation(invocations, wanted); in check()
DMissingInvocationChecker.java20 private final InvocationsFinder finder; field in MissingInvocationChecker
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) { in MissingInvocationChecker() argument
27 this.finder = finder; in MissingInvocationChecker()
32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check()
35 Invocation similar = finder.findSimilarInvocation(invocations, wanted); in check()
DNumberOfInvocationsChecker.java21 private final InvocationsFinder finder; field in NumberOfInvocationsChecker
28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) { in NumberOfInvocationsChecker() argument
30 this.finder = finder; in NumberOfInvocationsChecker()
34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check()
38 Location lastInvocation = finder.getLastLocation(actualInvocations); in check()
DNumberOfInvocationsInOrderChecker.java22 private final InvocationsFinder finder; field in NumberOfInvocationsInOrderChecker
29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) { in NumberOfInvocationsInOrderChecker() argument
30 this.finder = finder; in NumberOfInvocationsInOrderChecker()
35 … List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context); in check()
40 Location lastInvocation = finder.getLastLocation(chunk); in check()
DNonGreedyNumberOfInvocationsInOrderChecker.java21 private final InvocationsFinder finder; field in NonGreedyNumberOfInvocationsInOrderChecker
29 …NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, Invocation… in NonGreedyNumberOfInvocationsInOrderChecker() argument
30 this.finder = finder; in NonGreedyNumberOfInvocationsInOrderChecker()
39 … Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context ); in check()
DAtLeastXNumberOfInvocationsChecker.java20 InvocationsFinder finder = new InvocationsFinder(); field in AtLeastXNumberOfInvocationsChecker
24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check()
28 Location lastLocation = finder.getLastLocation(actualInvocations); in check()
DAtLeastXNumberOfInvocationsInOrderChecker.java21 private final InvocationsFinder finder = new InvocationsFinder(); field in AtLeastXNumberOfInvocationsInOrderChecker
30 …List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingConte… in check()
35 Location lastLocation = finder.getLastLocation(chunk); in check()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dwindow_finder_win.cc39 BaseWindowFinder* finder = reinterpret_cast<BaseWindowFinder*>(lParam); in WindowCallbackProc() local
40 if (finder->ignore_.find(hwnd) != finder->ignore_.end()) in WindowCallbackProc()
43 return finder->ShouldStopIterating(hwnd) ? FALSE : TRUE; in WindowCallbackProc()
71 TopMostFinder finder(window, screen_loc, ignore); in IsTopMostWindowAtPoint() local
72 return finder.is_top_most_; in IsTopMostWindowAtPoint()
162 LocalProcessWindowFinder finder(screen_loc, ignore); in GetProcessWindowAtPoint() local
166 if (finder.result_ && in GetProcessWindowAtPoint()
169 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, in GetProcessWindowAtPoint()
173 finder.result_); in GetProcessWindowAtPoint()
Dwindow_finder_x11.cc26 views::X11TopmostWindowFinder finder; in GetLocalProcessWindowAtPoint() local
27 return finder.FindLocalProcessWindowAt(screen_point, ignore); in GetLocalProcessWindowAtPoint()
/external/mockito/src/org/mockito/internal/debugging/
DWarningsPrinterImpl.java17 private WarningsFinder finder; field in WarningsPrinterImpl
27 WarningsPrinterImpl(boolean warnAboutUnstubbed, WarningsFinder finder) { in WarningsPrinterImpl() argument
29 this.finder = finder; in WarningsPrinterImpl()
33 finder.find(new LoggingListener(warnAboutUnstubbed, logger)); in print()
/external/chromium_org/tools/telemetry/telemetry/core/
Dbrowser_finder.py72 for finder in BROWSER_FINDERS:
74 options.browser_type not in finder.FindAllBrowserTypes(options)):
76 curr_browsers = finder.FindAllAvailableBrowsers(options)
77 new_default_browser = finder.SelectDefaultBrowser(curr_browsers)
148 for finder in BROWSER_FINDERS:
149 browsers.extend(finder.FindAllAvailableBrowsers(options))
/external/chromium_org/chrome/renderer/extensions/
Dtab_finder.cc18 TabFinder finder(tab_id); in Find() local
19 RenderView::ForEach(&finder); in Find()
20 return finder.view_; in Find()
/external/chromium_org/chrome/browser/
Dscreensaver_window_finder_x11.cc17 ScreensaverWindowFinder finder; in ScreensaverWindowExists() local
18 ui::EnumerateTopLevelWindows(&finder); in ScreensaverWindowExists()
19 return finder.exists_ && !err_tracker.FoundNewError(); in ScreensaverWindowExists()
/external/mockito/src/org/mockito/internal/verification/
DOnly.java19 private final InvocationsFinder finder = new InvocationsFinder(); field in Only
27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher); in verify()
29 Invocation unverified = finder.findFirstUnverified(invocations); in verify()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
Dprint_layout_test_types.py45 finder = layout_test_finder.LayoutTestFinder(port, options)
46 _, tests = finder.find_tests(options, args)
/external/protobuf/src/google/protobuf/
Dextension_set_heavy.cc210 GeneratedExtensionFinder finder(containing_type); in ParseField() local
211 return ParseField(tag, input, &finder, &skipper); in ParseField()
213 DescriptorPoolExtensionFinder finder(input->GetExtensionPool(), in ParseField() local
216 return ParseField(tag, input, &finder, &skipper); in ParseField()
225 GeneratedExtensionFinder finder(containing_type); in ParseMessageSet() local
226 return ParseMessageSet(input, &finder, &skipper); in ParseMessageSet()
228 DescriptorPoolExtensionFinder finder(input->GetExtensionPool(), in ParseMessageSet() local
231 return ParseMessageSet(input, &finder, &skipper); in ParseMessageSet()
/external/chromium_org/third_party/skia/tools/
Dfind_bad_images_in_skps.py184 target=BadImageFinder.process_files, args=(finder,argument))
185 for finder, argument in zip(finders, arguments)]
190 number = sum(finder.bad_image_count for finder in finders)

1234