Lines Matching defs:Pos
320 for (const auto &Pos : PosList) {
321 if (Pos > Begin)
322 EOL = std::min(EOL, Pos);
342 for (size_t Pos = 0;
343 (Pos = Type.find(Kw.data(), Pos)) != std::string::npos;) {
344 Type.replace(Pos, Kw.size(), "");
350 const size_t Pos = Type.find('<');
351 if (Pos != std::string::npos) {
352 TypeName = Type.erase(Pos, Type.size() - Pos);
356 for (size_t Pos = 0; (Pos = Type.find(" ", Pos)) != std::string::npos;
357 Pos += strlen(" ")) {
358 Type.replace(Pos, strlen(" "), " ");
362 for (size_t Pos = 0; (Pos = Type.find(" &", Pos)) != std::string::npos;
363 Pos += strlen("&")) {
364 Type.replace(Pos, strlen(" &"), "&");
368 for (size_t Pos = 0; (Pos = Type.find(" *", Pos)) != std::string::npos;
369 Pos += strlen("*")) {
370 Type.replace(Pos, strlen(" *"), "* ");
378 size_t Pos = Type.rfind(Kw.data());
379 if (Pos != std::string::npos) {
381 Type = Type.substr(0, Pos + Kw.size() + PtrCount);
596 size_t Pos = ModifiedTypeName.find_last_of('&');
597 if (Pos != std::string::npos)
598 ModifiedTypeName = ModifiedTypeName.substr(0, Pos);
703 size_t Pos = TypeName.find('*');
705 for (; Pos < TypeName.length(); Pos++, Count++) {
706 if ('*' != TypeName[Pos])