Home
last modified time | relevance | path

Searched refs:old_node (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_llist.c47 struct list_node* old_node) { in ares__insert_in_list() argument
48 new_node->next = old_node; in ares__insert_in_list()
49 new_node->prev = old_node->prev; in ares__insert_in_list()
50 old_node->prev->next = new_node; in ares__insert_in_list()
51 old_node->prev = new_node; in ares__insert_in_list()
Dares_llist.h35 struct list_node* old_node);
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_ops_pass.cc65 void MoveOutgoingEdges(Graph* g, Node* old_node, Node* new_node) { in MoveOutgoingEdges() argument
66 std::vector<const Edge*> out_edges(old_node->out_edges().begin(), in MoveOutgoingEdges()
67 old_node->out_edges().end()); in MoveOutgoingEdges()
116 void MergeOutgoingDataEdges(const Scope& s, Node* old_node, Node* new_node, in MergeOutgoingDataEdges() argument
123 std::vector<Output> merged_outputs(old_node->num_outputs(), Output(nullptr)); in MergeOutgoingDataEdges()
126 absl::c_copy_if(old_node->out_edges(), std::back_inserter(data_edges), in MergeOutgoingDataEdges()
142 old_node->name(), " is ")) in MergeOutgoingDataEdges()
161 Output(old_node, oidx), new_output); in MergeOutgoingDataEdges()
176 void MergeOutgoingControlEdges(const Scope& s, Node* old_node, Node* new_node) { in MergeOutgoingControlEdges() argument
182 absl::c_copy_if(old_node->out_edges(), std::back_inserter(ctrl_edges), in MergeOutgoingControlEdges()
[all …]
/external/dtc/
Dlivetree.c142 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument
148 old_node->deleted = 0; in merge_nodes()
152 add_label(&old_node->labels, l->label); in merge_nodes()
163 delete_property_by_name(old_node, new_prop->name); in merge_nodes()
169 for_each_property_withdel(old_node, old_prop) { in merge_nodes()
187 add_property(old_node, new_prop); in merge_nodes()
200 delete_node_by_name(old_node, new_child->name); in merge_nodes()
206 for_each_child_withdel(old_node, old_child) { in merge_nodes()
216 add_child(old_node, new_child); in merge_nodes()
219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes()
[all …]
Ddtc.h240 struct node *merge_nodes(struct node *old_node, struct node *new_node);
241 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
/external/python/cpython2/Lib/
Dast.py113 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/tensorflow/tensorflow/core/common_runtime/
Dmkl_layout_pass.cc1948 NodeBuilder* nb, const Node* old_node,
2216 NodeBuilder* nb, const Node* old_node, in SetUpContiguousInputs() argument
2230 if (old_node->type_string() == csinfo_.conv2d_grad_input) { in SetUpContiguousInputs()
2235 TF_CHECK_OK(old_node->input_node(kConv2DBackpropInputFilterInputSlotIdx, in SetUpContiguousInputs()
2268 int old_node_input_slots = old_node->op_def().input_arg_size(); in SetUpContiguousInputs()
2276 const OpDef::ArgDef& arg = old_node->op_def().input_arg(on_slot_idx); in SetUpContiguousInputs()
2279 int tensor_list_length = GetTensorListLength(arg, old_node); in SetUpContiguousInputs()
2316 const OpDef::ArgDef& arg = old_node->op_def().input_arg(on_slot_idx); in SetUpContiguousInputs()
2319 int tensor_list_length = GetTensorListLength(arg, old_node); in SetUpContiguousInputs()
2321 GetNodesProducingMklTensorList(g, old_node, old_node_inputs, &iidx, in SetUpContiguousInputs()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.cc454 for (const NodeDef& old_node : old_nodes) { in ReplaceMatchingOpTypes() local
456 *added_node = old_node; in ReplaceMatchingOpTypes()
547 for (const NodeDef& old_node : old_nodes) { in CopyOriginalMatch() local
548 new_nodes->push_back(old_node); in CopyOriginalMatch()
/external/selinux/libsemanage/src/
Dpywrap-test.py1140 (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/
Dast.rst169 .. function:: copy_location(new_node, old_node)
171 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
/external/python/cpython3/Lib/
Dast.py175 def copy_location(new_node, old_node): argument
181 if attr in old_node._attributes and attr in new_node._attributes:
182 value = getattr(old_node, attr, None)
186 hasattr(old_node, attr) and attr.startswith("end_")
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc534 Node* old_node = *node; in ReplaceCompilationResultNodeWithIdentity() local
536 const string& node_name = old_node->name(); in ReplaceCompilationResultNodeWithIdentity()
548 std::vector<const Edge*> out_edges(old_node->out_edges().begin(), in ReplaceCompilationResultNodeWithIdentity()
549 old_node->out_edges().end()); in ReplaceCompilationResultNodeWithIdentity()
562 graph->RemoveNode(old_node); in ReplaceCompilationResultNodeWithIdentity()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc594 if (const Node* old_node = node_map[node->name()]) { in CopyStackTraces() local
596 old_node->GetStackTrace()) { in CopyStackTraces()
598 << old_node->GetStackTrace()->ToString( in CopyStackTraces()
/external/python/cpython3/Doc/library/
Dast.rst1637 .. function:: copy_location(new_node, old_node)
1640 and :attr:`end_col_offset`) from *old_node* to *new_node* if possible,