Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DTriple.cpp261 static Triple::OSType parseOS(StringRef OSName) { in parseOS() argument
262 return StringSwitch<Triple::OSType>(OSName) in parseOS()
519 StringRef OSName = getOSName(); in getOSVersion() local
523 if (OSName.startswith(OSTypeName)) in getOSVersion()
524 OSName = OSName.substr(OSTypeName.size()); in getOSVersion()
532 if (OSName.empty() || OSName[0] < '0' || OSName[0] > '9') in getOSVersion()
536 *Components[i] = EatNumber(OSName); in getOSVersion()
539 if (OSName.startswith(".")) in getOSVersion()
540 OSName = OSName.substr(1); in getOSVersion()