Home
last modified time | relevance | path

Searched refs:ParserCommon (Results 1 – 13 of 13) sorted by relevance

/external/skqp/tools/bookmaker/
DparserCommon.cpp13 void ParserCommon::checkLineLength(size_t len, const char* str) { in checkLineLength()
36 string ParserCommon::ConvertRef(const string str, bool first) { in ConvertRef()
50 void ParserCommon::CopyToFile(string oldFile, string newFile) { in CopyToFile()
52 char* buffer = ParserCommon::ReadToBuffer(newFile, &bufferSize); in CopyToFile()
63 string ParserCommon::HtmlFileName(string bmhFileName) { in HtmlFileName()
71 bool ParserCommon::parseFile(const char* fileOrPath, const char* suffix, OneFile oneFile) { in parseFile()
102 bool ParserCommon::parseStatus(const char* statusFile, const char* suffix, StatusFilter filter) { in parseStatus()
119 bool ParserCommon::parseSetup(const char* path) { in parseSetup()
161 void ParserCommon::stringAppend(string& result, char ch) const { in stringAppend()
168 void ParserCommon::stringAppend(string& result, string str) const { in stringAppend()
[all …]
DparserCommon.h23 class ParserCommon : public TextParser {
55 ParserCommon() : TextParser() in ParserCommon() function
63 ~ParserCommon() override { in ~ParserCommon()
264 class JsonCommon : public ParserCommon {
277 typedef ParserCommon INHERITED;
291 class HackParser : public ParserCommon {
294 : ParserCommon() in HackParser()
316 typedef ParserCommon INHERITED;
Dbookmaker.cpp197 if (!bmhParser.parseFile(FLAGS_bmh[0], ".bmh", ParserCommon::OneFile::kNo)) { in main()
219 ParserCommon::OneFile::kNo)) { in main()
242 ParserCommon::OneFile::kYes)) { in main()
270 if (!cparser.parseFile(FLAGS_fiddle[0], ".txt", ParserCommon::OneFile::kNo)) { in main()
282 if (!includeParser.parseFile(FLAGS_include[0], ".h", ParserCommon::OneFile::kNo)) { in main()
294 !includeParser.parseFile(FLAGS_include[0], ".h", ParserCommon::OneFile::kNo)) { in main()
309 !includeWriter.parseFile(FLAGS_include[0], ".h", ParserCommon::OneFile::kNo)) { in main()
DbmhParser.h16 class BmhParser : public ParserCommon {
51 BmhParser(bool skip) : ParserCommon() in BmhParser()
192 typedef ParserCommon INHERITED;
Dcataloger.cpp79 if (ParserCommon::WrittenFileDiffers(fullName, kCatalogFileName)) { in closeCatalog()
80 ParserCommon::CopyToFile(fullName, kCatalogFileName); in closeCatalog()
DmdOut.h15 class MdOut : public ParserCommon {
24 MdOut(BmhParser& bmh, IncludeParser& inc) : ParserCommon() in MdOut()
319 typedef ParserCommon INHERITED;
DspellCheck.cpp37 class SpellCheck : public ParserCommon {
39 SpellCheck(const BmhParser& bmh) : ParserCommon() in SpellCheck()
96 typedef ParserCommon INHERITED;
DincludeParser.h27 class IncludeParser : public ParserCommon {
82 IncludeParser() : ParserCommon() in IncludeParser()
466 typedef ParserCommon INHERITED;
DhackParser.cpp50 if (ParserCommon::WrittenFileDiffers(filename, root->fFileName)) { in hackFiles()
DbmhParser.cpp884 if (ParserCommon::WrittenFileDiffers(oldFiddle, newFiddle)) { in dumpExamples()
885 ParserCommon::CopyToFile(oldFiddle, newFiddle); in dumpExamples()
1194 string ref = ParserCommon::HtmlFileName(parent->fFileName) + '#' + parent->fFiddle; in setUpGlobalSubstitutes()
1228 string ref = ParserCommon::HtmlFileName(def->fFileName) + '#' + def->fFiddle; in setUpGlobalSubstitutes()
1246 name = ParserCommon::ConvertRef(name, false); in setUpGlobalSubstitutes()
1263 ParserCommon::HtmlFileName(topic.second->fFileName) + '#' + topic.first; in setUpGlobalSubstitutes()
1345 ref = ParserCommon::HtmlFileName(child->fFileName); in setUpSubstitutes()
1419 string str = ParserCommon::HtmlFileName(def->fFileName) + '#' + def->fName; in setUpSubstitute()
DmdOut.cpp73 string htmlName = ParserCommon::HtmlFileName(fFileName); in anchorDef()
93 htmlName = ParserCommon::HtmlFileName(fFileName); in anchorRef()
743 if (ParserCommon::WrittenFileDiffers(fullName, filename)) { in buildRefFromFile()
744 ParserCommon::CopyToFile(fullName, filename); in buildRefFromFile()
DtextParser.h20 friend class ParserCommon; variable
DincludeWriter.cpp2080 if (ParserCommon::WrittenFileDiffers(fileName, readname)) { in populate()
2289 substitute += ParserCommon::ConvertRef(rootDef->fName, false); in resolveRef()
2307 substitute += ParserCommon::ConvertRef(undername, first); in resolveRef()
2371 temp = ParserCommon::ConvertRef(resolved, false); in lookupReference()