/external/tensorflow/tensorflow/compiler/jit/ |
D | build_xla_ops_pass.cc | 48 void MoveOutgoingEdges(Graph* g, Node* old_node, Node* new_node) { in MoveOutgoingEdges() argument 49 std::vector<const Edge*> out_edges(old_node->out_edges().begin(), in MoveOutgoingEdges() 50 old_node->out_edges().end()); in MoveOutgoingEdges() 77 void MergeOutgoingDataEdges(const Scope& s, Node* old_node, Node* new_node) { in MergeOutgoingDataEdges() argument 82 std::vector<Output> merged_outputs(old_node->num_outputs(), Output(nullptr)); in MergeOutgoingDataEdges() 85 absl::c_copy_if(old_node->out_edges(), std::back_inserter(data_edges), in MergeOutgoingDataEdges() 93 {Output(old_node, oidx), Output(new_node, oidx)}); in MergeOutgoingDataEdges() 108 void MergeOutgoingControlEdges(const Scope& s, Node* old_node, Node* new_node) { in MergeOutgoingControlEdges() argument 114 absl::c_copy_if(old_node->out_edges(), std::back_inserter(ctrl_edges), in MergeOutgoingControlEdges() 136 Output old_ctrl_as_data = ControlToData(s, old_node); in MergeOutgoingControlEdges()
|
/external/v8/src/ |
D | locked-queue-inl.h | 33 Node* old_node = nullptr; 36 old_node = cur_node; 38 delete old_node;
|
/external/python/cpython2/Lib/ |
D | ast.py | 113 def copy_location(new_node, old_node): argument 119 if attr in old_node._attributes and attr in new_node._attributes \ 120 and hasattr(old_node, attr): 121 setattr(new_node, attr, getattr(old_node, attr))
|
/external/dtc/ |
D | livetree.c | 137 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument 143 old_node->deleted = 0; in merge_nodes() 147 add_label(&old_node->labels, l->label); in merge_nodes() 158 delete_property_by_name(old_node, new_prop->name); in merge_nodes() 164 for_each_property_withdel(old_node, old_prop) { in merge_nodes() 180 add_property(old_node, new_prop); in merge_nodes() 193 delete_node_by_name(old_node, new_child->name); in merge_nodes() 199 for_each_child_withdel(old_node, old_child) { in merge_nodes() 209 add_child(old_node, new_child); in merge_nodes() 216 return old_node; in merge_nodes()
|
D | dtc.h | 205 struct node *merge_nodes(struct node *old_node, struct node *new_node); 206 void add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
|
/external/u-boot/scripts/dtc/ |
D | livetree.c | 137 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument 143 old_node->deleted = 0; in merge_nodes() 147 add_label(&old_node->labels, l->label); in merge_nodes() 158 delete_property_by_name(old_node, new_prop->name); in merge_nodes() 164 for_each_property_withdel(old_node, old_prop) { in merge_nodes() 180 add_property(old_node, new_prop); in merge_nodes() 193 delete_node_by_name(old_node, new_child->name); in merge_nodes() 199 for_each_child_withdel(old_node, old_child) { in merge_nodes() 209 add_child(old_node, new_child); in merge_nodes() 216 return old_node; in merge_nodes()
|
D | dtc.h | 206 struct node *merge_nodes(struct node *old_node, struct node *new_node); 207 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
|
/external/python/cpython3/Lib/ |
D | ast.py | 124 def copy_location(new_node, old_node): argument 130 if attr in old_node._attributes and attr in new_node._attributes \ 131 and hasattr(old_node, attr): 132 setattr(new_node, attr, getattr(old_node, attr))
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_temporaries.c | 48 foreach_two_lists(new_node, new_vars, old_node, old_vars) { in emit_copies() 50 nir_variable *temp = exec_node_data(nir_variable, old_node, node); in emit_copies()
|
/external/tensorflow/tensorflow/core/graph/ |
D | mkl_layout_pass.cc | 1416 NodeBuilder* nb, Node* old_node, 1706 NodeBuilder* nb, Node* old_node, in SetUpContiguousInputs() argument 1720 if (old_node->type_string() == csinfo_.conv2d_grad_input) { in SetUpContiguousInputs() 1725 TF_CHECK_OK(old_node->input_node(kConv2DBackpropInputFilterInputSlotIdx, in SetUpContiguousInputs() 1758 int old_node_input_slots = old_node->op_def().input_arg_size(); in SetUpContiguousInputs() 1770 const OpDef::ArgDef& arg = old_node->op_def().input_arg(on_slot_idx); in SetUpContiguousInputs() 1773 int N = GetTensorListLength(arg, old_node); in SetUpContiguousInputs() 1809 const OpDef::ArgDef& arg = old_node->op_def().input_arg(on_slot_idx); in SetUpContiguousInputs() 1812 int N = GetTensorListLength(arg, old_node); in SetUpContiguousInputs() 1813 GetNodesProducingMklTensorList(g, old_node, old_node_inputs, &iidx, N, in SetUpContiguousInputs() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.cc | 452 for (const NodeDef& old_node : old_nodes) { in ReplaceMatchingOpTypes() local 454 *added_node = old_node; in ReplaceMatchingOpTypes() 545 for (const NodeDef& old_node : old_nodes) { in CopyOriginalMatch() local 546 new_nodes->push_back(old_node); in CopyOriginalMatch()
|
/external/selinux/libsemanage/src/ |
D | pywrap-test.py | 1140 (status, old_node) = semanage.semanage_node_query_local(sh, key) 1173 status = semanage.semanage_node_modify_local(sh, key, old_node) 1188 semanage.semanage_node_free(old_node)
|
/external/python/cpython2/Doc/library/ |
D | ast.rst | 169 .. function:: copy_location(new_node, old_node) 171 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 173 .. function:: copy_location(new_node, old_node) 175 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
|