Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DCommandLine.cpp437 StringRef WorkStr(Input); in ParseCStringVector() local
438 while (!WorkStr.empty()) { in ParseCStringVector()
440 if (Delims.find(WorkStr[0]) != StringRef::npos) { in ParseCStringVector()
441 size_t Pos = WorkStr.find_first_not_of(Delims); in ParseCStringVector()
442 if (Pos == StringRef::npos) Pos = WorkStr.size(); in ParseCStringVector()
443 WorkStr = WorkStr.substr(Pos); in ParseCStringVector()
448 size_t Pos = WorkStr.find_first_of(Delims); in ParseCStringVector()
449 if (Pos == StringRef::npos) Pos = WorkStr.size(); in ParseCStringVector()
453 memcpy(NewStr, WorkStr.data(), Pos); in ParseCStringVector()
457 WorkStr = WorkStr.substr(Pos); in ParseCStringVector()