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