Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DTriple.cpp277 static Triple::OSType parseOS(StringRef OSName) { in parseOS() argument
278 return StringSwitch<Triple::OSType>(OSName) in parseOS()
532 StringRef OSName = getOSName(); in getOSVersion() local
536 if (OSName.startswith(OSTypeName)) in getOSVersion()
537 OSName = OSName.substr(OSTypeName.size()); in getOSVersion()
545 if (OSName.empty() || OSName[0] < '0' || OSName[0] > '9') in getOSVersion()
549 *Components[i] = EatNumber(OSName); in getOSVersion()
552 if (OSName.startswith(".")) in getOSVersion()
553 OSName = OSName.substr(1); in getOSVersion()