| /third_party/rust/rust/tests/ui/dropck/ |
| D | dropck_no_diverge_on_nonregular_3.stderr | 7 …Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Nod… 15 …Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Nod…
|
| D | dropck_no_diverge_on_nonregular_2.stderr | 7 …Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Nod…
|
| D | dropck_no_diverge_on_nonregular_1.stderr | 7 …Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Node<Nod…
|
| /third_party/typescript/src/compiler/factory/ |
| D | nodeTests.ts | 25 …amedTupleMember, NamespaceExport, NamespaceExportDeclaration, NamespaceImport, NewExpression, Node, 44 export function isNumericLiteral(node: Node): node is NumericLiteral { 45 return node.kind === SyntaxKind.NumericLiteral; 48 export function isBigIntLiteral(node: Node): node is BigIntLiteral { 49 return node.kind === SyntaxKind.BigIntLiteral; 52 export function isStringLiteral(node: Node): node is StringLiteral { 53 return node.kind === SyntaxKind.StringLiteral; 56 export function isJsxText(node: Node): node is JsxText { 57 return node.kind === SyntaxKind.JsxText; 60 export function isRegularExpressionLiteral(node: Node): node is RegularExpressionLiteral { [all …]
|
| D | nodeFactory.ts | 58 …NewExpression, Node, NodeArray, NodeFactory, NodeFlags, nodeIsSynthesized, NonNullChain, NonNullEx… 92 // Disables the node converters for the factory. 96 // Do not set an `original` pointer when updating a node. enumerator 110 * @param baseFactory A `BaseNodeFactory` used to create the base `Node` objects. 117 // Lazily load the parenthesizer, node converters, and some factory methods until they are used. 127 …Node | undefined; }>(kind: T["kind"]) => (node: T, type: T["type"]) => updateJSDocUnaryTypeWorker<… 129 …ix: boolean; }>(kind: T["kind"]) => (node: T, type: T["type"]) => updateJSDocPrePostfixUnaryTypeWo… 131 …d: T["kind"]) => (node: T, tagName: Identifier | undefined, comment?: NodeArray<JSDocComment>) => … 133 …node: T, tagName: Identifier | undefined, typeExpression?: JSDocTypeExpression, comment?: NodeArra… 643 …function createNodeArray<T extends Node>(elements?: readonly T[], hasTrailingComma?: boolean): Nod… [all …]
|
| D | emitNode.ts | 3 …getSourceFileOfNode, isParseTreeNode, Node, orderedRemoveItem, SnippetElement, some, SourceFile, S… 8 * Associates a node with the current transformation, initializing 12 export function getOrCreateEmitNode(node: Node): EmitNode { 13 if (!node.emitNode) { 14 if (isParseTreeNode(node)) { 16 // parse tree node we are annotating. This allows us to clean them up after 18 if (node.kind === SyntaxKind.SourceFile) { 19 return node.emitNode = { annotatedNodes: [node] } as EmitNode; 22 …const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail(… 23 getOrCreateEmitNode(sourceFile).annotatedNodes!.push(node); [all …]
|
| /third_party/iptables/iptables/tests/shell/testcases/chain/ |
| D | 0006rename-segfault_0 | 4 # - the chain 'node-98-tmp' is the last in the list sorted by name 6 # - the last index bucket contains only the 'node-98-tmp' chain 13 …node-1 node-10 node-101 node-102 node-104 node-107 node-11 node-12 node-13 node-14 node-15 node-16… 18 $XT_MULTI iptables -E node-98-tmp node-98
|
| /third_party/typescript/src/compiler/ |
| D | visitorPublic.ts | 16 …isVariableDeclarationList, LexicalEnvironmentFlags, Node, NodeArray, NodesVisitor, NodeVisitor, Pa… 22 * Visits a Node using the supplied visitor, possibly returning a new Node in its place. 24 * @param node The Node to visit. 25 * @param visitor The callback used to visit the Node. 26 * @param test A callback to execute to verify the Node is valid. 27 * @param lift An optional callback to execute to lift a NodeArray into a valid Node. 29 …ion visitNode<T extends Node>(node: T, visitor: Visitor | undefined, test?: (node: Node) => boolea… 32 * Visits a Node using the supplied visitor, possibly returning a new Node in its place. 34 * @param node The Node to visit. 35 * @param visitor The callback used to visit the Node. [all …]
|
| D | utilitiesPublic.ts | 38 …NamedExportBindings, NamedImportBindings, NamespaceBody, NamespaceImport, NewExpression, Node, Nod… 301 for (let current: Node = d; current; current = current.parent) { 310 export function isParameterPropertyDeclaration(node: Node, parent: Node): node is ParameterProperty… 311 …return hasSyntacticModifier(node, ModifierFlags.ParameterPropertyModifier) && parent.kind === Synt… 314 export function isEmptyBindingPattern(node: BindingName): node is BindingPattern { 315 if (isBindingPattern(node)) { 316 return every(node.elements, isEmptyBindingElement); 321 export function isEmptyBindingElement(node: BindingElement): boolean { 322 if (isOmittedExpression(node)) { 325 return isEmptyBindingPattern(node.name); [all …]
|
| D | emitter.ts | 331 Node, 989 function collectLinkedAliases(node: Node) { 990 if (isExportAssignment(node)) { 991 if (node.expression.kind === SyntaxKind.Identifier) { 992 … resolver.collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true); 996 else if (isExportSpecifier(node)) { 997 resolver.collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true); 1000 forEachChild(node, collectLinkedAliases); 1460 var lastSubstitution: Node | undefined; 1461 var currentParenthesizerRule: ((node: Node) => Node) | undefined; [all …]
|
| D | binder.ts | 49 …ModuleBlock, ModuleDeclaration, Mutable, NamespaceExportDeclaration, Node, NodeArray, NodeFlags, n… 79 export function getModuleInstanceState(node: ModuleDeclaration, visited?: ESMap<number, ModuleInsta… 80 if (node.body && !node.body.parent) { 82 setParent(node.body, node); 83 setParentRecursive(node.body, /*incremental*/ false); 85 …return node.body ? getModuleInstanceStateCached(node.body, visited) : ModuleInstanceState.Instanti… 88 function getModuleInstanceStateCached(node: Node, visited = new Map<number, ModuleInstanceState | u… 89 const nodeId = getNodeId(node); 94 const result = getModuleInstanceStateWorker(node, visited); 99 function getModuleInstanceStateWorker(node: Node, visited: ESMap<number, ModuleInstanceState | unde… [all …]
|
| /third_party/python/Lib/ |
| D | ast.py | 36 Parse the source into an AST node. 56 Evaluate an expression node or a string containing only a Python 57 expression. The string or node provided may only consist of the following 67 def _raise_malformed_node(node): argument 68 msg = "malformed node or string" 69 if lno := getattr(node, 'lineno', None): 71 raise ValueError(msg + f': {node!r}') 72 def _convert_num(node): argument 73 if not isinstance(node, Constant) or type(node.value) not in (int, float, complex): 74 _raise_malformed_node(node) [all …]
|
| /third_party/typescript/src/compiler/transformers/ |
| D | ts.ts | 26 …NamedImportBindings, NamespaceExport, NewExpression, Node, NodeFlags, nodeIsMissing, NonNullExpres… 102 let currentScopeFirstDeclarationsOfName: UnderscoreEscapedMap<Node> | undefined; 119 function transformSourceFileOrBundle(node: SourceFile | Bundle) { 120 if (node.kind === SyntaxKind.Bundle) { 121 return transformBundle(node); 123 return transformSourceFile(node); 126 function transformBundle(node: Bundle) { 127 …return factory.createBundle(node.sourceFiles.map(transformSourceFile), mapDefined(node.prepends, p… 138 * @param node A SourceFile node. 140 function transformSourceFile(node: SourceFile) { [all …]
|
| D | es2017.ts | 12 …LeftHandSideExpression, map, MethodDeclaration, Node, NodeCheckFlags, NodeFactory, NodeFlags, Para… 66 /** A set of node IDs for generated super accessors (variable statements). */ 81 function transformSourceFile(node: SourceFile) { 82 if (node.isDeclarationFile) { 83 return node; 87 …setContextFlag(ContextFlags.HasLexicalThis, !isEffectiveStrictModeSourceFile(node, compilerOptions… 88 const visited = visitEachChild(node, visitor, context); 120 function visitDefault(node: Node): VisitResult<Node> { 121 return visitEachChild(node, visitor, context); 124 function visitor(node: Node): VisitResult<Node> { [all …]
|
| D | es2018.ts | 13 …LabeledStatement, LeftHandSideExpression, MethodDeclaration, ModifierFlags, Node, NodeCheckFlags, … 94 /** A set of node IDs for generated super accessors. */ 104 …* Sets the `HierarchyFacts` for this node prior to visiting this node's subtree, returning the fac… 115 * Restores the `HierarchyFacts` for this node's ancestor after visiting this node's 129 function transformSourceFile(node: SourceFile) { 130 if (node.isDeclarationFile) { 131 return node; 134 currentSourceFile = node; 135 const visited = visitSourceFile(node); 143 function visitor(node: Node): VisitResult<Node> { [all …]
|
| /third_party/typescript/src/services/ |
| D | callHierarchy.ts | 18 …NewExpression, Node, NodeFlags, ParameterDeclaration, Program, PropertyAccessExpression, Satisfies… 30 /** Indictates whether a node is named function or class expression. */ 31 function isNamedExpression(node: Node): node is NamedExpression { 32 return (isFunctionExpression(node) || isClassExpression(node)) && isNamedDeclaration(node); 42 /** Indicates whether a node is a function, arrow, or class expression assigned to a constant varia… 43 function isConstNamedExpression(node: Node): node is ConstNamedExpression { 44 return (isFunctionExpression(node) || isArrowFunction(node) || isClassExpression(node)) 45 && isVariableDeclaration(node.parent) 46 && node === node.parent.initializer 47 && isIdentifier(node.parent.name) [all …]
|
| D | breakpoints.ts | 10 …ModifierFlags, ModuleDeclaration, ModuleInstanceState, Node, NodeArray, NodeFlags, ObjectLiteralEl… 49 // Get the span in the node based on its syntax 52 function textSpan(startNode: Node, endNode?: Node) { 60 …function textSpanEndingAtNextToken(startNode: Node, previousTokenToFindNextEndToken: Node): TextSp… 64 …function spanInNodeIfStartsOnSameLine(node: Node | undefined, otherwiseOnNode?: Node): TextSpan | … 65 …if (node && lineOfPosition === sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile))… 66 return spanInNode(node); 71 …function spanInNodeArray<T extends Node>(nodeArray: NodeArray<T> | undefined, node: T, match: (val… 73 const index = nodeArray.indexOf(node); 82 return textSpan(node); [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/node/ |
| D | node_topological_manager.py | 18 from .node import Node 28 def on_update_target(node: Node, index: int, old_target: ScopedValue, new_target: ScopedValue): argument 30 Update node's dicts while updating target of node. 33 node (Node): An instance of Node whose target being updated. 34 arg_idx (int): An int indicates which target of node being updated. 38 … # Update old_target provider node's target_user dict & old arg's user nodes' arg_providers dict 39 old_provider = TopoManager._get_value_provider(node, old_target) 41 for user in node.get_target_users(index): 45 for user in node.get_target_users(index): 47 # Update new_target node's target_users dict & new user nodes' arg_providers dict [all …]
|
| /third_party/selinux/libsepol/cil/src/ |
| D | cil_tree.c | 44 struct cil_tree_node *cil_tree_get_next_path(struct cil_tree_node *node, char **info_kind, uint32_t… in cil_tree_get_next_path() argument 48 if (!node) { in cil_tree_get_next_path() 52 node = node->parent; in cil_tree_get_next_path() 54 while (node) { in cil_tree_get_next_path() 55 if (node->flavor == CIL_NODE && node->data == NULL) { in cil_tree_get_next_path() 56 if (node->cl_head && node->cl_head->data == CIL_KEY_SRC_INFO) { in cil_tree_get_next_path() 57 if (!node->cl_head->next || !node->cl_head->next->next || !node->cl_head->next->next->next) { in cil_tree_get_next_path() 61 *info_kind = node->cl_head->next->data; in cil_tree_get_next_path() 62 rc = cil_string_to_uint32(node->cl_head->next->next->data, hll_line, 10); in cil_tree_get_next_path() 66 *path = node->cl_head->next->next->next->data; in cil_tree_get_next_path() [all …]
|
| /third_party/typescript/src/compiler/transformers/module/ |
| D | system.ts | 18 …MergeDeclarationMarker, MetaProperty, ModifierFlags, moveEmitHelpers, Node, NodeFlags, ObjectLiter… 65 let enclosingBlockScopedContainer: Node; 73 * @param node The SourceFile node. 75 function transformSourceFile(node: SourceFile) { 76 …if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transform… 77 return node; 80 const id = getOriginalNodeId(node); 81 currentSourceFile = node; 82 enclosingBlockScopedContainer = node; 98 …moduleInfo = moduleInfoMap[id] = collectExternalModuleInfo(context, node, resolver, compilerOption… [all …]
|
| /third_party/parse5/packages/parse5/lib/tree-adapters/ |
| D | interface.ts | 5 Node = unknown, 16 node: Node; property 45 * Appends a child node to the given parent node. 47 * @param parentNode - Parent node. 48 * @param newNode - Child node. 53 * Creates a comment node. 60 * Creates a text node. 67 * Creates a document node. 72 * Creates a document fragment node. 77 * Creates an element node. [all …]
|
| /third_party/typescript/src/compiler/transformers/declarations/ |
| D | diagnostics.ts | 71 Node, 95 errorNode: Node; 127 export function canProduceDiagnostics(node: Node): node is DeclarationDiagnosticProducing { 128 return isVariableDeclaration(node) || 129 isPropertyDeclaration(node) || 130 isAnnotationPropertyDeclaration(node) || 131 isPropertySignature(node) || 132 isBindingElement(node) || 133 isSetAccessor(node) || 134 isGetAccessor(node) || [all …]
|
| /third_party/nghttp2/src/ |
| D | shrpx_router.cc | 44 RNode *find_next_node(const RNode *node, char c) { in find_next_node() argument 45 auto itr = std::lower_bound(std::begin(node->next), std::end(node->next), c, in find_next_node() 48 if (itr == std::end(node->next) || (*itr)->s[0] != c) { in find_next_node() 57 void add_next_node(RNode *node, std::unique_ptr<RNode> new_node) { in add_next_node() argument 58 auto itr = std::lower_bound(std::begin(node->next), std::end(node->next), in add_next_node() 62 node->next.insert(itr, std::move(new_node)); in add_next_node() 66 void Router::add_node(RNode *node, const char *pattern, size_t patlen, in add_node() argument 71 add_next_node(node, std::move(new_node)); in add_node() 82 auto node = &root_; in add_route() local 86 auto next_node = find_next_node(node, pattern[i]); in add_route() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
| D | AsNode.h | 28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; } 34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node) 36 return node ? node->getAsTyped() : nullptr; 43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node) 45 return node ? node->getAsSymbolNode() : nullptr; 52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node) 54 return node ? node->getAsConstantUnion() : nullptr; 61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node) 63 return node ? node->getAsFunctionPrototypeNode() : nullptr; 70 static ANGLE_INLINE TIntermPreprocessorDirective *exec(TIntermNode *node) [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
| D | IntermRebuild.h | 24 // - The node is visited before children are traversed. 25 // - The returned value is used to replace the visited node. The returned value may be the same 26 // as the original node. 30 // - If any new children are returned, the node is automatically rebuilt with the new children 32 // - Depending on the type of the node, null children may be discarded. 33 // - Ill-typed children cause rebuild errors. Ill-typed means the node to automatically rebuild 38 // - The node is visited after any children are traversed. 67 // Allow visit of returned node's children. 70 // Allow post visit of returned node. 73 // If (Children) bit, only visit if the returned node is the same as the original node. [all …]
|