Searched refs:NodePosition (Results 1 – 3 of 3) sorted by relevance
154 TEST_F(UtilsTest, NodePosition) { in TEST_F() argument155 EXPECT_EQ(NodePosition("abc:2"), 2); in TEST_F()156 EXPECT_EQ(NodePosition("abc:123"), 123); in TEST_F()157 EXPECT_EQ(NodePosition("^abc:123"), -1); in TEST_F()158 EXPECT_EQ(NodePosition("^abc"), -1); in TEST_F()159 EXPECT_EQ(NodePosition(""), 0); in TEST_F()
95 inline int NodePosition(const string& name) { in NodePosition() function
499 const auto input_node_port_num = NodePosition(input_node_name); in Init()626 const auto input_node_port_num = NodePosition(input_source_name); in MaybeUpdateInputOutput()671 auto input_node_port_num = NodePosition(input_name); in CreateSendRecv()