/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/ |
D | DepthFirstAdapter.java | 6 import com.google.clearsilver.jsilver.syntax.node.*; 10 public void inStart(Start node) in inStart() argument 12 defaultIn(node); in inStart() 15 public void outStart(Start node) in outStart() argument 17 defaultOut(node); in outStart() 20 public void defaultIn(@SuppressWarnings("unused") Node node) in defaultIn() argument 25 public void defaultOut(@SuppressWarnings("unused") Node node) in defaultOut() argument 31 public void caseStart(Start node) in caseStart() argument 33 inStart(node); in caseStart() 34 node.getPCommand().apply(this); in caseStart() [all …]
|
D | ReversedDepthFirstAdapter.java | 6 import com.google.clearsilver.jsilver.syntax.node.*; 10 public void inStart(Start node) in inStart() argument 12 defaultIn(node); in inStart() 15 public void outStart(Start node) in outStart() argument 17 defaultOut(node); in outStart() 20 public void defaultIn(@SuppressWarnings("unused") Node node) in defaultIn() argument 25 public void defaultOut(@SuppressWarnings("unused") Node node) in defaultOut() argument 31 public void caseStart(Start node) in caseStart() argument 33 inStart(node); in caseStart() 34 node.getEOF().apply(this); in caseStart() [all …]
|
D | AnalysisAdapter.java | 6 import com.google.clearsilver.jsilver.syntax.node.*; 13 public Object getIn(Node node) in getIn() argument 20 return this.in.get(node); in getIn() 23 public void setIn(Node node, Object o) in setIn() argument 32 this.in.put(node, o); in setIn() 36 this.in.remove(node); in setIn() 40 public Object getOut(Node node) in getOut() argument 47 return this.out.get(node); in getOut() 50 public void setOut(Node node, Object o) in setOut() argument 59 this.out.put(node, o); in setOut() [all …]
|
D | Analysis.java | 5 import com.google.clearsilver.jsilver.syntax.node.*; 9 Object getIn(Node node); in getIn() argument 10 void setIn(Node node, Object o); in setIn() argument 11 Object getOut(Node node); in getOut() argument 12 void setOut(Node node, Object o); in setOut() argument 14 void caseStart(Start node); in caseStart() argument 15 void caseAMultipleCommand(AMultipleCommand node); in caseAMultipleCommand() argument 16 void caseACommentCommand(ACommentCommand node); in caseACommentCommand() argument 17 void caseADataCommand(ADataCommand node); in caseADataCommand() argument 18 void caseAVarCommand(AVarCommand node); in caseAVarCommand() argument [all …]
|
/external/v8/src/ast/ |
D | ast-expression-rewriter.cc | 17 #define REWRITE_THIS(node) \ argument 19 if (!RewriteExpression(node)) return; \ 54 VariableDeclaration* node) { in VisitVariableDeclaration() argument 61 FunctionDeclaration* node) { in VisitFunctionDeclaration() argument 63 AST_REWRITE_PROPERTY(FunctionLiteral, node, fun); in VisitFunctionDeclaration() 67 void AstExpressionRewriter::VisitBlock(Block* node) { in VisitBlock() argument 68 VisitStatements(node->statements()); in VisitBlock() 73 ExpressionStatement* node) { in VisitExpressionStatement() argument 74 AST_REWRITE_PROPERTY(Expression, node, expression); in VisitExpressionStatement() 78 void AstExpressionRewriter::VisitEmptyStatement(EmptyStatement* node) { in VisitEmptyStatement() argument [all …]
|
D | ast-numbering.cc | 32 bool Renumber(FunctionLiteral* node); 36 #define DEFINE_VISIT(type) void Visit##type(type* node); 40 void VisitVariableProxy(VariableProxy* node, TypeofMode typeof_mode); 41 void VisitVariableProxyReference(VariableProxy* node); 42 void VisitPropertyReference(Property* node); 45 void VisitStatementsAndDeclarations(Block* node); 71 void ReserveFeedbackSlots(Node* node) { in ReserveFeedbackSlots() argument 72 node->AssignFeedbackSlots(properties_.get_spec(), language_mode_, in ReserveFeedbackSlots() 110 void AstNumberingVisitor::VisitVariableDeclaration(VariableDeclaration* node) { in VisitVariableDeclaration() argument 112 VisitVariableProxy(node->proxy()); in VisitVariableDeclaration() [all …]
|
D | prettyprinter.cc | 37 void CallPrinter::Find(AstNode* node, bool print) { in Find() argument 42 Visit(node); in Find() 47 Visit(node); in Find() 63 void CallPrinter::VisitBlock(Block* node) { in VisitBlock() argument 64 FindStatements(node->statements()); in VisitBlock() 68 void CallPrinter::VisitVariableDeclaration(VariableDeclaration* node) {} in VisitVariableDeclaration() argument 71 void CallPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {} in VisitFunctionDeclaration() argument 74 void CallPrinter::VisitExpressionStatement(ExpressionStatement* node) { in VisitExpressionStatement() argument 75 Find(node->expression()); in VisitExpressionStatement() 79 void CallPrinter::VisitEmptyStatement(EmptyStatement* node) {} in VisitEmptyStatement() argument [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | _ast_util.py | 87 def to_source(node, indent_with=' ' * 4): argument 103 generator.visit(node) 107 def dump(node): argument 112 def _format(node): argument 113 if isinstance(node, AST): 114 return '%s(%s)' % (node.__class__.__name__, 116 for a, b in iter_fields(node))) 117 elif isinstance(node, list): 118 return '[%s]' % ', '.join(_format(x) for x in node) 119 return repr(node) [all …]
|
/external/v8/src/compiler/ |
D | instruction-selector.cc | 237 bool InstructionSelector::CanCover(Node* user, Node* node) const { in CanCover() 239 if (schedule()->block(node) != schedule()->block(user)) { in CanCover() 243 if (node->op()->HasProperty(Operator::kPure)) { in CanCover() 244 return node->OwnedBy(user); in CanCover() 247 if (GetEffectLevel(node) != GetEffectLevel(user)) { in CanCover() 251 for (Edge const edge : node->use_edges()) { in CanCover() 260 Node* node) const { in IsOnlyUserOfNodeInSameBlock() 262 BasicBlock* bb_node = schedule()->block(node); in IsOnlyUserOfNodeInSameBlock() 264 for (Edge const edge : node->use_edges()) { in IsOnlyUserOfNodeInSameBlock() 311 void InstructionSelector::SetRename(const Node* node, const Node* rename) { in SetRename() argument [all …]
|
D | js-intrinsic-lowering.cc | 27 Reduction JSIntrinsicLowering::Reduce(Node* node) { in Reduce() argument 28 if (node->opcode() != IrOpcode::kJSCallRuntime) return NoChange(); in Reduce() 30 Runtime::FunctionForId(CallRuntimeParametersOf(node->op()).id()); in Reduce() 34 return ReduceCreateIterResultObject(node); in Reduce() 36 return ReduceDebugIsActive(node); in Reduce() 38 return ReduceDeoptimizeNow(node); in Reduce() 40 return ReduceGeneratorClose(node); in Reduce() 42 return ReduceGeneratorGetInputOrDebugPos(node); in Reduce() 44 return ReduceGeneratorGetResumeMode(node); in Reduce() 46 return ReduceGeneratorGetContext(node); in Reduce() [all …]
|
D | simplified-lowering.cc | 162 void ReplaceEffectControlUses(Node* node, Node* effect, Node* control) { in ReplaceEffectControlUses() argument 163 for (Edge edge : node->use_edges()) { in ReplaceEffectControlUses() 175 void ChangeToPureOp(Node* node, const Operator* new_op) { in ChangeToPureOp() argument 177 if (node->op()->EffectInputCount() > 0) { in ChangeToPureOp() 178 DCHECK_LT(0, node->op()->ControlInputCount()); in ChangeToPureOp() 180 Node* control = NodeProperties::GetControlInput(node); in ChangeToPureOp() 181 Node* effect = NodeProperties::GetEffectInput(node); in ChangeToPureOp() 182 ReplaceEffectControlUses(node, effect, control); in ChangeToPureOp() 183 node->TrimInputCount(new_op->ValueInputCount()); in ChangeToPureOp() 185 DCHECK_EQ(0, node->op()->ControlInputCount()); in ChangeToPureOp() [all …]
|
D | escape-analysis-reducer.cc | 34 Reduction EscapeAnalysisReducer::ReduceNode(Node* node) { in ReduceNode() argument 35 if (node->id() < static_cast<NodeId>(fully_reduced_.length()) && in ReduceNode() 36 fully_reduced_.Contains(node->id())) { in ReduceNode() 40 switch (node->opcode()) { in ReduceNode() 43 return ReduceLoad(node); in ReduceNode() 46 return ReduceStore(node); in ReduceNode() 48 return ReduceAllocate(node); in ReduceNode() 50 return ReduceFinishRegion(node); in ReduceNode() 52 return ReduceReferenceEqual(node); in ReduceNode() 54 return ReduceObjectIsSmi(node); in ReduceNode() [all …]
|
D | js-generic-lowering.cc | 25 CallDescriptor::Flags FrameStateFlagForCall(Node* node) { in FrameStateFlagForCall() argument 26 return OperatorProperties::HasFrameStateInput(node->op()) in FrameStateFlagForCall() 38 Reduction JSGenericLowering::Reduce(Node* node) { in Reduce() argument 39 switch (node->opcode()) { in Reduce() 42 Lower##x(node); \ in Reduce() 50 return Changed(node); in Reduce() 54 void JSGenericLowering::LowerJS##Name(Node* node) { \ 55 CallDescriptor::Flags flags = FrameStateFlagForCall(node); \ 57 ReplaceWithStubCall(node, callable, flags); \ 85 void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable, in REPLACE_STUB_CALL() [all …]
|
D | machine-operator-reducer.cc | 63 Node* const node = graph()->NewNode(machine()->Word32And(), lhs, rhs); in Word32And() local 64 Reduction const reduction = ReduceWord32And(node); in Word32And() 65 return reduction.Changed() ? reduction.replacement() : node; in Word32And() 87 Node* const node = graph()->NewNode(machine()->Int32Add(), lhs, rhs); in Int32Add() local 88 Reduction const reduction = ReduceInt32Add(node); in Int32Add() 89 return reduction.Changed() ? reduction.replacement() : node; in Int32Add() 94 Node* const node = graph()->NewNode(machine()->Int32Sub(), lhs, rhs); in Int32Sub() local 95 Reduction const reduction = ReduceInt32Sub(node); in Int32Sub() 96 return reduction.Changed() ? reduction.replacement() : node; in Int32Sub() 146 Reduction MachineOperatorReducer::Reduce(Node* node) { in Reduce() argument [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMDefaultBaseIterators.java | 302 public DTMAxisIterator setStartNode(int node) in setStartNode() argument 305 if (node == DTMDefaultBase.ROOTNODE) in setStartNode() 306 node = getDocument(); in setStartNode() 309 _startNode = node; in setStartNode() 310 _currentNode = (node == DTM.NULL) ? DTM.NULL in setStartNode() 311 : _firstch(makeNodeIdentity(node)); in setStartNode() 328 int node = _currentNode; in next() local 329 _currentNode = _nextsib(node); in next() 330 return returnNode(makeNodeHandle(node)); in next() 356 public DTMAxisIterator setStartNode(int node) in setStartNode() argument [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | extent.h | 87 arena_t *extent_node_arena_get(const extent_node_t *node); 88 void *extent_node_addr_get(const extent_node_t *node); 89 size_t extent_node_size_get(const extent_node_t *node); 90 size_t extent_node_sn_get(const extent_node_t *node); 91 bool extent_node_zeroed_get(const extent_node_t *node); 92 bool extent_node_committed_get(const extent_node_t *node); 93 bool extent_node_achunk_get(const extent_node_t *node); 94 prof_tctx_t *extent_node_prof_tctx_get(const extent_node_t *node); 95 void extent_node_arena_set(extent_node_t *node, arena_t *arena); 96 void extent_node_addr_set(extent_node_t *node, void *addr); [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | rbtree.c | 25 static void __rb_rotate_left(struct rb_node *node, struct rb_root *root) in __rb_rotate_left() argument 27 struct rb_node *right = node->rb_right; in __rb_rotate_left() 28 struct rb_node *parent = ext2fs_rb_parent(node); in __rb_rotate_left() 30 if ((node->rb_right = right->rb_left)) in __rb_rotate_left() 31 ext2fs_rb_set_parent(right->rb_left, node); in __rb_rotate_left() 32 right->rb_left = node; in __rb_rotate_left() 38 if (node == parent->rb_left) in __rb_rotate_left() 45 ext2fs_rb_set_parent(node, right); in __rb_rotate_left() 48 static void __rb_rotate_right(struct rb_node *node, struct rb_root *root) in __rb_rotate_right() argument 50 struct rb_node *left = node->rb_left; in __rb_rotate_right() [all …]
|
/external/v8/src/compiler/ppc/ |
D | instruction-selector-ppc.cc | 32 InstructionOperand UseOperand(Node* node, ImmediateMode mode) { in UseOperand() argument 33 if (CanBeImmediate(node, mode)) { in UseOperand() 34 return UseImmediate(node); in UseOperand() 36 return UseRegister(node); in UseOperand() 39 bool CanBeImmediate(Node* node, ImmediateMode mode) { in CanBeImmediate() argument 41 if (node->opcode() == IrOpcode::kInt32Constant) in CanBeImmediate() 42 value = OpParameter<int32_t>(node); in CanBeImmediate() 43 else if (node->opcode() == IrOpcode::kInt64Constant) in CanBeImmediate() 44 value = OpParameter<int64_t>(node); in CanBeImmediate() 75 Node* node) { in VisitRR() argument [all …]
|
/external/v8/src/compiler/mips/ |
D | instruction-selector-mips.cc | 27 InstructionOperand UseOperand(Node* node, InstructionCode opcode) { in UseOperand() argument 28 if (CanBeImmediate(node, opcode)) { in UseOperand() 29 return UseImmediate(node); in UseOperand() 31 return UseRegister(node); in UseOperand() 36 InstructionOperand UseRegisterOrImmediateZero(Node* node) { in UseRegisterOrImmediateZero() argument 37 if ((IsIntegerConstant(node) && (GetIntegerConstantValue(node) == 0)) || in UseRegisterOrImmediateZero() 38 (IsFloatConstant(node) && in UseRegisterOrImmediateZero() 39 (bit_cast<int64_t>(GetFloatConstantValue(node)) == V8_INT64_C(0)))) { in UseRegisterOrImmediateZero() 40 return UseImmediate(node); in UseRegisterOrImmediateZero() 42 return UseRegister(node); in UseRegisterOrImmediateZero() [all …]
|
/external/python/cpython2/Lib/ |
D | ast.py | 52 def _convert(node): argument 53 if isinstance(node, Str): 54 return node.s 55 elif isinstance(node, Num): 56 return node.n 57 elif isinstance(node, Tuple): 58 return tuple(map(_convert, node.elts)) 59 elif isinstance(node, List): 60 return list(map(_convert, node.elts)) 61 elif isinstance(node, Dict): [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | ExpressionEvaluator.java | 23 import com.google.clearsilver.jsilver.syntax.node.AAddExpression; 24 import com.google.clearsilver.jsilver.syntax.node.AAndExpression; 25 import com.google.clearsilver.jsilver.syntax.node.ADecimalExpression; 26 import com.google.clearsilver.jsilver.syntax.node.ADescendVariable; 27 import com.google.clearsilver.jsilver.syntax.node.ADivideExpression; 28 import com.google.clearsilver.jsilver.syntax.node.AEqExpression; 29 import com.google.clearsilver.jsilver.syntax.node.AExistsExpression; 30 import com.google.clearsilver.jsilver.syntax.node.AFunctionExpression; 31 import com.google.clearsilver.jsilver.syntax.node.AGtExpression; 32 import com.google.clearsilver.jsilver.syntax.node.AGteExpression; [all …]
|
/external/tinyxml/ |
D | tinyxml.cpp | 157 TiXmlNode* node = firstChild; in ~TiXmlNode() local 160 while ( node ) in ~TiXmlNode() 162 temp = node; in ~TiXmlNode() 163 node = node->next; in ~TiXmlNode() 178 TiXmlNode* node = firstChild; in Clear() local 181 while ( node ) in Clear() 183 temp = node; in Clear() 184 node = node->next; in Clear() 193 TiXmlNode* TiXmlNode::LinkEndChild( TiXmlNode* node ) in LinkEndChild() argument 195 node->parent = this; in LinkEndChild() [all …]
|
/external/blktrace/ |
D | rbtree.c | 25 static void __rb_rotate_left(struct rb_node *node, struct rb_root *root) in __rb_rotate_left() argument 27 struct rb_node *right = node->rb_right; in __rb_rotate_left() 28 struct rb_node *parent = rb_parent(node); in __rb_rotate_left() 30 if ((node->rb_right = right->rb_left)) in __rb_rotate_left() 31 rb_set_parent(right->rb_left, node); in __rb_rotate_left() 32 right->rb_left = node; in __rb_rotate_left() 38 if (node == parent->rb_left) in __rb_rotate_left() 45 rb_set_parent(node, right); in __rb_rotate_left() 48 static void __rb_rotate_right(struct rb_node *node, struct rb_root *root) in __rb_rotate_right() argument 50 struct rb_node *left = node->rb_left; in __rb_rotate_right() [all …]
|
/external/v8/src/compiler/mips64/ |
D | instruction-selector-mips64.cc | 27 InstructionOperand UseOperand(Node* node, InstructionCode opcode) { in UseOperand() argument 28 if (CanBeImmediate(node, opcode)) { in UseOperand() 29 return UseImmediate(node); in UseOperand() 31 return UseRegister(node); in UseOperand() 36 InstructionOperand UseRegisterOrImmediateZero(Node* node) { in UseRegisterOrImmediateZero() argument 37 if ((IsIntegerConstant(node) && (GetIntegerConstantValue(node) == 0)) || in UseRegisterOrImmediateZero() 38 (IsFloatConstant(node) && in UseRegisterOrImmediateZero() 39 (bit_cast<int64_t>(GetFloatConstantValue(node)) == V8_INT64_C(0)))) { in UseRegisterOrImmediateZero() 40 return UseImmediate(node); in UseRegisterOrImmediateZero() 42 return UseRegister(node); in UseRegisterOrImmediateZero() [all …]
|
/external/dtc/ |
D | livetree.c | 100 struct node *build_node(struct property *proplist, struct node *children) in build_node() 102 struct node *new = xmalloc(sizeof(*new)); in build_node() 103 struct node *child; in build_node() 117 struct node *build_node_delete(void) in build_node_delete() 119 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() 128 struct node *name_node(struct node *node, char *name) in name_node() argument 130 assert(node->name == NULL); in name_node() 132 node->name = name; in name_node() 134 return node; in name_node() 137 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() [all …]
|