modernc.org/libc@v1.24.1/wctype/wctype_openbsd_386.go (about) 1 // Code generated by 'ccgo wctype/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o wctype/wctype_openbsd_386.go -pkgname wctype', DO NOT EDIT. 2 3 package wctype 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 19 X_ILP32 = 1 // <predefined>:1:1: 20 X_LOCALE_T_DEFINED_ = 0 // wctype.h:59:1: 21 X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1: 22 X_MACHINE__TYPES_H_ = 0 // _types.h:36:1: 23 X_MAX_PAGE_SHIFT = 12 // _types.h:52:1: 24 X_STACKALIGNBYTES = 15 // _types.h:49:1: 25 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 26 X_WCTRANS_T_DEFINED_ = 0 // wctype.h:44:1: 27 X_WCTYPE_H_ = 0 // wctype.h:33:1: 28 X_WCTYPE_T_DEFINED_ = 0 // wctype.h:49:1: 29 X_WINT_T_DEFINED_ = 0 // wctype.h:39:1: 30 I386 = 1 // <predefined>:339:1: 31 Unix = 1 // <predefined>:340:1: 32 ) 33 34 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 35 36 type Size_t = uint32 /* <builtin>:9:23 */ 37 38 type Wchar_t = int32 /* <builtin>:15:24 */ 39 40 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 41 type X__float128 = float64 /* <builtin>:47:21 */ 42 43 // $OpenBSD: wctype.h,v 1.6 2017/09/05 03:16:13 schwarze Exp $ 44 // $NetBSD: wctype.h,v 1.5 2003/03/02 22:18:11 tshiozak Exp $ 45 46 // - 47 // Copyright (c)1999 Citrus Project, 48 // All rights reserved. 49 // 50 // Redistribution and use in source and binary forms, with or without 51 // modification, are permitted provided that the following conditions 52 // are met: 53 // 1. Redistributions of source code must retain the above copyright 54 // notice, this list of conditions and the following disclaimer. 55 // 2. Redistributions in binary form must reproduce the above copyright 56 // notice, this list of conditions and the following disclaimer in the 57 // documentation and/or other materials provided with the distribution. 58 // 59 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 60 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 61 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 62 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 63 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 64 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 65 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 66 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 67 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 68 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 69 // SUCH DAMAGE. 70 // 71 // citrus Id: wctype.h,v 1.4 2000/12/21 01:50:21 itojun Exp 72 73 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 74 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 75 76 // Copyright (c) 1991, 1993 77 // The Regents of the University of California. All rights reserved. 78 // 79 // This code is derived from software contributed to Berkeley by 80 // Berkeley Software Design, Inc. 81 // 82 // Redistribution and use in source and binary forms, with or without 83 // modification, are permitted provided that the following conditions 84 // are met: 85 // 1. Redistributions of source code must retain the above copyright 86 // notice, this list of conditions and the following disclaimer. 87 // 2. Redistributions in binary form must reproduce the above copyright 88 // notice, this list of conditions and the following disclaimer in the 89 // documentation and/or other materials provided with the distribution. 90 // 3. Neither the name of the University nor the names of its contributors 91 // may be used to endorse or promote products derived from this software 92 // without specific prior written permission. 93 // 94 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 95 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 96 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 97 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 98 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 99 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 100 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 101 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 102 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 103 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 104 // SUCH DAMAGE. 105 // 106 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 107 108 // $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $ 109 110 // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. 111 // Public domain. 112 113 // Macro to test if we're using a specific version of gcc or later. 114 115 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 116 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 117 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 118 // in between its arguments. Do not use __CONCAT on double-quoted strings, 119 // such as those from the __STRING macro: to concatenate strings just put 120 // them next to each other. 121 122 // GCC1 and some versions of GCC2 declare dead (non-returning) and 123 // pure (no side effects) functions using "volatile" and "const"; 124 // unfortunately, these then cause warnings under "-ansi -pedantic". 125 // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these 126 // work for GNU C++ (modulo a slight glitch in the C++ grammar in 127 // the distribution version of 2.5.5). 128 129 // __returns_twice makes the compiler not assume the function 130 // only returns once. This affects registerisation of variables: 131 // even local variables need to be in memory across such a call. 132 // Example: setjmp() 133 134 // __only_inline makes the compiler only use this function definition 135 // for inlining; references that can't be inlined will be left as 136 // external references instead of generating a local copy. The 137 // matching library should include a simple extern definition for 138 // the function to handle those references. c.f. ctype.h 139 140 // GNU C version 2.96 adds explicit branch prediction so that 141 // the CPU back-end can hint the processor and also so that 142 // code blocks can be reordered such that the predicted path 143 // sees a more linear flow, thus improving cache behavior, etc. 144 // 145 // The following two macros provide us with a way to utilize this 146 // compiler feature. Use __predict_true() if you expect the expression 147 // to evaluate to true, and __predict_false() if you expect the 148 // expression to evaluate to false. 149 // 150 // A few notes about usage: 151 // 152 // * Generally, __predict_false() error condition checks (unless 153 // you have some _strong_ reason to do otherwise, in which case 154 // document it), and/or __predict_true() `no-error' condition 155 // checks, assuming you want to optimize for the no-error case. 156 // 157 // * Other than that, if you don't know the likelihood of a test 158 // succeeding from empirical or other `hard' evidence, don't 159 // make predictions. 160 // 161 // * These are meant to be used in places that are run `a lot'. 162 // It is wasteful to make predictions in code that is run 163 // seldomly (e.g. at subsystem initialization time) as the 164 // basic block reordering that this affects can often generate 165 // larger code. 166 167 // Delete pseudo-keywords wherever they are not available or needed. 168 169 // The __packed macro indicates that a variable or structure members 170 // should have the smallest possible alignment, despite any host CPU 171 // alignment requirements. 172 // 173 // The __aligned(x) macro specifies the minimum alignment of a 174 // variable or structure. 175 // 176 // These macros together are useful for describing the layout and 177 // alignment of messages exchanged with hardware or other systems. 178 179 // "The nice thing about standards is that there are so many to choose from." 180 // There are a number of "feature test macros" specified by (different) 181 // standards that determine which interfaces and types the header files 182 // should expose. 183 // 184 // Because of inconsistencies in these macros, we define our own 185 // set in the private name space that end in _VISIBLE. These are 186 // always defined and so headers can test their values easily. 187 // Things can get tricky when multiple feature macros are defined. 188 // We try to take the union of all the features requested. 189 // 190 // The following macros are guaranteed to have a value after cdefs.h 191 // has been included: 192 // __POSIX_VISIBLE 193 // __XPG_VISIBLE 194 // __ISO_C_VISIBLE 195 // __BSD_VISIBLE 196 197 // X/Open Portability Guides and Single Unix Specifications. 198 // _XOPEN_SOURCE XPG3 199 // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4 200 // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2 201 // _XOPEN_SOURCE == 500 XPG5 202 // _XOPEN_SOURCE == 520 XPG5v2 203 // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI 204 // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI 205 // 206 // The XPG spec implies a specific value for _POSIX_C_SOURCE. 207 208 // POSIX macros, these checks must follow the XOPEN ones above. 209 // 210 // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE) 211 // _POSIX_C_SOURCE == 1 1003.1-1990 212 // _POSIX_C_SOURCE == 2 1003.2-1992 213 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 214 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 215 // and the omnibus ISO/IEC 9945-1:1996 216 // _POSIX_C_SOURCE == 200112L 1003.1-2001 217 // _POSIX_C_SOURCE == 200809L 1003.1-2008 218 // 219 // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though 220 // this may be overridden by the _ISOC99_SOURCE macro later. 221 222 // _ANSI_SOURCE means to expose ANSI C89 interfaces only. 223 // If the user defines it in addition to one of the POSIX or XOPEN 224 // macros, assume the POSIX/XOPEN macro(s) should take precedence. 225 226 // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus 227 // override any of the other macros since they are non-exclusive. 228 229 // Finally deal with BSD-specific interfaces that are not covered 230 // by any standards. We expose these when none of the POSIX or XPG 231 // macros is defined or if the user explicitly asks for them. 232 233 // Default values. 234 235 // $OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $ 236 237 // - 238 // Copyright (c) 1990, 1993 239 // The Regents of the University of California. All rights reserved. 240 // 241 // Redistribution and use in source and binary forms, with or without 242 // modification, are permitted provided that the following conditions 243 // are met: 244 // 1. Redistributions of source code must retain the above copyright 245 // notice, this list of conditions and the following disclaimer. 246 // 2. Redistributions in binary form must reproduce the above copyright 247 // notice, this list of conditions and the following disclaimer in the 248 // documentation and/or other materials provided with the distribution. 249 // 3. Neither the name of the University nor the names of its contributors 250 // may be used to endorse or promote products derived from this software 251 // without specific prior written permission. 252 // 253 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 254 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 255 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 256 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 257 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 258 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 259 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 260 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 261 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 262 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 263 // SUCH DAMAGE. 264 // 265 // @(#)types.h 8.3 (Berkeley) 1/5/94 266 // @(#)ansi.h 8.2 (Berkeley) 1/4/94 267 268 // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned 269 // value for all data types (int, long, ...). The result is an 270 // unsigned long and must be cast to any desired pointer type. 271 // 272 // _ALIGNED_POINTER is a boolean macro that checks whether an address 273 // is valid to fetch data elements of type t from on this architecture. 274 // This does not reflect the optimal alignment, just the possibility 275 // (within reasonable limits). 276 277 // 7.18.1.1 Exact-width integer types 278 type X__int8_t = int8 /* _types.h:61:22 */ 279 type X__uint8_t = uint8 /* _types.h:62:24 */ 280 type X__int16_t = int16 /* _types.h:63:17 */ 281 type X__uint16_t = uint16 /* _types.h:64:25 */ 282 type X__int32_t = int32 /* _types.h:65:15 */ 283 type X__uint32_t = uint32 /* _types.h:66:23 */ 284 type X__int64_t = int64 /* _types.h:67:20 */ 285 type X__uint64_t = uint64 /* _types.h:68:28 */ 286 287 // 7.18.1.2 Minimum-width integer types 288 type X__int_least8_t = X__int8_t /* _types.h:71:19 */ 289 type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */ 290 type X__int_least16_t = X__int16_t /* _types.h:73:20 */ 291 type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ 292 type X__int_least32_t = X__int32_t /* _types.h:75:20 */ 293 type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ 294 type X__int_least64_t = X__int64_t /* _types.h:77:20 */ 295 type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ 296 297 // 7.18.1.3 Fastest minimum-width integer types 298 type X__int_fast8_t = X__int32_t /* _types.h:81:20 */ 299 type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */ 300 type X__int_fast16_t = X__int32_t /* _types.h:83:20 */ 301 type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ 302 type X__int_fast32_t = X__int32_t /* _types.h:85:20 */ 303 type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ 304 type X__int_fast64_t = X__int64_t /* _types.h:87:20 */ 305 type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ 306 307 // 7.18.1.4 Integer types capable of holding object pointers 308 type X__intptr_t = int32 /* _types.h:103:16 */ 309 type X__uintptr_t = uint32 /* _types.h:104:24 */ 310 311 // 7.18.1.5 Greatest-width integer types 312 type X__intmax_t = X__int64_t /* _types.h:107:20 */ 313 type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ 314 315 // Register size 316 type X__register_t = int32 /* _types.h:111:16 */ 317 318 // VM system types 319 type X__vaddr_t = uint32 /* _types.h:114:24 */ 320 type X__paddr_t = uint32 /* _types.h:115:24 */ 321 type X__vsize_t = uint32 /* _types.h:116:24 */ 322 type X__psize_t = uint32 /* _types.h:117:24 */ 323 324 // Standard system types 325 type X__double_t = float64 /* _types.h:120:22 */ 326 type X__float_t = float64 /* _types.h:121:22 */ 327 type X__ptrdiff_t = int32 /* _types.h:122:16 */ 328 type X__size_t = uint32 /* _types.h:123:24 */ 329 type X__ssize_t = int32 /* _types.h:124:16 */ 330 type X__va_list = X__builtin_va_list /* _types.h:126:27 */ 331 332 // Wide character support types 333 type X__wchar_t = int32 /* _types.h:133:15 */ 334 type X__wint_t = int32 /* _types.h:135:15 */ 335 type X__rune_t = int32 /* _types.h:136:15 */ 336 type X__wctrans_t = uintptr /* _types.h:137:14 */ 337 type X__wctype_t = uintptr /* _types.h:138:14 */ 338 339 type Wint_t = X__wint_t /* wctype.h:40:21 */ 340 341 type Wctrans_t = X__wctrans_t /* wctype.h:45:21 */ 342 343 type Wctype_t = X__wctype_t /* wctype.h:50:20 */ 344 345 type Locale_t = uintptr /* wctype.h:60:14 */ 346 347 var _ int8 /* gen.c:2:13: */