MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / accept_text

Function accept_text

src/runtime/CL/mlgo/MLGOParser.cpp:354–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354bool accept_text(TokenStream &in, const std::string &c_str, bool take = true)
355{
356 auto tok = in.peek();
357 if (tok.type == TokenType::Text && tok.value == c_str)
358 {
359 if (take)
360 {
361 in.take();
362 }
363 return true;
364 }
365 return false;
366}
367
368void expect_text(TokenStream &in, const std::string &str, bool &valid)
369{

Callers 12

expect_textFunction · 0.85
conditional_opFunction · 0.85
ip_typeFunction · 0.85
data_typeFunction · 0.85
comparator_typeFunction · 0.85
heuristic_typeFunction · 0.85
gemm_typeFunction · 0.85
gpu_priorityFunction · 0.85
gpu_behaviorFunction · 0.85
heuristics_tableFunction · 0.85
heuristic_treeFunction · 0.85
mlgoFunction · 0.85

Calls 2

peekMethod · 0.80
takeMethod · 0.80

Tested by

no test coverage detected