/external/skia/tools/bookmaker/ |
D | parserCommon.cpp | 13 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 …]
|
D | parserCommon.h | 25 class ParserCommon : public TextParser { 57 ParserCommon() : TextParser() in ParserCommon() function 65 ~ParserCommon() override { in ~ParserCommon() 306 class JsonCommon : public ParserCommon { 319 typedef ParserCommon INHERITED; 333 class HackParser : public ParserCommon { 336 : ParserCommon() in HackParser() 358 typedef ParserCommon INHERITED;
|
D | bookmaker.cpp | 197 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()
|
D | bmhParser.h | 16 class BmhParser : public ParserCommon { 51 BmhParser(bool skip) : ParserCommon() in BmhParser() 192 typedef ParserCommon INHERITED;
|
D | cataloger.cpp | 79 if (ParserCommon::WrittenFileDiffers(fullName, kCatalogFileName)) { in closeCatalog() 80 ParserCommon::CopyToFile(fullName, kCatalogFileName); in closeCatalog()
|
D | mdOut.h | 15 class MdOut : public ParserCommon { 24 MdOut(BmhParser& bmh, IncludeParser& inc) : ParserCommon() in MdOut() 319 typedef ParserCommon INHERITED;
|
D | spellCheck.cpp | 37 class SpellCheck : public ParserCommon { 39 SpellCheck(const BmhParser& bmh) : ParserCommon() in SpellCheck() 96 typedef ParserCommon INHERITED;
|
D | includeParser.h | 27 class IncludeParser : public ParserCommon { 82 IncludeParser() : ParserCommon() in IncludeParser() 466 typedef ParserCommon INHERITED;
|
D | hackParser.cpp | 50 if (ParserCommon::WrittenFileDiffers(filename, root->fFileName)) { in hackFiles()
|
D | bmhParser.cpp | 884 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()
|
D | mdOut.cpp | 74 string htmlName = ParserCommon::HtmlFileName(fFileName); in anchorDef() 94 htmlName = ParserCommon::HtmlFileName(fFileName); in anchorRef() 743 if (ParserCommon::WrittenFileDiffers(fullName, filename)) { in buildRefFromFile() 744 ParserCommon::CopyToFile(fullName, filename); in buildRefFromFile()
|
D | textParser.h | 20 friend class ParserCommon; variable
|
/external/skqp/tools/bookmaker/ |
D | parserCommon.cpp | 13 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 …]
|
D | parserCommon.h | 23 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;
|
D | bookmaker.cpp | 197 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()
|
D | bmhParser.h | 16 class BmhParser : public ParserCommon { 51 BmhParser(bool skip) : ParserCommon() in BmhParser() 192 typedef ParserCommon INHERITED;
|
D | cataloger.cpp | 79 if (ParserCommon::WrittenFileDiffers(fullName, kCatalogFileName)) { in closeCatalog() 80 ParserCommon::CopyToFile(fullName, kCatalogFileName); in closeCatalog()
|
D | mdOut.h | 15 class MdOut : public ParserCommon { 24 MdOut(BmhParser& bmh, IncludeParser& inc) : ParserCommon() in MdOut() 319 typedef ParserCommon INHERITED;
|
D | includeParser.h | 27 class IncludeParser : public ParserCommon { 82 IncludeParser() : ParserCommon() in IncludeParser() 466 typedef ParserCommon INHERITED;
|
D | spellCheck.cpp | 37 class SpellCheck : public ParserCommon { 39 SpellCheck(const BmhParser& bmh) : ParserCommon() in SpellCheck() 96 typedef ParserCommon INHERITED;
|
D | hackParser.cpp | 50 if (ParserCommon::WrittenFileDiffers(filename, root->fFileName)) { in hackFiles()
|
D | bmhParser.cpp | 884 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()
|
D | mdOut.cpp | 73 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()
|
D | textParser.h | 20 friend class ParserCommon; variable
|
D | includeWriter.cpp | 2080 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()
|