Lines Matching refs:Str
73 char Str[7]; in getDarwinDefines() local
75 Str[0] = '0' + OsVersion.getMajor(); in getDarwinDefines()
76 Str[1] = '0' + (OsVersion.getMinor().value_or(0) / 10); in getDarwinDefines()
77 Str[2] = '0' + (OsVersion.getMinor().value_or(0) % 10); in getDarwinDefines()
78 Str[3] = '0' + (OsVersion.getSubminor().value_or(0) / 10); in getDarwinDefines()
79 Str[4] = '0' + (OsVersion.getSubminor().value_or(0) % 10); in getDarwinDefines()
80 Str[5] = '\0'; in getDarwinDefines()
83 Str[0] = '0' + (OsVersion.getMajor() / 10); in getDarwinDefines()
84 Str[1] = '0' + (OsVersion.getMajor() % 10); in getDarwinDefines()
85 Str[2] = '0' + (OsVersion.getMinor().value_or(0) / 10); in getDarwinDefines()
86 Str[3] = '0' + (OsVersion.getMinor().value_or(0) % 10); in getDarwinDefines()
87 Str[4] = '0' + (OsVersion.getSubminor().value_or(0) / 10); in getDarwinDefines()
88 Str[5] = '0' + (OsVersion.getSubminor().value_or(0) % 10); in getDarwinDefines()
89 Str[6] = '\0'; in getDarwinDefines()
92 Builder.defineMacro("__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__", Str); in getDarwinDefines()
95 Str); in getDarwinDefines()
99 char Str[6]; in getDarwinDefines() local
100 Str[0] = '0' + OsVersion.getMajor(); in getDarwinDefines()
101 Str[1] = '0' + (OsVersion.getMinor().value_or(0) / 10); in getDarwinDefines()
102 Str[2] = '0' + (OsVersion.getMinor().value_or(0) % 10); in getDarwinDefines()
103 Str[3] = '0' + (OsVersion.getSubminor().value_or(0) / 10); in getDarwinDefines()
104 Str[4] = '0' + (OsVersion.getSubminor().value_or(0) % 10); in getDarwinDefines()
105 Str[5] = '\0'; in getDarwinDefines()
106 Builder.defineMacro("__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__", Str); in getDarwinDefines()
111 char Str[7]; in getDarwinDefines() local
112 Str[0] = '0' + (OsVersion.getMajor() / 10); in getDarwinDefines()
113 Str[1] = '0' + (OsVersion.getMajor() % 10); in getDarwinDefines()
114 Str[2] = '0' + (OsVersion.getMinor().value_or(0) / 10); in getDarwinDefines()
115 Str[3] = '0' + (OsVersion.getMinor().value_or(0) % 10); in getDarwinDefines()
116 Str[4] = '0' + (OsVersion.getSubminor().value_or(0) / 10); in getDarwinDefines()
117 Str[5] = '0' + (OsVersion.getSubminor().value_or(0) % 10); in getDarwinDefines()
118 Str[6] = '\0'; in getDarwinDefines()
119 Builder.defineMacro("__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__", Str); in getDarwinDefines()
126 char Str[7]; in getDarwinDefines() local
128 Str[0] = '0' + (OsVersion.getMajor() / 10); in getDarwinDefines()
129 Str[1] = '0' + (OsVersion.getMajor() % 10); in getDarwinDefines()
130 Str[2] = '0' + std::min(OsVersion.getMinor().value_or(0), 9U); in getDarwinDefines()
131 Str[3] = '0' + std::min(OsVersion.getSubminor().value_or(0), 9U); in getDarwinDefines()
132 Str[4] = '\0'; in getDarwinDefines()
135 Str[0] = '0' + (OsVersion.getMajor() / 10); in getDarwinDefines()
136 Str[1] = '0' + (OsVersion.getMajor() % 10); in getDarwinDefines()
137 Str[2] = '0' + (OsVersion.getMinor().value_or(0) / 10); in getDarwinDefines()
138 Str[3] = '0' + (OsVersion.getMinor().value_or(0) % 10); in getDarwinDefines()
139 Str[4] = '0' + (OsVersion.getSubminor().value_or(0) / 10); in getDarwinDefines()
140 Str[5] = '0' + (OsVersion.getSubminor().value_or(0) % 10); in getDarwinDefines()
141 Str[6] = '\0'; in getDarwinDefines()
143 Builder.defineMacro("__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__", Str); in getDarwinDefines()