modernc.org/libc@v1.24.1/wctype/wctype_darwin_amd64.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_darwin_amd64.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_BSD_I386__TYPES_H_ = 0 // _types.h:29:1: 19 X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: 20 X_CACHED_RUNES = 256 // runetype.h:54:1: 21 X_CDEFS_H_ = 0 // cdefs.h:68:1: 22 X_CRMASK = -256 // runetype.h:55:1: 23 X_CTYPE_A = 0x00000100 // _ctype.h:72:1: 24 X_CTYPE_B = 0x00020000 // _ctype.h:81:1: 25 X_CTYPE_C = 0x00000200 // _ctype.h:73:1: 26 X_CTYPE_D = 0x00000400 // _ctype.h:74:1: 27 X_CTYPE_G = 0x00000800 // _ctype.h:75:1: 28 X_CTYPE_H_ = 0 // ctype.h:67:1: 29 X_CTYPE_I = 0x00080000 // _ctype.h:83:1: 30 X_CTYPE_L = 0x00001000 // _ctype.h:76:1: 31 X_CTYPE_P = 0x00002000 // _ctype.h:77:1: 32 X_CTYPE_Q = 0x00200000 // _ctype.h:85:1: 33 X_CTYPE_R = 0x00040000 // _ctype.h:82:1: 34 X_CTYPE_S = 0x00004000 // _ctype.h:78:1: 35 X_CTYPE_SW0 = 0x20000000 // _ctype.h:86:1: 36 X_CTYPE_SW1 = 0x40000000 // _ctype.h:87:1: 37 X_CTYPE_SW2 = 0x80000000 // _ctype.h:88:1: 38 X_CTYPE_SW3 = 0xc0000000 // _ctype.h:89:1: 39 X_CTYPE_SWM = 0xe0000000 // _ctype.h:90:1: 40 X_CTYPE_SWS = 30 // _ctype.h:91:1: 41 X_CTYPE_T = 0x00100000 // _ctype.h:84:1: 42 X_CTYPE_U = 0x00008000 // _ctype.h:79:1: 43 X_CTYPE_X = 0x00010000 // _ctype.h:80:1: 44 X_CT_RUNE_T = 0 // _ct_rune_t.h:30:1: 45 X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1: 46 X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1: 47 X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1: 48 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 49 X_FORTIFY_SOURCE = 2 // _types.h:65:1: 50 X_LP64 = 1 // <predefined>:1:1: 51 X_Nonnull = 0 // cdefs.h:243:1: 52 X_Null_unspecified = 0 // cdefs.h:246:1: 53 X_Nullable = 0 // cdefs.h:240:1: 54 X_RUNETYPE_H_ = 0 // runetype.h:40:1: 55 X_RUNE_MAGIC_A = "RuneMagA" // runetype.h:108:1: 56 X_RUNE_T = 0 // _rune_t.h:29:1: 57 X_SIZE_T = 0 // _size_t.h:29:1: 58 X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: 59 X_SYS__TYPES_H_ = 0 // _types.h:30:1: 60 X_WCHAR_T = 0 // _wchar_t.h:32:1: 61 X_WCTRANS_T = 0 // _wctrans_t.h:30:1: 62 X_WCTYPE_H_ = 0 // wctype.h:32:1: 63 X_WCTYPE_T = 0 // _wctype_t.h:30:1: 64 X_WINT_T = 0 // _wint_t.h:30:1: 65 ) 66 67 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 68 69 type Size_t = uint64 /* <builtin>:9:23 */ 70 71 type Wchar_t = int32 /* <builtin>:15:24 */ 72 73 type X__int128_t = struct { 74 Flo int64 75 Fhi int64 76 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 77 type X__uint128_t = struct { 78 Flo uint64 79 Fhi uint64 80 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 81 82 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 83 type X__float128 = float64 /* <builtin>:47:21 */ 84 85 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ 86 87 // - 88 // Copyright (c)1999 Citrus Project, 89 // All rights reserved. 90 // 91 // Redistribution and use in source and binary forms, with or without 92 // modification, are permitted provided that the following conditions 93 // are met: 94 // 1. Redistributions of source code must retain the above copyright 95 // notice, this list of conditions and the following disclaimer. 96 // 2. Redistributions in binary form must reproduce the above copyright 97 // notice, this list of conditions and the following disclaimer in the 98 // documentation and/or other materials provided with the distribution. 99 // 100 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 101 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 102 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 103 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 104 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 105 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 106 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 107 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 108 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 109 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 110 // SUCH DAMAGE. 111 // 112 // citrus Id: wctype.h,v 1.4 2000/12/21 01:50:21 itojun Exp 113 // $NetBSD: wctype.h,v 1.3 2000/12/22 14:16:16 itojun Exp $ 114 // $FreeBSD: /repoman/r/ncvs/src/include/wctype.h,v 1.10 2002/08/21 16:19:55 mike Exp $ 115 116 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 117 // 118 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 119 // 120 // This file contains Original Code and/or Modifications of Original Code 121 // as defined in and that are subject to the Apple Public Source License 122 // Version 2.0 (the 'License'). You may not use this file except in 123 // compliance with the License. The rights granted to you under the License 124 // may not be used to create, or enable the creation or redistribution of, 125 // unlawful or unlicensed copies of an Apple operating system, or to 126 // circumvent, violate, or enable the circumvention or violation of, any 127 // terms of an Apple operating system software license agreement. 128 // 129 // Please obtain a copy of the License at 130 // http://www.opensource.apple.com/apsl/ and read it before using this file. 131 // 132 // The Original Code and all software distributed under the License are 133 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 134 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 135 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 136 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 137 // Please see the License for the specific language governing rights and 138 // limitations under the License. 139 // 140 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 141 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 142 // Copyright (c) 1991, 1993 143 // The Regents of the University of California. All rights reserved. 144 // 145 // This code is derived from software contributed to Berkeley by 146 // Berkeley Software Design, Inc. 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 // 3. All advertising materials mentioning features or use of this software 157 // must display the following acknowledgement: 158 // This product includes software developed by the University of 159 // California, Berkeley and its contributors. 160 // 4. Neither the name of the University nor the names of its contributors 161 // may be used to endorse or promote products derived from this software 162 // without specific prior written permission. 163 // 164 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 165 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 166 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 167 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 168 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 169 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 170 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 171 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 172 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 173 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 174 // SUCH DAMAGE. 175 // 176 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 177 178 // This SDK is designed to work with clang and specific versions of 179 // gcc >= 4.0 with Apple's patch sets 180 181 // Compatibility with compilers and environments that don't support compiler 182 // feature checking function-like macros. 183 184 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 185 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 186 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 187 // in between its arguments. __CONCAT can also concatenate double-quoted 188 // strings produced by the __STRING macro, but this only works with ANSI C. 189 190 // In non-ANSI C environments, new programs will want ANSI-only C keywords 191 // deleted from the program and old programs will want them left alone. 192 // When using a compiler other than gcc, programs using the ANSI C keywords 193 // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS. 194 // When using "gcc -traditional", we assume that this is the intent; if 195 // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone. 196 197 // __unused denotes variables and functions that may not be used, preventing 198 // the compiler from warning about it if not used. 199 200 // __used forces variables and functions to be included even if it appears 201 // to the compiler that they are not used (and would thust be discarded). 202 203 // __cold marks code used for debugging or that is rarely taken 204 // and tells the compiler to optimize for size and outline code. 205 206 // __deprecated causes the compiler to produce a warning when encountering 207 // code using the deprecated functionality. 208 // __deprecated_msg() does the same, and compilers that support it will print 209 // a message along with the deprecation warning. 210 // This may require turning on such warning with the -Wdeprecated flag. 211 // __deprecated_enum_msg() should be used on enums, and compilers that support 212 // it will print the deprecation warning. 213 // __kpi_deprecated() specifically indicates deprecation of kernel programming 214 // interfaces in Kernel.framework used by KEXTs. 215 216 // __unavailable causes the compiler to error out when encountering 217 // code using the tagged function of variable. 218 219 // Delete pseudo-keywords wherever they are not available or needed. 220 221 // We use `__restrict' as a way to define the `restrict' type qualifier 222 // without disturbing older software that is unaware of C99 keywords. 223 224 // Compatibility with compilers and environments that don't support the 225 // nullability feature. 226 227 // __disable_tail_calls causes the compiler to not perform tail call 228 // optimization inside the marked function. 229 230 // __not_tail_called causes the compiler to prevent tail call optimization 231 // on statically bound calls to the function. It has no effect on indirect 232 // calls. Virtual functions, objective-c methods, and functions marked as 233 // "always_inline" cannot be marked as __not_tail_called. 234 235 // __result_use_check warns callers of a function that not using the function 236 // return value is a bug, i.e. dismissing malloc() return value results in a 237 // memory leak. 238 239 // __swift_unavailable causes the compiler to mark a symbol as specifically 240 // unavailable in Swift, regardless of any other availability in C. 241 242 // __abortlike is the attribute to put on functions like abort() that are 243 // typically used to mark assertions. These optimize the codegen 244 // for outlining while still maintaining debugability. 245 246 // Declaring inline functions within headers is error-prone due to differences 247 // across various versions of the C language and extensions. __header_inline 248 // can be used to declare inline functions within system headers. In cases 249 // where you want to force inlining instead of letting the compiler make 250 // the decision, you can use __header_always_inline. 251 // 252 // Be aware that using inline for functions which compilers may also provide 253 // builtins can behave differently under various compilers. If you intend to 254 // provide an inline version of such a function, you may want to use a macro 255 // instead. 256 // 257 // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly 258 // support c99 inline in some cases: 259 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965 260 261 // Compiler-dependent macros that bracket portions of code where the 262 // "-Wunreachable-code" warning should be ignored. Please use sparingly. 263 264 // Compiler-dependent macros to declare that functions take printf-like 265 // or scanf-like arguments. They are null except for versions of gcc 266 // that are known to support the features properly. Functions declared 267 // with these attributes will cause compilation warnings if there is a 268 // mismatch between the format string and subsequent function parameter 269 // types. 270 271 // Source compatibility only, ID string not emitted in object file 272 273 // __alloc_size can be used to label function arguments that represent the 274 // size of memory that the function allocates and returns. The one-argument 275 // form labels a single argument that gives the allocation size (where the 276 // arguments are numbered from 1): 277 // 278 // void *malloc(size_t __size) __alloc_size(1); 279 // 280 // The two-argument form handles the case where the size is calculated as the 281 // product of two arguments: 282 // 283 // void *calloc(size_t __count, size_t __size) __alloc_size(1,2); 284 285 // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail 286 // 287 // DEFAULT By default newly complied code will get POSIX APIs plus 288 // Apple API extensions in scope. 289 // 290 // Most users will use this compilation environment to avoid 291 // behavioral differences between 32 and 64 bit code. 292 // 293 // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple 294 // API extensions in scope. 295 // 296 // This is generally equivalent to the Tiger release compilation 297 // environment, except that it cannot be applied to 64 bit code; 298 // its use is discouraged. 299 // 300 // We expect this environment to be deprecated in the future. 301 // 302 // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the 303 // available APIs to exactly the set of APIs defined by the 304 // corresponding standard, based on the value defined. 305 // 306 // A correct, portable definition for _POSIX_C_SOURCE is 200112L. 307 // A correct, portable definition for _XOPEN_SOURCE is 600L. 308 // 309 // Apple API extensions are not visible in this environment, 310 // which can cause Apple specific code to fail to compile, 311 // or behave incorrectly if prototypes are not in scope or 312 // warnings about missing prototypes are not enabled or ignored. 313 // 314 // In any compilation environment, for correct symbol resolution to occur, 315 // function prototypes must be in scope. It is recommended that all Apple 316 // tools users add either the "-Wall" or "-Wimplicit-function-declaration" 317 // compiler flags to their projects to be warned when a function is being 318 // used without a prototype in scope. 319 320 // These settings are particular to each product. 321 // Platform: MacOSX 322 // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit) 323 324 // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow 325 // legacy code to use the old symbol, thus maintaining binary compatibility 326 // while new code can use a standards compliant version of the same function. 327 // 328 // __DARWIN_ALIAS is used by itself if the function signature has not 329 // changed, it is used along with a #ifdef check for __DARWIN_UNIX03 330 // if the signature has changed. Because the __LP64__ environment 331 // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be 332 // defined, but causes __DARWIN_ALIAS to do no symbol mangling. 333 // 334 // As a special case, when XCode is used to target a specific version of the 335 // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 336 // will be defined by the compiler, with the digits representing major version 337 // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting 338 // pre-10.5, and it is the default compilation environment, revert the 339 // compilation environment to pre-__DARWIN_UNIX03. 340 341 // symbol suffixes used for symbol versioning 342 343 // symbol versioning macros 344 345 // symbol release macros 346 // Copyright (c) 2010 Apple Inc. All rights reserved. 347 // 348 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 349 // 350 // This file contains Original Code and/or Modifications of Original Code 351 // as defined in and that are subject to the Apple Public Source License 352 // Version 2.0 (the 'License'). You may not use this file except in 353 // compliance with the License. The rights granted to you under the License 354 // may not be used to create, or enable the creation or redistribution of, 355 // unlawful or unlicensed copies of an Apple operating system, or to 356 // circumvent, violate, or enable the circumvention or violation of, any 357 // terms of an Apple operating system software license agreement. 358 // 359 // Please obtain a copy of the License at 360 // http://www.opensource.apple.com/apsl/ and read it before using this file. 361 // 362 // The Original Code and all software distributed under the License are 363 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 364 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 365 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 366 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 367 // Please see the License for the specific language governing rights and 368 // limitations under the License. 369 // 370 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 371 372 // POSIX.1 requires that the macros we test be defined before any standard 373 // header file is included. This permits us to convert values for feature 374 // testing, as necessary, using only _POSIX_C_SOURCE. 375 // 376 // Here's a quick run-down of the versions: 377 // defined(_POSIX_SOURCE) 1003.1-1988 378 // _POSIX_C_SOURCE == 1L 1003.1-1990 379 // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option 380 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 381 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 382 // and the omnibus ISO/IEC 9945-1: 1996 383 // _POSIX_C_SOURCE == 200112L 1003.1-2001 384 // _POSIX_C_SOURCE == 200809L 1003.1-2008 385 // 386 // In addition, the X/Open Portability Guide, which is now the Single UNIX 387 // Specification, defines a feature-test macro which indicates the version of 388 // that specification, and which subsumes _POSIX_C_SOURCE. 389 390 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L. 391 392 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L. 393 394 // Deal with various X/Open Portability Guides and Single UNIX Spec. 395 396 // Deal with all versions of POSIX. The ordering relative to the tests above is 397 // important. 398 399 // POSIX C deprecation macros 400 // Copyright (c) 2010 Apple Inc. All rights reserved. 401 // 402 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 403 // 404 // This file contains Original Code and/or Modifications of Original Code 405 // as defined in and that are subject to the Apple Public Source License 406 // Version 2.0 (the 'License'). You may not use this file except in 407 // compliance with the License. The rights granted to you under the License 408 // may not be used to create, or enable the creation or redistribution of, 409 // unlawful or unlicensed copies of an Apple operating system, or to 410 // circumvent, violate, or enable the circumvention or violation of, any 411 // terms of an Apple operating system software license agreement. 412 // 413 // Please obtain a copy of the License at 414 // http://www.opensource.apple.com/apsl/ and read it before using this file. 415 // 416 // The Original Code and all software distributed under the License are 417 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 418 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 419 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 420 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 421 // Please see the License for the specific language governing rights and 422 // limitations under the License. 423 // 424 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 425 426 // Set a single macro which will always be defined and can be used to determine 427 // the appropriate namespace. For POSIX, these values will correspond to 428 // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding 429 // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE) 430 431 // If the developer has neither requested a strict language mode nor a version 432 // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part 433 // of __DARWIN_C_FULL. 434 435 // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and 436 // c99 still want long longs. While not perfect, we allow long longs for 437 // g++. 438 439 // **************************************** 440 // 441 // Public darwin-specific feature macros 442 // 443 444 // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and 445 // structures modified for 64-bit inodes (like struct stat) will be used. 446 447 // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only 448 // be 64-bit; there is no support for 32-bit ino_t when this macro is defined 449 // (and non-zero). There is no struct stat64 either, as the regular 450 // struct stat will already be the 64-bit version. 451 452 // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated 453 // in 10.5 exists; no pre-10.5 variants are available. 454 455 // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API 456 // are available (the legacy BSD APIs are not available) 457 458 // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on, 459 // and specifies the conformance level (3 is SUSv3) 460 461 // This macro casts away the qualifier from the variable 462 // 463 // Note: use at your own risk, removing qualifiers can result in 464 // catastrophic run-time failures. 465 466 // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be 467 // used from other compilation units, but not other libraries or executables. 468 469 // Architecture validation for current SDK 470 471 // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS 472 // 473 // This provides more advanced type checking on compilers supporting 474 // the proper extensions, even in C. 475 476 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 477 // 478 // @APPLE_LICENSE_HEADER_START@ 479 // 480 // This file contains Original Code and/or Modifications of Original Code 481 // as defined in and that are subject to the Apple Public Source License 482 // Version 2.0 (the 'License'). You may not use this file except in 483 // compliance with the License. Please obtain a copy of the License at 484 // http://www.opensource.apple.com/apsl/ and read it before using this 485 // file. 486 // 487 // The Original Code and all software distributed under the License are 488 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 489 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 490 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 491 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 492 // Please see the License for the specific language governing rights and 493 // limitations under the License. 494 // 495 // @APPLE_LICENSE_HEADER_END@ 496 497 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 498 // 499 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 500 // 501 // This file contains Original Code and/or Modifications of Original Code 502 // as defined in and that are subject to the Apple Public Source License 503 // Version 2.0 (the 'License'). You may not use this file except in 504 // compliance with the License. The rights granted to you under the License 505 // may not be used to create, or enable the creation or redistribution of, 506 // unlawful or unlicensed copies of an Apple operating system, or to 507 // circumvent, violate, or enable the circumvention or violation of, any 508 // terms of an Apple operating system software license agreement. 509 // 510 // Please obtain a copy of the License at 511 // http://www.opensource.apple.com/apsl/ and read it before using this file. 512 // 513 // The Original Code and all software distributed under the License are 514 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 515 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 516 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 517 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 518 // Please see the License for the specific language governing rights and 519 // limitations under the License. 520 // 521 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 522 523 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 524 // 525 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 526 // 527 // This file contains Original Code and/or Modifications of Original Code 528 // as defined in and that are subject to the Apple Public Source License 529 // Version 2.0 (the 'License'). You may not use this file except in 530 // compliance with the License. The rights granted to you under the License 531 // may not be used to create, or enable the creation or redistribution of, 532 // unlawful or unlicensed copies of an Apple operating system, or to 533 // circumvent, violate, or enable the circumvention or violation of, any 534 // terms of an Apple operating system software license agreement. 535 // 536 // Please obtain a copy of the License at 537 // http://www.opensource.apple.com/apsl/ and read it before using this file. 538 // 539 // The Original Code and all software distributed under the License are 540 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 541 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 542 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 543 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 544 // Please see the License for the specific language governing rights and 545 // limitations under the License. 546 // 547 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 548 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 549 // Copyright (c) 1991, 1993 550 // The Regents of the University of California. All rights reserved. 551 // 552 // This code is derived from software contributed to Berkeley by 553 // Berkeley Software Design, Inc. 554 // 555 // Redistribution and use in source and binary forms, with or without 556 // modification, are permitted provided that the following conditions 557 // are met: 558 // 1. Redistributions of source code must retain the above copyright 559 // notice, this list of conditions and the following disclaimer. 560 // 2. Redistributions in binary form must reproduce the above copyright 561 // notice, this list of conditions and the following disclaimer in the 562 // documentation and/or other materials provided with the distribution. 563 // 3. All advertising materials mentioning features or use of this software 564 // must display the following acknowledgement: 565 // This product includes software developed by the University of 566 // California, Berkeley and its contributors. 567 // 4. Neither the name of the University nor the names of its contributors 568 // may be used to endorse or promote products derived from this software 569 // without specific prior written permission. 570 // 571 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 572 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 573 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 574 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 575 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 576 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 577 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 578 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 579 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 580 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 581 // SUCH DAMAGE. 582 // 583 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 584 585 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 586 // 587 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 588 // 589 // This file contains Original Code and/or Modifications of Original Code 590 // as defined in and that are subject to the Apple Public Source License 591 // Version 2.0 (the 'License'). You may not use this file except in 592 // compliance with the License. The rights granted to you under the License 593 // may not be used to create, or enable the creation or redistribution of, 594 // unlawful or unlicensed copies of an Apple operating system, or to 595 // circumvent, violate, or enable the circumvention or violation of, any 596 // terms of an Apple operating system software license agreement. 597 // 598 // Please obtain a copy of the License at 599 // http://www.opensource.apple.com/apsl/ and read it before using this file. 600 // 601 // The Original Code and all software distributed under the License are 602 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 603 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 604 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 605 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 606 // Please see the License for the specific language governing rights and 607 // limitations under the License. 608 // 609 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 610 611 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 612 // 613 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 614 // 615 // This file contains Original Code and/or Modifications of Original Code 616 // as defined in and that are subject to the Apple Public Source License 617 // Version 2.0 (the 'License'). You may not use this file except in 618 // compliance with the License. The rights granted to you under the License 619 // may not be used to create, or enable the creation or redistribution of, 620 // unlawful or unlicensed copies of an Apple operating system, or to 621 // circumvent, violate, or enable the circumvention or violation of, any 622 // terms of an Apple operating system software license agreement. 623 // 624 // Please obtain a copy of the License at 625 // http://www.opensource.apple.com/apsl/ and read it before using this file. 626 // 627 // The Original Code and all software distributed under the License are 628 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 629 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 630 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 631 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 632 // Please see the License for the specific language governing rights and 633 // limitations under the License. 634 // 635 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 636 637 // This header file contains integer types. It's intended to also contain 638 // flotaing point and other arithmetic types, as needed, later. 639 640 type X__int8_t = int8 /* _types.h:37:33 */ 641 type X__uint8_t = uint8 /* _types.h:41:33 */ 642 type X__int16_t = int16 /* _types.h:42:33 */ 643 type X__uint16_t = uint16 /* _types.h:43:33 */ 644 type X__int32_t = int32 /* _types.h:44:33 */ 645 type X__uint32_t = uint32 /* _types.h:45:33 */ 646 type X__int64_t = int64 /* _types.h:46:33 */ 647 type X__uint64_t = uint64 /* _types.h:47:33 */ 648 649 type X__darwin_intptr_t = int64 /* _types.h:49:33 */ 650 type X__darwin_natural_t = uint32 /* _types.h:50:33 */ 651 652 // The rune type below is declared to be an ``int'' instead of the more natural 653 // ``unsigned long'' or ``long''. Two things are happening here. It is not 654 // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, 655 // it looks like 10646 will be a 31 bit standard. This means that if your 656 // ints cannot hold 32 bits, you will be in trouble. The reason an int was 657 // chosen over a long is that the is*() and to*() routines take ints (says 658 // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it 659 // here, you lose a bit of ANSI conformance, but your programs will still 660 // work. 661 // 662 // NOTE: rune_t is not covered by ANSI nor other standards, and should not 663 // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and 664 // rune_t must be the same type. Also wint_t must be no narrower than 665 // wchar_t, and should also be able to hold all members of the largest 666 // character set plus one extra value (WEOF). wint_t must be at least 16 bits. 667 668 type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t 669 670 // mbstate_t is an opaque object to keep conversion state, during multibyte 671 // stream conversions. The content must not be referenced by user programs. 672 type X__mbstate_t = struct { 673 F__ccgo_pad1 [0]uint64 674 F__mbstate8 [128]int8 675 } /* _types.h:79:3 */ 676 677 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t 678 679 type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2 680 681 type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof() 682 683 type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list 684 685 type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t 686 687 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t 688 689 type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t 690 691 type X__darwin_clock_t = uint64 /* _types.h:117:33 */ // clock() 692 type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh) 693 type X__darwin_ssize_t = int64 /* _types.h:119:33 */ // byte count or error 694 type X__darwin_time_t = int64 /* _types.h:120:33 */ // time() 695 696 // Type definitions; takes common type definitions that must be used 697 // in multiple header files due to [XSI], removes them from the system 698 // space, and puts them in the implementation space. 699 700 type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks 701 type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size 702 type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t 703 type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs 704 type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs 705 type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs 706 type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t 707 type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes 708 type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes 709 type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach 710 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach 711 type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes 712 type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes 713 type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs 714 type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set 715 type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds 716 type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs 717 type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds 718 type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */ 719 type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */ 720 721 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 722 // 723 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 724 // 725 // This file contains Original Code and/or Modifications of Original Code 726 // as defined in and that are subject to the Apple Public Source License 727 // Version 2.0 (the 'License'). You may not use this file except in 728 // compliance with the License. The rights granted to you under the License 729 // may not be used to create, or enable the creation or redistribution of, 730 // unlawful or unlicensed copies of an Apple operating system, or to 731 // circumvent, violate, or enable the circumvention or violation of, any 732 // terms of an Apple operating system software license agreement. 733 // 734 // Please obtain a copy of the License at 735 // http://www.opensource.apple.com/apsl/ and read it before using this file. 736 // 737 // The Original Code and all software distributed under the License are 738 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 739 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 740 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 741 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 742 // Please see the License for the specific language governing rights and 743 // limitations under the License. 744 // 745 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 746 747 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 748 // 749 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 750 // 751 // This file contains Original Code and/or Modifications of Original Code 752 // as defined in and that are subject to the Apple Public Source License 753 // Version 2.0 (the 'License'). You may not use this file except in 754 // compliance with the License. The rights granted to you under the License 755 // may not be used to create, or enable the creation or redistribution of, 756 // unlawful or unlicensed copies of an Apple operating system, or to 757 // circumvent, violate, or enable the circumvention or violation of, any 758 // terms of an Apple operating system software license agreement. 759 // 760 // Please obtain a copy of the License at 761 // http://www.opensource.apple.com/apsl/ and read it before using this file. 762 // 763 // The Original Code and all software distributed under the License are 764 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 765 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 766 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 767 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 768 // Please see the License for the specific language governing rights and 769 // limitations under the License. 770 // 771 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 772 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 773 // Copyright (c) 1991, 1993 774 // The Regents of the University of California. All rights reserved. 775 // 776 // This code is derived from software contributed to Berkeley by 777 // Berkeley Software Design, Inc. 778 // 779 // Redistribution and use in source and binary forms, with or without 780 // modification, are permitted provided that the following conditions 781 // are met: 782 // 1. Redistributions of source code must retain the above copyright 783 // notice, this list of conditions and the following disclaimer. 784 // 2. Redistributions in binary form must reproduce the above copyright 785 // notice, this list of conditions and the following disclaimer in the 786 // documentation and/or other materials provided with the distribution. 787 // 3. All advertising materials mentioning features or use of this software 788 // must display the following acknowledgement: 789 // This product includes software developed by the University of 790 // California, Berkeley and its contributors. 791 // 4. Neither the name of the University nor the names of its contributors 792 // may be used to endorse or promote products derived from this software 793 // without specific prior written permission. 794 // 795 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 796 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 797 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 798 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 799 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 800 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 801 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 802 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 803 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 804 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 805 // SUCH DAMAGE. 806 // 807 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 808 809 // pthread opaque structures 810 811 type X__darwin_pthread_handler_rec = struct { 812 F__routine uintptr 813 F__arg uintptr 814 F__next uintptr 815 } /* _pthread_types.h:57:1 */ 816 817 type X_opaque_pthread_attr_t = struct { 818 F__sig int64 819 F__opaque [56]int8 820 } /* _pthread_types.h:63:1 */ 821 822 type X_opaque_pthread_cond_t = struct { 823 F__sig int64 824 F__opaque [40]int8 825 } /* _pthread_types.h:68:1 */ 826 827 type X_opaque_pthread_condattr_t = struct { 828 F__sig int64 829 F__opaque [8]int8 830 } /* _pthread_types.h:73:1 */ 831 832 type X_opaque_pthread_mutex_t = struct { 833 F__sig int64 834 F__opaque [56]int8 835 } /* _pthread_types.h:78:1 */ 836 837 type X_opaque_pthread_mutexattr_t = struct { 838 F__sig int64 839 F__opaque [8]int8 840 } /* _pthread_types.h:83:1 */ 841 842 type X_opaque_pthread_once_t = struct { 843 F__sig int64 844 F__opaque [8]int8 845 } /* _pthread_types.h:88:1 */ 846 847 type X_opaque_pthread_rwlock_t = struct { 848 F__sig int64 849 F__opaque [192]int8 850 } /* _pthread_types.h:93:1 */ 851 852 type X_opaque_pthread_rwlockattr_t = struct { 853 F__sig int64 854 F__opaque [16]int8 855 } /* _pthread_types.h:98:1 */ 856 857 type X_opaque_pthread_t = struct { 858 F__sig int64 859 F__cleanup_stack uintptr 860 F__opaque [8176]int8 861 } /* _pthread_types.h:103:1 */ 862 863 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */ 864 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */ 865 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */ 866 type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */ 867 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */ 868 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */ 869 type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */ 870 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */ 871 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */ 872 type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */ 873 874 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 875 // 876 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 877 // 878 // This file contains Original Code and/or Modifications of Original Code 879 // as defined in and that are subject to the Apple Public Source License 880 // Version 2.0 (the 'License'). You may not use this file except in 881 // compliance with the License. The rights granted to you under the License 882 // may not be used to create, or enable the creation or redistribution of, 883 // unlawful or unlicensed copies of an Apple operating system, or to 884 // circumvent, violate, or enable the circumvention or violation of, any 885 // terms of an Apple operating system software license agreement. 886 // 887 // Please obtain a copy of the License at 888 // http://www.opensource.apple.com/apsl/ and read it before using this file. 889 // 890 // The Original Code and all software distributed under the License are 891 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 892 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 893 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 894 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 895 // Please see the License for the specific language governing rights and 896 // limitations under the License. 897 // 898 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 899 900 type X__darwin_nl_item = int32 /* _types.h:40:14 */ 901 type X__darwin_wctrans_t = int32 /* _types.h:41:14 */ 902 type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */ 903 904 // Copyright (c) 2012 Apple Inc. All rights reserved. 905 // 906 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 907 // 908 // This file contains Original Code and/or Modifications of Original Code 909 // as defined in and that are subject to the Apple Public Source License 910 // Version 2.0 (the 'License'). You may not use this file except in 911 // compliance with the License. The rights granted to you under the License 912 // may not be used to create, or enable the creation or redistribution of, 913 // unlawful or unlicensed copies of an Apple operating system, or to 914 // circumvent, violate, or enable the circumvention or violation of, any 915 // terms of an Apple operating system software license agreement. 916 // 917 // Please obtain a copy of the License at 918 // http://www.opensource.apple.com/apsl/ and read it before using this file. 919 // 920 // The Original Code and all software distributed under the License are 921 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 922 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 923 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 924 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 925 // Please see the License for the specific language governing rights and 926 // limitations under the License. 927 // 928 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 929 930 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 931 // 932 // @APPLE_LICENSE_HEADER_START@ 933 // 934 // This file contains Original Code and/or Modifications of Original Code 935 // as defined in and that are subject to the Apple Public Source License 936 // Version 2.0 (the 'License'). You may not use this file except in 937 // compliance with the License. Please obtain a copy of the License at 938 // http://www.opensource.apple.com/apsl/ and read it before using this 939 // file. 940 // 941 // The Original Code and all software distributed under the License are 942 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 943 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 944 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 945 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 946 // Please see the License for the specific language governing rights and 947 // limitations under the License. 948 // 949 // @APPLE_LICENSE_HEADER_END@ 950 951 type Wctrans_t = X__darwin_wctrans_t /* _wctrans_t.h:32:28 */ 952 953 // - 954 // Copyright (c)1999 Citrus Project, 955 // All rights reserved. 956 // 957 // Redistribution and use in source and binary forms, with or without 958 // modification, are permitted provided that the following conditions 959 // are met: 960 // 1. Redistributions of source code must retain the above copyright 961 // notice, this list of conditions and the following disclaimer. 962 // 2. Redistributions in binary form must reproduce the above copyright 963 // notice, this list of conditions and the following disclaimer in the 964 // documentation and/or other materials provided with the distribution. 965 // 966 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 967 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 968 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 969 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 970 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 971 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 972 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 973 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 974 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 975 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 976 // SUCH DAMAGE. 977 // 978 979 // Common header for wctype.h and wchar.h 980 // 981 // Contains everything required by wctype.h except: 982 // 983 // #include <_types/_wctrans_t.h> 984 // int iswblank(wint_t); 985 // wint_t towctrans(wint_t, wctrans_t); 986 // wctrans_t wctrans(const char *); 987 988 // Copyright (c) 2017 Apple Inc. All rights reserved. 989 // 990 // @APPLE_LICENSE_HEADER_START@ 991 // 992 // This file contains Original Code and/or Modifications of Original Code 993 // as defined in and that are subject to the Apple Public Source License 994 // Version 2.0 (the 'License'). You may not use this file except in 995 // compliance with the License. Please obtain a copy of the License at 996 // http://www.opensource.apple.com/apsl/ and read it before using this 997 // file. 998 // 999 // The Original Code and all software distributed under the License are 1000 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1001 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1002 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1003 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1004 // Please see the License for the specific language governing rights and 1005 // limitations under the License. 1006 // 1007 // @APPLE_LICENSE_HEADER_END@ 1008 // - 1009 // Copyright (c)1999 Citrus Project, 1010 // All rights reserved. 1011 // 1012 // Redistribution and use in source and binary forms, with or without 1013 // modification, are permitted provided that the following conditions 1014 // are met: 1015 // 1. Redistributions of source code must retain the above copyright 1016 // notice, this list of conditions and the following disclaimer. 1017 // 2. Redistributions in binary form must reproduce the above copyright 1018 // notice, this list of conditions and the following disclaimer in the 1019 // documentation and/or other materials provided with the distribution. 1020 // 1021 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1022 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1023 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1024 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1025 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1026 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1027 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1028 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1029 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1030 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1031 // SUCH DAMAGE. 1032 // 1033 1034 // Common header for _wctype.h and xlocale/__wctype.h 1035 1036 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1037 // 1038 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1039 // 1040 // This file contains Original Code and/or Modifications of Original Code 1041 // as defined in and that are subject to the Apple Public Source License 1042 // Version 2.0 (the 'License'). You may not use this file except in 1043 // compliance with the License. The rights granted to you under the License 1044 // may not be used to create, or enable the creation or redistribution of, 1045 // unlawful or unlicensed copies of an Apple operating system, or to 1046 // circumvent, violate, or enable the circumvention or violation of, any 1047 // terms of an Apple operating system software license agreement. 1048 // 1049 // Please obtain a copy of the License at 1050 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1051 // 1052 // The Original Code and all software distributed under the License are 1053 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1054 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1055 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1056 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1057 // Please see the License for the specific language governing rights and 1058 // limitations under the License. 1059 // 1060 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1061 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1062 // Copyright (c) 1991, 1993 1063 // The Regents of the University of California. All rights reserved. 1064 // 1065 // This code is derived from software contributed to Berkeley by 1066 // Berkeley Software Design, Inc. 1067 // 1068 // Redistribution and use in source and binary forms, with or without 1069 // modification, are permitted provided that the following conditions 1070 // are met: 1071 // 1. Redistributions of source code must retain the above copyright 1072 // notice, this list of conditions and the following disclaimer. 1073 // 2. Redistributions in binary form must reproduce the above copyright 1074 // notice, this list of conditions and the following disclaimer in the 1075 // documentation and/or other materials provided with the distribution. 1076 // 3. All advertising materials mentioning features or use of this software 1077 // must display the following acknowledgement: 1078 // This product includes software developed by the University of 1079 // California, Berkeley and its contributors. 1080 // 4. Neither the name of the University nor the names of its contributors 1081 // may be used to endorse or promote products derived from this software 1082 // without specific prior written permission. 1083 // 1084 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1085 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1086 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1087 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1088 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1089 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1090 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1091 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1092 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1093 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1094 // SUCH DAMAGE. 1095 // 1096 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1097 1098 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 1099 // 1100 // @APPLE_LICENSE_HEADER_START@ 1101 // 1102 // This file contains Original Code and/or Modifications of Original Code 1103 // as defined in and that are subject to the Apple Public Source License 1104 // Version 2.0 (the 'License'). You may not use this file except in 1105 // compliance with the License. Please obtain a copy of the License at 1106 // http://www.opensource.apple.com/apsl/ and read it before using this 1107 // file. 1108 // 1109 // The Original Code and all software distributed under the License are 1110 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1111 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1112 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1113 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1114 // Please see the License for the specific language governing rights and 1115 // limitations under the License. 1116 // 1117 // @APPLE_LICENSE_HEADER_END@ 1118 1119 // Copyright (c) 2012 Apple Inc. All rights reserved. 1120 // 1121 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1122 // 1123 // This file contains Original Code and/or Modifications of Original Code 1124 // as defined in and that are subject to the Apple Public Source License 1125 // Version 2.0 (the 'License'). You may not use this file except in 1126 // compliance with the License. The rights granted to you under the License 1127 // may not be used to create, or enable the creation or redistribution of, 1128 // unlawful or unlicensed copies of an Apple operating system, or to 1129 // circumvent, violate, or enable the circumvention or violation of, any 1130 // terms of an Apple operating system software license agreement. 1131 // 1132 // Please obtain a copy of the License at 1133 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1134 // 1135 // The Original Code and all software distributed under the License are 1136 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1137 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1138 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1139 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1140 // Please see the License for the specific language governing rights and 1141 // limitations under the License. 1142 // 1143 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1144 1145 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1146 // 1147 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1148 // 1149 // This file contains Original Code and/or Modifications of Original Code 1150 // as defined in and that are subject to the Apple Public Source License 1151 // Version 2.0 (the 'License'). You may not use this file except in 1152 // compliance with the License. The rights granted to you under the License 1153 // may not be used to create, or enable the creation or redistribution of, 1154 // unlawful or unlicensed copies of an Apple operating system, or to 1155 // circumvent, violate, or enable the circumvention or violation of, any 1156 // terms of an Apple operating system software license agreement. 1157 // 1158 // Please obtain a copy of the License at 1159 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1160 // 1161 // The Original Code and all software distributed under the License are 1162 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1163 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1164 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1165 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1166 // Please see the License for the specific language governing rights and 1167 // limitations under the License. 1168 // 1169 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1170 type Wint_t = X__darwin_wint_t /* _wint_t.h:32:25 */ 1171 // Copyright (c) 2012 Apple Inc. All rights reserved. 1172 // 1173 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1174 // 1175 // This file contains Original Code and/or Modifications of Original Code 1176 // as defined in and that are subject to the Apple Public Source License 1177 // Version 2.0 (the 'License'). You may not use this file except in 1178 // compliance with the License. The rights granted to you under the License 1179 // may not be used to create, or enable the creation or redistribution of, 1180 // unlawful or unlicensed copies of an Apple operating system, or to 1181 // circumvent, violate, or enable the circumvention or violation of, any 1182 // terms of an Apple operating system software license agreement. 1183 // 1184 // Please obtain a copy of the License at 1185 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1186 // 1187 // The Original Code and all software distributed under the License are 1188 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1189 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1190 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1191 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1192 // Please see the License for the specific language governing rights and 1193 // limitations under the License. 1194 // 1195 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1196 1197 // Copyright (c) 2012 Apple Inc. All rights reserved. 1198 // 1199 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1200 // 1201 // This file contains Original Code and/or Modifications of Original Code 1202 // as defined in and that are subject to the Apple Public Source License 1203 // Version 2.0 (the 'License'). You may not use this file except in 1204 // compliance with the License. The rights granted to you under the License 1205 // may not be used to create, or enable the creation or redistribution of, 1206 // unlawful or unlicensed copies of an Apple operating system, or to 1207 // circumvent, violate, or enable the circumvention or violation of, any 1208 // terms of an Apple operating system software license agreement. 1209 // 1210 // Please obtain a copy of the License at 1211 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1212 // 1213 // The Original Code and all software distributed under the License are 1214 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1215 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1216 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1217 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1218 // Please see the License for the specific language governing rights and 1219 // limitations under the License. 1220 // 1221 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1222 1223 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 1224 // 1225 // @APPLE_LICENSE_HEADER_START@ 1226 // 1227 // This file contains Original Code and/or Modifications of Original Code 1228 // as defined in and that are subject to the Apple Public Source License 1229 // Version 2.0 (the 'License'). You may not use this file except in 1230 // compliance with the License. Please obtain a copy of the License at 1231 // http://www.opensource.apple.com/apsl/ and read it before using this 1232 // file. 1233 // 1234 // The Original Code and all software distributed under the License are 1235 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1236 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1237 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1238 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1239 // Please see the License for the specific language governing rights and 1240 // limitations under the License. 1241 // 1242 // @APPLE_LICENSE_HEADER_END@ 1243 1244 type Wctype_t = X__darwin_wctype_t /* _wctype_t.h:32:27 */ 1245 // Copyright (c) 2012 Apple Inc. All rights reserved. 1246 // 1247 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1248 // 1249 // This file contains Original Code and/or Modifications of Original Code 1250 // as defined in and that are subject to the Apple Public Source License 1251 // Version 2.0 (the 'License'). You may not use this file except in 1252 // compliance with the License. The rights granted to you under the License 1253 // may not be used to create, or enable the creation or redistribution of, 1254 // unlawful or unlicensed copies of an Apple operating system, or to 1255 // circumvent, violate, or enable the circumvention or violation of, any 1256 // terms of an Apple operating system software license agreement. 1257 // 1258 // Please obtain a copy of the License at 1259 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1260 // 1261 // The Original Code and all software distributed under the License are 1262 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1263 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1264 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1265 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1266 // Please see the License for the specific language governing rights and 1267 // limitations under the License. 1268 // 1269 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1270 1271 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1272 // 1273 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1274 // 1275 // This file contains Original Code and/or Modifications of Original Code 1276 // as defined in and that are subject to the Apple Public Source License 1277 // Version 2.0 (the 'License'). You may not use this file except in 1278 // compliance with the License. The rights granted to you under the License 1279 // may not be used to create, or enable the creation or redistribution of, 1280 // unlawful or unlicensed copies of an Apple operating system, or to 1281 // circumvent, violate, or enable the circumvention or violation of, any 1282 // terms of an Apple operating system software license agreement. 1283 // 1284 // Please obtain a copy of the License at 1285 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1286 // 1287 // The Original Code and all software distributed under the License are 1288 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1289 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1290 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1291 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1292 // Please see the License for the specific language governing rights and 1293 // limitations under the License. 1294 // 1295 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1296 type Ct_rune_t = X__darwin_ct_rune_t /* _ct_rune_t.h:32:28 */ 1297 // Copyright (c) 2012 Apple Inc. All rights reserved. 1298 // 1299 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1300 // 1301 // This file contains Original Code and/or Modifications of Original Code 1302 // as defined in and that are subject to the Apple Public Source License 1303 // Version 2.0 (the 'License'). You may not use this file except in 1304 // compliance with the License. The rights granted to you under the License 1305 // may not be used to create, or enable the creation or redistribution of, 1306 // unlawful or unlicensed copies of an Apple operating system, or to 1307 // circumvent, violate, or enable the circumvention or violation of, any 1308 // terms of an Apple operating system software license agreement. 1309 // 1310 // Please obtain a copy of the License at 1311 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1312 // 1313 // The Original Code and all software distributed under the License are 1314 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1315 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1316 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1317 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1318 // Please see the License for the specific language governing rights and 1319 // limitations under the License. 1320 // 1321 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1322 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1323 // 1324 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1325 // 1326 // This file contains Original Code and/or Modifications of Original Code 1327 // as defined in and that are subject to the Apple Public Source License 1328 // Version 2.0 (the 'License'). You may not use this file except in 1329 // compliance with the License. The rights granted to you under the License 1330 // may not be used to create, or enable the creation or redistribution of, 1331 // unlawful or unlicensed copies of an Apple operating system, or to 1332 // circumvent, violate, or enable the circumvention or violation of, any 1333 // terms of an Apple operating system software license agreement. 1334 // 1335 // Please obtain a copy of the License at 1336 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1337 // 1338 // The Original Code and all software distributed under the License are 1339 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1340 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1341 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1342 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1343 // Please see the License for the specific language governing rights and 1344 // limitations under the License. 1345 // 1346 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1347 type Rune_t = X__darwin_rune_t /* _rune_t.h:31:25 */ 1348 // Copyright (c) 2012 Apple Inc. All rights reserved. 1349 // 1350 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1351 // 1352 // This file contains Original Code and/or Modifications of Original Code 1353 // as defined in and that are subject to the Apple Public Source License 1354 // Version 2.0 (the 'License'). You may not use this file except in 1355 // compliance with the License. The rights granted to you under the License 1356 // may not be used to create, or enable the creation or redistribution of, 1357 // unlawful or unlicensed copies of an Apple operating system, or to 1358 // circumvent, violate, or enable the circumvention or violation of, any 1359 // terms of an Apple operating system software license agreement. 1360 // 1361 // Please obtain a copy of the License at 1362 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1363 // 1364 // The Original Code and all software distributed under the License are 1365 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1366 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1367 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1368 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1369 // Please see the License for the specific language governing rights and 1370 // limitations under the License. 1371 // 1372 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1373 1374 // The lower 8 bits of runetype[] contain the digit value of the rune. 1375 type X_RuneEntry = struct { 1376 F__min X__darwin_rune_t 1377 F__max X__darwin_rune_t 1378 F__map X__darwin_rune_t 1379 F__ccgo_pad1 [4]byte 1380 F__types uintptr 1381 } /* runetype.h:65:3 */ 1382 1383 type X_RuneRange = struct { 1384 F__nranges int32 1385 F__ccgo_pad1 [4]byte 1386 F__ranges uintptr 1387 } /* runetype.h:70:3 */ 1388 1389 type X_RuneCharClass = struct { 1390 F__name [14]int8 1391 F__ccgo_pad1 [2]byte 1392 F__mask X__uint32_t 1393 } /* runetype.h:75:3 */ 1394 1395 type X_RuneLocale = struct { 1396 F__magic [8]int8 1397 F__encoding [32]int8 1398 F__sgetrune uintptr 1399 F__sputrune uintptr 1400 F__invalid_rune X__darwin_rune_t 1401 F__runetype [256]X__uint32_t 1402 F__maplower [256]X__darwin_rune_t 1403 F__mapupper [256]X__darwin_rune_t 1404 F__ccgo_pad1 [4]byte 1405 F__runetype_ext X_RuneRange 1406 F__maplower_ext X_RuneRange 1407 F__mapupper_ext X_RuneRange 1408 F__variable uintptr 1409 F__variable_len int32 1410 F__ncharclasses int32 1411 F__charclasses uintptr 1412 } /* runetype.h:106:3 */ 1413 1414 var _ int8 /* gen.c:2:13: */