Lines Matching refs:commentStart
85 const char* commentStart = def->fContentStart; in descriptionOut() local
89 commentStart = parser.fChar; in descriptionOut()
91 int commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
102 commentLen = (int) (prop->fStart - commentStart); in descriptionOut()
105 if (Wrote::kNone != this->rewriteBlock(commentLen, commentStart, Phrase::kNo)) { in descriptionOut()
118 commentStart = prop->fChildren[childSize - 1]->fContentStart; in descriptionOut()
124 commentLen = (int) (prop->fContentEnd - commentStart); in descriptionOut()
130 wroteSomething |= this->writeBlockIndent(commentLen, commentStart, false); in descriptionOut()
142 commentStart = prop->fTerminator; in descriptionOut()
155 commentLen = prop->fStart - commentStart; in descriptionOut()
157 if (Wrote::kNone != this->rewriteBlock(commentLen, commentStart, Phrase::kNo)) { in descriptionOut()
178 commentStart = prop->fTerminator; in descriptionOut()
179 commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
181 if (commentLen > 1 && ' ' == commentStart[0] && !fLinefeeds) { in descriptionOut()
190 commentLen = (int) (prop->fStart - commentStart); in descriptionOut()
193 if (Wrote::kNone != this->rewriteBlock(commentLen, commentStart, Phrase::kNo)) { in descriptionOut()
201 commentStart = prop->fTerminator; in descriptionOut()
202 commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
205 commentLen = prop->fStart - commentStart; in descriptionOut()
207 if (Wrote::kNone != this->rewriteBlock(commentLen, commentStart, in descriptionOut()
229 commentStart = prop->fTerminator; in descriptionOut()
230 commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
231 if ('\n' == commentStart[0] && '\n' == commentStart[1]) { in descriptionOut()
236 commentLen = prop->fStart - commentStart; in descriptionOut()
241 this->rewriteBlock(commentLen, commentStart, Phrase::kNo); in descriptionOut()
293 commentStart = prop->fContentStart; in descriptionOut()
294 commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
296 if ('\n' == commentStart[0] && '\n' == commentStart[1]) { in descriptionOut()
302 commentLen = (int) (prop->fStart - commentStart); in descriptionOut()
310 commentLen = (int) (def->fContentEnd - commentStart); in descriptionOut()
314 if (Wrote::kNone != this->rewriteBlock(commentLen, commentStart, phrase)) { in descriptionOut()
380 const char* commentStart = nullptr; in enumHeaderOut() local
388 commentStart = codeBlock->fTerminator; in enumHeaderOut()
398 !this->contentFree((int) (commentEnd - commentStart), commentStart)) { in enumHeaderOut()
414 if (commentEnd - commentStart > 1) { in enumHeaderOut()
415 SkASSERT('\n' == commentStart[0]); in enumHeaderOut()
416 if (' ' == commentStart[1]) { in enumHeaderOut()
422 this->rewriteBlock((int) (commentEnd - commentStart), commentStart, Phrase::kNo); in enumHeaderOut()
424 bool newLine = commentEnd - commentStart > 1 && in enumHeaderOut()
426 commentStart = test->fContentStart; in enumHeaderOut()
435 this->rewriteBlock((int) (commentEnd - commentStart), commentStart, Phrase::kNo); in enumHeaderOut()
437 this->writeBlock((int) (commentEnd - commentStart), commentStart); in enumHeaderOut()
442 commentStart = test->fTerminator; in enumHeaderOut()
898 const char* commentStart, const char* commentEnd) { in structOut() argument
907 this->rewriteBlock((int)(commentEnd - commentStart), commentStart, Phrase::kNo); in structOut()
1625 const char* commentStart = root->fContentStart; in populate() local
1630 … TextParser parser(root->fFileName, commentStart, commentEnd, line); in populate()
1637 commentStart = root->fChildren[index]->fTerminator; in populate()
1642 this->structOut(root, *root, commentStart, commentEnd); in populate()
1669 const char* commentStart = codeBlock->fTerminator; in populate() local
1681 TextParser nextComment(codeBlock->fFileName, commentStart, in populate()
1692 this->structOut(root, *fBmhStructDef, commentStart, commentEnd); in populate()