/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | return-await.ts | 61 let ancestor = node.parent; 63 while (ancestor && !ts.isFunctionLike(ancestor)) { 64 if (tsutils.isTryStatement(ancestor)) { 68 ancestor = ancestor.parent; 75 let ancestor = node.parent; 77 while (ancestor && !ts.isFunctionLike(ancestor)) { 78 if (tsutils.isCatchClause(ancestor)) { 82 ancestor = ancestor.parent; 89 let ancestor = node.parent; 91 while (ancestor && !ts.isFunctionLike(ancestor)) { [all …]
|
D | explicit-module-boundary-types.ts | 391 let ancestor = node.parent; 395 ancestor?.type === AST_NODE_TYPES.ReturnStatement; 397 ancestor?.type === AST_NODE_TYPES.ArrowFunctionExpression && 398 ancestor.body.type !== AST_NODE_TYPES.BlockStatement; 403 while (ancestor) { 404 switch (ancestor.type) { 408 if (ancestor.returnType) { 417 if (ancestor.id.typeAnnotation) { 423 ancestor = ancestor.parent;
|
/third_party/boost/boost/pending/detail/ |
D | disjoint_sets.hpp | 34 Vertex ancestor = get(parent, v); in find_representative_with_full_compression() local 35 while (ancestor != v) in find_representative_with_full_compression() 37 v = ancestor; in find_representative_with_full_compression() 38 ancestor = get(parent, v); in find_representative_with_full_compression() 41 while (ancestor != v) in find_representative_with_full_compression() 43 put(parent, old, ancestor); in find_representative_with_full_compression() 47 return ancestor; in find_representative_with_full_compression()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | debug.dart | 11 /// Asserts that the given context has a [Material] ancestor. 31 'widget ancestor.' 47 'The specific widget that could not find a Material ancestor was:' 57 for (Widget ancestor in ancestors) 58 message.write('\n $ancestor'); 62 'ancestors, let alone a "Material" ancestor.' 73 /// Asserts that the given context has a [Localizations] ancestor that contains 94 'to be provided by a Localizations widget ancestor.' 107 'The specific widget that could not find a MaterialLocalizations ancestor was:' 117 for (Widget ancestor in ancestors) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | available_instructions.cpp | 160 for (auto* ancestor = block; true; in operator []() local 161 ancestor = dominator_analysis->ImmediateDominator(ancestor)) { in operator []() 163 available_instructions_.num_available_at_block_entry_.at(ancestor); in operator []() 170 available_instructions_.generated_by_block_.at(ancestor); in operator []() 182 assert(ancestor != &*function->begin() && in operator []()
|
/third_party/spirv-tools/source/fuzz/ |
D | available_instructions.cpp | 160 for (auto* ancestor = block; true; in operator []() local 161 ancestor = dominator_analysis->ImmediateDominator(ancestor)) { in operator []() 163 available_instructions_.num_available_at_block_entry_.at(ancestor); in operator []() 170 available_instructions_.generated_by_block_.at(ancestor); in operator []() 182 assert(ancestor != &*function->begin() && in operator []()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | available_instructions.cpp | 160 for (auto* ancestor = block; true; in operator []() local 161 ancestor = dominator_analysis->ImmediateDominator(ancestor)) { in operator []() 163 available_instructions_.num_available_at_block_entry_.at(ancestor); in operator []() 170 available_instructions_.generated_by_block_.at(ancestor); in operator []() 182 assert(ancestor != &*function->begin() && in operator []()
|
/third_party/typescript/src/server/ |
D | packageJsonCache.ts | 29 forEachAncestorDirectory(directory, ancestor => { 30 if (directoryHasPackageJson(ancestor) !== Ternary.Maybe) { 33 const packageJsonFileName = host.toPath(combinePaths(ancestor, "package.json")); 38 directoriesWithoutPackageJson.set(ancestor, true);
|
/third_party/typescript/src/services/codefixes/ |
D | addMissingAwait.ts | 228 return node.kind & NodeFlags.AwaitContext || !!findAncestor(node, ancestor => 229 … ancestor.parent && isArrowFunction(ancestor.parent) && ancestor.parent.body === ancestor || 230 isBlock(ancestor) && ( 231 ancestor.parent.kind === SyntaxKind.FunctionDeclaration || 232 ancestor.parent.kind === SyntaxKind.FunctionExpression || 233 ancestor.parent.kind === SyntaxKind.ArrowFunction || 234 ancestor.parent.kind === SyntaxKind.MethodDeclaration));
|
/third_party/libxml2/test/XPath/tests/ |
D | simplebase | 12 /child::EXAMPLE/attribute::prop1/ancestor-or-self::node() 13 /child::EXAMPLE/attribute::prop1/ancestor-or-self::* 15 /descendant::p/ancestor::chapter
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | scroll_physics.dart | 60 /// If [parent] is null then return ancestor, otherwise recursively build a 61 /// ScrollPhysics that has [ancestor] as its parent. 66 /// FooScrollPhysics applyTo(ScrollPhysics ancestor) { 67 /// return FooScrollPhysics(parent: buildParent(ancestor)); 71 ScrollPhysics buildParent(ScrollPhysics ancestor) => parent?.applyTo(ancestor) ?? ancestor; 74 /// [runtimeType] where the [parent] has been replaced with the [ancestor]. 77 /// is applied recursively and ancestor will appear at the end of the 81 /// [ScrollPhysics] instance and some of the behaviors from [ancestor]. 99 ScrollPhysics applyTo(ScrollPhysics ancestor) { 100 return ScrollPhysics(parent: buildParent(ancestor)); [all …]
|
D | debug.dart | 162 /// Asserts that the given context has a [Table] ancestor. 180 '${context.widget.runtimeType} widgets require a Table widget ancestor.\n' 181 'The specific widget that could not find a Table ancestor was:\n' 192 /// Asserts that the given context has a [MediaQuery] ancestor. 211 '${context.widget.runtimeType} widgets require a MediaQuery widget ancestor.\n' 212 'The specific widget that could not find a MediaQuery ancestor was:\n' 225 /// Asserts that the given context has a [Directionality] ancestor. 244 '${context.widget.runtimeType} widgets require a Directionality widget ancestor.\n' 245 'The specific widget that could not find a Directionality ancestor was:\n'
|
D | framework.dart | 907 /// and other elements in the tree (e.g. if you have provided an ancestor 1179 /// ancestor with a pointer to a descendant's [RenderObject]). 1439 /// ancestor is a RenderObjectWidget that wraps a RenderObject that can handle 1443 bool debugIsValidAncestor(RenderObjectWidget ancestor) { 1446 return ancestor is T; 1451 /// returned false for an ancestor, or when there are extraneous 1452 /// [ParentDataWidget]s in the ancestor chain. 1459 '$description has no $T ancestor at all.' 1465 '$description has a $T ancestor, but there are other widgets between them:' 1467 for (Widget ancestor in badAncestors) { [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | cachingFileSystemInformation.ts | 190 forEachAncestorDirectory(getDirectoryPath(root.path), ancestor => { 192 combinePaths(ancestor, `${module}.ts`), 193 combinePaths(ancestor, `${module}.tsx`), 194 combinePaths(ancestor, `${module}.d.ts`), 195 combinePaths(ancestor, `${module}.ets`) 198 forEachAncestorDirectory(getDirectoryPath(root.path), ancestor => { 200 combinePaths(ancestor, `${module}.js`), 201 combinePaths(ancestor, `${module}.jsx`) 209 forEachAncestorDirectory(getDirectoryPath(root.path), ancestor => { 211 result.set(ancestor, 2); [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | DiscoverEnclosingFunctionTraverser.cpp | 23 while (TIntermNode *ancestor = getAncestorNode(height)) in discoverEnclosingFunction() local 25 if (TIntermFunctionDefinition *funcDefNode = ancestor->getAsFunctionDefinition()) in discoverEnclosingFunction()
|
/third_party/libxml2/test/c14n/1-1-without-comments/ |
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
D | example-8.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
/third_party/libxml2/test/c14n/without-comments/ |
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
/third_party/libxml2/test/c14n/with-comments/ |
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
/third_party/typescript/src/services/ |
D | callHierarchy.ts | 232 const ancestor = findAncestor(location, isValidCallHierarchyDeclaration); constant 233 … return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor); 240 const ancestor = findAncestor(location.parent, isValidCallHierarchyDeclaration); constant 241 … return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor); 306 const ancestor = findAncestor(node, isValidCallHierarchyDeclaration) || sourceFile; constant 307 return { declaration: ancestor, range: createTextRangeFromNode(node, sourceFile) };
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/ |
D | generator_node_pass.cc | 84 auto ancestor = repeat_ancestors_[i - 1]; in Visit() local 85 RETURN_IF_NOT_OK(repeat_ancestors_[i]->AddResetAncestor(ancestor)); in Visit()
|
/third_party/flutter/flutter/packages/flutter_test/lib/src/ |
D | finders.dart | 57 return find.ancestor( 124 return find.ancestor( 261 /// find.ancestor( 272 Finder ancestor({ Finder of, Finder matching, bool matchRoot = false }) { 658 this.ancestor, 664 final Finder ancestor; 671 return '${descendant.description} in the subtree(s) beginning with ${ancestor.description}'; 672 return '${descendant.description} that has ancestor(s) with ${ancestor.description}'; 682 final Iterable<Element> ancestorElements = ancestor.evaluate(); 693 …_AncestorFinder(this.descendant, this.ancestor, { this.matchRoot = false }) : super(skipOffstage: … [all …]
|
/third_party/libxml2/result/XPath/tests/ |
D | simplebase | 89 Expression: /child::EXAMPLE/attribute::prop1/ancestor-or-self::node() 105 Expression: /child::EXAMPLE/attribute::prop1/ancestor-or-self::* 124 Expression: /descendant::p/ancestor::chapter
|
/third_party/glib/gio/ |
D | gwin32registrykey.c | 392 GWin32RegistryKey *ancestor; member 454 g_clear_object (&priv->ancestor); in g_win32_registry_key_dispose() 559 HKEY ancestor; in g_win32_registry_key_initable_init() local 592 ancestor = HKEY_CLASSES_ROOT; in g_win32_registry_key_initable_init() 594 ancestor = HKEY_LOCAL_MACHINE; in g_win32_registry_key_initable_init() 596 ancestor = HKEY_CURRENT_USER; in g_win32_registry_key_initable_init() 598 ancestor = HKEY_CURRENT_CONFIG; in g_win32_registry_key_initable_init() 600 ancestor = HKEY_CURRENT_USER_LOCAL_SETTINGS; in g_win32_registry_key_initable_init() 602 ancestor = HKEY_USERS; in g_win32_registry_key_initable_init() 604 ancestor = HKEY_PERFORMANCE_DATA; in g_win32_registry_key_initable_init() [all …]
|
/third_party/libxml2/result/regexp/ |
D | xpath | 16 ancestor::a: Ok 32 ancestor::a: Fail
|