MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / reset

Method reset

lib/JsonParser/ReleaseJsonParser.cpp:22–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void ReleaseJsonParser::reset() {
23 parser.reset();
24 position = Position::TOP_LEVEL;
25 lastKey = LastKey::NONE;
26 depth = 0;
27 assetDepth = 0;
28 tagName[0] = '\0';
29 firmwareUrl[0] = '\0';
30 firmwareSize = 0;
31 tagFound = false;
32 firmwareFound = false;
33 currentAssetName[0] = '\0';
34 currentAssetUrl[0] = '\0';
35 currentAssetSize = 0;
36}
37
38void ReleaseJsonParser::feed(const char* data, size_t len) { parser.feed(data, len); }
39

Callers 15

loadMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
beginMethod · 0.45
stopMethod · 0.45
exitActivityMethod · 0.45
pushActivityMethod · 0.45
popActivityMethod · 0.45
startWebServerMethod · 0.45
startWebServerMethod · 0.45
stopWebServerMethod · 0.45
onExitMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36