Home
last modified time | relevance | path

Searched refs:current_node (Results 1 – 25 of 66) sorted by relevance

123

/external/cronet/stable/base/substring_set_matcher/
Dsubstring_set_matcher.cc108 const AhoCorasickNode* current_node = root; in Match() local
110 NodeID child = current_node->GetEdge(static_cast<unsigned char>(c)); in Match()
115 while (child == kInvalidNodeID && current_node != root) { in Match()
116 current_node = &tree_[current_node->failure()]; in Match()
117 child = current_node->GetEdge(static_cast<unsigned char>(c)); in Match()
123 current_node = &tree_[child]; in Match()
124 AccumulateMatchesForNode(current_node, matches); in Match()
128 DCHECK_EQ(root, current_node); in Match()
142 const AhoCorasickNode* current_node = root; in AnyMatch() local
144 NodeID child = current_node->GetEdge(static_cast<unsigned char>(c)); in AnyMatch()
[all …]
/external/cronet/tot/base/substring_set_matcher/
Dsubstring_set_matcher.cc108 const AhoCorasickNode* current_node = root; in Match() local
110 NodeID child = current_node->GetEdge(static_cast<unsigned char>(c)); in Match()
115 while (child == kInvalidNodeID && current_node != root) { in Match()
116 current_node = &tree_[current_node->failure()]; in Match()
117 child = current_node->GetEdge(static_cast<unsigned char>(c)); in Match()
123 current_node = &tree_[child]; in Match()
124 AccumulateMatchesForNode(current_node, matches); in Match()
128 DCHECK_EQ(root, current_node); in Match()
142 const AhoCorasickNode* current_node = root; in AnyMatch() local
144 NodeID child = current_node->GetEdge(static_cast<unsigned char>(c)); in AnyMatch()
[all …]
/external/scapy/scapy/contrib/automotive/scanner/
Dgraph.py142 current_node = initial
145 while current_node != end:
146 visited.add(current_node)
147 destinations = graph.edges[current_node]
148 weight_to_current_node = shortest_paths[current_node][1]
151 weight = graph.weights[(current_node, next_node)] + \
154 shortest_paths[next_node] = (current_node, weight)
158 shortest_paths[next_node] = (current_node, weight)
165 current_node = min(next_destinations,
169 last_node = shortest_paths[current_node][0]
[all …]
/external/dynamic_depth/internal/xmpmeta/xml/
Dsearch.cc49 const xmlNodePtr current_node = node_stack.top(); in DepthFirstSearch() local
51 if (strcmp(FromXmlChar(current_node->name), name) == 0) { in DepthFirstSearch()
53 return current_node; in DepthFirstSearch()
55 if (current_node->ns && current_node->ns->prefix && in DepthFirstSearch()
56 strcmp(FromXmlChar(current_node->ns->prefix), prefix) == 0) { in DepthFirstSearch()
57 return current_node; in DepthFirstSearch()
61 for (xmlNodePtr child = current_node->children; child != nullptr; in DepthFirstSearch()
/external/tensorflow/tensorflow/lite/testing/
Dmessage.cc39 Message* current_node = nodes_.top(); in ConsumeToken() local
46 nodes_.push(current_node ? current_node->AddChild(previous_token_) in ConsumeToken()
57 if (current_node) { in ConsumeToken()
58 current_node->Finish(); in ConsumeToken()
74 if (current_node) { in ConsumeToken()
75 current_node->SetField(previous_token_, *token); in ConsumeToken()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dmessage.cc41 Message* current_node = nodes_.top(); in ConsumeToken() local
48 nodes_.push(current_node ? current_node->AddChild(previous_token_) in ConsumeToken()
59 if (current_node) { in ConsumeToken()
60 current_node->Finish(); in ConsumeToken()
76 if (current_node) { in ConsumeToken()
77 current_node->SetField(previous_token_, *token); in ConsumeToken()
/external/executorch/backends/xnnpack/_passes/
Dtag_implicit_q_dq_pass.py141 current_node = start_node
144 not is_quant(current_node)
146 and len(current_node.users) == 1
149 current_node.op == "call_function"
150 and cast(torch._ops.OpOverload, current_node.target).name()
155 cast(torch._ops.OpOverload, current_node.target).name()
157 current_node = list(current_node.users)[0]
160 is_quant(current_node)
165 return [current_node]
/external/sdv/vsomeip/third_party/boost/thread/src/pthread/
Dthread.cpp101 … detail::thread_exit_callback_node* const current_node=thread_info->thread_exit_callbacks; in tls_destructor() local
102 thread_info->thread_exit_callbacks=current_node->next; in tls_destructor()
103 if(current_node->func) in tls_destructor()
105 (*current_node->func)(); in tls_destructor()
106 delete current_node->func; in tls_destructor()
108 delete current_node; in tls_destructor()
711 std::map<void const*,tss_data_node>::iterator current_node= in find_tss_data() local
713 if(current_node!=current_thread_data->tss_data.end()) in find_tss_data()
715 return &current_node->second; in find_tss_data()
723 if(tss_data_node* const current_node=find_tss_data(key)) in get_tss_data() local
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc353 Node* current_node = current_edge->src(); in ExtractConstantSubgraph() local
357 if (!current_node->IsArg() && current_node->op_def().is_stateful()) { in ExtractConstantSubgraph()
366 if (IsMerge(current_node)) { in ExtractConstantSubgraph()
373 if (IsEnter(current_node) || IsExit(current_node)) { in ExtractConstantSubgraph()
381 if (current_node->type_string() == "PlaceholderWithDefault") { in ExtractConstantSubgraph()
386 if (!HasCpuKernel(*current_node)) { in ExtractConstantSubgraph()
394 if (current_node->num_inputs() == 0) { in ExtractConstantSubgraph()
395 if (outer_context && current_node->IsArg()) { in ExtractConstantSubgraph()
397 strings::StrCat(current_node->name(), ":", 0); in ExtractConstantSubgraph()
403 current_node, outer_context->num_inputs(), &index)); in ExtractConstantSubgraph()
[all …]
/external/sdv/vsomeip/third_party/boost/thread/src/win32/
Dthread.cpp264 … detail::thread_exit_callback_node* const current_node=current_thread_data->thread_exit_callbacks; in run_thread_exit_callbacks() local
265 current_thread_data->thread_exit_callbacks=current_node->next; in run_thread_exit_callbacks()
266 if(current_node->func) in run_thread_exit_callbacks()
268 (*current_node->func)(); in run_thread_exit_callbacks()
269 boost::detail::heap_delete(current_node->func); in run_thread_exit_callbacks()
271 boost::detail::heap_delete(current_node); in run_thread_exit_callbacks()
892 std::map<void const*,tss_data_node>::iterator current_node= in find_tss_data() local
894 if(current_node!=current_thread_data->tss_data.end()) in find_tss_data()
896 return &current_node->second; in find_tss_data()
904 if(tss_data_node* const current_node=find_tss_data(key)) in get_tss_data() local
[all …]
/external/pytorch/torch/_inductor/
Dcudagraph_trees.py1886 self.current_node: Optional[Union[CUDAGraphNode, CUDAWarmupNode]] = None
1935 self.current_node._is_cuda_graph_recorded_tensor
1936 if isinstance(self.current_node, (CUDAGraphNode, CUDAWarmupNode))
1962 if self.current_node is None:
1964 elif isinstance(self.current_node, (CUDAGraphNode, CUDAWarmupNode)):
1965 return self.current_node.id
2025 assert not isinstance(self.current_node, CUDAWarmupNode)
2027 self.roots if self.current_node is None else self.current_node.children
2051 if self.current_node is not None and function_id in self.roots:
2055 if self.current_node is None:
[all …]
/external/python/pyyaml/lib/yaml/
Dresolver.py91 def descend_resolver(self, current_node, current_index): argument
96 if current_node:
100 current_node, current_index):
121 current_node, current_index): argument
124 if current_node.tag != node_check:
127 if not isinstance(current_node, node_check):
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_emit.c29 unsigned current_node : 2; member
304 if (emit->current_node > 0) { in finish_node()
305 error("Node %i has no TEX instructions", emit->current_node); in finish_node()
311 if (emit->current_node == 0) in finish_node()
322 code->code_addr[emit->current_node] = in finish_node()
334 switch (emit->current_node) { in finish_node()
368 if (emit->current_node == 3) { in begin_tex()
376 emit->current_node++; in begin_tex()
467 code->config |= emit.current_node; /* FIRST_NODE_HAS_TEX set by finish_node */ in r300BuildFragmentProgramHwCode()
483 if (emit.current_node < 3) { in r300BuildFragmentProgramHwCode()
[all …]
/external/icing/icing/result/
Dprojection-tree.cc28 Node* current_node = &root_; in ProjectionTree() local
31 current_node = AddChildNode(sub_field_mask, &current_node->children); in ProjectionTree()
/external/libaom/tools/auto_refactor/
Dauto_refactor.py543 current_node = self.get_concrete_node()
545 current_node.add_child(name)
546 parent_node = current_node
547 current_node = current_node.get_child(name)
548 current_node.set_parent(parent_node)
549 return current_node
552 current_node = self.get_concrete_node()
554 current_node = current_node.get_child(name)
555 if current_node == None:
557 return current_node
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_util.cc90 const Node* current_node = ready.back(); in CheckNodeNotInCycle() local
92 visited[current_node->id()] = true; in CheckNodeNotInCycle()
93 for (const Edge* out : current_node->out_edges()) { in CheckNodeNotInCycle()
/external/pytorch/torch/_dynamo/
Deval_frame.py921 if "val" in self.current_node.meta:
922 arg.node.meta["val"] = self.current_node.meta["val"]
923 if "tensor_dict" in self.current_node.meta:
924 arg.node.meta["tensor_dict"] = self.current_node.meta["tensor_dict"]
925 if "example_value" in self.current_node.meta:
927 arg.node.meta["example_value"] = self.current_node.meta["example_value"]
928 if "unbacked_bindings" in self.current_node.meta:
929 arg.node.meta["unbacked_bindings"] = self.current_node.meta[
950 self.current_node = n
952 if "val" in self.current_node.meta:
[all …]
/external/executorch/exir/backend/canonical_partitioners/
Dduplicate_dequant_node_pass.py38 with self.pass_obj.mod.graph.inserting_before(self.pass_obj.current_node):
86 self.current_node = node
/external/pytorch/torch/fx/experimental/
Doptimization.py31 for expected_type, current_node in zip(pattern, nodes):
32 if not isinstance(current_node, fx.Node):
34 if current_node.op != 'call_module':
36 if not isinstance(current_node.target, str):
38 if current_node.target not in modules:
40 if type(modules[current_node.target]) is not expected_type:
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/read-fonts-0.23.2/src/collections/int_set/
Dsparse_bit_set.rs279 current_node: Option<Node>, field
289 let Some(mut node) = self.current_node.take() else { in commit_current_node()
341 current_node: None, in create_layer()
353 .current_node in create_layer()
360 let current_node = state.current_node.get_or_insert(Node { in create_layer() localVariable
367 current_node.bits |= mask; in create_layer()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/read-fonts-0.23.2/src/collections/int_set/
Dsparse_bit_set.rs279 current_node: Option<Node>, field
289 let Some(mut node) = self.current_node.take() else { in commit_current_node()
341 current_node: None, in create_layer()
353 .current_node in create_layer()
360 let current_node = state.current_node.get_or_insert(Node { in create_layer() localVariable
367 current_node.bits |= mask; in create_layer()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.cc344 const SavedObject* current_node = &nodes.Get(node_id); in FindNodeAtPath() local
348 current_node->children().begin(), current_node->children().end(), in FindNodeAtPath()
353 if (child_node_iter == current_node->children().end()) { in FindNodeAtPath()
358 current_node = &nodes.Get(node_id); in FindNodeAtPath()
/external/tensorflow/tensorflow/python/saved_model/
Dload.py331 current_node = root
333 if not hasattr(current_node, name):
334 setattr(current_node, name, self._recreate_base_user_object()[0])
335 current_node = getattr(current_node, name)
336 if not hasattr(current_node, path[-1]):
337 setattr(current_node, path[-1], loaded_node)
/external/pytorch/torch/_inductor/kernel/
Dbmm.py139 meta_mat1 = V.graph.current_node.args[0]
142 meta_mat2 = V.graph.current_node.args[1]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dstrip_unused_nodes.cc148 const NodeDef* current_node = node_lookup[current_input]; in StripUnusedNodes() local
149 for (const string& input_name : current_node->input()) { in StripUnusedNodes()

123