Home
last modified time | relevance | path

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

123456

/third_party/node/deps/npm/node_modules/node-gyp/test/
Dtest-find-visualstudio.js41 const finder = new TestVisualStudioFinder(semverV1, null, (err, info) => {
55 finder.findVisualStudio2017OrNewer = (cb) => {
56 finder.parseData(new Error(), '', '', cb)
58 finder.regSearchKeys = (keys, value, addOpts, cb) => {
77 finder.findVisualStudio()
83 const finder = new TestVisualStudioFinder({
92 finder.findVisualStudio2017OrNewer = (cb) => {
95 finder.parseData(null, data, '', cb)
97 finder.regSearchKeys = (keys, value, addOpts, cb) => {
110 finder.findVisualStudio()
[all …]
/third_party/python/Lib/test/test_importlib/source/
Dtest_finder.py49 finder = self.get_finder(root)
50 return self._find(finder, module, loader_only=True)
128 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
133 loader = self._find(finder, 'mod', loader_only=True)
140 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
142 finder._path_mtime = 42
143 finder.invalidate_caches()
144 self.assertEqual(finder._path_mtime, -1)
150 finder = self.get_finder(mapping['.root'])
151 found = self._find(finder, 'mod', loader_only=True)
[all …]
Dtest_case_sensitivity.py25 def finder(self, path): member in CaseSensitivityTest
40 sensitive_finder = self.finder(sensitive_path)
41 insensitive_finder = self.finder(insensitive_path)
67 def find(self, finder): argument
70 return finder.find_module(self.name)
80 def find(self, finder): argument
81 found = finder.find_spec(self.name)
/third_party/flutter/flutter/packages/flutter_driver/lib/src/common/
Dfind.dart16 /// A Flutter Driver command aimed at an object to be located by [finder].
19 /// required beyond the [finder] the implementation may override [serialize]
22 /// Constructs this command given a [finder].
23 CommandWithTarget(this.finder, {Duration timeout}) : super(timeout: timeout) {
24 if (finder == null)
30 : finder = SerializableFinder.deserialize(json),
34 final SerializableFinder finder;
36 /// This method is meant to be overridden if data in addition to [finder]
46 super.serialize()..addAll(finder.serialize());
49 /// A Flutter Driver command that waits until [finder] can locate the target.
[all …]
Dgesture.dart8 /// A Flutter Driver command that taps on a target widget located by [finder].
10 /// Creates a tap command to tap on a widget located by [finder].
11 Tap(SerializableFinder finder, { Duration timeout }) : super(finder, timeout: timeout);
38 /// dragging a widget located by the given [finder].
40 SerializableFinder finder,
46 }) : super(finder, timeout: timeout);
95 /// represented by [finder] has been scrolled completely into view.
97 /// Creates this command given a [finder] used to locate the widget to be
99 …ScrollIntoView(SerializableFinder finder, { this.alignment = 0.0, Duration timeout }) : super(find…
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dcontroller.dart41 /// Checks if `finder` exists in the tree.
42 bool any(Finder finder) {
44 return finder.evaluate().isNotEmpty;
58 /// Throws a [StateError] if `finder` is empty or matches more than
63 T widget<T extends Widget>(Finder finder) {
65 return finder.evaluate().single.widget;
71 /// Throws a [StateError] if `finder` is empty.
74 T firstWidget<T extends Widget>(Finder finder) {
76 return finder.evaluate().first.widget;
83 Iterable<T> widgetList<T extends Widget>(Finder finder) {
[all …]
/third_party/spirv-tools/test/reduce/
Dremove_unused_instruction_test.cpp32 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
230 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dremove_unused_instruction_test.cpp32 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
230 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dremove_unused_instruction_test.cpp32 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
230 RemoveUnusedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get(), 0); in TEST()
[all …]
/third_party/flutter/flutter/packages/flutter_driver/lib/src/extension/
Dextension.dart86 /// Signature for functions that run the given finder and return the [Element]
88 typedef FinderConstructor = Finder Function(SerializableFinder finder);
146 'ByText': (SerializableFinder finder) => _createByTextFinder(finder),
147 'ByTooltipMessage': (SerializableFinder finder) => _createByTooltipMessageFinder(finder),
148 'BySemanticsLabel': (SerializableFinder finder) => _createBySemanticsLabelFinder(finder),
149 'ByValueKey': (SerializableFinder finder) => _createByValueKeyFinder(finder),
150 'ByType': (SerializableFinder finder) => _createByTypeFinder(finder),
151 'PageBack': (SerializableFinder finder) => _createPageBackFinder(),
152 'Ancestor': (SerializableFinder finder) => _createAncestorFinder(finder),
153 'Descendant': (SerializableFinder finder) => _createDescendantFinder(finder),
[all …]
/third_party/boost/boost/xpressive/detail/core/
Doptimize.hpp28 intrusive_ptr<finder<BidiIter> > optimize_regex in optimize_regex()
37 return intrusive_ptr<finder<BidiIter> > in optimize_regex()
44 return intrusive_ptr<finder<BidiIter> > in optimize_regex()
51 return intrusive_ptr<finder<BidiIter> > in optimize_regex()
57 return intrusive_ptr<finder<BidiIter> >(); in optimize_regex()
64 intrusive_ptr<finder<BidiIter> > optimize_regex in optimize_regex()
78 return intrusive_ptr<finder<BidiIter> > in optimize_regex()
Dfinder.hpp30 : finder<BidiIter>
63 : finder<BidiIter>
101 : finder<BidiIter>
148 : finder<BidiIter>
198 : finder<BidiIter>
201 : finder<BidiIter>() in leading_simple_repeat_finder()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DConstantFoldingTest.h146 ConstantFinder<T> finder(constant); in constantFoundInAST()
147 mASTRoot->traverse(&finder); in constantFoundInAST()
148 return finder.found(); in constantFoundInAST()
154 ConstantFinder<T> finder(constantVector); in constantVectorFoundInAST()
155 mASTRoot->traverse(&finder); in constantVectorFoundInAST()
156 return finder.found(); in constantVectorFoundInAST()
168 ConstantFinder<T> finder(constantVector, faultTolerance); in constantVectorNearFoundInAST()
169 mASTRoot->traverse(&finder); in constantVectorNearFoundInAST()
170 return finder.found(); in constantVectorNearFoundInAST()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DConstantFoldingTest.h146 ConstantFinder<T> finder(constant); in constantFoundInAST()
147 mASTRoot->traverse(&finder); in constantFoundInAST()
148 return finder.found(); in constantFoundInAST()
154 ConstantFinder<T> finder(constantVector); in constantVectorFoundInAST()
155 mASTRoot->traverse(&finder); in constantVectorFoundInAST()
156 return finder.found(); in constantVectorFoundInAST()
168 ConstantFinder<T> finder(constantVector, faultTolerance); in constantVectorNearFoundInAST()
169 mASTRoot->traverse(&finder); in constantVectorNearFoundInAST()
170 return finder.found(); in constantVectorNearFoundInAST()
/third_party/boost/boost/fusion/view/zip_view/detail/
Ddistance_impl.hpp34 …ame SearchIt::iterators, is_same<traits::category_of<mpl::_>, random_access_iterator_tag> > finder; typedef
36 …BOOST_MPL_ASSERT_NOT((is_same<typename finder::type, result_of::end<typename SearchIt::iterators> …
38 typedef typename result_of::distance<FoundIt, typename finder::type>::type type;
52 …typename It1::iterators, is_same<traits::category_of<mpl::_>, random_access_iterator_tag> > finder; typedef
55 … is_same<typename finder::type, typename result_of::end<typename It1::iterators>::type>,
57 detail::best_distance<typename finder::type, It2> >::type type;
/third_party/python/Lib/test/test_importlib/
Dtest_threaded_import.py146 finder = Finder()
147 sys.meta_path.insert(0, finder)
150 self.assertGreater(finder.numcalls, 0)
151 self.assertEqual(finder.x, finder.numcalls)
153 sys.meta_path.remove(finder)
158 finder = Finder()
164 finder.find_spec('')
172 self.assertGreater(finder.numcalls, 0)
173 self.assertEqual(finder.x, finder.numcalls)
Dtest_abc.py356 def finder(cls, spec): member in MetaPathFinderFindModuleTests
366 finder = self.finder(None)
370 found = finder.find_module(name, path)
376 finder = self.finder(spec)
377 found = finder.find_spec('blah', 'blah', None)
381 finder = self.finder(None)
384 found = finder.find_spec(name, path, None)
386 self.assertEqual(name, finder.called_for[0])
387 self.assertEqual(path, finder.called_for[1])
392 finder = self.finder(spec)
[all …]
/third_party/python/Lib/test/test_importlib/frozen/
Dtest_finder.py15 finder = self.machinery.FrozenImporter
16 return finder.find_spec(name, path)
52 finder = self.machinery.FrozenImporter
55 return finder.find_module(name, path)
/third_party/flutter/flutter/examples/layers/test/
Dgestures_test.dart16 final Finder finder = find.byType(GestureDemo);
18 MaterialColor getSwatch() => tester.state<GestureDemoState>(finder).swatch;
20 final Offset topLeft = tester.getTopLeft(finder);
21 await tester.tapAt(tester.getSize(finder).center(topLeft));
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Depoch_ctrl_pass.cc82 EpochCtrlPass::InjectionFinder finder(root_ir); in RunOnTree() local
83 RETURN_IF_NOT_OK(finder.Run(root_ir, modified)); in RunOnTree()
87 std::shared_ptr<DatasetNode> node = finder.injection_point(); in RunOnTree()
88 int32_t num_epochs = finder.num_epochs(); in RunOnTree()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindSymbolNode.cpp48 SymbolFinder finder(symbolName); in FindSymbolNode() local
49 root->traverse(&finder); in FindSymbolNode()
50 return finder.getNode(); in FindSymbolNode()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindSymbolNode.cpp48 SymbolFinder finder(symbolName); in FindSymbolNode() local
49 root->traverse(&finder); in FindSymbolNode()
50 return finder.getNode(); in FindSymbolNode()
/third_party/protobuf/src/google/protobuf/
Dextension_set_heavy.cc327 GeneratedExtensionFinder finder(containing_type); in FindExtension() local
328 if (!FindExtensionInfoFromFieldNumber(wire_type, field, &finder, extension, in FindExtension()
333 DescriptorPoolExtensionFinder finder(ctx->data().pool, ctx->data().factory, in FindExtension() local
335 if (!FindExtensionInfoFromFieldNumber(wire_type, field, &finder, extension, in FindExtension()
377 GeneratedExtensionFinder finder(containing_type); in ParseField() local
378 return ParseField(tag, input, &finder, &skipper); in ParseField()
380 DescriptorPoolExtensionFinder finder(input->GetExtensionPool(), in ParseField() local
383 return ParseField(tag, input, &finder, &skipper); in ParseField()
392 GeneratedExtensionFinder finder(containing_type); in ParseMessageSet() local
393 return ParseMessageSet(input, &finder, &skipper); in ParseMessageSet()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_body_test.dart16 final Finder finder = find.byType(Container);
17 finder.precache();
20 final Finder current = finder.at(i);
22 actual.add(tester.getRect(finder.at(i)));
24 expect(() => finder.at(expected.length), throwsRangeError);
/third_party/flutter/flutter/examples/flutter_gallery/test/
Dlive_smoketest.dart125 /// Runs `finder` repeatedly until it finds one or more [Element]s.
126 Future<Finder> _waitForElement(Finder finder) async {
129 await _waitUntilFrame(() => finder.precache());
132 return finder;
136 Future<void> tap(Finder finder, { int pointer, int buttons = kPrimaryButton }) async {
137 await super.tap(await _waitForElement(finder), pointer: pointer, buttons: buttons);
140 Future<void> scrollIntoView(Finder finder, {double alignment}) async {
141 final Finder target = await _waitForElement(finder);

123456