Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/
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.h87 Scanner& OneLiteral(StringPiece s) { in OneLiteral() function
Dpath.cc241 .OneLiteral("://") in ParseURI()
Dfile_system.cc415 .OneLiteral("://") in ParseURI()
/external/tensorflow/tensorflow/core/framework/
Dop_def_builder.cc48 .OneLiteral(":") in ConsumeAttrName()
55 .OneLiteral("list") in ConsumeListPrefix()
57 .OneLiteral("(") in ConsumeListPrefix()
65 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()
69 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()
89 scan.OneLiteral("-"); in ConsumeAttrNumber()
284 .OneLiteral(":") in ConsumeInOutName()
291 .OneLiteral("Ref") in ConsumeInOutRefOpen()
293 .OneLiteral("(") in ConsumeInOutRefOpen()
299 return Scanner(*sp).OneLiteral(")").AnySpace().GetResult(sp); in ConsumeInOutRefClose()
[all …]
Dshape_inference_testutil.cc239 scanner.OneLiteral("["); in MakeShapeFromString()
242 scanner.OneLiteral("?"); in MakeShapeFromString()
258 scanner.OneLiteral(","); in MakeShapeFromString()
264 if (!scanner.OneLiteral("]").Eos().GetResult()) { in MakeShapeFromString()
Dnode_def_util.cc768 scan.OneLiteral(":"); in IsValidDataInputName()
770 scan.OneLiteral("0"); // :0 in IsValidDataInputName()
785 scan.OneLiteral("^") in IsValidControlInputName()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc71 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters()
80 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters()
98 if (Scanner(remaining).OneLiteral("=").GetResult(&remaining, &match)) { in ParseTransformParameters()
108 if (Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match)) { in ParseTransformParameters()
113 Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match); in ParseTransformParameters()
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client_test.cc124 .OneLiteral("grant_type=") in TEST()
128 .OneLiteral("&assertion=") in TEST()
Dcurl_http_request.cc410 .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.cc209 scanner.OneLiteral("lla:maerts/"); in ExtractGpuWithStreamAll()
213 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithStreamAll()
242 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithoutStream()