/external/opencv/cvaux/src/ |
D | cvclique.cpp | 129 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/io/appium/droiddriver/base/ |
D | BaseDroidDriver.java | 40 public UiElement find(Finder finder) { in find() argument 41 Logs.call(Log.VERBOSE, this, "find", finder); in find() 42 return finder.find(getRootElement()); in find() 46 public boolean has(Finder finder) { in has() argument 49 find(finder); in has() 57 public boolean has(Finder finder, long timeoutMillis) { in has() argument 59 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis); in has() 67 public UiElement on(Finder finder) { in on() argument 68 Logs.call(this, "on", finder); in on() 69 return getPoller().pollFor(this, finder, Poller.EXISTS); in on() [all …]
|
D | DefaultPoller.java | 60 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker) { in pollFor() argument 61 return pollFor(driver, finder, checker, timeoutMillis); in pollFor() 65 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, in pollFor() argument 78 return checker.check(driver, finder); in pollFor() 84 pollingListener.onPolling(driver, finder); in pollFor() 90 timeoutListener.onTimeout(driver, finder); in pollFor() 93 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker)); in pollFor()
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | AnnotationHelper.java | 31 public static ITestAnnotation findTest(IAnnotationFinder finder, Class<?> cls) { in findTest() argument 32 return finder.findAnnotation(cls, ITestAnnotation.class); in findTest() 35 public static ITestAnnotation findTest(IAnnotationFinder finder, Method m) { in findTest() argument 36 return finder.findAnnotation(m, ITestAnnotation.class); in findTest() 39 public static ITestAnnotation findTest(IAnnotationFinder finder, ITestNGMethod m) { in findTest() argument 40 return finder.findAnnotation(m, ITestAnnotation.class); in findTest() 43 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Method m) { in findFactory() argument 44 return finder.findAnnotation(m, IFactoryAnnotation.class); in findFactory() 47 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Constructor c) { in findFactory() argument 48 return finder.findAnnotation(c, IFactoryAnnotation.class); in findFactory() [all …]
|
/external/droiddriver/src/io/appium/droiddriver/ |
D | Poller.java | 34 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
|
D | DroidDriver.java | 31 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/io/appium/droiddriver/exceptions/ |
D | ElementNotFoundException.java | 26 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/ |
D | MissingInvocationInOrderChecker.java | 22 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()
|
D | MissingInvocationChecker.java | 20 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()
|
D | NumberOfInvocationsChecker.java | 21 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()
|
D | NumberOfInvocationsInOrderChecker.java | 22 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()
|
D | NonGreedyNumberOfInvocationsInOrderChecker.java | 21 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()
|
/external/testng/src/main/java/org/testng/internal/ |
D | ExpectedExceptionsHolder.java | 14 protected final IAnnotationFinder finder; field in ExpectedExceptionsHolder 19 …protected ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExcept… in ExpectedExceptionsHolder() argument 20 this.finder = finder; in ExpectedExceptionsHolder() 22 expectedClasses = findExpectedClasses(finder, method); in ExpectedExceptionsHolder() 26 private static Class<?>[] findExpectedClasses(IAnnotationFinder finder, ITestNGMethod method) { in findExpectedClasses() argument 28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in findExpectedClasses() 35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in findExpectedClasses()
|
D | Parameters.java | 50 IAnnotationFinder finder, in createInstantiationParameters() argument 55 finder.findOptionalValues(ctor), methodAnnotation, finder, parameterNames, in createInstantiationParameters() 72 IAnnotationFinder finder, in createConfigurationParameters() argument 89 finder, xmlSuite, IConfigurationAnnotation.class, "@Configuration"); in createConfigurationParameters() 120 IAnnotationFinder finder, in createParameters() argument 250 … IAnnotationFinder finder, ITestContext context) { in findDataProvider() argument 253 IDataProvidable dp = findDataProviderInfo(clazz, m, finder); in findDataProvider() 259 … result = findDataProvider(instance, clazz, finder, dataProviderName, dataProviderClass, context); in findDataProvider() 277 IAnnotationFinder finder) { in findDataProviderInfo() argument 284 result = AnnotationHelper.findTest(finder, m.getMethod()); in findDataProviderInfo() [all …]
|
D | RegexpExpectedExceptionsHolder.java | 18 private final IAnnotationFinder finder; field in RegexpExpectedExceptionsHolder 21 public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) { in RegexpExpectedExceptionsHolder() argument 22 this.finder = finder; in RegexpExpectedExceptionsHolder() 51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in getRegExp() 58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in getRegExp()
|
D | Configuration.java | 25 public Configuration(IAnnotationFinder finder) { in Configuration() argument 26 init(finder); in Configuration() 29 private void init(IAnnotationFinder finder) { in init() argument 30 m_annotationFinder = finder; in init() 39 public void setAnnotationFinder(IAnnotationFinder finder) { in setAnnotationFinder() argument 40 m_annotationFinder = finder; in setAnnotationFinder()
|
D | ClassHelper.java | 137 IAnnotationFinder finder) { in findDeclaredFactoryMethod() argument 141 IFactoryAnnotation f = finder.findAnnotation(method, IFactoryAnnotation.class); in findDeclaredFactoryMethod() 152 IAnnotation f = finder.findAnnotation(constructor, IFactoryAnnotation.class); in findDeclaredFactoryMethod() 286 IAnnotationFinder finder, in createInstance() argument 290 return createInstance1(declaringClass, classes, xmlTest, finder, in createInstance() 306 IAnnotationFinder finder, in createInstance1() argument 315 Constructor<?> constructor = findAnnotatedConstructor(finder, declaringClass); in createInstance1() 317 …IParametersAnnotation annotation = finder.findAnnotation(constructor, IParametersAnnotation.class); in createInstance1() 322 finder, in createInstance1() 430 private static Constructor<?> findAnnotatedConstructor(IAnnotationFinder finder, in findAnnotatedConstructor() argument [all …]
|
D | MethodHelper.java | 48 boolean forTests, RunInfo runInfo, IAnnotationFinder finder, in collectAndOrderMethods() argument 57 finder, in collectAndOrderMethods() local 60 return sortMethods(forTests, includedMethods, finder).toArray(new ITestNGMethod[]{}); in collectAndOrderMethods() 158 protected static boolean isEnabled(Class<?> objectClass, IAnnotationFinder finder) { in isEnabled() argument 159 ITestAnnotation testClassAnnotation = AnnotationHelper.findTest(finder, objectClass); in isEnabled() 163 protected static boolean isEnabled(Method m, IAnnotationFinder finder) { in isEnabled() argument 164 ITestAnnotation annotation = AnnotationHelper.findTest(finder, m); in isEnabled() 168 annotation = AnnotationHelper.findTest(finder, m.getDeclaringClass()); in isEnabled() 271 List<ITestNGMethod> allMethods, IAnnotationFinder finder) { in sortMethods() argument
|
/external/mockito/src/org/mockito/internal/debugging/ |
D | WarningsPrinterImpl.java | 17 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/pdfium/testing/tools/ |
D | run_pixel_tests.py | 61 finder = common.DirectoryFinder(options.build_dir) 62 fixup_path = finder.ScriptPath('fixup_pdf_template.py') 63 source_dir = finder.TestingDir(os.path.join('resources', 'pixel')) 64 pdfium_test_path = finder.ExecutablePath('pdfium_test') 69 working_dir = finder.WorkingDir(os.path.join('testing', 'pixel')) 73 test_suppressor = suppressor.Suppressor(finder) 74 image_differ = pngdiffer.PNGDiffer(finder)
|
D | run_javascript_tests.py | 53 finder = common.DirectoryFinder(options.build_dir) 54 fixup_path = finder.ScriptPath('fixup_pdf_template.py') 55 text_diff_path = finder.ScriptPath('text_diff.py') 56 source_dir = finder.TestingDir(os.path.join('resources', 'javascript')) 57 pdfium_test_path = finder.ExecutablePath('pdfium_test') 62 working_dir = finder.WorkingDir(os.path.join('testing', 'javascript'))
|
D | run_corpus_tests.py | 95 finder = common.DirectoryFinder(options.build_dir) 96 pdfium_test_path = finder.ExecutablePath('pdfium_test') 101 working_dir = finder.WorkingDir(os.path.join('testing', 'corpus')) 105 test_suppressor = suppressor.Suppressor(finder) 106 image_differ = pngdiffer.PNGDiffer(finder) 111 walk_from_dir = finder.TestingDir('corpus');
|
/external/guice/extensions/persist/src/com/google/inject/persist/finder/ |
D | DynamicFinder.java | 17 package com.google.inject.persist.finder; 28 private final Finder finder; field in DynamicFinder 32 this.finder = method.getAnnotation(Finder.class); in DynamicFinder() 45 return finder; in metadata()
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
D | JpaPersistModule.java | 28 import com.google.inject.persist.finder.DynamicFinder; 29 import com.google.inject.persist.finder.Finder; 77 for (Class<?> finder : dynamicFinders) { in configurePersistence() 78 bindFinder(finder); in configurePersistence() 173 DynamicFinder finder = DynamicFinder.from(method); in isDynamicFinderValid() local 174 if (null == finder) { in isDynamicFinderValid()
|
/external/autotest/server/site_tests/display_ServerChameleonConnection/ |
D | display_ServerChameleonConnection.py | 30 finder = chameleon_port_finder.ChameleonVideoInputFinder( 32 ports = finder.find_all_ports() 37 msg = str(finder)
|