modernc.org/libc@v1.24.1/wctype/wctype_netbsd_arm.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_netbsd_arm.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_ARM_ARCH_4T = 0 // cdefs.h:44:1: 19 X_ARM_ARCH_5 = 0 // cdefs.h:40:1: 20 X_ARM_ARCH_5T = 0 // cdefs.h:36:1: 21 X_ARM_ARCH_6 = 0 // cdefs.h:31:1: 22 X_ARM_ARCH_7 = 0 // cdefs.h:20:1: 23 X_ARM_ARCH_DWORD_OK = 0 // cdefs.h:51:1: 24 X_ARM_ARCH_T2 = 0 // cdefs.h:24:1: 25 X_ARM_CDEFS_H_ = 0 // cdefs.h:4:1: 26 X_ARM_INT_TYPES_H_ = 0 // int_types.h:33:1: 27 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 28 X_NETBSD_SOURCE = 1 // featuretest.h:70:1: 29 X_SYS_ANSI_H_ = 0 // ansi.h:33:1: 30 X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1: 31 X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1: 32 X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1: 33 X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1: 34 X_WCTYPE_H_ = 0 // wctype.h:32:1: 35 ) 36 37 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 38 39 type Size_t = uint32 /* <builtin>:9:23 */ 40 41 type Wchar_t = int32 /* <builtin>:15:24 */ 42 43 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 44 type X__float128 = float64 /* <builtin>:47:21 */ 45 46 // return true if value 'a' fits in type 't' 47 48 // $NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $ 49 50 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998. 51 // Public domain. 52 // 53 // NOTE: Do not protect this header against multiple inclusion. Doing 54 // so can have subtle side-effects due to header file inclusion order 55 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE. Instead, 56 // protect each CPP macro that we want to supply. 57 58 // Feature-test macros are defined by several standards, and allow an 59 // application to specify what symbols they want the system headers to 60 // expose, and hence what standard they want them to conform to. 61 // There are two classes of feature-test macros. The first class 62 // specify complete standards, and if one of these is defined, header 63 // files will try to conform to the relevant standard. They are: 64 // 65 // ANSI macros: 66 // _ANSI_SOURCE ANSI C89 67 // 68 // POSIX macros: 69 // _POSIX_SOURCE == 1 IEEE Std 1003.1 (version?) 70 // _POSIX_C_SOURCE == 1 IEEE Std 1003.1-1990 71 // _POSIX_C_SOURCE == 2 IEEE Std 1003.2-1992 72 // _POSIX_C_SOURCE == 199309L IEEE Std 1003.1b-1993 73 // _POSIX_C_SOURCE == 199506L ISO/IEC 9945-1:1996 74 // _POSIX_C_SOURCE == 200112L IEEE Std 1003.1-2001 75 // _POSIX_C_SOURCE == 200809L IEEE Std 1003.1-2008 76 // 77 // X/Open macros: 78 // _XOPEN_SOURCE System Interfaces and Headers, Issue 4, Ver 2 79 // _XOPEN_SOURCE_EXTENDED == 1 XSH4.2 UNIX extensions 80 // _XOPEN_SOURCE == 500 System Interfaces and Headers, Issue 5 81 // _XOPEN_SOURCE == 520 Networking Services (XNS), Issue 5.2 82 // _XOPEN_SOURCE == 600 IEEE Std 1003.1-2001, XSI option 83 // _XOPEN_SOURCE == 700 IEEE Std 1003.1-2008, XSI option 84 // 85 // NetBSD macros: 86 // _NETBSD_SOURCE == 1 Make all NetBSD features available. 87 // 88 // If more than one of these "major" feature-test macros is defined, 89 // then the set of facilities provided (and namespace used) is the 90 // union of that specified by the relevant standards, and in case of 91 // conflict, the earlier standard in the above list has precedence (so 92 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version 93 // of rename() that's used is the POSIX one). If none of the "major" 94 // feature-test macros is defined, _NETBSD_SOURCE is assumed. 95 // 96 // There are also "minor" feature-test macros, which enable extra 97 // functionality in addition to some base standard. They should be 98 // defined along with one of the "major" macros. The "minor" macros 99 // are: 100 // 101 // _REENTRANT 102 // _ISOC99_SOURCE 103 // _ISOC11_SOURCE 104 // _LARGEFILE_SOURCE Large File Support 105 // <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html> 106 107 // $NetBSD: ansi.h,v 1.14 2011/07/17 20:54:54 joerg Exp $ 108 109 // - 110 // Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc. 111 // All rights reserved. 112 // 113 // This code is derived from software contributed to The NetBSD Foundation 114 // by Jun-ichiro itojun Hagino and by Klaus Klein. 115 // 116 // Redistribution and use in source and binary forms, with or without 117 // modification, are permitted provided that the following conditions 118 // are met: 119 // 1. Redistributions of source code must retain the above copyright 120 // notice, this list of conditions and the following disclaimer. 121 // 2. Redistributions in binary form must reproduce the above copyright 122 // notice, this list of conditions and the following disclaimer in the 123 // documentation and/or other materials provided with the distribution. 124 // 125 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 126 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 127 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 128 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 129 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 130 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 131 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 132 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 133 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 134 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 135 // POSSIBILITY OF SUCH DAMAGE. 136 137 // $NetBSD: ansi.h,v 1.18 2019/05/07 03:49:26 kamil Exp $ 138 139 // $NetBSD: common_ansi.h,v 1.1 2014/08/19 07:27:31 matt Exp $ 140 141 // - 142 // Copyright (c) 2014 The NetBSD Foundation, Inc. 143 // All rights reserved. 144 // 145 // This code is derived from software contributed to The NetBSD Foundation 146 // by Matt Thomas of 3am Software Foundry. 147 // 148 // Redistribution and use in source and binary forms, with or without 149 // modification, are permitted provided that the following conditions 150 // are met: 151 // 1. Redistributions of source code must retain the above copyright 152 // notice, this list of conditions and the following disclaimer. 153 // 2. Redistributions in binary form must reproduce the above copyright 154 // notice, this list of conditions and the following disclaimer in the 155 // documentation and/or other materials provided with the distribution. 156 // 157 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 158 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 159 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 160 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 161 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 162 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 163 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 164 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 165 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 166 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 167 // POSSIBILITY OF SUCH DAMAGE. 168 169 // $NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $ 170 171 // * Copyright (c) 1991, 1993 172 // The Regents of the University of California. All rights reserved. 173 // 174 // This code is derived from software contributed to Berkeley by 175 // Berkeley Software Design, Inc. 176 // 177 // Redistribution and use in source and binary forms, with or without 178 // modification, are permitted provided that the following conditions 179 // are met: 180 // 1. Redistributions of source code must retain the above copyright 181 // notice, this list of conditions and the following disclaimer. 182 // 2. Redistributions in binary form must reproduce the above copyright 183 // notice, this list of conditions and the following disclaimer in the 184 // documentation and/or other materials provided with the distribution. 185 // 3. Neither the name of the University nor the names of its contributors 186 // may be used to endorse or promote products derived from this software 187 // without specific prior written permission. 188 // 189 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 190 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 191 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 192 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 193 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 194 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 195 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 196 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 197 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 198 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 199 // SUCH DAMAGE. 200 // 201 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 202 203 // $NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $ 204 205 // - 206 // Copyright (c) 2014 The NetBSD Foundation, Inc. 207 // All rights reserved. 208 // 209 // This code is derived from software contributed to The NetBSD Foundation 210 // by Matt Thomas of 3am Software Foundry. 211 // 212 // Redistribution and use in source and binary forms, with or without 213 // modification, are permitted provided that the following conditions 214 // are met: 215 // 1. Redistributions of source code must retain the above copyright 216 // notice, this list of conditions and the following disclaimer. 217 // 2. Redistributions in binary form must reproduce the above copyright 218 // notice, this list of conditions and the following disclaimer in the 219 // documentation and/or other materials provided with the distribution. 220 // 221 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 222 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 223 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 224 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 225 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 226 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 227 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 228 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 229 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 230 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 231 // POSSIBILITY OF SUCH DAMAGE. 232 233 // $NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $ 234 235 // - 236 // Copyright (c) 2014 The NetBSD Foundation, Inc. 237 // All rights reserved. 238 // 239 // This code is derived from software contributed to The NetBSD Foundation 240 // by Joerg Sonnenberger. 241 // 242 // Redistribution and use in source and binary forms, with or without 243 // modification, are permitted provided that the following conditions 244 // are met: 245 // 1. Redistributions of source code must retain the above copyright 246 // notice, this list of conditions and the following disclaimer. 247 // 2. Redistributions in binary form must reproduce the above copyright 248 // notice, this list of conditions and the following disclaimer in the 249 // documentation and/or other materials provided with the distribution. 250 // 251 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 252 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 253 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 254 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 255 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 256 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 257 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 258 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 259 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 260 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 261 // POSSIBILITY OF SUCH DAMAGE. 262 263 // 7.18.1 Integer types 264 265 // 7.18.1.1 Exact-width integer types 266 267 type X__int8_t = int8 /* common_int_types.h:45:27 */ 268 type X__uint8_t = uint8 /* common_int_types.h:46:27 */ 269 type X__int16_t = int16 /* common_int_types.h:47:27 */ 270 type X__uint16_t = uint16 /* common_int_types.h:48:27 */ 271 type X__int32_t = int32 /* common_int_types.h:49:27 */ 272 type X__uint32_t = uint32 /* common_int_types.h:50:27 */ 273 type X__int64_t = int64 /* common_int_types.h:51:27 */ 274 type X__uint64_t = uint64 /* common_int_types.h:52:27 */ 275 276 // 7.18.1.4 Integer types capable of holding object pointers 277 278 type X__intptr_t = int32 /* common_int_types.h:58:27 */ 279 type X__uintptr_t = uint32 /* common_int_types.h:59:26 */ 280 281 // Types which are fundamental to the implementation and may appear in 282 // more than one standard header are defined here. Standard headers 283 // then use: 284 // #ifdef _BSD_SIZE_T_ 285 // typedef _BSD_SIZE_T_ size_t; 286 // #undef _BSD_SIZE_T_ 287 // #endif 288 289 type X__caddr_t = uintptr /* ansi.h:37:14 */ // core address 290 type X__gid_t = X__uint32_t /* ansi.h:38:20 */ // group id 291 type X__in_addr_t = X__uint32_t /* ansi.h:39:20 */ // IP(v4) address 292 type X__in_port_t = X__uint16_t /* ansi.h:40:20 */ // "Internet" port number 293 type X__mode_t = X__uint32_t /* ansi.h:41:20 */ // file permissions 294 type X__off_t = X__int64_t /* ansi.h:42:19 */ // file offset 295 type X__pid_t = X__int32_t /* ansi.h:43:19 */ // process id 296 type X__sa_family_t = X__uint8_t /* ansi.h:44:19 */ // socket address family 297 type X__socklen_t = uint32 /* ansi.h:45:22 */ // socket-related datum length 298 type X__uid_t = X__uint32_t /* ansi.h:46:20 */ // user id 299 type X__fsblkcnt_t = X__uint64_t /* ansi.h:47:20 */ // fs block count (statvfs) 300 type X__fsfilcnt_t = X__uint64_t /* ansi.h:48:20 */ 301 type X__wctrans_t = uintptr /* ansi.h:51:32 */ 302 type X__wctype_t = uintptr /* ansi.h:54:31 */ 303 304 // mbstate_t is an opaque object to keep conversion state, during multibyte 305 // stream conversions. The content must not be referenced by user programs. 306 type X__mbstate_t = struct { 307 F__mbstateL X__int64_t 308 F__ccgo_pad1 [120]byte 309 } /* ansi.h:63:3 */ 310 311 type X__va_list = X__builtin_va_list /* ansi.h:72:27 */ 312 313 type Wint_t = int32 /* wctype.h:39:25 */ 314 315 type Wctrans_t = X__wctrans_t /* wctype.h:44:25 */ 316 317 type Wctype_t = X__wctype_t /* wctype.h:49:24 */ 318 319 type Locale_t = uintptr /* wctype.h:79:25 */ 320 321 var _ uint8 /* gen.c:2:13: */