/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | StringTrieBuilder.java | 163 private final ValueNode registerFinalValue(int value) { in registerFinalValue() 169 return (ValueNode)oldNode; in registerFinalValue() 171 ValueNode newNode=new ValueNode(value); in registerFinalValue() 263 private static class ValueNode extends Node { class in StringTrieBuilder 264 public ValueNode() {} in ValueNode() method in StringTrieBuilder.ValueNode 265 public ValueNode(int v) { in ValueNode() method in StringTrieBuilder.ValueNode 294 ValueNode o=(ValueNode)other; in equals() 303 ValueNode node=builder.createSuffixNode(s, start, sValue); in add() 316 private static final class IntermediateValueNode extends ValueNode { 352 private static final class LinearMatchNode extends ValueNode { [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | StringTrieBuilder.java | 164 private final ValueNode registerFinalValue(int value) { in registerFinalValue() 170 return (ValueNode)oldNode; in registerFinalValue() 172 ValueNode newNode=new ValueNode(value); in registerFinalValue() 264 private static class ValueNode extends Node { class in StringTrieBuilder 265 public ValueNode() {} in ValueNode() method in StringTrieBuilder.ValueNode 266 public ValueNode(int v) { in ValueNode() method in StringTrieBuilder.ValueNode 295 ValueNode o=(ValueNode)other; in equals() 304 ValueNode node=builder.createSuffixNode(s, start, sValue); in add() 317 private static final class IntermediateValueNode extends ValueNode { 353 private static final class LinearMatchNode extends ValueNode { [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/ |
D | stringtriebuilder.h | 277 class ValueNode : public Node { 279 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(FALSE), value(0) {} in ValueNode() function 295 class IntermediateValueNode : public ValueNode { 298 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 312 class LinearMatchNode : public ValueNode { 315 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 387 class BranchHeadNode : public ValueNode { 390 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | stringtriebuilder.h | 280 class ValueNode : public Node { 282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function 298 class IntermediateValueNode : public ValueNode { 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 315 class LinearMatchNode : public ValueNode { 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 390 class BranchHeadNode : public ValueNode { 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
/third_party/icu/icu4c/source/common/unicode/ |
D | stringtriebuilder.h | 280 class ValueNode : public Node { 282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function 298 class IntermediateValueNode : public ValueNode { 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 315 class LinearMatchNode : public ValueNode { 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 390 class BranchHeadNode : public ValueNode { 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | stringtriebuilder.h | 280 class ValueNode : public Node { 282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function 298 class IntermediateValueNode : public ValueNode { 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 315 class LinearMatchNode : public ValueNode { 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 390 class BranchHeadNode : public ValueNode { 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
/third_party/mindspore/tests/ut/cpp/ir/ |
D | anf_test.cc | 38 ASSERT_EQ(c->isa<ValueNode>(), true); in TEST_F() 43 ValueNode c1(fg); in TEST_F() 73 assert(!a.isa<ValueNode>()); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | convert_const_scalar_to_tensor.cc | 29 if (!input_node->isa<ValueNode>()) { in CreateTensorInput() 44 auto tensor_input = std::make_shared<ValueNode>(tensor_ptr); in CreateTensorInput() 64 if (node->isa<ValueNode>() && node == func_graph->output()) { in Process()
|
D | common_subexpression_elimination.cc | 103 if (main->isa<ValueNode>() && node->isa<ValueNode>()) { in CheckReplace()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | cse.cc | 84 if (node->isa<ValueNode>()) { in BuildOrderGroupAndDoReplaceForOneGraph() 159 if (main->isa<ValueNode>() && node->isa<ValueNode>()) { in CheckReplace() 227 if ((k + 1 + clear_set.size() == group.size()) || (k > 0 && main->isa<ValueNode>())) { in DoReplace()
|
D | py_pass.cc | 65 return std::make_shared<ValueNode>(prim); in BuildPrimitive() 74 return std::make_shared<ValueNode>(input_tensor); in BuildNewTensor() 83 return std::make_shared<ValueNode>(prim); in BuildPrimitiveValueNode() 129 return std::make_shared<ValueNode>(scalar_value_ptr); in BuildImmNode()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | stringtriebuilder.cpp | 249 ((ValueNode *)node)->setValue(value); in makeNode() 417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==() 424 const ValueNode &o=(const ValueNode &)other; in operator ==() 433 if(!ValueNode::operator==(other)) { in operator ==() 459 if(!ValueNode::operator==(other)) { in operator ==() 592 if(!ValueNode::operator==(other)) { in operator ==()
|
/third_party/node/deps/icu-small/source/common/ |
D | stringtriebuilder.cpp | 249 ((ValueNode *)node)->setValue(value); in makeNode() 417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==() 424 const ValueNode &o=(const ValueNode &)other; in operator ==() 433 if(!ValueNode::operator==(other)) { in operator ==() 459 if(!ValueNode::operator==(other)) { in operator ==() 592 if(!ValueNode::operator==(other)) { in operator ==()
|
/third_party/icu/icu4c/source/common/ |
D | stringtriebuilder.cpp | 249 ((ValueNode *)node)->setValue(value); in makeNode() 417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==() 424 const ValueNode &o=(const ValueNode &)other; in operator ==() 433 if(!ValueNode::operator==(other)) { in operator ==() 459 if(!ValueNode::operator==(other)) { in operator ==() 592 if(!ValueNode::operator==(other)) { in operator ==()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | stringtriebuilder.cpp | 249 ((ValueNode *)node)->setValue(value); in makeNode() 417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==() 424 const ValueNode &o=(const ValueNode &)other; in operator ==() 433 if(!ValueNode::operator==(other)) { in operator ==() 459 if(!ValueNode::operator==(other)) { in operator ==() 592 if(!ValueNode::operator==(other)) { in operator ==()
|
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/ |
D | onnx_exporter.cc | 459 auto value_node_ptr = dyn_cast<ValueNode>(node); in GetInt64Value() 746 if (input_shape->isa<ValueNode>()) { in ExportPrimReshape() 759 ConvertTupleToTensor(dyn_cast<ValueNode>(input_shape)->value(), attr_proto->mutable_t()); in ExportPrimReshape() 791 if (input_axis->isa<ValueNode>()) { in ExportPrimReduce() 795 auto axis_value = dyn_cast<ValueNode>(input_axis)->value(); in ExportPrimReduce() 829 if (input_perm->isa<ValueNode>()) { in ExportPrimTranspose() 833 auto perm_value = dyn_cast<ValueNode>(input_perm)->value(); in ExportPrimTranspose() 857 if (begin->isa<ValueNode>()) { in ExportPrimStridedSlice() 869 ConvertTupleToTensor(dyn_cast<ValueNode>(begin)->value(), attr_proto->mutable_t()); in ExportPrimStridedSlice() 877 if (end->isa<ValueNode>()) { in ExportPrimStridedSlice() [all …]
|
/third_party/mindspore/mindspore/core/ir/ |
D | anf.h | 62 class ValueNode; variable 63 using ValueNodePtr = std::shared_ptr<ValueNode>; 486 class MS_CORE_API ValueNode : public ANode { 488 explicit ValueNode(const ValuePtr &value) : value_(value) {} in ValueNode() function 489 ~ValueNode() override = default; 490 MS_DECLARE_PARENT(ValueNode, ANode); 512 if (!other.isa<ValueNode>()) { 515 auto v = static_cast<const ValueNode &>(other); 637 if (!node->isa<ValueNode>()) { in GetValueNode()
|
D | anf_extends.cc | 97 void ValueNode::accept(AnfIrVisitor *v) { v->Visit(shared_from_base<ValueNode>()); } in accept()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/ |
D | control_node_parser.cc | 120 } else if (tuple_inputs[i]->isa<ValueNode>() && IsValueNode<FuncGraph>(tuple_inputs[i])) { in FetchParameterBySwitchLayerNode() 355 } else if (graph_output->isa<ValueNode>()) { in FetchOutputByCallNode() 520 …return inputs[0]->isa<CNode>() || (inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(inputs[0]… in IsCallNode() 544 } else if (tuple_inputs[kMakeTupleInputStartPos]->isa<ValueNode>() && in IsSubCallNode() 551 (output->isa<ValueNode>() && IsValueNode<FuncGraph>(output)); in IsSubCallNode() 610 } else if (call_inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(call_inputs[0])) { in FetchFuncGraphbyCallNode() 649 …} else if (inputs[i]->isa<ValueNode>() && inputs[i]->cast<ValueNodePtr>()->value()->isa<ValueTuple… in FetchOutputSizebyCallNode() 868 if (input->isa<ValueNode>()) { in FetchValueNodeBySwitchNode() 890 if (func_graph->output()->isa<ValueNode>()) { in FetchValueNodeBySwitchNode() 903 if (inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(inputs[0])) { in FetchFrontValueNode() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/ |
D | split_n_optimizer.cc | 60 if (anf_node->isa<ValueNode>()) { in VisitSplitKernel() 99 if (in_node->isa<Parameter>() || in_node->isa<ValueNode>()) { in InputCheck() 109 …ode_name == kTransDataOpName && (trans_input->isa<Parameter>() || trans_input->isa<ValueNode>())) { in InputCheck()
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | draw.cc | 99 if (t->isa<ValueNode>() && (*sub_graphs).find(nd->func_graph()) != (*sub_graphs).end()) { in DrawValueNodes() 129 if (t->isa<ValueNode>() || t->isa<Parameter>()) { in DrawEdges() 281 if (node->isa<CNode>() || (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node))) { in Head() 536 } else if (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node)) { in Node() 630 } else if (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node)) { in Node()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | parameter_and_transop_fusion.cc | 50 if (next_node->isa<Parameter>() || next_node->isa<ValueNode>()) { in ParamTransRoad() 55 } else if (node->isa<Parameter>() || node->isa<ValueNode>()) { in ParamTransRoad()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/ |
D | graph_partitioner.cc | 141 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in ExistCycleAfterMerge() 165 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in MergeParentBranchRecursively() 194 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in NodeGrouping()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | decrease_compute_precision.cc | 95 if (cur_input->isa<ValueNode>()) { in InsertCastForGraphKernel() 100 if (cur_input->isa<ValueNode>()) { in InsertCastForGraphKernel() 105 auto value_node = std::make_shared<ValueNode>(itensor); in InsertCastForGraphKernel()
|
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/ |
D | redundant_op_remove_pass.cc | 47 if (utils::isa<ValueNode>(first_input)) { in ProcessInputIsMonad() 55 if (utils::isa<ValueNode>(second_input)) { in ProcessInputIsMonad() 208 if (!utils::isa<ValueNode>(index_vnode)) { in ReplaceTupleGetItem() 278 } else if (utils::isa<ValueNode>(padding_node)) { in GetConstDataFromInputNode()
|