MCPcopy Create free account
hub / github.com/Kitware/CMake / ParseChunk

Method ParseChunk

Source/cmXMLParser.cxx:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69int cmXMLParser::ParseChunk(char const* inputString,
70 std::string::size_type length)
71{
72 if (!this->Parser) {
73 std::cerr << "Parser not initialized" << std::endl;
74 this->ParseError = 1;
75 return 0;
76 }
77 int res;
78 res = this->ParseBuffer(inputString, length);
79 if (res == 0) {
80 this->ParseError = 1;
81 }
82 return res;
83}
84
85int cmXMLParser::CleanupParser()
86{

Callers 5

ParseMethod · 0.95
ProcessChunkMethod · 0.80
ProcessChunkMethod · 0.80
ProcessChunkMethod · 0.80

Calls 1

ParseBufferMethod · 0.95

Tested by 4

ProcessChunkMethod · 0.64
ProcessChunkMethod · 0.64
ProcessChunkMethod · 0.64