MCPcopy Create free account
hub / github.com/RenderKit/embree / parseString

Method parseString

kernels/common/state.cpp:221–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 void State::parseString(const char* cfg)
222 {
223 if (cfg == nullptr) return;
224
225 std::vector<std::string> syms;
226 for (size_t i=0; i<sizeof(symbols)/sizeof(void*); i++)
227 syms.push_back(symbols[i]);
228
229 Ref<TokenStream> cin = new TokenStream(new StrStream(cfg),
230 TokenStream::alpha+TokenStream::ALPHA+TokenStream::numbers+"_.",
231 TokenStream::separators,syms);
232 parse(cin);
233 }
234
235 int string_to_cpufeatures(const std::string& isa)
236 {

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected