/external/skqp/tools/bookmaker/ |
D | spellCheck.cpp | 58 bool checkable(MarkType markType); 158 case MarkType::kAlias: in check() 160 case MarkType::kAnchor: in check() 162 case MarkType::kBug: in check() 164 case MarkType::kClass: in check() 167 case MarkType::kCode: in check() 170 case MarkType::kColumn: in check() 172 case MarkType::kComment: in check() 174 case MarkType::kConst: { in check() 181 case MarkType::kDefine: in check() [all …]
|
D | bmhParser.cpp | 12 #define M(mt) (1LL << (int) MarkType::k##mt) 38 { "", MarkType::kNone, R_Y, E_N, 0 } 39 , { "A", MarkType::kAnchor, R_N, E_N, 0 } 40 , { "Alias", MarkType::kAlias, R_N, E_N, M_ST | M(Const) } 41 , { "Bug", MarkType::kBug, R_N, E_N, M_CSST | M_MDCM | M_E 43 , { "Class", MarkType::kClass, R_Y, E_O, M_CSST } 44 , { "Code", MarkType::kCode, R_K, E_N, M_CSST | M_E | M_MD | M(Typedef) } 45 , { "", MarkType::kColumn, R_Y, E_N, M(Row) } 46 , { "", MarkType::kComment, R_N, E_N, 0 } 47 , { "Const", MarkType::kConst, R_Y, E_O, M_E | M_CSST } [all …]
|
D | hackParser.cpp | 61 if (MarkType::kClass == child->fMarkType || MarkType::kStruct == child->fMarkType in replaceWithPop() 62 || MarkType::kSubtopic == child->fMarkType) { in replaceWithPop() 65 if (MarkType::kMethod != child->fMarkType) { in replaceWithPop() 71 return MarkType::kPopulate == def->fMarkType in replaceWithPop() 72 || MarkType::kPhraseRef == def->fMarkType in replaceWithPop() 73 || MarkType::kFormula == def->fMarkType in replaceWithPop() 74 || MarkType::kAnchor == def->fMarkType in replaceWithPop() 75 || MarkType::kList == def->fMarkType in replaceWithPop() 76 || MarkType::kTable == def->fMarkType; in replaceWithPop() 84 if (MarkType::kIn == gran->fMarkType || MarkType::kLine == gran->fMarkType) { in replaceWithPop() [all …]
|
D | bmhParser.h | 53 { &fClassMap, MarkType::kClass } in BmhParser() 54 , { &fConstMap, MarkType::kConst } in BmhParser() 55 , { &fDefineMap, MarkType::kDefine } in BmhParser() 56 , { &fEnumMap, MarkType::kEnum } in BmhParser() 57 , { &fClassMap, MarkType::kEnumClass } in BmhParser() 58 , { &fMethodMap, MarkType::kMethod } in BmhParser() 59 , { &fClassMap, MarkType::kStruct } in BmhParser() 60 , { &fClassMap, MarkType::kTemplate } in BmhParser() 61 , { &fTypedefMap, MarkType::kTypedef } in BmhParser() 69 bool addDefinition(const char* defStart, bool hasEnd, MarkType markType, [all …]
|
D | mdOut.cpp | 77 MarkType markType = fLastDef->fMarkType; in anchorDef() 78 if (MarkType::kMethod == markType && fLastDef->fClone) { in anchorDef() 239 bool isSubtopic = MarkType::kSubtopic == test->fMarkType in checkParentsForMatch() 240 || MarkType::kTopic == test->fMarkType; in checkParentsForMatch() 245 bool localTopic = MarkType::kSubtopic == test->fMarkType in checkParentsForMatch() 246 || MarkType::kTopic == test->fMarkType; in checkParentsForMatch() 535 if (fLastDef && MarkType::kDescription == fLastDef->fMarkType) { in setLink() 537 if (MarkType::kExample == example->fMarkType) { in setLink() 541 if (MarkType::kStdOut == example->fChildren.back()->fMarkType) { in setLink() 785 if (MarkType::kParam != allDefsIter->fMarkType) { in checkAnchors() [all …]
|
D | definition.h | 90 Definition(MarkType markType, const char* start, int line, Definition* parent, char mc) in Definition() 94 …Definition(MarkType markType, const char* start, const char* end, int line, Definition* parent, ch… in Definition() 136 if (MarkType::kStruct == test->fMarkType || MarkType::kClass == test->fMarkType) { in csParent() 148 const Definition* hasChild(MarkType markType) const; 210 if (MarkType::kTopic == test->fMarkType || MarkType::kSubtopic == test->fMarkType) { in subtopicParent() 221 if (MarkType::kTopic == test->fMarkType) { in topicParent() 247 MarkType fMarkType = MarkType::kNone; 285 RootDefinition(MarkType markType, const char* start, int line, Definition* parent, char mc) in RootDefinition() 287 if (MarkType::kSubtopic != markType && MarkType::kTopic != markType) { in RootDefinition() 295 RootDefinition(MarkType markType, const char* start, const char* end, int line, in RootDefinition()
|
D | includeWriter.cpp | 14 bool IncludeWriter::checkChildCommentLength(const Definition* parent, MarkType childType) const { in checkChildCommentLength() 23 if (MarkType::kLine == itemChild->fMarkType) { in checkChildCommentLength() 42 [](Definition* child){return MarkType::kNoJustify == child->fMarkType;})) { in checkEnumLengths() 99 case MarkType::kCode: { in descriptionOut() 115 if (MarkType::kLiteral == prop->fChildren[0]->fMarkType) { in descriptionOut() 117 … SkASSERT(1 == childSize || MarkType::kOutdent == prop->fChildren[1]->fMarkType); in descriptionOut() 121 MarkType::kOutdent == prop->fChildren[1]->fMarkType; in descriptionOut() 144 case MarkType::kBug: { in descriptionOut() 154 case MarkType::kFormula: { in descriptionOut() 186 case MarkType::kDetails: in descriptionOut() [all …]
|
D | includeParser.h | 84 { &fIConstMap, MarkType::kConst } in IncludeParser() 85 , { &fIDefineMap, MarkType::kDefine } in IncludeParser() 86 , { &fIEnumMap, MarkType::kEnum } in IncludeParser() 87 , { &fIEnumMap, MarkType::kEnumClass } in IncludeParser() 88 , { &fIStructMap, MarkType::kStruct } in IncludeParser() 89 , { &fITemplateMap, MarkType::kTemplate } in IncludeParser() 90 , { &fITypedefMap, MarkType::kTypedef } in IncludeParser() 91 , { &fIUnionMap, MarkType::kUnion } in IncludeParser() 124 string codeBlock(MarkType markType, string name, bool inProgress) const { in codeBlock() 125 if (MarkType::kClass == markType || MarkType::kStruct == markType) { in codeBlock() [all …]
|
D | includeParser.cpp | 412 if (MarkType::kComment == iDef.fMarkType) { in writeCodeBlock() 420 if (MarkType::kConst == iDef.fMarkType && !i.fEnd) { in writeCodeBlock() 428 if (MarkType::kMember == iDef.fMarkType) { in writeCodeBlock() 445 if (MarkType::kMethod == iDef.fMarkType) { in writeCodeBlock() 470 if (MarkType::kNone != fPreviousMarkType && iDef.fMarkType != fPreviousMarkType in writeCodeBlock() 471 && ((MarkType::kEnum != fPreviousMarkType in writeCodeBlock() 472 && MarkType::kEnumClass != fPreviousMarkType) in writeCodeBlock() 473 || MarkType::kMember != iDef.fMarkType) in writeCodeBlock() 474 && (MarkType::kMember != fPreviousMarkType in writeCodeBlock() 487 if (MarkType::kEnum == iDef.fMarkType || MarkType::kEnumClass == iDef.fMarkType in writeCodeBlock() [all …]
|
D | selfCheck.cpp | 73 if (MarkType::kSubtopic == csChild->fMarkType) { in checkMethod() 78 } else if (MarkType::kMethod != csChild->fMarkType) { in checkMethod() 88 if (MarkType::kIn == child->fMarkType) { in checkMethod() 116 SkASSERT(MarkType::kTopic == topic->fMarkType); in checkRelatedFunctions()
|
D | definition.cpp | 415 SkASSERT(MarkType::kMethod == fMarkType); in checkMethod() 436 foundPopulate |= MarkType::kPopulate == child->fMarkType; in checkMethod() 437 if (MarkType::kReturn != child->fMarkType) { in checkMethod() 438 if (MarkType::kParam == child->fMarkType) { in checkMethod() 468 if (MarkType::kParam != child->fMarkType) { in checkMethod() 493 if (MarkType::kParam != child->fMarkType) { in checkMethod() 508 if (MarkType::kAnchor == child->fMarkType) { in checkMethod() 511 if (MarkType::kCode == child->fMarkType) { in checkMethod() 515 if (MarkType::kFormula == child->fMarkType) { in checkMethod() 518 if (MarkType::kLine == child->fMarkType) { in checkMethod() [all …]
|
D | mdOut.h | 46 MarkType fMarkType; 259 MarkType markType = definition->fMarkType; in resolvable() 260 if (MarkType::kCode == markType) { in resolvable() 262 if (MarkType::kLiteral == child->fMarkType) { in resolvable() 267 if ((MarkType::kExample == markType in resolvable() 268 || MarkType::kFunction == markType) && fHasFiddle) { in resolvable() 284 void summaryOut(const Definition* def, MarkType , string name);
|
D | bookmaker.cpp | 87 static int count_children(const Definition& def, MarkType markType) { in count_children() 350 examples += count_children(*topic.second, MarkType::kExample); in main() 351 methods += count_children(*topic.second, MarkType::kMethod); in main() 352 topics += count_children(*topic.second, MarkType::kSubtopic); in main() 353 topics += count_children(*topic.second, MarkType::kTopic); in main() 387 if (MarkType::kComment != param.fMarkType) { in setParams()
|
D | fiddleParser.cpp | 109 if (MarkType::kStdOut != textOut->fMarkType) { in textOut() 115 if (MarkType::kVolatile == stdOutChild->fMarkType) { in textOut()
|
D | bookmaker.h | 101 enum class MarkType { enum 165 Last_MarkType = (int) MarkType::kWidth,
|
D | cataloger.cpp | 150 const Definition* stdOut = def->hasChild(MarkType::kStdOut); in textOut() 151 const Definition* outVolatile = stdOut ? stdOut->hasChild(MarkType::kVolatile) : nullptr; in textOut()
|
D | includeWriter.h | 136 bool checkChildCommentLength(const Definition* parent, MarkType childType) const;
|