Home
last modified time | relevance | path

Searched refs:tokenIter (Results 1 – 5 of 5) sorted by relevance

/external/skqp/tools/bookmaker/
DincludeParser.cpp1168 auto tokenIter = includeDef.fParent->fTokens.begin(); in defineClass() local
1170 std::advance(tokenIter, includeDef.fParentIndex - 1); in defineClass()
1171 const Definition* priorComment = &*tokenIter; in defineClass()
2446 bool IncludeParser::parseEnumConst(list<Definition>::iterator& tokenIter, in parseEnumConst() argument
2448 SkASSERT(Definition::Type::kWord == tokenIter->fType); // should be enum name in parseEnumConst()
2449 tokenIter = std::next(tokenIter); in parseEnumConst()
2450 SkASSERT(tokenEnd != tokenIter); in parseEnumConst()
2451 if (Definition::Type::kKeyWord == tokenIter->fType) { in parseEnumConst()
2452 SkASSERT((unsigned) tokenIter->fKeyWord < SK_ARRAY_COUNT(kKeyWords)); in parseEnumConst()
2453 SkASSERT(KeyProperty::kNumber == kKeyWords[(int) tokenIter->fKeyWord].fProperty); in parseEnumConst()
[all …]
DincludeWriter.cpp1028 auto tokenIter = child.fParent->fTokens.begin(); in structMemberOut() local
1029 std::advance(tokenIter, child.fParentIndex + 1); in structMemberOut()
1030 Definition* valueStart = &*tokenIter; in structMemberOut()
1031 while (Definition::Type::kPunctuation != tokenIter->fType) { in structMemberOut()
1032 std::advance(tokenIter, 1); in structMemberOut()
1033 SkASSERT(child.fParent->fTokens.end() != tokenIter); in structMemberOut()
1035 Definition* valueEnd = &*tokenIter; in structMemberOut()
1072 auto tokenIter = test->fParent->fTokens.begin(); in constSizeMembers() local
1073 std::advance(tokenIter, tokenIndex); in constSizeMembers()
1076 std::advance(tokenIter, -1); in constSizeMembers()
[all …]
DmdOut.cpp1174 auto tokenIter = member->fTokens.begin(); in addCodeBlock() local
1175 if (KeyWord::kEnum == member->fKeyWord && KeyWord::kClass == tokenIter->fKeyWord) { in addCodeBlock()
1176 tokenIter = tokenIter->fTokens.begin(); in addCodeBlock()
1178 while (Definition::Type::kWord != tokenIter->fType) { in addCodeBlock()
1179 std::advance(tokenIter, 1); in addCodeBlock()
1181 const auto& token = *tokenIter; in addCodeBlock()
DincludeParser.h197 bool parseEnumConst(list<Definition>::iterator& tokenIter,
/external/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp32 auto tokenIter = tokens.begin(); in eval_template() local
34 for (; tokenIter != tokens.end(); ++tokenIter, ++replacementIter) { in eval_template()
38 position = str.find(*tokenIter, position); in eval_template()
42 str.replace(position, tokenIter->size(), *replacementIter); in eval_template()