Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 – 25 of 70) sorted by relevance

123

/third_party/spirv-tools/source/fuzz/
Davailable_instructions.cpp160 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/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Davailable_instructions.cpp160 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/
Davailable_instructions.cpp160 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/node/deps/npm/node_modules/@npmcli/arborist/lib/
Doverride-set.js119 for (let ancestor = this; ancestor; ancestor = ancestor.parent) {
120 yield ancestor
/third_party/typescript/src/services/codefixes/
DaddMissingAwait.ts219 return node.kind & NodeFlags.AwaitContext || !!findAncestor(node, ancestor =>
220ancestor.parent && isArrowFunction(ancestor.parent) && ancestor.parent.body === ancestor ||
221 isBlock(ancestor) && (
222 ancestor.parent.kind === SyntaxKind.FunctionDeclaration ||
223 ancestor.parent.kind === SyntaxKind.FunctionExpression ||
224 ancestor.parent.kind === SyntaxKind.ArrowFunction ||
225 ancestor.parent.kind === SyntaxKind.MethodDeclaration));
DconvertFunctionToEs6Class.ts34 const ancestor = ctorDeclaration.parent.parent; constant
37 changes.insertNodeAfter(sourceFile, ancestor, classDeclaration);
40 changes.replaceNode(sourceFile, ancestor, classDeclaration);
/third_party/typescript/src/server/
DpackageJsonCache.ts29 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/node/test/fixtures/wpt/resources/
Dcheck-layout.js18 var ancestor = node.parentNode;
19 while (getComputedStyle(ancestor).position == 'static')
20 ancestor = ancestor.parentNode;
21 return ancestor;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DDiscoverEnclosingFunctionTraverser.cpp23 while (TIntermNode *ancestor = getAncestorNode(height)) in discoverEnclosingFunction() local
25 if (TIntermFunctionDefinition *funcDefNode = ancestor->getAsFunctionDefinition()) in discoverEnclosingFunction()
/third_party/typescript/src/services/
DcallHierarchy.ts249 const ancestor = findAncestor(location, isValidCallHierarchyDeclaration); constant
250 … return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor);
257 const ancestor = findAncestor(location.parent, isValidCallHierarchyDeclaration); constant
258 … return ancestor && findImplementationOrAllInitialDeclarations(typeChecker, ancestor);
327 const ancestor = findAncestor(node, isValidCallHierarchyDeclaration) || sourceFile; constant
328 return { declaration: ancestor, range: createTextRangeFromNode(node, sourceFile) };
DstringCompletions.ts676 let ancestorLookup: (directory: string) => void | undefined = ancestor => {
677 …const nodeModules = combinePaths(ancestor, getModuleByPMType(host.getCompilationSettings().package…
684 ancestorLookup = ancestor => {
689 return nodeModulesDirectoryLookup(ancestor);
694 return nodeModulesDirectoryLookup(ancestor);
698 … const packageDirectory = combinePaths(ancestor, "node_modules", packagePath);
722 return nodeModulesDirectoryLookup(ancestor);
DexportInfoMap.ts330 …EachAncestorDirectory(toPath, ancestor => (getBaseFileName(ancestor) === getModuleByPMType(package…
Dutilities.ts2891 const topNode = findAncestor(node, ancestor => !ancestor.parent)!;
2903 const contextAncestor = findAncestor(context, ancestor => {
2904 if (ancestor.end !== pos) {
2907 return syntaxMayBeASICandidate(ancestor.kind);
2991 forEachAncestorDirectory(startDirectory, ancestor => {
2992 if (ancestor === stopDirectory) {
2995 …const currentConfigPath = combinePaths(ancestor, getPackageJsonByPMType(host.getCompilationSetting…
3005 forEachAncestorDirectory(directory, ancestor => {
3008 if (ancestor === moduleType) return true;
3009 packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), packageJsonType);
[all …]
/third_party/typescript/src/compiler/
DohApi.ts297 …const ancestor = <CallExpression>getAncestor(isCallExpression(node) ? node.parent : node, SyntaxKi… constant
298 const target = getRootEtsComponent(ancestor);
302 node = ancestor ?? node.parent;
332 … const ancestor = <ObjectLiteralExpression>getAncestor(node, SyntaxKind.ObjectLiteralExpression); constant
333 …return ancestor !== undefined && ancestor.parent !== undefined && isPropertyAssignment(ancestor.pa…
/third_party/node/deps/acorn/acorn-walk/
DREADME.md62 **ancestor**`(node, visitors, base, state)` does a 'simple' walk over
63 a tree, building up an array of ancestor nodes (including the current node)
70 walk.ancestor(acorn.parse("foo('hi')"), {
97 over a tree, building up an array of ancestor nodes (including the
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
Dload-actual.js376 const ancestor = ancestorPath(node.realpath, this.path) constant
395 if (ancestor && /^\.\.(?:[\\/]|$)/.test(relative(ancestor, p))) {
/third_party/node/deps/v8/src/objects/
Dsource-text-module.cc434 Handle<SourceTextModule> ancestor; in MaybeTransitionComponent() local
436 ancestor = stack->front(); in MaybeTransitionComponent()
438 DCHECK_EQ(ancestor->status(), in MaybeTransitionComponent()
441 if (!SourceTextModule::RunInitializationCode(isolate, ancestor)) in MaybeTransitionComponent()
444 DCHECK(ancestor->cycle_root().IsTheHole(isolate)); in MaybeTransitionComponent()
445 ancestor->set_cycle_root(*cycle_root); in MaybeTransitionComponent()
447 ancestor->SetStatus(new_status); in MaybeTransitionComponent()
448 } while (*ancestor != *module); in MaybeTransitionComponent()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp886 TIntermTyped *ancestor = getAncestorNode(accessorIndex)->getAsTyped(); in transformExpression() local
887 ASSERT(ancestor); in transformExpression()
892 TOperator op = GetIndex(mSymbolTable, ancestor, &indices, &prependStatements); in transformExpression()
936 ReplicateIndexNode(mSymbolTable, ancestor, baseExpression, &indices); in transformExpression()
938 const TType &ancestorType = ancestor->getType(); in transformExpression()
943 IsConvertedField(ancestor, mInterfaceBlockFieldConvertedIn); in transformExpression()
955 previousAncestor = ancestor; in transformExpression()
/third_party/typescript/src/testRunner/unittests/tsserver/
Dhelpers.ts596 …export function mapCombinedPathsInAncestor(dir: string, path2: string, mapAncestor: (ancestor: str…
599 forEachAncestorDirectory(dir, ancestor => {
600 if (mapAncestor(ancestor)) {
601 result.push(combinePaths(ancestor, path2));
608 …return mapCombinedPathsInAncestor(dir, path2, ancestor => ancestor.split(directorySeparator).lengt…
/third_party/node/deps/acorn/acorn-walk/dist/
Dwalk.mjs28 // An ancestor walk keeps an array of ancestor nodes (including the
31 function ancestor(node, visitors, baseVisitor, state, override) { function
81 // An fullAncestor walk is like an ancestor walk, but triggers
443 export { ancestor, base, findNodeAfter, findNodeAround, findNodeAt, findNodeBefore, full, fullAnces…
Dwalk.d.ts61 export function ancestor<TState>(
Dwalk.js37 function ancestor(node, visitors, baseVisitor, state, override) { function
449 exports.ancestor = ancestor;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermTraverse.cpp616 TIntermNode *ancestor = getAncestorNode(ancestorIndex); in queueAccessChainReplacement() local
617 ASSERT(ancestor != nullptr); in queueAccessChainReplacement()
619 TIntermBinary *asBinary = ancestor->getAsBinaryNode(); in queueAccessChainReplacement()
/third_party/ltp/testcases/kernel/containers/pidns/
DREADME25 "A process has a pid in every ancestor pid namespaces up to the initial pid namespace. If process …
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddebug_info_manager.h228 bool IsAncestorOfScope(uint32_t scope, uint32_t ancestor);

123