/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/tensorflow/tensorflow/core/grappler/ |
D | op_types.cc | 29 bool IsAdd(const NodeDef& node) { in IsAdd() argument 30 if (node.op() == "AddV2" || node.op() == "Add") { in IsAdd() 31 DataType type = node.attr().at("T").type(); in IsAdd() 37 bool IsAddN(const NodeDef& node) { return node.op() == "AddN"; } in IsAddN() argument 39 bool IsAll(const NodeDef& node) { return node.op() == "All"; } in IsAll() argument 41 bool IsAngle(const NodeDef& node) { return node.op() == "Angle"; } in IsAngle() argument 43 bool IsAny(const NodeDef& node) { return node.op() == "Any"; } in IsAny() argument 45 bool IsAnyDiv(const NodeDef& node) { in IsAnyDiv() argument 46 return node.op() == "RealDiv" || node.op() == "Div" || in IsAnyDiv() 47 node.op() == "FloorDiv" || node.op() == "TruncateDiv"; in IsAnyDiv() [all …]
|
D | op_types.h | 25 bool IsAdd(const NodeDef& node); 26 bool IsAddN(const NodeDef& node); 27 bool IsAll(const NodeDef& node); 28 bool IsAngle(const NodeDef& node); 29 bool IsAny(const NodeDef& node); 30 bool IsAnyDiv(const NodeDef& node); 31 bool IsAnyMax(const NodeDef& node); 32 bool IsAnyMaxPool(const NodeDef& node); 33 bool IsAnyMin(const NodeDef& node); 34 bool IsApproximateEqual(const NodeDef& node); [all …]
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | return_statements.py | 68 def visit_Return(self, node): argument 70 return node 72 def _postprocess_statement(self, node): argument 75 if anno.getanno(node, STMT_DEFINITELY_RETURNS, default=False): 82 if (isinstance(node, gast.If) 83 and anno.getanno(node, BODY_DEFINITELY_RETURNS, default=False)): 84 return node, node.orelse 85 elif (isinstance(node, gast.If) 86 and anno.getanno(node, ORELSE_DEFINITELY_RETURNS, default=False)): 87 return node, node.body [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/ |
D | anf.py | 110 def _is_node_trivial(self, node): argument 111 if node is None: 113 elif isinstance(node, self._trivial_nodes): 115 elif isinstance(node, gast.keyword): 116 return self._is_node_trivial(node.value) 117 elif isinstance(node, (gast.Starred, gast.withitem, gast.slice)): 118 return self._are_children_trivial(node) 121 def _are_children_trivial(self, node): argument 122 for field in node._fields: 124 if not self._is_node_trivial(getattr(node, field)): [all …]
|
/external/yapf/yapf/yapflib/ |
D | split_penalty.py | 67 def Visit_import_as_names(self, node): # pyline: disable=invalid-name argument 69 self.DefaultNodeVisit(node) 71 for child in node.children: 77 def Visit_classdef(self, node): # pylint: disable=invalid-name argument 81 _SetUnbreakable(node.children[1]) 82 if len(node.children) > 4: 84 _SetUnbreakable(node.children[2]) 86 _SetUnbreakable(node.children[-2]) 87 self.DefaultNodeVisit(node) 89 def Visit_funcdef(self, node): # pylint: disable=invalid-name argument [all …]
|
/external/v8/src/ast/ |
D | prettyprinter.cc | 55 void CallPrinter::Find(AstNode* node, bool print) { in Find() argument 59 Visit(node); in Find() 64 Visit(node); in Find() 80 void CallPrinter::VisitBlock(Block* node) { in VisitBlock() argument 81 FindStatements(node->statements()); in VisitBlock() 85 void CallPrinter::VisitVariableDeclaration(VariableDeclaration* node) {} in VisitVariableDeclaration() argument 88 void CallPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {} in VisitFunctionDeclaration() argument 91 void CallPrinter::VisitExpressionStatement(ExpressionStatement* node) { in VisitExpressionStatement() argument 92 Find(node->expression()); in VisitExpressionStatement() 96 void CallPrinter::VisitEmptyStatement(EmptyStatement* node) {} in VisitEmptyStatement() argument [all …]
|
/external/v8/src/compiler/ |
D | instruction-selector.cc | 263 bool InstructionSelector::CanCover(Node* user, Node* node) const { in CanCover() 265 if (schedule()->block(node) != schedule()->block(user)) { in CanCover() 269 if (node->op()->HasProperty(Operator::kPure)) { in CanCover() 270 return node->OwnedBy(user); in CanCover() 273 if (GetEffectLevel(node) != GetEffectLevel(user)) { in CanCover() 277 for (Edge const edge : node->use_edges()) { in CanCover() 286 Node* node) const { in IsOnlyUserOfNodeInSameBlock() 288 BasicBlock* bb_node = schedule()->block(node); in IsOnlyUserOfNodeInSameBlock() 290 for (Edge const edge : node->use_edges()) { in IsOnlyUserOfNodeInSameBlock() 338 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 ReduceCreateJSGeneratorObject(node); in Reduce() 44 return ReduceGeneratorGetInputOrDebugPos(node); in Reduce() 46 return ReduceAsyncGeneratorReject(node); in Reduce() [all …]
|
D | simplified-lowering.cc | 161 void ReplaceEffectControlUses(Node* node, Node* effect, Node* control) { in ReplaceEffectControlUses() argument 162 for (Edge edge : node->use_edges()) { in ReplaceEffectControlUses() 174 void ChangeToPureOp(Node* node, const Operator* new_op) { in ChangeToPureOp() argument 176 if (node->op()->EffectInputCount() > 0) { in ChangeToPureOp() 177 DCHECK_LT(0, node->op()->ControlInputCount()); in ChangeToPureOp() 179 Node* control = NodeProperties::GetControlInput(node); in ChangeToPureOp() 180 Node* effect = NodeProperties::GetEffectInput(node); in ChangeToPureOp() 181 ReplaceEffectControlUses(node, effect, control); in ChangeToPureOp() 182 node->TrimInputCount(new_op->ValueInputCount()); in ChangeToPureOp() 184 DCHECK_EQ(0, node->op()->ControlInputCount()); in ChangeToPureOp() [all …]
|
D | effect-control-linearizer.h | 44 void ProcessNode(Node* node, Node** frame_state, Node** effect, 47 bool TryWireInStateEffect(Node* node, Node* frame_state, Node** effect, 49 Node* LowerChangeBitToTagged(Node* node); 50 Node* LowerChangeInt31ToTaggedSigned(Node* node); 51 Node* LowerChangeInt32ToTagged(Node* node); 52 Node* LowerChangeUint32ToTagged(Node* node); 53 Node* LowerChangeFloat64ToTagged(Node* node); 54 Node* LowerChangeFloat64ToTaggedPointer(Node* node); 55 Node* LowerChangeTaggedSignedToInt32(Node* node); 56 Node* LowerChangeTaggedToBit(Node* node); [all …]
|
D | js-generic-lowering.cc | 26 CallDescriptor::Flags FrameStateFlagForCall(Node* node) { in FrameStateFlagForCall() argument 27 return OperatorProperties::HasFrameStateInput(node->op()) in FrameStateFlagForCall() 39 Reduction JSGenericLowering::Reduce(Node* node) { in Reduce() argument 40 switch (node->opcode()) { in Reduce() 43 Lower##x(node); \ in Reduce() 51 return Changed(node); in Reduce() 55 void JSGenericLowering::LowerJS##Name(Node* node) { \ 56 CallDescriptor::Flags flags = FrameStateFlagForCall(node); \ 58 ReplaceWithStubCall(node, callable, flags); \ 98 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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
D | DefaultVisitorAdapter.java | 17 public ResolvedType visit(CompilationUnit node, Boolean aBoolean) { in visit() argument 18 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit() 22 public ResolvedType visit(PackageDeclaration node, Boolean aBoolean) { in visit() argument 23 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit() 27 public ResolvedType visit(TypeParameter node, Boolean aBoolean) { in visit() argument 28 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit() 32 public ResolvedType visit(LineComment node, Boolean aBoolean) { in visit() argument 33 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit() 37 public ResolvedType visit(BlockComment node, Boolean aBoolean) { in visit() argument 38 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit() [all …]
|
/external/python/cpython3/Lib/ |
D | ast.py | 49 def _convert_num(node): argument 50 if isinstance(node, Constant): 51 if isinstance(node.value, (int, float, complex)): 52 return node.value 53 elif isinstance(node, Num): 54 return node.n 55 raise ValueError('malformed node or string: ' + repr(node)) 56 def _convert_signed_num(node): argument 57 if isinstance(node, UnaryOp) and isinstance(node.op, (UAdd, USub)): 58 operand = _convert_num(node.operand) [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->op()); in CanBeImmediate() 43 else if (node->opcode() == IrOpcode::kInt64Constant) in CanBeImmediate() 44 value = OpParameter<int64_t>(node->op()); in CanBeImmediate() 72 InstructionOperand UseRegisterOrStackPointer(Node* node) { in UseRegisterOrStackPointer() argument [all …]
|
/external/u-boot/drivers/core/ |
D | ofnode.c | 18 int ofnode_read_u32(ofnode node, const char *propname, u32 *outp) in ofnode_read_u32() argument 20 assert(ofnode_valid(node)); in ofnode_read_u32() 23 if (ofnode_is_np(node)) { in ofnode_read_u32() 24 return of_read_u32(ofnode_to_np(node), propname, outp); in ofnode_read_u32() 29 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), in ofnode_read_u32() 42 int ofnode_read_u32_default(ofnode node, const char *propname, u32 def) in ofnode_read_u32_default() argument 44 assert(ofnode_valid(node)); in ofnode_read_u32_default() 45 ofnode_read_u32(node, propname, &def); in ofnode_read_u32_default() 50 int ofnode_read_s32_default(ofnode node, const char *propname, s32 def) in ofnode_read_s32_default() argument 52 assert(ofnode_valid(node)); in ofnode_read_s32_default() [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/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/tensorflow/tensorflow/python/profiler/internal/ |
D | flops_registry.py | 46 def _zero_flops(graph, node): argument 48 del graph, node # graph and node are unused 64 def _unary_op_flops(graph, node, ops_per_element=1): argument 66 in_shape = graph_util.tensor_shape_from_node_def_name(graph, node.input[0]) 72 def _reciprocal_flops(graph, node): argument 74 return _unary_op_flops(graph, node) 78 def _square_flops(graph, node): argument 80 return _unary_op_flops(graph, node) 84 def _rsqrt_flops(graph, node): argument 87 return _unary_op_flops(graph, node, ops_per_element=2) [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/oj-libjdwp/src/share/back/ |
D | commonRef.c | 100 getLocalRef(JNIEnv *env, const RefNode* node) { in getLocalRef() argument 101 if (node->isStrong) { in getLocalRef() 102 return JNI_FUNC_PTR(env,NewLocalRef)(env, node->ref); in getLocalRef() 106 jlong tag = ptr_to_jlong(node); in getLocalRef() 123 RefNode* node = (RefNode*)jlong_to_ptr(tag); in commonRef_handleFreedObject() local 128 jint slot = hashBucket(node->seqNum); in commonRef_handleFreedObject() 129 if (node->next != NULL || in commonRef_handleFreedObject() 130 node->prev != NULL || in commonRef_handleFreedObject() 131 gdata->objectsByID[slot] == node) { in commonRef_handleFreedObject() 133 if (node->prev == NULL) { in commonRef_handleFreedObject() [all …]
|