Home
last modified time | relevance | path

Searched refs:OneLiteral (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/lib/strings/
Dscanner_test.cc97 EXPECT_FALSE(Scanner("abc").OneLiteral("ab").Eos().GetResult()); in TEST_F()
98 EXPECT_TRUE(Scanner("abc").OneLiteral("abc").Eos().GetResult()); in TEST_F()
134 TEST_F(ScannerTest, OneLiteral) { in TEST_F() argument
135 EXPECT_FALSE(Scanner("abc").OneLiteral("abC").GetResult()); in TEST_F()
136 EXPECT_TRUE(Scanner("abc").OneLiteral("ab").OneLiteral("c").GetResult()); in TEST_F()
142 .OneLiteral("'") in TEST_F()
144 .OneLiteral("'") in TEST_F()
152 .OneLiteral("'") in TEST_F()
169 .OneLiteral("'") in TEST_F()
171 .OneLiteral("'") in TEST_F()
[all …]
Dscanner.h85 Scanner& OneLiteral(StringPiece s) { in OneLiteral() function
/external/tensorflow/tensorflow/core/framework/
Dop_def_builder.cc46 .OneLiteral(":") in ConsumeAttrName()
53 .OneLiteral("list") in ConsumeListPrefix()
55 .OneLiteral("(") in ConsumeListPrefix()
63 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()
67 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()
87 scan.OneLiteral("-"); in ConsumeAttrNumber()
280 .OneLiteral(":") in ConsumeInOutName()
287 .OneLiteral("Ref") in ConsumeInOutRefOpen()
289 .OneLiteral("(") in ConsumeInOutRefOpen()
295 return Scanner(*sp).OneLiteral(")").AnySpace().GetResult(sp); in ConsumeInOutRefClose()
[all …]
Dshape_inference_testutil.cc241 scanner.OneLiteral("["); in MakeShapeFromString()
244 scanner.OneLiteral("?"); in MakeShapeFromString()
260 scanner.OneLiteral(","); in MakeShapeFromString()
266 if (!scanner.OneLiteral("]").Eos().GetResult()) { in MakeShapeFromString()
Dnode_def_util.cc637 scan.OneLiteral(":"); in IsValidDataInputName()
639 scan.OneLiteral("0"); // :0 in IsValidDataInputName()
651 .OneLiteral("^") in IsValidControlInputName()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc70 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters()
79 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters()
97 if (Scanner(remaining).OneLiteral("=").GetResult(&remaining, &match)) { in ParseTransformParameters()
107 if (Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match)) { in ParseTransformParameters()
112 Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match); in ParseTransformParameters()
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client_test.cc120 .OneLiteral("grant_type=") in TEST()
124 .OneLiteral("&assertion=") in TEST()
Dcurl_http_request.cc395 .OneLiteral(": ") in HeaderCallback()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils.cc50 .OneLiteral(":") in FunctionDefTensorDesc()
60 .OneLiteral(":") in FunctionDefTensorDesc()
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc211 scanner.OneLiteral("lla:maerts/"); in ExtractGpuWithStreamAll()
215 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithStreamAll()
244 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithoutStream()
/external/tensorflow/tensorflow/core/lib/io/
Dpath.cc217 .OneLiteral("://") in ParseURI()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc125 .OneLiteral(":") in ExpandFunctionDefInput()
135 .OneLiteral(":") in ExpandFunctionDefInput()