modernc.org/xdmcp@v1.0.17/internal/test/main_darwin_amd64.go (about) 1 // Code generated by 'ccgo -export-fields F -lmodernc.org/xdmcp/lib -o internal/test/main_darwin_amd64.go -trace-translation-units /var/folders/b1/8mwd0y2x52l16_sqf8zbtz8r0000gn/T/go-generate-395159562/cdb.json test/Array', DO NOT EDIT. 2 3 package main 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 11 "modernc.org/libc" 12 "modernc.org/libc/sys/types" 13 "modernc.org/xdmcp/lib" 14 ) 15 16 var _ = math.Pi 17 var _ reflect.Kind 18 var _ atomic.Value 19 var _ unsafe.Pointer 20 var _ types.Size_t 21 22 func main() { libc.Start(main1) } 23 24 // was definitions for sign-extending bitfields on architectures without 25 // native types smaller than 64-bit, now just backwards compatibility 26 27 // this version should leave result of type (t *), but that should only be 28 // used when not in MUSTCOPY 29 30 // 31 // 32 // Copyright 1989, 1991, 1998 The Open Group 33 // 34 // Permission to use, copy, modify, distribute, and sell this software and its 35 // documentation for any purpose is hereby granted without fee, provided that 36 // the above copyright notice appear in all copies and that both that 37 // copyright notice and this permission notice appear in supporting 38 // documentation. 39 // 40 // The above copyright notice and this permission notice shall be included in 41 // all copies or substantial portions of the Software. 42 // 43 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 44 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 45 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 46 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 47 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 48 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 49 // 50 // Except as contained in this notice, the name of The Open Group shall not be 51 // used in advertising or otherwise to promote the sale, use or other dealings 52 // in this Software without prior written authorization from The Open Group. 53 // * 54 // 55 56 // Definitions to make function prototypes manageable 57 58 // Function prototype configuration (see configure for more info) 59 60 // http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute 61 62 // Added in X11R6.9, so available in any version of modular xproto 63 64 // Added in X11R6.9, so available in any version of modular xproto 65 66 // Branch prediction hints for individual conditionals 67 // requires xproto >= 7.0.9 68 69 // Bulk branch prediction hints via marking error path functions as "cold" 70 // requires xproto >= 7.0.25 71 72 // Added in X11R6.9, so available in any version of modular xproto 73 74 // requires xproto >= 7.0.30 75 76 // requires xproto >= 7.0.17 77 78 // Added in X11R6.9, so available in any version of modular xproto 79 80 // requires xproto >= 7.0.22 - since this uses either gcc or C99 variable 81 // argument macros, must be only used inside #ifdef _X_NONNULL guards, as 82 // many legacy X clients are compiled in C89 mode still. 83 84 // requires xproto >= 7.0.22 85 86 // C99 keyword "inline" or equivalent extensions in pre-C99 compilers 87 // requires xproto >= 7.0.9 88 // (introduced in 7.0.8 but didn't support all compilers until 7.0.9) 89 90 // C99 keyword "restrict" or equivalent extensions in pre-C99 compilers 91 // requires xproto >= 7.0.21 92 93 // requires xproto >= 7.0.30 94 95 // Mark a char array/pointer as not containing a NUL-terminated string 96 // requires xproto >= 7.0.33 97 98 // IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned 99 // multicast addresses for XDMCP, where X in the prefix may be replaced 100 // by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local, 101 // 5 for Site-Local, and so on. We set the default here to the Link-Local 102 // version to most closely match the old IPv4 subnet broadcast behavior. 103 // Both xdm and X -query allow specifying a different address if a different 104 // scope is defined. 105 106 const ( /* Xdmcp.h:46:1: */ 107 BROADCAST_QUERY = 1 108 QUERY = 2 109 INDIRECT_QUERY = 3 110 FORWARD_QUERY = 4 111 WILLING = 5 112 UNWILLING = 6 113 REQUEST = 7 114 ACCEPT = 8 115 DECLINE = 9 116 MANAGE = 10 117 REFUSE = 11 118 FAILED = 12 119 KEEPALIVE = 13 120 ALIVE = 14 121 ) 122 123 const ( /* Xdmcp.h:52:1: */ 124 XDM_QUERY = 0 125 XDM_BROADCAST = 1 126 XDM_INDIRECT = 2 127 XDM_COLLECT_QUERY = 3 128 XDM_COLLECT_BROADCAST_QUERY = 4 129 XDM_COLLECT_INDIRECT_QUERY = 5 130 XDM_START_CONNECTION = 6 131 XDM_AWAIT_REQUEST_RESPONSE = 7 132 XDM_AWAIT_MANAGE_RESPONSE = 8 133 XDM_MANAGE = 9 134 XDM_RUN_SESSION = 10 135 XDM_OFF = 11 136 XDM_AWAIT_USER_INPUT = 12 137 XDM_KEEPALIVE = 13 138 XDM_AWAIT_ALIVE_RESPONSE = 14 139 XDM_KEEP_ME_LAST = 15 140 ) 141 142 // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved. 143 // 144 // @APPLE_LICENSE_HEADER_START@ 145 // 146 // This file contains Original Code and/or Modifications of Original Code 147 // as defined in and that are subject to the Apple Public Source License 148 // Version 2.0 (the 'License'). You may not use this file except in 149 // compliance with the License. Please obtain a copy of the License at 150 // http://www.opensource.apple.com/apsl/ and read it before using this 151 // file. 152 // 153 // The Original Code and all software distributed under the License are 154 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 155 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 156 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 157 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 158 // Please see the License for the specific language governing rights and 159 // limitations under the License. 160 // 161 // @APPLE_LICENSE_HEADER_END@ 162 // - 163 // Copyright (c) 1990, 1993 164 // The Regents of the University of California. All rights reserved. 165 // 166 // Redistribution and use in source and binary forms, with or without 167 // modification, are permitted provided that the following conditions 168 // are met: 169 // 1. Redistributions of source code must retain the above copyright 170 // notice, this list of conditions and the following disclaimer. 171 // 2. Redistributions in binary form must reproduce the above copyright 172 // notice, this list of conditions and the following disclaimer in the 173 // documentation and/or other materials provided with the distribution. 174 // 3. All advertising materials mentioning features or use of this software 175 // must display the following acknowledgement: 176 // This product includes software developed by the University of 177 // California, Berkeley and its contributors. 178 // 4. Neither the name of the University nor the names of its contributors 179 // may be used to endorse or promote products derived from this software 180 // without specific prior written permission. 181 // 182 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 183 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 184 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 185 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 186 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 187 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 188 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 189 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 190 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 191 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 192 // SUCH DAMAGE. 193 // 194 // @(#)stdlib.h 8.5 (Berkeley) 5/19/95 195 196 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 197 // 198 // @APPLE_LICENSE_HEADER_START@ 199 // 200 // This file contains Original Code and/or Modifications of Original Code 201 // as defined in and that are subject to the Apple Public Source License 202 // Version 2.0 (the 'License'). You may not use this file except in 203 // compliance with the License. Please obtain a copy of the License at 204 // http://www.opensource.apple.com/apsl/ and read it before using this 205 // file. 206 // 207 // The Original Code and all software distributed under the License are 208 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 209 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 210 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 211 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 212 // Please see the License for the specific language governing rights and 213 // limitations under the License. 214 // 215 // @APPLE_LICENSE_HEADER_END@ 216 217 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 218 // 219 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 220 // 221 // This file contains Original Code and/or Modifications of Original Code 222 // as defined in and that are subject to the Apple Public Source License 223 // Version 2.0 (the 'License'). You may not use this file except in 224 // compliance with the License. The rights granted to you under the License 225 // may not be used to create, or enable the creation or redistribution of, 226 // unlawful or unlicensed copies of an Apple operating system, or to 227 // circumvent, violate, or enable the circumvention or violation of, any 228 // terms of an Apple operating system software license agreement. 229 // 230 // Please obtain a copy of the License at 231 // http://www.opensource.apple.com/apsl/ and read it before using this file. 232 // 233 // The Original Code and all software distributed under the License are 234 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 235 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 236 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 237 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 238 // Please see the License for the specific language governing rights and 239 // limitations under the License. 240 // 241 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 242 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 243 // Copyright (c) 1991, 1993 244 // The Regents of the University of California. All rights reserved. 245 // 246 // This code is derived from software contributed to Berkeley by 247 // Berkeley Software Design, Inc. 248 // 249 // Redistribution and use in source and binary forms, with or without 250 // modification, are permitted provided that the following conditions 251 // are met: 252 // 1. Redistributions of source code must retain the above copyright 253 // notice, this list of conditions and the following disclaimer. 254 // 2. Redistributions in binary form must reproduce the above copyright 255 // notice, this list of conditions and the following disclaimer in the 256 // documentation and/or other materials provided with the distribution. 257 // 3. All advertising materials mentioning features or use of this software 258 // must display the following acknowledgement: 259 // This product includes software developed by the University of 260 // California, Berkeley and its contributors. 261 // 4. Neither the name of the University nor the names of its contributors 262 // may be used to endorse or promote products derived from this software 263 // without specific prior written permission. 264 // 265 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 266 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 267 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 268 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 269 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 270 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 271 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 272 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 273 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 274 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 275 // SUCH DAMAGE. 276 // 277 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 278 279 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 280 // 281 // @APPLE_LICENSE_HEADER_START@ 282 // 283 // This file contains Original Code and/or Modifications of Original Code 284 // as defined in and that are subject to the Apple Public Source License 285 // Version 2.0 (the 'License'). You may not use this file except in 286 // compliance with the License. Please obtain a copy of the License at 287 // http://www.opensource.apple.com/apsl/ and read it before using this 288 // file. 289 // 290 // The Original Code and all software distributed under the License are 291 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 292 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 293 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 294 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 295 // Please see the License for the specific language governing rights and 296 // limitations under the License. 297 // 298 // @APPLE_LICENSE_HEADER_END@ 299 300 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 301 // 302 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 303 // 304 // This file contains Original Code and/or Modifications of Original Code 305 // as defined in and that are subject to the Apple Public Source License 306 // Version 2.0 (the 'License'). You may not use this file except in 307 // compliance with the License. The rights granted to you under the License 308 // may not be used to create, or enable the creation or redistribution of, 309 // unlawful or unlicensed copies of an Apple operating system, or to 310 // circumvent, violate, or enable the circumvention or violation of, any 311 // terms of an Apple operating system software license agreement. 312 // 313 // Please obtain a copy of the License at 314 // http://www.opensource.apple.com/apsl/ and read it before using this file. 315 // 316 // The Original Code and all software distributed under the License are 317 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 318 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 319 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 320 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 321 // Please see the License for the specific language governing rights and 322 // limitations under the License. 323 // 324 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 325 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 326 // Copyright (c) 1982, 1986, 1989, 1993, 1994 327 // The Regents of the University of California. All rights reserved. 328 // 329 // Redistribution and use in source and binary forms, with or without 330 // modification, are permitted provided that the following conditions 331 // are met: 332 // 1. Redistributions of source code must retain the above copyright 333 // notice, this list of conditions and the following disclaimer. 334 // 2. Redistributions in binary form must reproduce the above copyright 335 // notice, this list of conditions and the following disclaimer in the 336 // documentation and/or other materials provided with the distribution. 337 // 3. All advertising materials mentioning features or use of this software 338 // must display the following acknowledgement: 339 // This product includes software developed by the University of 340 // California, Berkeley and its contributors. 341 // 4. Neither the name of the University nor the names of its contributors 342 // may be used to endorse or promote products derived from this software 343 // without specific prior written permission. 344 // 345 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 346 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 347 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 348 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 349 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 350 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 351 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 352 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 353 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 354 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 355 // SUCH DAMAGE. 356 // 357 // @(#)wait.h 8.2 (Berkeley) 7/10/94 358 359 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 360 // 361 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 362 // 363 // This file contains Original Code and/or Modifications of Original Code 364 // as defined in and that are subject to the Apple Public Source License 365 // Version 2.0 (the 'License'). You may not use this file except in 366 // compliance with the License. The rights granted to you under the License 367 // may not be used to create, or enable the creation or redistribution of, 368 // unlawful or unlicensed copies of an Apple operating system, or to 369 // circumvent, violate, or enable the circumvention or violation of, any 370 // terms of an Apple operating system software license agreement. 371 // 372 // Please obtain a copy of the License at 373 // http://www.opensource.apple.com/apsl/ and read it before using this file. 374 // 375 // The Original Code and all software distributed under the License are 376 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 377 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 378 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 379 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 380 // Please see the License for the specific language governing rights and 381 // limitations under the License. 382 // 383 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 384 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 385 // Copyright (c) 1991, 1993 386 // The Regents of the University of California. All rights reserved. 387 // 388 // This code is derived from software contributed to Berkeley by 389 // Berkeley Software Design, Inc. 390 // 391 // Redistribution and use in source and binary forms, with or without 392 // modification, are permitted provided that the following conditions 393 // are met: 394 // 1. Redistributions of source code must retain the above copyright 395 // notice, this list of conditions and the following disclaimer. 396 // 2. Redistributions in binary form must reproduce the above copyright 397 // notice, this list of conditions and the following disclaimer in the 398 // documentation and/or other materials provided with the distribution. 399 // 3. All advertising materials mentioning features or use of this software 400 // must display the following acknowledgement: 401 // This product includes software developed by the University of 402 // California, Berkeley and its contributors. 403 // 4. Neither the name of the University nor the names of its contributors 404 // may be used to endorse or promote products derived from this software 405 // without specific prior written permission. 406 // 407 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 408 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 409 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 410 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 411 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 412 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 413 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 414 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 415 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 416 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 417 // SUCH DAMAGE. 418 // 419 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 420 421 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 422 // 423 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 424 // 425 // This file contains Original Code and/or Modifications of Original Code 426 // as defined in and that are subject to the Apple Public Source License 427 // Version 2.0 (the 'License'). You may not use this file except in 428 // compliance with the License. The rights granted to you under the License 429 // may not be used to create, or enable the creation or redistribution of, 430 // unlawful or unlicensed copies of an Apple operating system, or to 431 // circumvent, violate, or enable the circumvention or violation of, any 432 // terms of an Apple operating system software license agreement. 433 // 434 // Please obtain a copy of the License at 435 // http://www.opensource.apple.com/apsl/ and read it before using this file. 436 // 437 // The Original Code and all software distributed under the License are 438 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 439 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 440 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 441 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 442 // Please see the License for the specific language governing rights and 443 // limitations under the License. 444 // 445 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 446 447 // This file holds definitions relevent to the wait4 system call 448 // and the alternate interfaces that use it (wait, wait3, waitpid). 449 450 // [XSI] The type idtype_t shall be defined as an enumeration type whose 451 // possible values shall include at least P_ALL, P_PID, and P_PGID. 452 const ( /* wait.h:79:1: */ 453 P_ALL = 0 454 P_PID = 1 455 P_PGID = 2 456 ) 457 458 type ptrdiff_t = int64 /* <builtin>:3:26 */ 459 460 type size_t = uint64 /* <builtin>:9:23 */ 461 462 type wchar_t = int32 /* <builtin>:15:24 */ 463 464 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 465 // 466 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 467 // 468 // This file contains Original Code and/or Modifications of Original Code 469 // as defined in and that are subject to the Apple Public Source License 470 // Version 2.0 (the 'License'). You may not use this file except in 471 // compliance with the License. The rights granted to you under the License 472 // may not be used to create, or enable the creation or redistribution of, 473 // unlawful or unlicensed copies of an Apple operating system, or to 474 // circumvent, violate, or enable the circumvention or violation of, any 475 // terms of an Apple operating system software license agreement. 476 // 477 // Please obtain a copy of the License at 478 // http://www.opensource.apple.com/apsl/ and read it before using this file. 479 // 480 // The Original Code and all software distributed under the License are 481 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 482 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 483 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 484 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 485 // Please see the License for the specific language governing rights and 486 // limitations under the License. 487 // 488 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 489 490 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 491 // 492 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 493 // 494 // This file contains Original Code and/or Modifications of Original Code 495 // as defined in and that are subject to the Apple Public Source License 496 // Version 2.0 (the 'License'). You may not use this file except in 497 // compliance with the License. The rights granted to you under the License 498 // may not be used to create, or enable the creation or redistribution of, 499 // unlawful or unlicensed copies of an Apple operating system, or to 500 // circumvent, violate, or enable the circumvention or violation of, any 501 // terms of an Apple operating system software license agreement. 502 // 503 // Please obtain a copy of the License at 504 // http://www.opensource.apple.com/apsl/ and read it before using this file. 505 // 506 // The Original Code and all software distributed under the License are 507 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 508 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 509 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 510 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 511 // Please see the License for the specific language governing rights and 512 // limitations under the License. 513 // 514 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 515 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 516 // Copyright (c) 1991, 1993 517 // The Regents of the University of California. All rights reserved. 518 // 519 // This code is derived from software contributed to Berkeley by 520 // Berkeley Software Design, Inc. 521 // 522 // Redistribution and use in source and binary forms, with or without 523 // modification, are permitted provided that the following conditions 524 // are met: 525 // 1. Redistributions of source code must retain the above copyright 526 // notice, this list of conditions and the following disclaimer. 527 // 2. Redistributions in binary form must reproduce the above copyright 528 // notice, this list of conditions and the following disclaimer in the 529 // documentation and/or other materials provided with the distribution. 530 // 3. All advertising materials mentioning features or use of this software 531 // must display the following acknowledgement: 532 // This product includes software developed by the University of 533 // California, Berkeley and its contributors. 534 // 4. Neither the name of the University nor the names of its contributors 535 // may be used to endorse or promote products derived from this software 536 // without specific prior written permission. 537 // 538 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 539 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 540 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 541 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 542 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 543 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 544 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 545 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 546 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 547 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 548 // SUCH DAMAGE. 549 // 550 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 551 552 // pthread opaque structures 553 554 type __darwin_pthread_handler_rec = struct { 555 F__routine uintptr 556 F__arg uintptr 557 F__next uintptr 558 } /* _pthread_types.h:57:1 */ 559 560 type _opaque_pthread_attr_t = struct { 561 F__sig int64 562 F__opaque [56]int8 563 } /* _pthread_types.h:63:1 */ 564 565 type _opaque_pthread_cond_t = struct { 566 F__sig int64 567 F__opaque [40]int8 568 } /* _pthread_types.h:68:1 */ 569 570 type _opaque_pthread_condattr_t = struct { 571 F__sig int64 572 F__opaque [8]int8 573 } /* _pthread_types.h:73:1 */ 574 575 type _opaque_pthread_mutex_t = struct { 576 F__sig int64 577 F__opaque [56]int8 578 } /* _pthread_types.h:78:1 */ 579 580 type _opaque_pthread_mutexattr_t = struct { 581 F__sig int64 582 F__opaque [8]int8 583 } /* _pthread_types.h:83:1 */ 584 585 type _opaque_pthread_once_t = struct { 586 F__sig int64 587 F__opaque [8]int8 588 } /* _pthread_types.h:88:1 */ 589 590 type _opaque_pthread_rwlock_t = struct { 591 F__sig int64 592 F__opaque [192]int8 593 } /* _pthread_types.h:93:1 */ 594 595 type _opaque_pthread_rwlockattr_t = struct { 596 F__sig int64 597 F__opaque [16]int8 598 } /* _pthread_types.h:98:1 */ 599 600 type _opaque_pthread_t = struct { 601 F__sig int64 602 F__cleanup_stack uintptr 603 F__opaque [8176]int8 604 } /* _pthread_types.h:103:1 */ 605 606 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 607 // __gnuc_va_list and include <stdarg.h> 608 // Copyright (c) 2012 Apple Inc. All rights reserved. 609 // 610 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 611 // 612 // This file contains Original Code and/or Modifications of Original Code 613 // as defined in and that are subject to the Apple Public Source License 614 // Version 2.0 (the 'License'). You may not use this file except in 615 // compliance with the License. The rights granted to you under the License 616 // may not be used to create, or enable the creation or redistribution of, 617 // unlawful or unlicensed copies of an Apple operating system, or to 618 // circumvent, violate, or enable the circumvention or violation of, any 619 // terms of an Apple operating system software license agreement. 620 // 621 // Please obtain a copy of the License at 622 // http://www.opensource.apple.com/apsl/ and read it before using this file. 623 // 624 // The Original Code and all software distributed under the License are 625 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 626 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 627 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 628 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 629 // Please see the License for the specific language governing rights and 630 // limitations under the License. 631 // 632 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 633 634 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 635 // 636 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 637 // 638 // This file contains Original Code and/or Modifications of Original Code 639 // as defined in and that are subject to the Apple Public Source License 640 // Version 2.0 (the 'License'). You may not use this file except in 641 // compliance with the License. The rights granted to you under the License 642 // may not be used to create, or enable the creation or redistribution of, 643 // unlawful or unlicensed copies of an Apple operating system, or to 644 // circumvent, violate, or enable the circumvention or violation of, any 645 // terms of an Apple operating system software license agreement. 646 // 647 // Please obtain a copy of the License at 648 // http://www.opensource.apple.com/apsl/ and read it before using this file. 649 // 650 // The Original Code and all software distributed under the License are 651 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 652 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 653 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 654 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 655 // Please see the License for the specific language governing rights and 656 // limitations under the License. 657 // 658 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 659 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 660 661 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 662 // 663 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 664 // 665 // This file contains Original Code and/or Modifications of Original Code 666 // as defined in and that are subject to the Apple Public Source License 667 // Version 2.0 (the 'License'). You may not use this file except in 668 // compliance with the License. The rights granted to you under the License 669 // may not be used to create, or enable the creation or redistribution of, 670 // unlawful or unlicensed copies of an Apple operating system, or to 671 // circumvent, violate, or enable the circumvention or violation of, any 672 // terms of an Apple operating system software license agreement. 673 // 674 // Please obtain a copy of the License at 675 // http://www.opensource.apple.com/apsl/ and read it before using this file. 676 // 677 // The Original Code and all software distributed under the License are 678 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 679 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 680 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 681 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 682 // Please see the License for the specific language governing rights and 683 // limitations under the License. 684 // 685 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 686 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 687 // Copyright (c) 1990, 1993 688 // The Regents of the University of California. All rights reserved. 689 // 690 // Redistribution and use in source and binary forms, with or without 691 // modification, are permitted provided that the following conditions 692 // are met: 693 // 1. Redistributions of source code must retain the above copyright 694 // notice, this list of conditions and the following disclaimer. 695 // 2. Redistributions in binary form must reproduce the above copyright 696 // notice, this list of conditions and the following disclaimer in the 697 // documentation and/or other materials provided with the distribution. 698 // 3. All advertising materials mentioning features or use of this software 699 // must display the following acknowledgement: 700 // This product includes software developed by the University of 701 // California, Berkeley and its contributors. 702 // 4. Neither the name of the University nor the names of its contributors 703 // may be used to endorse or promote products derived from this software 704 // without specific prior written permission. 705 // 706 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 707 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 708 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 709 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 710 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 711 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 712 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 713 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 714 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 715 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 716 // SUCH DAMAGE. 717 // 718 // @(#)types.h 8.3 (Berkeley) 1/5/94 719 720 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 721 // 722 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 723 // 724 // This file contains Original Code and/or Modifications of Original Code 725 // as defined in and that are subject to the Apple Public Source License 726 // Version 2.0 (the 'License'). You may not use this file except in 727 // compliance with the License. The rights granted to you under the License 728 // may not be used to create, or enable the creation or redistribution of, 729 // unlawful or unlicensed copies of an Apple operating system, or to 730 // circumvent, violate, or enable the circumvention or violation of, any 731 // terms of an Apple operating system software license agreement. 732 // 733 // Please obtain a copy of the License at 734 // http://www.opensource.apple.com/apsl/ and read it before using this file. 735 // 736 // The Original Code and all software distributed under the License are 737 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 738 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 739 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 740 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 741 // Please see the License for the specific language governing rights and 742 // limitations under the License. 743 // 744 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 745 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 746 // 747 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 748 // 749 // This file contains Original Code and/or Modifications of Original Code 750 // as defined in and that are subject to the Apple Public Source License 751 // Version 2.0 (the 'License'). You may not use this file except in 752 // compliance with the License. The rights granted to you under the License 753 // may not be used to create, or enable the creation or redistribution of, 754 // unlawful or unlicensed copies of an Apple operating system, or to 755 // circumvent, violate, or enable the circumvention or violation of, any 756 // terms of an Apple operating system software license agreement. 757 // 758 // Please obtain a copy of the License at 759 // http://www.opensource.apple.com/apsl/ and read it before using this file. 760 // 761 // The Original Code and all software distributed under the License are 762 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 763 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 764 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 765 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 766 // Please see the License for the specific language governing rights and 767 // limitations under the License. 768 // 769 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 770 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 771 // Copyright (c) 1991, 1993 772 // The Regents of the University of California. All rights reserved. 773 // 774 // This code is derived from software contributed to Berkeley by 775 // Berkeley Software Design, Inc. 776 // 777 // Redistribution and use in source and binary forms, with or without 778 // modification, are permitted provided that the following conditions 779 // are met: 780 // 1. Redistributions of source code must retain the above copyright 781 // notice, this list of conditions and the following disclaimer. 782 // 2. Redistributions in binary form must reproduce the above copyright 783 // notice, this list of conditions and the following disclaimer in the 784 // documentation and/or other materials provided with the distribution. 785 // 3. All advertising materials mentioning features or use of this software 786 // must display the following acknowledgement: 787 // This product includes software developed by the University of 788 // California, Berkeley and its contributors. 789 // 4. Neither the name of the University nor the names of its contributors 790 // may be used to endorse or promote products derived from this software 791 // without specific prior written permission. 792 // 793 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 794 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 795 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 796 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 797 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 798 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 799 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 800 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 801 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 802 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 803 // SUCH DAMAGE. 804 // 805 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 806 807 // Basic integral types. Omit the typedef if 808 // not possible for a machine/compiler combination. 809 // Copyright (c) 2012 Apple Inc. All rights reserved. 810 // 811 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 812 // 813 // This file contains Original Code and/or Modifications of Original Code 814 // as defined in and that are subject to the Apple Public Source License 815 // Version 2.0 (the 'License'). You may not use this file except in 816 // compliance with the License. The rights granted to you under the License 817 // may not be used to create, or enable the creation or redistribution of, 818 // unlawful or unlicensed copies of an Apple operating system, or to 819 // circumvent, violate, or enable the circumvention or violation of, any 820 // terms of an Apple operating system software license agreement. 821 // 822 // Please obtain a copy of the License at 823 // http://www.opensource.apple.com/apsl/ and read it before using this file. 824 // 825 // The Original Code and all software distributed under the License are 826 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 827 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 828 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 829 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 830 // Please see the License for the specific language governing rights and 831 // limitations under the License. 832 // 833 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 834 type int8_t = int8 /* _int8_t.h:30:33 */ 835 // Copyright (c) 2012 Apple Inc. All rights reserved. 836 // 837 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 838 // 839 // This file contains Original Code and/or Modifications of Original Code 840 // as defined in and that are subject to the Apple Public Source License 841 // Version 2.0 (the 'License'). You may not use this file except in 842 // compliance with the License. The rights granted to you under the License 843 // may not be used to create, or enable the creation or redistribution of, 844 // unlawful or unlicensed copies of an Apple operating system, or to 845 // circumvent, violate, or enable the circumvention or violation of, any 846 // terms of an Apple operating system software license agreement. 847 // 848 // Please obtain a copy of the License at 849 // http://www.opensource.apple.com/apsl/ and read it before using this file. 850 // 851 // The Original Code and all software distributed under the License are 852 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 853 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 854 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 855 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 856 // Please see the License for the specific language governing rights and 857 // limitations under the License. 858 // 859 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 860 type int16_t = int16 /* _int16_t.h:30:33 */ 861 // Copyright (c) 2012 Apple Inc. All rights reserved. 862 // 863 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 864 // 865 // This file contains Original Code and/or Modifications of Original Code 866 // as defined in and that are subject to the Apple Public Source License 867 // Version 2.0 (the 'License'). You may not use this file except in 868 // compliance with the License. The rights granted to you under the License 869 // may not be used to create, or enable the creation or redistribution of, 870 // unlawful or unlicensed copies of an Apple operating system, or to 871 // circumvent, violate, or enable the circumvention or violation of, any 872 // terms of an Apple operating system software license agreement. 873 // 874 // Please obtain a copy of the License at 875 // http://www.opensource.apple.com/apsl/ and read it before using this file. 876 // 877 // The Original Code and all software distributed under the License are 878 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 879 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 880 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 881 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 882 // Please see the License for the specific language governing rights and 883 // limitations under the License. 884 // 885 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 886 type int32_t = int32 /* _int32_t.h:30:33 */ 887 // Copyright (c) 2012 Apple Inc. All rights reserved. 888 // 889 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 890 // 891 // This file contains Original Code and/or Modifications of Original Code 892 // as defined in and that are subject to the Apple Public Source License 893 // Version 2.0 (the 'License'). You may not use this file except in 894 // compliance with the License. The rights granted to you under the License 895 // may not be used to create, or enable the creation or redistribution of, 896 // unlawful or unlicensed copies of an Apple operating system, or to 897 // circumvent, violate, or enable the circumvention or violation of, any 898 // terms of an Apple operating system software license agreement. 899 // 900 // Please obtain a copy of the License at 901 // http://www.opensource.apple.com/apsl/ and read it before using this file. 902 // 903 // The Original Code and all software distributed under the License are 904 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 905 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 906 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 907 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 908 // Please see the License for the specific language governing rights and 909 // limitations under the License. 910 // 911 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 912 type int64_t = int64 /* _int64_t.h:30:33 */ 913 914 // Copyright (c) 2016 Apple Inc. All rights reserved. 915 // 916 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 917 // 918 // This file contains Original Code and/or Modifications of Original Code 919 // as defined in and that are subject to the Apple Public Source License 920 // Version 2.0 (the 'License'). You may not use this file except in 921 // compliance with the License. The rights granted to you under the License 922 // may not be used to create, or enable the creation or redistribution of, 923 // unlawful or unlicensed copies of an Apple operating system, or to 924 // circumvent, violate, or enable the circumvention or violation of, any 925 // terms of an Apple operating system software license agreement. 926 // 927 // Please obtain a copy of the License at 928 // http://www.opensource.apple.com/apsl/ and read it before using this file. 929 // 930 // The Original Code and all software distributed under the License are 931 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 932 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 933 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 934 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 935 // Please see the License for the specific language governing rights and 936 // limitations under the License. 937 // 938 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 939 type u_int8_t = uint8 /* _u_int8_t.h:30:33 */ 940 // Copyright (c) 2012 Apple Inc. All rights reserved. 941 // 942 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 943 // 944 // This file contains Original Code and/or Modifications of Original Code 945 // as defined in and that are subject to the Apple Public Source License 946 // Version 2.0 (the 'License'). You may not use this file except in 947 // compliance with the License. The rights granted to you under the License 948 // may not be used to create, or enable the creation or redistribution of, 949 // unlawful or unlicensed copies of an Apple operating system, or to 950 // circumvent, violate, or enable the circumvention or violation of, any 951 // terms of an Apple operating system software license agreement. 952 // 953 // Please obtain a copy of the License at 954 // http://www.opensource.apple.com/apsl/ and read it before using this file. 955 // 956 // The Original Code and all software distributed under the License are 957 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 958 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 959 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 960 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 961 // Please see the License for the specific language governing rights and 962 // limitations under the License. 963 // 964 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 965 type u_int16_t = uint16 /* _u_int16_t.h:30:41 */ 966 // Copyright (c) 2012 Apple Inc. All rights reserved. 967 // 968 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 969 // 970 // This file contains Original Code and/or Modifications of Original Code 971 // as defined in and that are subject to the Apple Public Source License 972 // Version 2.0 (the 'License'). You may not use this file except in 973 // compliance with the License. The rights granted to you under the License 974 // may not be used to create, or enable the creation or redistribution of, 975 // unlawful or unlicensed copies of an Apple operating system, or to 976 // circumvent, violate, or enable the circumvention or violation of, any 977 // terms of an Apple operating system software license agreement. 978 // 979 // Please obtain a copy of the License at 980 // http://www.opensource.apple.com/apsl/ and read it before using this file. 981 // 982 // The Original Code and all software distributed under the License are 983 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 984 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 985 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 986 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 987 // Please see the License for the specific language governing rights and 988 // limitations under the License. 989 // 990 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 991 type u_int32_t = uint32 /* _u_int32_t.h:30:33 */ 992 // Copyright (c) 2012 Apple Inc. All rights reserved. 993 // 994 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 995 // 996 // This file contains Original Code and/or Modifications of Original Code 997 // as defined in and that are subject to the Apple Public Source License 998 // Version 2.0 (the 'License'). You may not use this file except in 999 // compliance with the License. The rights granted to you under the License 1000 // may not be used to create, or enable the creation or redistribution of, 1001 // unlawful or unlicensed copies of an Apple operating system, or to 1002 // circumvent, violate, or enable the circumvention or violation of, any 1003 // terms of an Apple operating system software license agreement. 1004 // 1005 // Please obtain a copy of the License at 1006 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1007 // 1008 // The Original Code and all software distributed under the License are 1009 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1010 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1011 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1012 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1013 // Please see the License for the specific language governing rights and 1014 // limitations under the License. 1015 // 1016 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1017 type u_int64_t = uint64 /* _u_int64_t.h:30:33 */ 1018 1019 type register_t = int64_t /* types.h:87:33 */ 1020 1021 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1022 // 1023 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1024 // 1025 // This file contains Original Code and/or Modifications of Original Code 1026 // as defined in and that are subject to the Apple Public Source License 1027 // Version 2.0 (the 'License'). You may not use this file except in 1028 // compliance with the License. The rights granted to you under the License 1029 // may not be used to create, or enable the creation or redistribution of, 1030 // unlawful or unlicensed copies of an Apple operating system, or to 1031 // circumvent, violate, or enable the circumvention or violation of, any 1032 // terms of an Apple operating system software license agreement. 1033 // 1034 // Please obtain a copy of the License at 1035 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1036 // 1037 // The Original Code and all software distributed under the License are 1038 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1039 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1040 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1041 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1042 // Please see the License for the specific language governing rights and 1043 // limitations under the License. 1044 // 1045 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1046 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1047 // 1048 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1049 // 1050 // This file contains Original Code and/or Modifications of Original Code 1051 // as defined in and that are subject to the Apple Public Source License 1052 // Version 2.0 (the 'License'). You may not use this file except in 1053 // compliance with the License. The rights granted to you under the License 1054 // may not be used to create, or enable the creation or redistribution of, 1055 // unlawful or unlicensed copies of an Apple operating system, or to 1056 // circumvent, violate, or enable the circumvention or violation of, any 1057 // terms of an Apple operating system software license agreement. 1058 // 1059 // Please obtain a copy of the License at 1060 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1061 // 1062 // The Original Code and all software distributed under the License are 1063 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1064 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1065 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1066 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1067 // Please see the License for the specific language governing rights and 1068 // limitations under the License. 1069 // 1070 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1071 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1072 1073 type intptr_t = int64 /* _intptr_t.h:32:33 */ 1074 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1075 // 1076 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1077 // 1078 // This file contains Original Code and/or Modifications of Original Code 1079 // as defined in and that are subject to the Apple Public Source License 1080 // Version 2.0 (the 'License'). You may not use this file except in 1081 // compliance with the License. The rights granted to you under the License 1082 // may not be used to create, or enable the creation or redistribution of, 1083 // unlawful or unlicensed copies of an Apple operating system, or to 1084 // circumvent, violate, or enable the circumvention or violation of, any 1085 // terms of an Apple operating system software license agreement. 1086 // 1087 // Please obtain a copy of the License at 1088 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1089 // 1090 // The Original Code and all software distributed under the License are 1091 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1092 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1093 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1094 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1095 // Please see the License for the specific language governing rights and 1096 // limitations under the License. 1097 // 1098 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1099 type uintptr_t = uint64 /* _uintptr_t.h:30:33 */ 1100 1101 // These types are used for reserving the largest possible size. 1102 type user_addr_t = u_int64_t /* types.h:97:33 */ 1103 type user_size_t = u_int64_t /* types.h:98:33 */ 1104 type user_ssize_t = int64_t /* types.h:99:33 */ 1105 type user_long_t = int64_t /* types.h:100:33 */ 1106 type user_ulong_t = u_int64_t /* types.h:101:33 */ 1107 type user_time_t = int64_t /* types.h:102:33 */ 1108 type user_off_t = int64_t /* types.h:103:33 */ 1109 1110 // This defines the size of syscall arguments after copying into the kernel: 1111 type syscall_arg_t = u_int64_t /* types.h:111:33 */ 1112 1113 type va_list = uintptr /* _va_list.h:32:26 */ 1114 1115 type fpos_t = int64 /* _stdio.h:81:25 */ 1116 1117 // NB: to fit things in six character monocase externals, the stdio 1118 // code uses the prefix `__s' for stdio objects, typically followed 1119 // by a three-character attempt at a mnemonic. 1120 1121 // stdio buffers 1122 type __sbuf = struct { 1123 F_base uintptr 1124 F_size int32 1125 F__ccgo_pad1 [4]byte 1126 } /* _stdio.h:92:1 */ 1127 1128 // stdio state variables. 1129 // 1130 // The following always hold: 1131 // 1132 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 1133 // _lbfsize is -_bf._size, else _lbfsize is 0 1134 // if _flags&__SRD, _w is 0 1135 // if _flags&__SWR, _r is 0 1136 // 1137 // This ensures that the getc and putc macros (or inline functions) never 1138 // try to write or read from a file that is in `read' or `write' mode. 1139 // (Moreover, they can, and do, automatically switch from read mode to 1140 // write mode, and back, on "r+" and "w+" files.) 1141 // 1142 // _lbfsize is used only to make the inline line-buffered output stream 1143 // code as compact as possible. 1144 // 1145 // _ub, _up, and _ur are used when ungetc() pushes back more characters 1146 // than fit in the current _bf, or when ungetc() pushes back a character 1147 // that does not match the previous one in _bf. When this happens, 1148 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 1149 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 1150 // 1151 // NB: see WARNING above before changing the layout of this structure! 1152 type __sFILE = struct { 1153 F_p uintptr 1154 F_r int32 1155 F_w int32 1156 F_flags int16 1157 F_file int16 1158 F__ccgo_pad1 [4]byte 1159 F_bf struct { 1160 F_base uintptr 1161 F_size int32 1162 F__ccgo_pad1 [4]byte 1163 } 1164 F_lbfsize int32 1165 F__ccgo_pad2 [4]byte 1166 F_cookie uintptr 1167 F_close uintptr 1168 F_read uintptr 1169 F_seek uintptr 1170 F_write uintptr 1171 F_ub struct { 1172 F_base uintptr 1173 F_size int32 1174 F__ccgo_pad1 [4]byte 1175 } 1176 F_extra uintptr 1177 F_ur int32 1178 F_ubuf [3]uint8 1179 F_nbuf [1]uint8 1180 F_lb struct { 1181 F_base uintptr 1182 F_size int32 1183 F__ccgo_pad1 [4]byte 1184 } 1185 F_blksize int32 1186 F__ccgo_pad3 [4]byte 1187 F_offset fpos_t 1188 } /* _stdio.h:126:9 */ 1189 1190 // stdio state variables. 1191 // 1192 // The following always hold: 1193 // 1194 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 1195 // _lbfsize is -_bf._size, else _lbfsize is 0 1196 // if _flags&__SRD, _w is 0 1197 // if _flags&__SWR, _r is 0 1198 // 1199 // This ensures that the getc and putc macros (or inline functions) never 1200 // try to write or read from a file that is in `read' or `write' mode. 1201 // (Moreover, they can, and do, automatically switch from read mode to 1202 // write mode, and back, on "r+" and "w+" files.) 1203 // 1204 // _lbfsize is used only to make the inline line-buffered output stream 1205 // code as compact as possible. 1206 // 1207 // _ub, _up, and _ur are used when ungetc() pushes back more characters 1208 // than fit in the current _bf, or when ungetc() pushes back a character 1209 // that does not match the previous one in _bf. When this happens, 1210 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 1211 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 1212 // 1213 // NB: see WARNING above before changing the layout of this structure! 1214 type FILE = __sFILE /* _stdio.h:157:3 */ 1215 1216 // Additional functionality provided by: 1217 // POSIX.1-2001 1218 // ISO C99 1219 1220 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1221 // 1222 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1223 // 1224 // This file contains Original Code and/or Modifications of Original Code 1225 // as defined in and that are subject to the Apple Public Source License 1226 // Version 2.0 (the 'License'). You may not use this file except in 1227 // compliance with the License. The rights granted to you under the License 1228 // may not be used to create, or enable the creation or redistribution of, 1229 // unlawful or unlicensed copies of an Apple operating system, or to 1230 // circumvent, violate, or enable the circumvention or violation of, any 1231 // terms of an Apple operating system software license agreement. 1232 // 1233 // Please obtain a copy of the License at 1234 // http://www.opensource.apple.com/apsl/ and read it before using this 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_OSREFERENCE_LICENSE_HEADER_END@ 1245 // Copyright (c) 2003-2007 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 type off_t = int64 /* _off_t.h:31:33 */ 1272 1273 // Additional functionality provided by: 1274 // POSIX.1-2008 1275 1276 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1277 // 1278 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1279 // 1280 // This file contains Original Code and/or Modifications of Original Code 1281 // as defined in and that are subject to the Apple Public Source License 1282 // Version 2.0 (the 'License'). You may not use this file except in 1283 // compliance with the License. The rights granted to you under the License 1284 // may not be used to create, or enable the creation or redistribution of, 1285 // unlawful or unlicensed copies of an Apple operating system, or to 1286 // circumvent, violate, or enable the circumvention or violation of, any 1287 // terms of an Apple operating system software license agreement. 1288 // 1289 // Please obtain a copy of the License at 1290 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1291 // 1292 // The Original Code and all software distributed under the License are 1293 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1294 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1295 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1296 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1297 // Please see the License for the specific language governing rights and 1298 // limitations under the License. 1299 // 1300 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1301 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1302 // 1303 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1304 // 1305 // This file contains Original Code and/or Modifications of Original Code 1306 // as defined in and that are subject to the Apple Public Source License 1307 // Version 2.0 (the 'License'). You may not use this file except in 1308 // compliance with the License. The rights granted to you under the License 1309 // may not be used to create, or enable the creation or redistribution of, 1310 // unlawful or unlicensed copies of an Apple operating system, or to 1311 // circumvent, violate, or enable the circumvention or violation of, any 1312 // terms of an Apple operating system software license agreement. 1313 // 1314 // Please obtain a copy of the License at 1315 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1316 // 1317 // The Original Code and all software distributed under the License are 1318 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1319 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1320 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1321 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1322 // Please see the License for the specific language governing rights and 1323 // limitations under the License. 1324 // 1325 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1326 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1327 type ssize_t = int64 /* _ssize_t.h:31:33 */ 1328 1329 // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved. 1330 // 1331 // @APPLE_LICENSE_HEADER_START@ 1332 // 1333 // This file contains Original Code and/or Modifications of Original Code 1334 // as defined in and that are subject to the Apple Public Source License 1335 // Version 2.0 (the 'License'). You may not use this file except in 1336 // compliance with the License. Please obtain a copy of the License at 1337 // http://www.opensource.apple.com/apsl/ and read it before using this 1338 // 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_LICENSE_HEADER_END@ 1349 // - 1350 // Copyright (c) 1990, 1993 1351 // The Regents of the University of California. All rights reserved. 1352 // 1353 // Redistribution and use in source and binary forms, with or without 1354 // modification, are permitted provided that the following conditions 1355 // are met: 1356 // 1. Redistributions of source code must retain the above copyright 1357 // notice, this list of conditions and the following disclaimer. 1358 // 2. Redistributions in binary form must reproduce the above copyright 1359 // notice, this list of conditions and the following disclaimer in the 1360 // documentation and/or other materials provided with the distribution. 1361 // 3. All advertising materials mentioning features or use of this software 1362 // must display the following acknowledgement: 1363 // This product includes software developed by the University of 1364 // California, Berkeley and its contributors. 1365 // 4. Neither the name of the University nor the names of its contributors 1366 // may be used to endorse or promote products derived from this software 1367 // without specific prior written permission. 1368 // 1369 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1370 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1371 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1372 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1373 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1374 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1375 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1376 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1377 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1378 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1379 // SUCH DAMAGE. 1380 // 1381 // @(#)stdlib.h 8.5 (Berkeley) 5/19/95 1382 1383 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 1384 // 1385 // @APPLE_LICENSE_HEADER_START@ 1386 // 1387 // This file contains Original Code and/or Modifications of Original Code 1388 // as defined in and that are subject to the Apple Public Source License 1389 // Version 2.0 (the 'License'). You may not use this file except in 1390 // compliance with the License. Please obtain a copy of the License at 1391 // http://www.opensource.apple.com/apsl/ and read it before using this 1392 // file. 1393 // 1394 // The Original Code and all software distributed under the License are 1395 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1396 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1397 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1398 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1399 // Please see the License for the specific language governing rights and 1400 // limitations under the License. 1401 // 1402 // @APPLE_LICENSE_HEADER_END@ 1403 1404 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1405 // 1406 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1407 // 1408 // This file contains Original Code and/or Modifications of Original Code 1409 // as defined in and that are subject to the Apple Public Source License 1410 // Version 2.0 (the 'License'). You may not use this file except in 1411 // compliance with the License. The rights granted to you under the License 1412 // may not be used to create, or enable the creation or redistribution of, 1413 // unlawful or unlicensed copies of an Apple operating system, or to 1414 // circumvent, violate, or enable the circumvention or violation of, any 1415 // terms of an Apple operating system software license agreement. 1416 // 1417 // Please obtain a copy of the License at 1418 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1419 // 1420 // The Original Code and all software distributed under the License are 1421 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1422 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1423 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1424 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1425 // Please see the License for the specific language governing rights and 1426 // limitations under the License. 1427 // 1428 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1429 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1430 // Copyright (c) 1991, 1993 1431 // The Regents of the University of California. All rights reserved. 1432 // 1433 // This code is derived from software contributed to Berkeley by 1434 // Berkeley Software Design, Inc. 1435 // 1436 // Redistribution and use in source and binary forms, with or without 1437 // modification, are permitted provided that the following conditions 1438 // are met: 1439 // 1. Redistributions of source code must retain the above copyright 1440 // notice, this list of conditions and the following disclaimer. 1441 // 2. Redistributions in binary form must reproduce the above copyright 1442 // notice, this list of conditions and the following disclaimer in the 1443 // documentation and/or other materials provided with the distribution. 1444 // 3. All advertising materials mentioning features or use of this software 1445 // must display the following acknowledgement: 1446 // This product includes software developed by the University of 1447 // California, Berkeley and its contributors. 1448 // 4. Neither the name of the University nor the names of its contributors 1449 // may be used to endorse or promote products derived from this software 1450 // without specific prior written permission. 1451 // 1452 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1453 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1454 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1455 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1456 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1457 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1458 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1459 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1460 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1461 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1462 // SUCH DAMAGE. 1463 // 1464 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1465 1466 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 1467 // 1468 // @APPLE_LICENSE_HEADER_START@ 1469 // 1470 // This file contains Original Code and/or Modifications of Original Code 1471 // as defined in and that are subject to the Apple Public Source License 1472 // Version 2.0 (the 'License'). You may not use this file except in 1473 // compliance with the License. Please obtain a copy of the License at 1474 // http://www.opensource.apple.com/apsl/ and read it before using this 1475 // file. 1476 // 1477 // The Original Code and all software distributed under the License are 1478 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1479 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1480 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1481 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1482 // Please see the License for the specific language governing rights and 1483 // limitations under the License. 1484 // 1485 // @APPLE_LICENSE_HEADER_END@ 1486 1487 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 1488 // 1489 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1490 // 1491 // This file contains Original Code and/or Modifications of Original Code 1492 // as defined in and that are subject to the Apple Public Source License 1493 // Version 2.0 (the 'License'). You may not use this file except in 1494 // compliance with the License. The rights granted to you under the License 1495 // may not be used to create, or enable the creation or redistribution of, 1496 // unlawful or unlicensed copies of an Apple operating system, or to 1497 // circumvent, violate, or enable the circumvention or violation of, any 1498 // terms of an Apple operating system software license agreement. 1499 // 1500 // Please obtain a copy of the License at 1501 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1502 // 1503 // The Original Code and all software distributed under the License are 1504 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1505 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1506 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1507 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1508 // Please see the License for the specific language governing rights and 1509 // limitations under the License. 1510 // 1511 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1512 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 1513 // Copyright (c) 1982, 1986, 1989, 1993, 1994 1514 // The Regents of the University of California. All rights reserved. 1515 // 1516 // Redistribution and use in source and binary forms, with or without 1517 // modification, are permitted provided that the following conditions 1518 // are met: 1519 // 1. Redistributions of source code must retain the above copyright 1520 // notice, this list of conditions and the following disclaimer. 1521 // 2. Redistributions in binary form must reproduce the above copyright 1522 // notice, this list of conditions and the following disclaimer in the 1523 // documentation and/or other materials provided with the distribution. 1524 // 3. All advertising materials mentioning features or use of this software 1525 // must display the following acknowledgement: 1526 // This product includes software developed by the University of 1527 // California, Berkeley and its contributors. 1528 // 4. Neither the name of the University nor the names of its contributors 1529 // may be used to endorse or promote products derived from this software 1530 // without specific prior written permission. 1531 // 1532 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1533 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1534 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1535 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1536 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1537 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1538 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1539 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1540 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1541 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1542 // SUCH DAMAGE. 1543 // 1544 // @(#)wait.h 8.2 (Berkeley) 7/10/94 1545 1546 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1547 // 1548 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1549 // 1550 // This file contains Original Code and/or Modifications of Original Code 1551 // as defined in and that are subject to the Apple Public Source License 1552 // Version 2.0 (the 'License'). You may not use this file except in 1553 // compliance with the License. The rights granted to you under the License 1554 // may not be used to create, or enable the creation or redistribution of, 1555 // unlawful or unlicensed copies of an Apple operating system, or to 1556 // circumvent, violate, or enable the circumvention or violation of, any 1557 // terms of an Apple operating system software license agreement. 1558 // 1559 // Please obtain a copy of the License at 1560 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1561 // 1562 // The Original Code and all software distributed under the License are 1563 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1564 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1565 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1566 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1567 // Please see the License for the specific language governing rights and 1568 // limitations under the License. 1569 // 1570 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1571 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1572 // Copyright (c) 1991, 1993 1573 // The Regents of the University of California. All rights reserved. 1574 // 1575 // This code is derived from software contributed to Berkeley by 1576 // Berkeley Software Design, Inc. 1577 // 1578 // Redistribution and use in source and binary forms, with or without 1579 // modification, are permitted provided that the following conditions 1580 // are met: 1581 // 1. Redistributions of source code must retain the above copyright 1582 // notice, this list of conditions and the following disclaimer. 1583 // 2. Redistributions in binary form must reproduce the above copyright 1584 // notice, this list of conditions and the following disclaimer in the 1585 // documentation and/or other materials provided with the distribution. 1586 // 3. All advertising materials mentioning features or use of this software 1587 // must display the following acknowledgement: 1588 // This product includes software developed by the University of 1589 // California, Berkeley and its contributors. 1590 // 4. Neither the name of the University nor the names of its contributors 1591 // may be used to endorse or promote products derived from this software 1592 // without specific prior written permission. 1593 // 1594 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1595 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1596 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1597 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1598 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1599 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1600 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1601 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1602 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1603 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1604 // SUCH DAMAGE. 1605 // 1606 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1607 1608 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1609 // 1610 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1611 // 1612 // This file contains Original Code and/or Modifications of Original Code 1613 // as defined in and that are subject to the Apple Public Source License 1614 // Version 2.0 (the 'License'). You may not use this file except in 1615 // compliance with the License. The rights granted to you under the License 1616 // may not be used to create, or enable the creation or redistribution of, 1617 // unlawful or unlicensed copies of an Apple operating system, or to 1618 // circumvent, violate, or enable the circumvention or violation of, any 1619 // terms of an Apple operating system software license agreement. 1620 // 1621 // Please obtain a copy of the License at 1622 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1623 // 1624 // The Original Code and all software distributed under the License are 1625 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1626 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1627 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1628 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1629 // Please see the License for the specific language governing rights and 1630 // limitations under the License. 1631 // 1632 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1633 1634 // This file holds definitions relevent to the wait4 system call 1635 // and the alternate interfaces that use it (wait, wait3, waitpid). 1636 1637 // [XSI] The type idtype_t shall be defined as an enumeration type whose 1638 // possible values shall include at least P_ALL, P_PID, and P_PGID. 1639 type idtype_t = uint32 /* wait.h:83:3 */ 1640 1641 // [XSI] The id_t and pid_t types shall be defined as described 1642 // in <sys/types.h> 1643 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1644 // 1645 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1646 // 1647 // This file contains Original Code and/or Modifications of Original Code 1648 // as defined in and that are subject to the Apple Public Source License 1649 // Version 2.0 (the 'License'). You may not use this file except in 1650 // compliance with the License. The rights granted to you under the License 1651 // may not be used to create, or enable the creation or redistribution of, 1652 // unlawful or unlicensed copies of an Apple operating system, or to 1653 // circumvent, violate, or enable the circumvention or violation of, any 1654 // terms of an Apple operating system software license agreement. 1655 // 1656 // Please obtain a copy of the License at 1657 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1658 // 1659 // The Original Code and all software distributed under the License are 1660 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1661 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1662 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1663 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1664 // Please see the License for the specific language governing rights and 1665 // limitations under the License. 1666 // 1667 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1668 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1669 // 1670 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1671 // 1672 // This file contains Original Code and/or Modifications of Original Code 1673 // as defined in and that are subject to the Apple Public Source License 1674 // Version 2.0 (the 'License'). You may not use this file except in 1675 // compliance with the License. The rights granted to you under the License 1676 // may not be used to create, or enable the creation or redistribution of, 1677 // unlawful or unlicensed copies of an Apple operating system, or to 1678 // circumvent, violate, or enable the circumvention or violation of, any 1679 // terms of an Apple operating system software license agreement. 1680 // 1681 // Please obtain a copy of the License at 1682 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1683 // 1684 // The Original Code and all software distributed under the License are 1685 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1686 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1687 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1688 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1689 // Please see the License for the specific language governing rights and 1690 // limitations under the License. 1691 // 1692 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1693 1694 type pid_t = int32 /* _pid_t.h:31:31 */ 1695 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 1696 // 1697 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1698 // 1699 // This file contains Original Code and/or Modifications of Original Code 1700 // as defined in and that are subject to the Apple Public Source License 1701 // Version 2.0 (the 'License'). You may not use this file except in 1702 // compliance with the License. The rights granted to you under the License 1703 // may not be used to create, or enable the creation or redistribution of, 1704 // unlawful or unlicensed copies of an Apple operating system, or to 1705 // circumvent, violate, or enable the circumvention or violation of, any 1706 // terms of an Apple operating system software license agreement. 1707 // 1708 // Please obtain a copy of the License at 1709 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1710 // 1711 // The Original Code and all software distributed under the License are 1712 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1713 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1714 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1715 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1716 // Please see the License for the specific language governing rights and 1717 // limitations under the License. 1718 // 1719 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1720 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1721 // 1722 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1723 // 1724 // This file contains Original Code and/or Modifications of Original Code 1725 // as defined in and that are subject to the Apple Public Source License 1726 // Version 2.0 (the 'License'). You may not use this file except in 1727 // compliance with the License. The rights granted to you under the License 1728 // may not be used to create, or enable the creation or redistribution of, 1729 // unlawful or unlicensed copies of an Apple operating system, or to 1730 // circumvent, violate, or enable the circumvention or violation of, any 1731 // terms of an Apple operating system software license agreement. 1732 // 1733 // Please obtain a copy of the License at 1734 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1735 // 1736 // The Original Code and all software distributed under the License are 1737 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1738 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1739 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1740 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1741 // Please see the License for the specific language governing rights and 1742 // limitations under the License. 1743 // 1744 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1745 1746 type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t 1747 1748 // [XSI] The siginfo_t type shall be defined as described in <signal.h> 1749 // [XSI] The rusage structure shall be defined as described in <sys/resource.h> 1750 // [XSI] Inclusion of the <sys/wait.h> header may also make visible all 1751 // symbols from <signal.h> and <sys/resource.h> 1752 // 1753 // NOTE: This requirement is currently being satisfied by the direct 1754 // inclusion of <sys/signal.h> and <sys/resource.h>, below. 1755 // 1756 // Software should not depend on the exposure of anything other 1757 // than the types siginfo_t and struct rusage as a result of 1758 // this inclusion. If you depend on any types or manifest 1759 // values othe than siginfo_t and struct rusage from either of 1760 // those files, you should explicitly include them yourself, as 1761 // well, or in future releases your stware may not compile 1762 // without modification. 1763 // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. 1764 // 1765 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1766 // 1767 // This file contains Original Code and/or Modifications of Original Code 1768 // as defined in and that are subject to the Apple Public Source License 1769 // Version 2.0 (the 'License'). You may not use this file except in 1770 // compliance with the License. The rights granted to you under the License 1771 // may not be used to create, or enable the creation or redistribution of, 1772 // unlawful or unlicensed copies of an Apple operating system, or to 1773 // circumvent, violate, or enable the circumvention or violation of, any 1774 // terms of an Apple operating system software license agreement. 1775 // 1776 // Please obtain a copy of the License at 1777 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1778 // 1779 // The Original Code and all software distributed under the License are 1780 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1781 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1782 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1783 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1784 // Please see the License for the specific language governing rights and 1785 // limitations under the License. 1786 // 1787 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1788 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 1789 // Copyright (c) 1982, 1986, 1989, 1991, 1993 1790 // The Regents of the University of California. All rights reserved. 1791 // (c) UNIX System Laboratories, Inc. 1792 // All or some portions of this file are derived from material licensed 1793 // to the University of California by American Telephone and Telegraph 1794 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 1795 // the permission of UNIX System Laboratories, Inc. 1796 // 1797 // Redistribution and use in source and binary forms, with or without 1798 // modification, are permitted provided that the following conditions 1799 // are met: 1800 // 1. Redistributions of source code must retain the above copyright 1801 // notice, this list of conditions and the following disclaimer. 1802 // 2. Redistributions in binary form must reproduce the above copyright 1803 // notice, this list of conditions and the following disclaimer in the 1804 // documentation and/or other materials provided with the distribution. 1805 // 3. All advertising materials mentioning features or use of this software 1806 // must display the following acknowledgement: 1807 // This product includes software developed by the University of 1808 // California, Berkeley and its contributors. 1809 // 4. Neither the name of the University nor the names of its contributors 1810 // may be used to endorse or promote products derived from this software 1811 // without specific prior written permission. 1812 // 1813 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1814 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1815 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1816 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1817 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1818 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1819 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1820 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1821 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1822 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1823 // SUCH DAMAGE. 1824 // 1825 // @(#)signal.h 8.2 (Berkeley) 1/21/94 1826 1827 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1828 // 1829 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1830 // 1831 // This file contains Original Code and/or Modifications of Original Code 1832 // as defined in and that are subject to the Apple Public Source License 1833 // Version 2.0 (the 'License'). You may not use this file except in 1834 // compliance with the License. The rights granted to you under the License 1835 // may not be used to create, or enable the creation or redistribution of, 1836 // unlawful or unlicensed copies of an Apple operating system, or to 1837 // circumvent, violate, or enable the circumvention or violation of, any 1838 // terms of an Apple operating system software license agreement. 1839 // 1840 // Please obtain a copy of the License at 1841 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1842 // 1843 // The Original Code and all software distributed under the License are 1844 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1845 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1846 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1847 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1848 // Please see the License for the specific language governing rights and 1849 // limitations under the License. 1850 // 1851 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1852 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1853 // Copyright (c) 1991, 1993 1854 // The Regents of the University of California. All rights reserved. 1855 // 1856 // This code is derived from software contributed to Berkeley by 1857 // Berkeley Software Design, Inc. 1858 // 1859 // Redistribution and use in source and binary forms, with or without 1860 // modification, are permitted provided that the following conditions 1861 // are met: 1862 // 1. Redistributions of source code must retain the above copyright 1863 // notice, this list of conditions and the following disclaimer. 1864 // 2. Redistributions in binary form must reproduce the above copyright 1865 // notice, this list of conditions and the following disclaimer in the 1866 // documentation and/or other materials provided with the distribution. 1867 // 3. All advertising materials mentioning features or use of this software 1868 // must display the following acknowledgement: 1869 // This product includes software developed by the University of 1870 // California, Berkeley and its contributors. 1871 // 4. Neither the name of the University nor the names of its contributors 1872 // may be used to endorse or promote products derived from this software 1873 // without specific prior written permission. 1874 // 1875 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1876 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1877 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1878 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1879 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1880 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1881 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1882 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1883 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1884 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1885 // SUCH DAMAGE. 1886 // 1887 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1888 1889 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 1890 // 1891 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1892 // 1893 // This file contains Original Code and/or Modifications of Original Code 1894 // as defined in and that are subject to the Apple Public Source License 1895 // Version 2.0 (the 'License'). You may not use this file except in 1896 // compliance with the License. The rights granted to you under the License 1897 // may not be used to create, or enable the creation or redistribution of, 1898 // unlawful or unlicensed copies of an Apple operating system, or to 1899 // circumvent, violate, or enable the circumvention or violation of, any 1900 // terms of an Apple operating system software license agreement. 1901 // 1902 // Please obtain a copy of the License at 1903 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1904 // 1905 // The Original Code and all software distributed under the License are 1906 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1907 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1908 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1909 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1910 // Please see the License for the specific language governing rights and 1911 // limitations under the License. 1912 // 1913 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1914 1915 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 1916 // 1917 // @APPLE_LICENSE_HEADER_START@ 1918 // 1919 // This file contains Original Code and/or Modifications of Original Code 1920 // as defined in and that are subject to the Apple Public Source License 1921 // Version 2.0 (the 'License'). You may not use this file except in 1922 // compliance with the License. Please obtain a copy of the License at 1923 // http://www.opensource.apple.com/apsl/ and read it before using this 1924 // file. 1925 // 1926 // The Original Code and all software distributed under the License are 1927 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1928 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1929 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1930 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1931 // Please see the License for the specific language governing rights and 1932 // limitations under the License. 1933 // 1934 // @APPLE_LICENSE_HEADER_END@ 1935 1936 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1937 // 1938 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1939 // 1940 // This file contains Original Code and/or Modifications of Original Code 1941 // as defined in and that are subject to the Apple Public Source License 1942 // Version 2.0 (the 'License'). You may not use this file except in 1943 // compliance with the License. The rights granted to you under the License 1944 // may not be used to create, or enable the creation or redistribution of, 1945 // unlawful or unlicensed copies of an Apple operating system, or to 1946 // circumvent, violate, or enable the circumvention or violation of, any 1947 // terms of an Apple operating system software license agreement. 1948 // 1949 // Please obtain a copy of the License at 1950 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1951 // 1952 // The Original Code and all software distributed under the License are 1953 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1954 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1955 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1956 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1957 // Please see the License for the specific language governing rights and 1958 // limitations under the License. 1959 // 1960 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1961 1962 // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. 1963 // 1964 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1965 // 1966 // This file contains Original Code and/or Modifications of Original Code 1967 // as defined in and that are subject to the Apple Public Source License 1968 // Version 2.0 (the 'License'). You may not use this file except in 1969 // compliance with the License. The rights granted to you under the License 1970 // may not be used to create, or enable the creation or redistribution of, 1971 // unlawful or unlicensed copies of an Apple operating system, or to 1972 // circumvent, violate, or enable the circumvention or violation of, any 1973 // terms of an Apple operating system software license agreement. 1974 // 1975 // Please obtain a copy of the License at 1976 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1977 // 1978 // The Original Code and all software distributed under the License are 1979 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1980 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1981 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1982 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1983 // Please see the License for the specific language governing rights and 1984 // limitations under the License. 1985 // 1986 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1987 // Copyright (c) 1992 NeXT Computer, Inc. 1988 // 1989 1990 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1991 // 1992 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1993 // 1994 // This file contains Original Code and/or Modifications of Original Code 1995 // as defined in and that are subject to the Apple Public Source License 1996 // Version 2.0 (the 'License'). You may not use this file except in 1997 // compliance with the License. The rights granted to you under the License 1998 // may not be used to create, or enable the creation or redistribution of, 1999 // unlawful or unlicensed copies of an Apple operating system, or to 2000 // circumvent, violate, or enable the circumvention or violation of, any 2001 // terms of an Apple operating system software license agreement. 2002 // 2003 // Please obtain a copy of the License at 2004 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2005 // 2006 // The Original Code and all software distributed under the License are 2007 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2008 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2009 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2010 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2011 // Please see the License for the specific language governing rights and 2012 // limitations under the License. 2013 // 2014 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2015 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2016 // Copyright (c) 1991, 1993 2017 // The Regents of the University of California. All rights reserved. 2018 // 2019 // This code is derived from software contributed to Berkeley by 2020 // Berkeley Software Design, Inc. 2021 // 2022 // Redistribution and use in source and binary forms, with or without 2023 // modification, are permitted provided that the following conditions 2024 // are met: 2025 // 1. Redistributions of source code must retain the above copyright 2026 // notice, this list of conditions and the following disclaimer. 2027 // 2. Redistributions in binary form must reproduce the above copyright 2028 // notice, this list of conditions and the following disclaimer in the 2029 // documentation and/or other materials provided with the distribution. 2030 // 3. All advertising materials mentioning features or use of this software 2031 // must display the following acknowledgement: 2032 // This product includes software developed by the University of 2033 // California, Berkeley and its contributors. 2034 // 4. Neither the name of the University nor the names of its contributors 2035 // may be used to endorse or promote products derived from this software 2036 // without specific prior written permission. 2037 // 2038 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2039 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2040 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2041 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2042 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2043 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2044 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2045 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2046 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2047 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2048 // SUCH DAMAGE. 2049 // 2050 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2051 2052 type sig_atomic_t = int32 /* signal.h:39:13 */ 2053 2054 // Language spec sez we must list exactly one parameter, even though we 2055 // actually supply three. Ugh! 2056 // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h> 2057 2058 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2059 // 2060 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2061 // 2062 // This file contains Original Code and/or Modifications of Original Code 2063 // as defined in and that are subject to the Apple Public Source License 2064 // Version 2.0 (the 'License'). You may not use this file except in 2065 // compliance with the License. The rights granted to you under the License 2066 // may not be used to create, or enable the creation or redistribution of, 2067 // unlawful or unlicensed copies of an Apple operating system, or to 2068 // circumvent, violate, or enable the circumvention or violation of, any 2069 // terms of an Apple operating system software license agreement. 2070 // 2071 // Please obtain a copy of the License at 2072 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2073 // 2074 // The Original Code and all software distributed under the License are 2075 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2076 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2077 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2078 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2079 // Please see the License for the specific language governing rights and 2080 // limitations under the License. 2081 // 2082 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2083 2084 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2085 // 2086 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2087 // 2088 // This file contains Original Code and/or Modifications of Original Code 2089 // as defined in and that are subject to the Apple Public Source License 2090 // Version 2.0 (the 'License'). You may not use this file except in 2091 // compliance with the License. The rights granted to you under the License 2092 // may not be used to create, or enable the creation or redistribution of, 2093 // unlawful or unlicensed copies of an Apple operating system, or to 2094 // circumvent, violate, or enable the circumvention or violation of, any 2095 // terms of an Apple operating system software license agreement. 2096 // 2097 // Please obtain a copy of the License at 2098 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2099 // 2100 // The Original Code and all software distributed under the License are 2101 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2102 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2103 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2104 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2105 // Please see the License for the specific language governing rights and 2106 // limitations under the License. 2107 // 2108 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2109 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2110 // 2111 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2112 // 2113 // This file contains Original Code and/or Modifications of Original Code 2114 // as defined in and that are subject to the Apple Public Source License 2115 // Version 2.0 (the 'License'). You may not use this file except in 2116 // compliance with the License. The rights granted to you under the License 2117 // may not be used to create, or enable the creation or redistribution of, 2118 // unlawful or unlicensed copies of an Apple operating system, or to 2119 // circumvent, violate, or enable the circumvention or violation of, any 2120 // terms of an Apple operating system software license agreement. 2121 // 2122 // Please obtain a copy of the License at 2123 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2124 // 2125 // The Original Code and all software distributed under the License are 2126 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2127 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2128 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2129 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2130 // Please see the License for the specific language governing rights and 2131 // limitations under the License. 2132 // 2133 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2134 2135 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2136 // 2137 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2138 // 2139 // This file contains Original Code and/or Modifications of Original Code 2140 // as defined in and that are subject to the Apple Public Source License 2141 // Version 2.0 (the 'License'). You may not use this file except in 2142 // compliance with the License. The rights granted to you under the License 2143 // may not be used to create, or enable the creation or redistribution of, 2144 // unlawful or unlicensed copies of an Apple operating system, or to 2145 // circumvent, violate, or enable the circumvention or violation of, any 2146 // terms of an Apple operating system software license agreement. 2147 // 2148 // Please obtain a copy of the License at 2149 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2150 // 2151 // The Original Code and all software distributed under the License are 2152 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2153 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2154 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2155 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2156 // Please see the License for the specific language governing rights and 2157 // limitations under the License. 2158 // 2159 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2160 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2161 // Copyright (c) 1991, 1993 2162 // The Regents of the University of California. All rights reserved. 2163 // 2164 // This code is derived from software contributed to Berkeley by 2165 // Berkeley Software Design, Inc. 2166 // 2167 // Redistribution and use in source and binary forms, with or without 2168 // modification, are permitted provided that the following conditions 2169 // are met: 2170 // 1. Redistributions of source code must retain the above copyright 2171 // notice, this list of conditions and the following disclaimer. 2172 // 2. Redistributions in binary form must reproduce the above copyright 2173 // notice, this list of conditions and the following disclaimer in the 2174 // documentation and/or other materials provided with the distribution. 2175 // 3. All advertising materials mentioning features or use of this software 2176 // must display the following acknowledgement: 2177 // This product includes software developed by the University of 2178 // California, Berkeley and its contributors. 2179 // 4. Neither the name of the University nor the names of its contributors 2180 // may be used to endorse or promote products derived from this software 2181 // without specific prior written permission. 2182 // 2183 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2184 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2185 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2186 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2187 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2188 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2189 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2190 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2191 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2192 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2193 // SUCH DAMAGE. 2194 // 2195 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2196 2197 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2198 // 2199 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2200 // 2201 // This file contains Original Code and/or Modifications of Original Code 2202 // as defined in and that are subject to the Apple Public Source License 2203 // Version 2.0 (the 'License'). You may not use this file except in 2204 // compliance with the License. The rights granted to you under the License 2205 // may not be used to create, or enable the creation or redistribution of, 2206 // unlawful or unlicensed copies of an Apple operating system, or to 2207 // circumvent, violate, or enable the circumvention or violation of, any 2208 // terms of an Apple operating system software license agreement. 2209 // 2210 // Please obtain a copy of the License at 2211 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2212 // 2213 // The Original Code and all software distributed under the License are 2214 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2215 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2216 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2217 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2218 // Please see the License for the specific language governing rights and 2219 // limitations under the License. 2220 // 2221 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2222 2223 // Copyright (c) 2017 Apple Inc. All rights reserved. 2224 // 2225 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2226 // 2227 // This file contains Original Code and/or Modifications of Original Code 2228 // as defined in and that are subject to the Apple Public Source License 2229 // Version 2.0 (the 'License'). You may not use this file except in 2230 // compliance with the License. The rights granted to you under the License 2231 // may not be used to create, or enable the creation or redistribution of, 2232 // unlawful or unlicensed copies of an Apple operating system, or to 2233 // circumvent, violate, or enable the circumvention or violation of, any 2234 // terms of an Apple operating system software license agreement. 2235 // 2236 // Please obtain a copy of the License at 2237 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2238 // 2239 // The Original Code and all software distributed under the License are 2240 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2241 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2242 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2243 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2244 // Please see the License for the specific language governing rights and 2245 // limitations under the License. 2246 // 2247 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2248 2249 // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved. 2250 // 2251 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2252 // 2253 // This file contains Original Code and/or Modifications of Original Code 2254 // as defined in and that are subject to the Apple Public Source License 2255 // Version 2.0 (the 'License'). You may not use this file except in 2256 // compliance with the License. The rights granted to you under the License 2257 // may not be used to create, or enable the creation or redistribution of, 2258 // unlawful or unlicensed copies of an Apple operating system, or to 2259 // circumvent, violate, or enable the circumvention or violation of, any 2260 // terms of an Apple operating system software license agreement. 2261 // 2262 // Please obtain a copy of the License at 2263 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2264 // 2265 // The Original Code and all software distributed under the License are 2266 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2267 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2268 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2269 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2270 // Please see the License for the specific language governing rights and 2271 // limitations under the License. 2272 // 2273 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2274 // @OSF_COPYRIGHT@ 2275 2276 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2277 // 2278 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2279 // 2280 // This file contains Original Code and/or Modifications of Original Code 2281 // as defined in and that are subject to the Apple Public Source License 2282 // Version 2.0 (the 'License'). You may not use this file except in 2283 // compliance with the License. The rights granted to you under the License 2284 // may not be used to create, or enable the creation or redistribution of, 2285 // unlawful or unlicensed copies of an Apple operating system, or to 2286 // circumvent, violate, or enable the circumvention or violation of, any 2287 // terms of an Apple operating system software license agreement. 2288 // 2289 // Please obtain a copy of the License at 2290 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2291 // 2292 // The Original Code and all software distributed under the License are 2293 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2294 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2295 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2296 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2297 // Please see the License for the specific language governing rights and 2298 // limitations under the License. 2299 // 2300 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2301 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2302 // Copyright (c) 1991, 1993 2303 // The Regents of the University of California. All rights reserved. 2304 // 2305 // This code is derived from software contributed to Berkeley by 2306 // Berkeley Software Design, Inc. 2307 // 2308 // Redistribution and use in source and binary forms, with or without 2309 // modification, are permitted provided that the following conditions 2310 // are met: 2311 // 1. Redistributions of source code must retain the above copyright 2312 // notice, this list of conditions and the following disclaimer. 2313 // 2. Redistributions in binary form must reproduce the above copyright 2314 // notice, this list of conditions and the following disclaimer in the 2315 // documentation and/or other materials provided with the distribution. 2316 // 3. All advertising materials mentioning features or use of this software 2317 // must display the following acknowledgement: 2318 // This product includes software developed by the University of 2319 // California, Berkeley and its contributors. 2320 // 4. Neither the name of the University nor the names of its contributors 2321 // may be used to endorse or promote products derived from this software 2322 // without specific prior written permission. 2323 // 2324 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2325 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2326 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2327 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2328 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2329 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2330 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2331 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2332 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2333 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2334 // SUCH DAMAGE. 2335 // 2336 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2337 2338 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2339 // 2340 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2341 // 2342 // This file contains Original Code and/or Modifications of Original Code 2343 // as defined in and that are subject to the Apple Public Source License 2344 // Version 2.0 (the 'License'). You may not use this file except in 2345 // compliance with the License. The rights granted to you under the License 2346 // may not be used to create, or enable the creation or redistribution of, 2347 // unlawful or unlicensed copies of an Apple operating system, or to 2348 // circumvent, violate, or enable the circumvention or violation of, any 2349 // terms of an Apple operating system software license agreement. 2350 // 2351 // Please obtain a copy of the License at 2352 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2353 // 2354 // The Original Code and all software distributed under the License are 2355 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2356 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2357 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2358 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2359 // Please see the License for the specific language governing rights and 2360 // limitations under the License. 2361 // 2362 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2363 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2364 2365 // i386 is the structure that is exported to user threads for 2366 // use in status/mutate calls. This structure should never change. 2367 // 2368 2369 type __darwin_i386_thread_state = struct { 2370 F__eax uint32 2371 F__ebx uint32 2372 F__ecx uint32 2373 F__edx uint32 2374 F__edi uint32 2375 F__esi uint32 2376 F__ebp uint32 2377 F__esp uint32 2378 F__ss uint32 2379 F__eflags uint32 2380 F__eip uint32 2381 F__cs uint32 2382 F__ds uint32 2383 F__es uint32 2384 F__fs uint32 2385 F__gs uint32 2386 } /* _structs.h:46:1 */ 2387 2388 // This structure should be double-word aligned for performance 2389 2390 type __darwin_fp_control = struct { 2391 F__ccgo_pad1 [0]uint16 2392 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2393 } /* _structs.h:92:1 */ 2394 2395 // Status word. 2396 2397 type __darwin_fp_status = struct { 2398 F__ccgo_pad1 [0]uint16 2399 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2400 } /* _structs.h:150:1 */ 2401 2402 // defn of 80bit x87 FPU or MMX register 2403 2404 type __darwin_mmst_reg = struct { 2405 F__mmst_reg [10]int8 2406 F__mmst_rsrv [6]int8 2407 } /* _structs.h:194:1 */ 2408 2409 // defn of 128 bit XMM regs 2410 2411 type __darwin_xmm_reg = struct{ F__xmm_reg [16]int8 } /* _structs.h:213:1 */ 2412 2413 // defn of 256 bit YMM regs 2414 2415 type __darwin_ymm_reg = struct{ F__ymm_reg [32]int8 } /* _structs.h:229:1 */ 2416 2417 // defn of 512 bit ZMM regs 2418 2419 type __darwin_zmm_reg = struct{ F__zmm_reg [64]int8 } /* _structs.h:245:1 */ 2420 2421 type __darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1 */ 2422 2423 // Floating point state. 2424 2425 type __darwin_i386_float_state = struct { 2426 F__fpu_reserved [2]int32 2427 F__fpu_fcw struct { 2428 F__ccgo_pad1 [0]uint16 2429 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2430 } 2431 F__fpu_fsw struct { 2432 F__ccgo_pad1 [0]uint16 2433 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2434 } 2435 F__fpu_ftw uint8 2436 F__fpu_rsrv1 uint8 2437 F__fpu_fop uint16 2438 F__fpu_ip uint32 2439 F__fpu_cs uint16 2440 F__fpu_rsrv2 uint16 2441 F__fpu_dp uint32 2442 F__fpu_ds uint16 2443 F__fpu_rsrv3 uint16 2444 F__fpu_mxcsr uint32 2445 F__fpu_mxcsrmask uint32 2446 F__fpu_stmm0 struct { 2447 F__mmst_reg [10]int8 2448 F__mmst_rsrv [6]int8 2449 } 2450 F__fpu_stmm1 struct { 2451 F__mmst_reg [10]int8 2452 F__mmst_rsrv [6]int8 2453 } 2454 F__fpu_stmm2 struct { 2455 F__mmst_reg [10]int8 2456 F__mmst_rsrv [6]int8 2457 } 2458 F__fpu_stmm3 struct { 2459 F__mmst_reg [10]int8 2460 F__mmst_rsrv [6]int8 2461 } 2462 F__fpu_stmm4 struct { 2463 F__mmst_reg [10]int8 2464 F__mmst_rsrv [6]int8 2465 } 2466 F__fpu_stmm5 struct { 2467 F__mmst_reg [10]int8 2468 F__mmst_rsrv [6]int8 2469 } 2470 F__fpu_stmm6 struct { 2471 F__mmst_reg [10]int8 2472 F__mmst_rsrv [6]int8 2473 } 2474 F__fpu_stmm7 struct { 2475 F__mmst_reg [10]int8 2476 F__mmst_rsrv [6]int8 2477 } 2478 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2479 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2480 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2481 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2482 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2483 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2484 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2485 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2486 F__fpu_rsrv4 [224]int8 2487 F__fpu_reserved1 int32 2488 } /* _structs.h:281:1 */ 2489 2490 type __darwin_i386_avx_state = struct { 2491 F__fpu_reserved [2]int32 2492 F__fpu_fcw struct { 2493 F__ccgo_pad1 [0]uint16 2494 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2495 } 2496 F__fpu_fsw struct { 2497 F__ccgo_pad1 [0]uint16 2498 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2499 } 2500 F__fpu_ftw uint8 2501 F__fpu_rsrv1 uint8 2502 F__fpu_fop uint16 2503 F__fpu_ip uint32 2504 F__fpu_cs uint16 2505 F__fpu_rsrv2 uint16 2506 F__fpu_dp uint32 2507 F__fpu_ds uint16 2508 F__fpu_rsrv3 uint16 2509 F__fpu_mxcsr uint32 2510 F__fpu_mxcsrmask uint32 2511 F__fpu_stmm0 struct { 2512 F__mmst_reg [10]int8 2513 F__mmst_rsrv [6]int8 2514 } 2515 F__fpu_stmm1 struct { 2516 F__mmst_reg [10]int8 2517 F__mmst_rsrv [6]int8 2518 } 2519 F__fpu_stmm2 struct { 2520 F__mmst_reg [10]int8 2521 F__mmst_rsrv [6]int8 2522 } 2523 F__fpu_stmm3 struct { 2524 F__mmst_reg [10]int8 2525 F__mmst_rsrv [6]int8 2526 } 2527 F__fpu_stmm4 struct { 2528 F__mmst_reg [10]int8 2529 F__mmst_rsrv [6]int8 2530 } 2531 F__fpu_stmm5 struct { 2532 F__mmst_reg [10]int8 2533 F__mmst_rsrv [6]int8 2534 } 2535 F__fpu_stmm6 struct { 2536 F__mmst_reg [10]int8 2537 F__mmst_rsrv [6]int8 2538 } 2539 F__fpu_stmm7 struct { 2540 F__mmst_reg [10]int8 2541 F__mmst_rsrv [6]int8 2542 } 2543 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2544 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2545 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2546 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2547 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2548 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2549 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2550 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2551 F__fpu_rsrv4 [224]int8 2552 F__fpu_reserved1 int32 2553 F__avx_reserved1 [64]int8 2554 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 2555 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 2556 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 2557 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 2558 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 2559 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 2560 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 2561 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 2562 } /* _structs.h:318:1 */ 2563 2564 type __darwin_i386_avx512_state = struct { 2565 F__fpu_reserved [2]int32 2566 F__fpu_fcw struct { 2567 F__ccgo_pad1 [0]uint16 2568 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2569 } 2570 F__fpu_fsw struct { 2571 F__ccgo_pad1 [0]uint16 2572 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2573 } 2574 F__fpu_ftw uint8 2575 F__fpu_rsrv1 uint8 2576 F__fpu_fop uint16 2577 F__fpu_ip uint32 2578 F__fpu_cs uint16 2579 F__fpu_rsrv2 uint16 2580 F__fpu_dp uint32 2581 F__fpu_ds uint16 2582 F__fpu_rsrv3 uint16 2583 F__fpu_mxcsr uint32 2584 F__fpu_mxcsrmask uint32 2585 F__fpu_stmm0 struct { 2586 F__mmst_reg [10]int8 2587 F__mmst_rsrv [6]int8 2588 } 2589 F__fpu_stmm1 struct { 2590 F__mmst_reg [10]int8 2591 F__mmst_rsrv [6]int8 2592 } 2593 F__fpu_stmm2 struct { 2594 F__mmst_reg [10]int8 2595 F__mmst_rsrv [6]int8 2596 } 2597 F__fpu_stmm3 struct { 2598 F__mmst_reg [10]int8 2599 F__mmst_rsrv [6]int8 2600 } 2601 F__fpu_stmm4 struct { 2602 F__mmst_reg [10]int8 2603 F__mmst_rsrv [6]int8 2604 } 2605 F__fpu_stmm5 struct { 2606 F__mmst_reg [10]int8 2607 F__mmst_rsrv [6]int8 2608 } 2609 F__fpu_stmm6 struct { 2610 F__mmst_reg [10]int8 2611 F__mmst_rsrv [6]int8 2612 } 2613 F__fpu_stmm7 struct { 2614 F__mmst_reg [10]int8 2615 F__mmst_rsrv [6]int8 2616 } 2617 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2618 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2619 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2620 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2621 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2622 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2623 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2624 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2625 F__fpu_rsrv4 [224]int8 2626 F__fpu_reserved1 int32 2627 F__avx_reserved1 [64]int8 2628 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 2629 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 2630 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 2631 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 2632 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 2633 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 2634 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 2635 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 2636 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 2637 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 2638 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 2639 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 2640 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 2641 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 2642 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 2643 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 2644 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 2645 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 2646 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 2647 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 2648 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 2649 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 2650 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 2651 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 2652 } /* _structs.h:364:1 */ 2653 2654 type __darwin_i386_exception_state = struct { 2655 F__trapno uint16 2656 F__cpu uint16 2657 F__err uint32 2658 F__faultvaddr uint32 2659 } /* _structs.h:575:1 */ 2660 2661 type __darwin_x86_debug_state32 = struct { 2662 F__dr0 uint32 2663 F__dr1 uint32 2664 F__dr2 uint32 2665 F__dr3 uint32 2666 F__dr4 uint32 2667 F__dr5 uint32 2668 F__dr6 uint32 2669 F__dr7 uint32 2670 } /* _structs.h:595:1 */ 2671 2672 type __x86_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:622:1 */ 2673 2674 // 64 bit versions of the above 2675 2676 type __darwin_x86_thread_state64 = struct { 2677 F__rax uint64 2678 F__rbx uint64 2679 F__rcx uint64 2680 F__rdx uint64 2681 F__rdi uint64 2682 F__rsi uint64 2683 F__rbp uint64 2684 F__rsp uint64 2685 F__r8 uint64 2686 F__r9 uint64 2687 F__r10 uint64 2688 F__r11 uint64 2689 F__r12 uint64 2690 F__r13 uint64 2691 F__r14 uint64 2692 F__r15 uint64 2693 F__rip uint64 2694 F__rflags uint64 2695 F__cs uint64 2696 F__fs uint64 2697 F__gs uint64 2698 } /* _structs.h:633:1 */ 2699 2700 // 64 bit versions of the above (complete) 2701 2702 type __darwin_x86_thread_full_state64 = struct { 2703 F__ss64 struct { 2704 F__rax uint64 2705 F__rbx uint64 2706 F__rcx uint64 2707 F__rdx uint64 2708 F__rdi uint64 2709 F__rsi uint64 2710 F__rbp uint64 2711 F__rsp uint64 2712 F__r8 uint64 2713 F__r9 uint64 2714 F__r10 uint64 2715 F__r11 uint64 2716 F__r12 uint64 2717 F__r13 uint64 2718 F__r14 uint64 2719 F__r15 uint64 2720 F__rip uint64 2721 F__rflags uint64 2722 F__cs uint64 2723 F__fs uint64 2724 F__gs uint64 2725 } 2726 F__ds uint64 2727 F__es uint64 2728 F__ss uint64 2729 F__gsbase uint64 2730 } /* _structs.h:691:1 */ 2731 2732 type __darwin_x86_float_state64 = struct { 2733 F__fpu_reserved [2]int32 2734 F__fpu_fcw struct { 2735 F__ccgo_pad1 [0]uint16 2736 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2737 } 2738 F__fpu_fsw struct { 2739 F__ccgo_pad1 [0]uint16 2740 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2741 } 2742 F__fpu_ftw uint8 2743 F__fpu_rsrv1 uint8 2744 F__fpu_fop uint16 2745 F__fpu_ip uint32 2746 F__fpu_cs uint16 2747 F__fpu_rsrv2 uint16 2748 F__fpu_dp uint32 2749 F__fpu_ds uint16 2750 F__fpu_rsrv3 uint16 2751 F__fpu_mxcsr uint32 2752 F__fpu_mxcsrmask uint32 2753 F__fpu_stmm0 struct { 2754 F__mmst_reg [10]int8 2755 F__mmst_rsrv [6]int8 2756 } 2757 F__fpu_stmm1 struct { 2758 F__mmst_reg [10]int8 2759 F__mmst_rsrv [6]int8 2760 } 2761 F__fpu_stmm2 struct { 2762 F__mmst_reg [10]int8 2763 F__mmst_rsrv [6]int8 2764 } 2765 F__fpu_stmm3 struct { 2766 F__mmst_reg [10]int8 2767 F__mmst_rsrv [6]int8 2768 } 2769 F__fpu_stmm4 struct { 2770 F__mmst_reg [10]int8 2771 F__mmst_rsrv [6]int8 2772 } 2773 F__fpu_stmm5 struct { 2774 F__mmst_reg [10]int8 2775 F__mmst_rsrv [6]int8 2776 } 2777 F__fpu_stmm6 struct { 2778 F__mmst_reg [10]int8 2779 F__mmst_rsrv [6]int8 2780 } 2781 F__fpu_stmm7 struct { 2782 F__mmst_reg [10]int8 2783 F__mmst_rsrv [6]int8 2784 } 2785 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2786 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2787 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2788 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2789 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2790 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2791 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2792 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2793 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 2794 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 2795 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 2796 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 2797 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 2798 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 2799 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 2800 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 2801 F__fpu_rsrv4 [96]int8 2802 F__fpu_reserved1 int32 2803 } /* _structs.h:714:1 */ 2804 2805 type __darwin_x86_avx_state64 = struct { 2806 F__fpu_reserved [2]int32 2807 F__fpu_fcw struct { 2808 F__ccgo_pad1 [0]uint16 2809 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2810 } 2811 F__fpu_fsw struct { 2812 F__ccgo_pad1 [0]uint16 2813 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2814 } 2815 F__fpu_ftw uint8 2816 F__fpu_rsrv1 uint8 2817 F__fpu_fop uint16 2818 F__fpu_ip uint32 2819 F__fpu_cs uint16 2820 F__fpu_rsrv2 uint16 2821 F__fpu_dp uint32 2822 F__fpu_ds uint16 2823 F__fpu_rsrv3 uint16 2824 F__fpu_mxcsr uint32 2825 F__fpu_mxcsrmask uint32 2826 F__fpu_stmm0 struct { 2827 F__mmst_reg [10]int8 2828 F__mmst_rsrv [6]int8 2829 } 2830 F__fpu_stmm1 struct { 2831 F__mmst_reg [10]int8 2832 F__mmst_rsrv [6]int8 2833 } 2834 F__fpu_stmm2 struct { 2835 F__mmst_reg [10]int8 2836 F__mmst_rsrv [6]int8 2837 } 2838 F__fpu_stmm3 struct { 2839 F__mmst_reg [10]int8 2840 F__mmst_rsrv [6]int8 2841 } 2842 F__fpu_stmm4 struct { 2843 F__mmst_reg [10]int8 2844 F__mmst_rsrv [6]int8 2845 } 2846 F__fpu_stmm5 struct { 2847 F__mmst_reg [10]int8 2848 F__mmst_rsrv [6]int8 2849 } 2850 F__fpu_stmm6 struct { 2851 F__mmst_reg [10]int8 2852 F__mmst_rsrv [6]int8 2853 } 2854 F__fpu_stmm7 struct { 2855 F__mmst_reg [10]int8 2856 F__mmst_rsrv [6]int8 2857 } 2858 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2859 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2860 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2861 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2862 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2863 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2864 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2865 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2866 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 2867 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 2868 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 2869 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 2870 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 2871 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 2872 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 2873 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 2874 F__fpu_rsrv4 [96]int8 2875 F__fpu_reserved1 int32 2876 F__avx_reserved1 [64]int8 2877 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 2878 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 2879 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 2880 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 2881 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 2882 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 2883 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 2884 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 2885 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 2886 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 2887 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 2888 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 2889 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 2890 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 2891 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 2892 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 2893 } /* _structs.h:765:1 */ 2894 2895 type __darwin_x86_avx512_state64 = struct { 2896 F__fpu_reserved [2]int32 2897 F__fpu_fcw struct { 2898 F__ccgo_pad1 [0]uint16 2899 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 2900 } 2901 F__fpu_fsw struct { 2902 F__ccgo_pad1 [0]uint16 2903 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 2904 } 2905 F__fpu_ftw uint8 2906 F__fpu_rsrv1 uint8 2907 F__fpu_fop uint16 2908 F__fpu_ip uint32 2909 F__fpu_cs uint16 2910 F__fpu_rsrv2 uint16 2911 F__fpu_dp uint32 2912 F__fpu_ds uint16 2913 F__fpu_rsrv3 uint16 2914 F__fpu_mxcsr uint32 2915 F__fpu_mxcsrmask uint32 2916 F__fpu_stmm0 struct { 2917 F__mmst_reg [10]int8 2918 F__mmst_rsrv [6]int8 2919 } 2920 F__fpu_stmm1 struct { 2921 F__mmst_reg [10]int8 2922 F__mmst_rsrv [6]int8 2923 } 2924 F__fpu_stmm2 struct { 2925 F__mmst_reg [10]int8 2926 F__mmst_rsrv [6]int8 2927 } 2928 F__fpu_stmm3 struct { 2929 F__mmst_reg [10]int8 2930 F__mmst_rsrv [6]int8 2931 } 2932 F__fpu_stmm4 struct { 2933 F__mmst_reg [10]int8 2934 F__mmst_rsrv [6]int8 2935 } 2936 F__fpu_stmm5 struct { 2937 F__mmst_reg [10]int8 2938 F__mmst_rsrv [6]int8 2939 } 2940 F__fpu_stmm6 struct { 2941 F__mmst_reg [10]int8 2942 F__mmst_rsrv [6]int8 2943 } 2944 F__fpu_stmm7 struct { 2945 F__mmst_reg [10]int8 2946 F__mmst_rsrv [6]int8 2947 } 2948 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 2949 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 2950 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 2951 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 2952 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 2953 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 2954 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 2955 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 2956 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 2957 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 2958 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 2959 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 2960 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 2961 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 2962 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 2963 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 2964 F__fpu_rsrv4 [96]int8 2965 F__fpu_reserved1 int32 2966 F__avx_reserved1 [64]int8 2967 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 2968 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 2969 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 2970 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 2971 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 2972 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 2973 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 2974 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 2975 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 2976 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 2977 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 2978 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 2979 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 2980 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 2981 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 2982 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 2983 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 2984 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 2985 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 2986 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 2987 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 2988 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 2989 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 2990 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 2991 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 2992 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 2993 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 2994 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 2995 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 2996 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 2997 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 2998 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 2999 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 3000 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 3001 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 3002 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 3003 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 3004 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 3005 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 3006 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 3007 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 3008 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 3009 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 3010 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 3011 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 3012 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 3013 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 3014 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 3015 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 3016 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 3017 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 3018 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 3019 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 3020 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 3021 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 3022 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 3023 } /* _structs.h:833:1 */ 3024 3025 type __darwin_x86_exception_state64 = struct { 3026 F__trapno uint16 3027 F__cpu uint16 3028 F__err uint32 3029 F__faultvaddr uint64 3030 } /* _structs.h:1172:1 */ 3031 3032 type __darwin_x86_debug_state64 = struct { 3033 F__dr0 uint64 3034 F__dr1 uint64 3035 F__dr2 uint64 3036 F__dr3 uint64 3037 F__dr4 uint64 3038 F__dr5 uint64 3039 F__dr6 uint64 3040 F__dr7 uint64 3041 } /* _structs.h:1192:1 */ 3042 3043 type __darwin_x86_cpmu_state64 = struct{ F__ctrs [16]uint64 } /* _structs.h:1220:1 */ 3044 3045 type __darwin_mcontext32 = struct { 3046 F__es struct { 3047 F__trapno uint16 3048 F__cpu uint16 3049 F__err uint32 3050 F__faultvaddr uint32 3051 } 3052 F__ss struct { 3053 F__eax uint32 3054 F__ebx uint32 3055 F__ecx uint32 3056 F__edx uint32 3057 F__edi uint32 3058 F__esi uint32 3059 F__ebp uint32 3060 F__esp uint32 3061 F__ss uint32 3062 F__eflags uint32 3063 F__eip uint32 3064 F__cs uint32 3065 F__ds uint32 3066 F__es uint32 3067 F__fs uint32 3068 F__gs uint32 3069 } 3070 F__fs struct { 3071 F__fpu_reserved [2]int32 3072 F__fpu_fcw struct { 3073 F__ccgo_pad1 [0]uint16 3074 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3075 } 3076 F__fpu_fsw struct { 3077 F__ccgo_pad1 [0]uint16 3078 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3079 } 3080 F__fpu_ftw uint8 3081 F__fpu_rsrv1 uint8 3082 F__fpu_fop uint16 3083 F__fpu_ip uint32 3084 F__fpu_cs uint16 3085 F__fpu_rsrv2 uint16 3086 F__fpu_dp uint32 3087 F__fpu_ds uint16 3088 F__fpu_rsrv3 uint16 3089 F__fpu_mxcsr uint32 3090 F__fpu_mxcsrmask uint32 3091 F__fpu_stmm0 struct { 3092 F__mmst_reg [10]int8 3093 F__mmst_rsrv [6]int8 3094 } 3095 F__fpu_stmm1 struct { 3096 F__mmst_reg [10]int8 3097 F__mmst_rsrv [6]int8 3098 } 3099 F__fpu_stmm2 struct { 3100 F__mmst_reg [10]int8 3101 F__mmst_rsrv [6]int8 3102 } 3103 F__fpu_stmm3 struct { 3104 F__mmst_reg [10]int8 3105 F__mmst_rsrv [6]int8 3106 } 3107 F__fpu_stmm4 struct { 3108 F__mmst_reg [10]int8 3109 F__mmst_rsrv [6]int8 3110 } 3111 F__fpu_stmm5 struct { 3112 F__mmst_reg [10]int8 3113 F__mmst_rsrv [6]int8 3114 } 3115 F__fpu_stmm6 struct { 3116 F__mmst_reg [10]int8 3117 F__mmst_rsrv [6]int8 3118 } 3119 F__fpu_stmm7 struct { 3120 F__mmst_reg [10]int8 3121 F__mmst_rsrv [6]int8 3122 } 3123 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3124 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3125 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3126 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3127 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3128 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3129 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3130 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3131 F__fpu_rsrv4 [224]int8 3132 F__fpu_reserved1 int32 3133 } 3134 } /* _mcontext.h:39:1 */ 3135 3136 type __darwin_mcontext_avx32 = struct { 3137 F__es struct { 3138 F__trapno uint16 3139 F__cpu uint16 3140 F__err uint32 3141 F__faultvaddr uint32 3142 } 3143 F__ss struct { 3144 F__eax uint32 3145 F__ebx uint32 3146 F__ecx uint32 3147 F__edx uint32 3148 F__edi uint32 3149 F__esi uint32 3150 F__ebp uint32 3151 F__esp uint32 3152 F__ss uint32 3153 F__eflags uint32 3154 F__eip uint32 3155 F__cs uint32 3156 F__ds uint32 3157 F__es uint32 3158 F__fs uint32 3159 F__gs uint32 3160 } 3161 F__fs struct { 3162 F__fpu_reserved [2]int32 3163 F__fpu_fcw struct { 3164 F__ccgo_pad1 [0]uint16 3165 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3166 } 3167 F__fpu_fsw struct { 3168 F__ccgo_pad1 [0]uint16 3169 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3170 } 3171 F__fpu_ftw uint8 3172 F__fpu_rsrv1 uint8 3173 F__fpu_fop uint16 3174 F__fpu_ip uint32 3175 F__fpu_cs uint16 3176 F__fpu_rsrv2 uint16 3177 F__fpu_dp uint32 3178 F__fpu_ds uint16 3179 F__fpu_rsrv3 uint16 3180 F__fpu_mxcsr uint32 3181 F__fpu_mxcsrmask uint32 3182 F__fpu_stmm0 struct { 3183 F__mmst_reg [10]int8 3184 F__mmst_rsrv [6]int8 3185 } 3186 F__fpu_stmm1 struct { 3187 F__mmst_reg [10]int8 3188 F__mmst_rsrv [6]int8 3189 } 3190 F__fpu_stmm2 struct { 3191 F__mmst_reg [10]int8 3192 F__mmst_rsrv [6]int8 3193 } 3194 F__fpu_stmm3 struct { 3195 F__mmst_reg [10]int8 3196 F__mmst_rsrv [6]int8 3197 } 3198 F__fpu_stmm4 struct { 3199 F__mmst_reg [10]int8 3200 F__mmst_rsrv [6]int8 3201 } 3202 F__fpu_stmm5 struct { 3203 F__mmst_reg [10]int8 3204 F__mmst_rsrv [6]int8 3205 } 3206 F__fpu_stmm6 struct { 3207 F__mmst_reg [10]int8 3208 F__mmst_rsrv [6]int8 3209 } 3210 F__fpu_stmm7 struct { 3211 F__mmst_reg [10]int8 3212 F__mmst_rsrv [6]int8 3213 } 3214 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3215 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3216 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3217 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3218 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3219 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3220 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3221 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3222 F__fpu_rsrv4 [224]int8 3223 F__fpu_reserved1 int32 3224 F__avx_reserved1 [64]int8 3225 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3226 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3227 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3228 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3229 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3230 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3231 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3232 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3233 } 3234 } /* _mcontext.h:47:1 */ 3235 3236 type __darwin_mcontext_avx512_32 = struct { 3237 F__es struct { 3238 F__trapno uint16 3239 F__cpu uint16 3240 F__err uint32 3241 F__faultvaddr uint32 3242 } 3243 F__ss struct { 3244 F__eax uint32 3245 F__ebx uint32 3246 F__ecx uint32 3247 F__edx uint32 3248 F__edi uint32 3249 F__esi uint32 3250 F__ebp uint32 3251 F__esp uint32 3252 F__ss uint32 3253 F__eflags uint32 3254 F__eip uint32 3255 F__cs uint32 3256 F__ds uint32 3257 F__es uint32 3258 F__fs uint32 3259 F__gs uint32 3260 } 3261 F__fs struct { 3262 F__fpu_reserved [2]int32 3263 F__fpu_fcw struct { 3264 F__ccgo_pad1 [0]uint16 3265 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3266 } 3267 F__fpu_fsw struct { 3268 F__ccgo_pad1 [0]uint16 3269 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3270 } 3271 F__fpu_ftw uint8 3272 F__fpu_rsrv1 uint8 3273 F__fpu_fop uint16 3274 F__fpu_ip uint32 3275 F__fpu_cs uint16 3276 F__fpu_rsrv2 uint16 3277 F__fpu_dp uint32 3278 F__fpu_ds uint16 3279 F__fpu_rsrv3 uint16 3280 F__fpu_mxcsr uint32 3281 F__fpu_mxcsrmask uint32 3282 F__fpu_stmm0 struct { 3283 F__mmst_reg [10]int8 3284 F__mmst_rsrv [6]int8 3285 } 3286 F__fpu_stmm1 struct { 3287 F__mmst_reg [10]int8 3288 F__mmst_rsrv [6]int8 3289 } 3290 F__fpu_stmm2 struct { 3291 F__mmst_reg [10]int8 3292 F__mmst_rsrv [6]int8 3293 } 3294 F__fpu_stmm3 struct { 3295 F__mmst_reg [10]int8 3296 F__mmst_rsrv [6]int8 3297 } 3298 F__fpu_stmm4 struct { 3299 F__mmst_reg [10]int8 3300 F__mmst_rsrv [6]int8 3301 } 3302 F__fpu_stmm5 struct { 3303 F__mmst_reg [10]int8 3304 F__mmst_rsrv [6]int8 3305 } 3306 F__fpu_stmm6 struct { 3307 F__mmst_reg [10]int8 3308 F__mmst_rsrv [6]int8 3309 } 3310 F__fpu_stmm7 struct { 3311 F__mmst_reg [10]int8 3312 F__mmst_rsrv [6]int8 3313 } 3314 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3315 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3316 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3317 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3318 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3319 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3320 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3321 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3322 F__fpu_rsrv4 [224]int8 3323 F__fpu_reserved1 int32 3324 F__avx_reserved1 [64]int8 3325 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3326 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3327 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3328 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3329 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3330 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3331 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3332 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3333 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 3334 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 3335 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 3336 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 3337 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 3338 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 3339 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 3340 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 3341 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 3342 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 3343 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 3344 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 3345 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 3346 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 3347 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 3348 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 3349 } 3350 } /* _mcontext.h:56:1 */ 3351 3352 type __darwin_mcontext64 = struct { 3353 F__es struct { 3354 F__trapno uint16 3355 F__cpu uint16 3356 F__err uint32 3357 F__faultvaddr uint64 3358 } 3359 F__ss struct { 3360 F__rax uint64 3361 F__rbx uint64 3362 F__rcx uint64 3363 F__rdx uint64 3364 F__rdi uint64 3365 F__rsi uint64 3366 F__rbp uint64 3367 F__rsp uint64 3368 F__r8 uint64 3369 F__r9 uint64 3370 F__r10 uint64 3371 F__r11 uint64 3372 F__r12 uint64 3373 F__r13 uint64 3374 F__r14 uint64 3375 F__r15 uint64 3376 F__rip uint64 3377 F__rflags uint64 3378 F__cs uint64 3379 F__fs uint64 3380 F__gs uint64 3381 } 3382 F__fs struct { 3383 F__fpu_reserved [2]int32 3384 F__fpu_fcw struct { 3385 F__ccgo_pad1 [0]uint16 3386 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3387 } 3388 F__fpu_fsw struct { 3389 F__ccgo_pad1 [0]uint16 3390 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3391 } 3392 F__fpu_ftw uint8 3393 F__fpu_rsrv1 uint8 3394 F__fpu_fop uint16 3395 F__fpu_ip uint32 3396 F__fpu_cs uint16 3397 F__fpu_rsrv2 uint16 3398 F__fpu_dp uint32 3399 F__fpu_ds uint16 3400 F__fpu_rsrv3 uint16 3401 F__fpu_mxcsr uint32 3402 F__fpu_mxcsrmask uint32 3403 F__fpu_stmm0 struct { 3404 F__mmst_reg [10]int8 3405 F__mmst_rsrv [6]int8 3406 } 3407 F__fpu_stmm1 struct { 3408 F__mmst_reg [10]int8 3409 F__mmst_rsrv [6]int8 3410 } 3411 F__fpu_stmm2 struct { 3412 F__mmst_reg [10]int8 3413 F__mmst_rsrv [6]int8 3414 } 3415 F__fpu_stmm3 struct { 3416 F__mmst_reg [10]int8 3417 F__mmst_rsrv [6]int8 3418 } 3419 F__fpu_stmm4 struct { 3420 F__mmst_reg [10]int8 3421 F__mmst_rsrv [6]int8 3422 } 3423 F__fpu_stmm5 struct { 3424 F__mmst_reg [10]int8 3425 F__mmst_rsrv [6]int8 3426 } 3427 F__fpu_stmm6 struct { 3428 F__mmst_reg [10]int8 3429 F__mmst_rsrv [6]int8 3430 } 3431 F__fpu_stmm7 struct { 3432 F__mmst_reg [10]int8 3433 F__mmst_rsrv [6]int8 3434 } 3435 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3436 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3437 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3438 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3439 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3440 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3441 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3442 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3443 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3444 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3445 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3446 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3447 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3448 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3449 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3450 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3451 F__fpu_rsrv4 [96]int8 3452 F__fpu_reserved1 int32 3453 } 3454 F__ccgo_pad1 [4]byte 3455 } /* _mcontext.h:97:1 */ 3456 3457 type __darwin_mcontext64_full = struct { 3458 F__es struct { 3459 F__trapno uint16 3460 F__cpu uint16 3461 F__err uint32 3462 F__faultvaddr uint64 3463 } 3464 F__ss struct { 3465 F__ss64 struct { 3466 F__rax uint64 3467 F__rbx uint64 3468 F__rcx uint64 3469 F__rdx uint64 3470 F__rdi uint64 3471 F__rsi uint64 3472 F__rbp uint64 3473 F__rsp uint64 3474 F__r8 uint64 3475 F__r9 uint64 3476 F__r10 uint64 3477 F__r11 uint64 3478 F__r12 uint64 3479 F__r13 uint64 3480 F__r14 uint64 3481 F__r15 uint64 3482 F__rip uint64 3483 F__rflags uint64 3484 F__cs uint64 3485 F__fs uint64 3486 F__gs uint64 3487 } 3488 F__ds uint64 3489 F__es uint64 3490 F__ss uint64 3491 F__gsbase uint64 3492 } 3493 F__fs struct { 3494 F__fpu_reserved [2]int32 3495 F__fpu_fcw struct { 3496 F__ccgo_pad1 [0]uint16 3497 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3498 } 3499 F__fpu_fsw struct { 3500 F__ccgo_pad1 [0]uint16 3501 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3502 } 3503 F__fpu_ftw uint8 3504 F__fpu_rsrv1 uint8 3505 F__fpu_fop uint16 3506 F__fpu_ip uint32 3507 F__fpu_cs uint16 3508 F__fpu_rsrv2 uint16 3509 F__fpu_dp uint32 3510 F__fpu_ds uint16 3511 F__fpu_rsrv3 uint16 3512 F__fpu_mxcsr uint32 3513 F__fpu_mxcsrmask uint32 3514 F__fpu_stmm0 struct { 3515 F__mmst_reg [10]int8 3516 F__mmst_rsrv [6]int8 3517 } 3518 F__fpu_stmm1 struct { 3519 F__mmst_reg [10]int8 3520 F__mmst_rsrv [6]int8 3521 } 3522 F__fpu_stmm2 struct { 3523 F__mmst_reg [10]int8 3524 F__mmst_rsrv [6]int8 3525 } 3526 F__fpu_stmm3 struct { 3527 F__mmst_reg [10]int8 3528 F__mmst_rsrv [6]int8 3529 } 3530 F__fpu_stmm4 struct { 3531 F__mmst_reg [10]int8 3532 F__mmst_rsrv [6]int8 3533 } 3534 F__fpu_stmm5 struct { 3535 F__mmst_reg [10]int8 3536 F__mmst_rsrv [6]int8 3537 } 3538 F__fpu_stmm6 struct { 3539 F__mmst_reg [10]int8 3540 F__mmst_rsrv [6]int8 3541 } 3542 F__fpu_stmm7 struct { 3543 F__mmst_reg [10]int8 3544 F__mmst_rsrv [6]int8 3545 } 3546 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3547 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3548 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3549 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3550 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3551 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3552 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3553 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3554 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3555 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3556 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3557 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3558 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3559 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3560 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3561 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3562 F__fpu_rsrv4 [96]int8 3563 F__fpu_reserved1 int32 3564 } 3565 F__ccgo_pad1 [4]byte 3566 } /* _mcontext.h:105:1 */ 3567 3568 type __darwin_mcontext_avx64 = struct { 3569 F__es struct { 3570 F__trapno uint16 3571 F__cpu uint16 3572 F__err uint32 3573 F__faultvaddr uint64 3574 } 3575 F__ss struct { 3576 F__rax uint64 3577 F__rbx uint64 3578 F__rcx uint64 3579 F__rdx uint64 3580 F__rdi uint64 3581 F__rsi uint64 3582 F__rbp uint64 3583 F__rsp uint64 3584 F__r8 uint64 3585 F__r9 uint64 3586 F__r10 uint64 3587 F__r11 uint64 3588 F__r12 uint64 3589 F__r13 uint64 3590 F__r14 uint64 3591 F__r15 uint64 3592 F__rip uint64 3593 F__rflags uint64 3594 F__cs uint64 3595 F__fs uint64 3596 F__gs uint64 3597 } 3598 F__fs struct { 3599 F__fpu_reserved [2]int32 3600 F__fpu_fcw struct { 3601 F__ccgo_pad1 [0]uint16 3602 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3603 } 3604 F__fpu_fsw struct { 3605 F__ccgo_pad1 [0]uint16 3606 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3607 } 3608 F__fpu_ftw uint8 3609 F__fpu_rsrv1 uint8 3610 F__fpu_fop uint16 3611 F__fpu_ip uint32 3612 F__fpu_cs uint16 3613 F__fpu_rsrv2 uint16 3614 F__fpu_dp uint32 3615 F__fpu_ds uint16 3616 F__fpu_rsrv3 uint16 3617 F__fpu_mxcsr uint32 3618 F__fpu_mxcsrmask uint32 3619 F__fpu_stmm0 struct { 3620 F__mmst_reg [10]int8 3621 F__mmst_rsrv [6]int8 3622 } 3623 F__fpu_stmm1 struct { 3624 F__mmst_reg [10]int8 3625 F__mmst_rsrv [6]int8 3626 } 3627 F__fpu_stmm2 struct { 3628 F__mmst_reg [10]int8 3629 F__mmst_rsrv [6]int8 3630 } 3631 F__fpu_stmm3 struct { 3632 F__mmst_reg [10]int8 3633 F__mmst_rsrv [6]int8 3634 } 3635 F__fpu_stmm4 struct { 3636 F__mmst_reg [10]int8 3637 F__mmst_rsrv [6]int8 3638 } 3639 F__fpu_stmm5 struct { 3640 F__mmst_reg [10]int8 3641 F__mmst_rsrv [6]int8 3642 } 3643 F__fpu_stmm6 struct { 3644 F__mmst_reg [10]int8 3645 F__mmst_rsrv [6]int8 3646 } 3647 F__fpu_stmm7 struct { 3648 F__mmst_reg [10]int8 3649 F__mmst_rsrv [6]int8 3650 } 3651 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3652 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3653 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3654 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3655 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3656 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3657 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3658 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3659 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3660 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3661 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3662 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3663 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3664 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3665 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3666 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3667 F__fpu_rsrv4 [96]int8 3668 F__fpu_reserved1 int32 3669 F__avx_reserved1 [64]int8 3670 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3671 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3672 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3673 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3674 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3675 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3676 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3677 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3678 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 3679 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 3680 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 3681 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 3682 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 3683 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 3684 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 3685 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 3686 } 3687 F__ccgo_pad1 [4]byte 3688 } /* _mcontext.h:113:1 */ 3689 3690 type __darwin_mcontext_avx64_full = struct { 3691 F__es struct { 3692 F__trapno uint16 3693 F__cpu uint16 3694 F__err uint32 3695 F__faultvaddr uint64 3696 } 3697 F__ss struct { 3698 F__ss64 struct { 3699 F__rax uint64 3700 F__rbx uint64 3701 F__rcx uint64 3702 F__rdx uint64 3703 F__rdi uint64 3704 F__rsi uint64 3705 F__rbp uint64 3706 F__rsp uint64 3707 F__r8 uint64 3708 F__r9 uint64 3709 F__r10 uint64 3710 F__r11 uint64 3711 F__r12 uint64 3712 F__r13 uint64 3713 F__r14 uint64 3714 F__r15 uint64 3715 F__rip uint64 3716 F__rflags uint64 3717 F__cs uint64 3718 F__fs uint64 3719 F__gs uint64 3720 } 3721 F__ds uint64 3722 F__es uint64 3723 F__ss uint64 3724 F__gsbase uint64 3725 } 3726 F__fs struct { 3727 F__fpu_reserved [2]int32 3728 F__fpu_fcw struct { 3729 F__ccgo_pad1 [0]uint16 3730 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3731 } 3732 F__fpu_fsw struct { 3733 F__ccgo_pad1 [0]uint16 3734 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3735 } 3736 F__fpu_ftw uint8 3737 F__fpu_rsrv1 uint8 3738 F__fpu_fop uint16 3739 F__fpu_ip uint32 3740 F__fpu_cs uint16 3741 F__fpu_rsrv2 uint16 3742 F__fpu_dp uint32 3743 F__fpu_ds uint16 3744 F__fpu_rsrv3 uint16 3745 F__fpu_mxcsr uint32 3746 F__fpu_mxcsrmask uint32 3747 F__fpu_stmm0 struct { 3748 F__mmst_reg [10]int8 3749 F__mmst_rsrv [6]int8 3750 } 3751 F__fpu_stmm1 struct { 3752 F__mmst_reg [10]int8 3753 F__mmst_rsrv [6]int8 3754 } 3755 F__fpu_stmm2 struct { 3756 F__mmst_reg [10]int8 3757 F__mmst_rsrv [6]int8 3758 } 3759 F__fpu_stmm3 struct { 3760 F__mmst_reg [10]int8 3761 F__mmst_rsrv [6]int8 3762 } 3763 F__fpu_stmm4 struct { 3764 F__mmst_reg [10]int8 3765 F__mmst_rsrv [6]int8 3766 } 3767 F__fpu_stmm5 struct { 3768 F__mmst_reg [10]int8 3769 F__mmst_rsrv [6]int8 3770 } 3771 F__fpu_stmm6 struct { 3772 F__mmst_reg [10]int8 3773 F__mmst_rsrv [6]int8 3774 } 3775 F__fpu_stmm7 struct { 3776 F__mmst_reg [10]int8 3777 F__mmst_rsrv [6]int8 3778 } 3779 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3780 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3781 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3782 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3783 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3784 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3785 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3786 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3787 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3788 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3789 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3790 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3791 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3792 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3793 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3794 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3795 F__fpu_rsrv4 [96]int8 3796 F__fpu_reserved1 int32 3797 F__avx_reserved1 [64]int8 3798 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3799 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3800 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3801 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3802 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3803 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3804 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3805 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3806 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 3807 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 3808 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 3809 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 3810 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 3811 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 3812 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 3813 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 3814 } 3815 F__ccgo_pad1 [4]byte 3816 } /* _mcontext.h:121:1 */ 3817 3818 type __darwin_mcontext_avx512_64 = struct { 3819 F__es struct { 3820 F__trapno uint16 3821 F__cpu uint16 3822 F__err uint32 3823 F__faultvaddr uint64 3824 } 3825 F__ss struct { 3826 F__rax uint64 3827 F__rbx uint64 3828 F__rcx uint64 3829 F__rdx uint64 3830 F__rdi uint64 3831 F__rsi uint64 3832 F__rbp uint64 3833 F__rsp uint64 3834 F__r8 uint64 3835 F__r9 uint64 3836 F__r10 uint64 3837 F__r11 uint64 3838 F__r12 uint64 3839 F__r13 uint64 3840 F__r14 uint64 3841 F__r15 uint64 3842 F__rip uint64 3843 F__rflags uint64 3844 F__cs uint64 3845 F__fs uint64 3846 F__gs uint64 3847 } 3848 F__fs struct { 3849 F__fpu_reserved [2]int32 3850 F__fpu_fcw struct { 3851 F__ccgo_pad1 [0]uint16 3852 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 3853 } 3854 F__fpu_fsw struct { 3855 F__ccgo_pad1 [0]uint16 3856 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 3857 } 3858 F__fpu_ftw uint8 3859 F__fpu_rsrv1 uint8 3860 F__fpu_fop uint16 3861 F__fpu_ip uint32 3862 F__fpu_cs uint16 3863 F__fpu_rsrv2 uint16 3864 F__fpu_dp uint32 3865 F__fpu_ds uint16 3866 F__fpu_rsrv3 uint16 3867 F__fpu_mxcsr uint32 3868 F__fpu_mxcsrmask uint32 3869 F__fpu_stmm0 struct { 3870 F__mmst_reg [10]int8 3871 F__mmst_rsrv [6]int8 3872 } 3873 F__fpu_stmm1 struct { 3874 F__mmst_reg [10]int8 3875 F__mmst_rsrv [6]int8 3876 } 3877 F__fpu_stmm2 struct { 3878 F__mmst_reg [10]int8 3879 F__mmst_rsrv [6]int8 3880 } 3881 F__fpu_stmm3 struct { 3882 F__mmst_reg [10]int8 3883 F__mmst_rsrv [6]int8 3884 } 3885 F__fpu_stmm4 struct { 3886 F__mmst_reg [10]int8 3887 F__mmst_rsrv [6]int8 3888 } 3889 F__fpu_stmm5 struct { 3890 F__mmst_reg [10]int8 3891 F__mmst_rsrv [6]int8 3892 } 3893 F__fpu_stmm6 struct { 3894 F__mmst_reg [10]int8 3895 F__mmst_rsrv [6]int8 3896 } 3897 F__fpu_stmm7 struct { 3898 F__mmst_reg [10]int8 3899 F__mmst_rsrv [6]int8 3900 } 3901 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 3902 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 3903 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 3904 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 3905 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 3906 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 3907 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 3908 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 3909 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 3910 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 3911 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 3912 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 3913 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 3914 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 3915 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 3916 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 3917 F__fpu_rsrv4 [96]int8 3918 F__fpu_reserved1 int32 3919 F__avx_reserved1 [64]int8 3920 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 3921 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 3922 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 3923 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 3924 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 3925 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 3926 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 3927 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 3928 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 3929 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 3930 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 3931 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 3932 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 3933 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 3934 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 3935 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 3936 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 3937 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 3938 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 3939 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 3940 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 3941 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 3942 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 3943 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 3944 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 3945 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 3946 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 3947 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 3948 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 3949 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 3950 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 3951 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 3952 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 3953 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 3954 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 3955 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 3956 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 3957 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 3958 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 3959 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 3960 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 3961 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 3962 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 3963 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 3964 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 3965 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 3966 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 3967 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 3968 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 3969 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 3970 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 3971 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 3972 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 3973 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 3974 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 3975 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 3976 } 3977 F__ccgo_pad1 [4]byte 3978 } /* _mcontext.h:130:1 */ 3979 3980 type __darwin_mcontext_avx512_64_full = struct { 3981 F__es struct { 3982 F__trapno uint16 3983 F__cpu uint16 3984 F__err uint32 3985 F__faultvaddr uint64 3986 } 3987 F__ss struct { 3988 F__ss64 struct { 3989 F__rax uint64 3990 F__rbx uint64 3991 F__rcx uint64 3992 F__rdx uint64 3993 F__rdi uint64 3994 F__rsi uint64 3995 F__rbp uint64 3996 F__rsp uint64 3997 F__r8 uint64 3998 F__r9 uint64 3999 F__r10 uint64 4000 F__r11 uint64 4001 F__r12 uint64 4002 F__r13 uint64 4003 F__r14 uint64 4004 F__r15 uint64 4005 F__rip uint64 4006 F__rflags uint64 4007 F__cs uint64 4008 F__fs uint64 4009 F__gs uint64 4010 } 4011 F__ds uint64 4012 F__es uint64 4013 F__ss uint64 4014 F__gsbase uint64 4015 } 4016 F__fs struct { 4017 F__fpu_reserved [2]int32 4018 F__fpu_fcw struct { 4019 F__ccgo_pad1 [0]uint16 4020 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */ 4021 } 4022 F__fpu_fsw struct { 4023 F__ccgo_pad1 [0]uint16 4024 F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */ 4025 } 4026 F__fpu_ftw uint8 4027 F__fpu_rsrv1 uint8 4028 F__fpu_fop uint16 4029 F__fpu_ip uint32 4030 F__fpu_cs uint16 4031 F__fpu_rsrv2 uint16 4032 F__fpu_dp uint32 4033 F__fpu_ds uint16 4034 F__fpu_rsrv3 uint16 4035 F__fpu_mxcsr uint32 4036 F__fpu_mxcsrmask uint32 4037 F__fpu_stmm0 struct { 4038 F__mmst_reg [10]int8 4039 F__mmst_rsrv [6]int8 4040 } 4041 F__fpu_stmm1 struct { 4042 F__mmst_reg [10]int8 4043 F__mmst_rsrv [6]int8 4044 } 4045 F__fpu_stmm2 struct { 4046 F__mmst_reg [10]int8 4047 F__mmst_rsrv [6]int8 4048 } 4049 F__fpu_stmm3 struct { 4050 F__mmst_reg [10]int8 4051 F__mmst_rsrv [6]int8 4052 } 4053 F__fpu_stmm4 struct { 4054 F__mmst_reg [10]int8 4055 F__mmst_rsrv [6]int8 4056 } 4057 F__fpu_stmm5 struct { 4058 F__mmst_reg [10]int8 4059 F__mmst_rsrv [6]int8 4060 } 4061 F__fpu_stmm6 struct { 4062 F__mmst_reg [10]int8 4063 F__mmst_rsrv [6]int8 4064 } 4065 F__fpu_stmm7 struct { 4066 F__mmst_reg [10]int8 4067 F__mmst_rsrv [6]int8 4068 } 4069 F__fpu_xmm0 struct{ F__xmm_reg [16]int8 } 4070 F__fpu_xmm1 struct{ F__xmm_reg [16]int8 } 4071 F__fpu_xmm2 struct{ F__xmm_reg [16]int8 } 4072 F__fpu_xmm3 struct{ F__xmm_reg [16]int8 } 4073 F__fpu_xmm4 struct{ F__xmm_reg [16]int8 } 4074 F__fpu_xmm5 struct{ F__xmm_reg [16]int8 } 4075 F__fpu_xmm6 struct{ F__xmm_reg [16]int8 } 4076 F__fpu_xmm7 struct{ F__xmm_reg [16]int8 } 4077 F__fpu_xmm8 struct{ F__xmm_reg [16]int8 } 4078 F__fpu_xmm9 struct{ F__xmm_reg [16]int8 } 4079 F__fpu_xmm10 struct{ F__xmm_reg [16]int8 } 4080 F__fpu_xmm11 struct{ F__xmm_reg [16]int8 } 4081 F__fpu_xmm12 struct{ F__xmm_reg [16]int8 } 4082 F__fpu_xmm13 struct{ F__xmm_reg [16]int8 } 4083 F__fpu_xmm14 struct{ F__xmm_reg [16]int8 } 4084 F__fpu_xmm15 struct{ F__xmm_reg [16]int8 } 4085 F__fpu_rsrv4 [96]int8 4086 F__fpu_reserved1 int32 4087 F__avx_reserved1 [64]int8 4088 F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 } 4089 F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 } 4090 F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 } 4091 F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 } 4092 F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 } 4093 F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 } 4094 F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 } 4095 F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 } 4096 F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 } 4097 F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 } 4098 F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 } 4099 F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 } 4100 F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 } 4101 F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 } 4102 F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 } 4103 F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 } 4104 F__fpu_k0 struct{ F__opmask_reg [8]int8 } 4105 F__fpu_k1 struct{ F__opmask_reg [8]int8 } 4106 F__fpu_k2 struct{ F__opmask_reg [8]int8 } 4107 F__fpu_k3 struct{ F__opmask_reg [8]int8 } 4108 F__fpu_k4 struct{ F__opmask_reg [8]int8 } 4109 F__fpu_k5 struct{ F__opmask_reg [8]int8 } 4110 F__fpu_k6 struct{ F__opmask_reg [8]int8 } 4111 F__fpu_k7 struct{ F__opmask_reg [8]int8 } 4112 F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 } 4113 F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 } 4114 F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 } 4115 F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 } 4116 F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 } 4117 F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 } 4118 F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 } 4119 F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 } 4120 F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 } 4121 F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 } 4122 F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 } 4123 F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 } 4124 F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 } 4125 F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 } 4126 F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 } 4127 F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 } 4128 F__fpu_zmm16 struct{ F__zmm_reg [64]int8 } 4129 F__fpu_zmm17 struct{ F__zmm_reg [64]int8 } 4130 F__fpu_zmm18 struct{ F__zmm_reg [64]int8 } 4131 F__fpu_zmm19 struct{ F__zmm_reg [64]int8 } 4132 F__fpu_zmm20 struct{ F__zmm_reg [64]int8 } 4133 F__fpu_zmm21 struct{ F__zmm_reg [64]int8 } 4134 F__fpu_zmm22 struct{ F__zmm_reg [64]int8 } 4135 F__fpu_zmm23 struct{ F__zmm_reg [64]int8 } 4136 F__fpu_zmm24 struct{ F__zmm_reg [64]int8 } 4137 F__fpu_zmm25 struct{ F__zmm_reg [64]int8 } 4138 F__fpu_zmm26 struct{ F__zmm_reg [64]int8 } 4139 F__fpu_zmm27 struct{ F__zmm_reg [64]int8 } 4140 F__fpu_zmm28 struct{ F__zmm_reg [64]int8 } 4141 F__fpu_zmm29 struct{ F__zmm_reg [64]int8 } 4142 F__fpu_zmm30 struct{ F__zmm_reg [64]int8 } 4143 F__fpu_zmm31 struct{ F__zmm_reg [64]int8 } 4144 } 4145 F__ccgo_pad1 [4]byte 4146 } /* _mcontext.h:138:1 */ 4147 4148 type mcontext_t = uintptr /* _mcontext.h:204:33 */ 4149 4150 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4151 // 4152 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4153 // 4154 // This file contains Original Code and/or Modifications of Original Code 4155 // as defined in and that are subject to the Apple Public Source License 4156 // Version 2.0 (the 'License'). You may not use this file except in 4157 // compliance with the License. The rights granted to you under the License 4158 // may not be used to create, or enable the creation or redistribution of, 4159 // unlawful or unlicensed copies of an Apple operating system, or to 4160 // circumvent, violate, or enable the circumvention or violation of, any 4161 // terms of an Apple operating system software license agreement. 4162 // 4163 // Please obtain a copy of the License at 4164 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4165 // 4166 // The Original Code and all software distributed under the License are 4167 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4168 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4169 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4170 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4171 // Please see the License for the specific language governing rights and 4172 // limitations under the License. 4173 // 4174 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4175 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 4176 // 4177 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4178 // 4179 // This file contains Original Code and/or Modifications of Original Code 4180 // as defined in and that are subject to the Apple Public Source License 4181 // Version 2.0 (the 'License'). You may not use this file except in 4182 // compliance with the License. The rights granted to you under the License 4183 // may not be used to create, or enable the creation or redistribution of, 4184 // unlawful or unlicensed copies of an Apple operating system, or to 4185 // circumvent, violate, or enable the circumvention or violation of, any 4186 // terms of an Apple operating system software license agreement. 4187 // 4188 // Please obtain a copy of the License at 4189 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4190 // 4191 // The Original Code and all software distributed under the License are 4192 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4193 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4194 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4195 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4196 // Please see the License for the specific language governing rights and 4197 // limitations under the License. 4198 // 4199 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4200 4201 type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */ 4202 4203 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4204 // 4205 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4206 // 4207 // This file contains Original Code and/or Modifications of Original Code 4208 // as defined in and that are subject to the Apple Public Source License 4209 // Version 2.0 (the 'License'). You may not use this file except in 4210 // compliance with the License. The rights granted to you under the License 4211 // may not be used to create, or enable the creation or redistribution of, 4212 // unlawful or unlicensed copies of an Apple operating system, or to 4213 // circumvent, violate, or enable the circumvention or violation of, any 4214 // terms of an Apple operating system software license agreement. 4215 // 4216 // Please obtain a copy of the License at 4217 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4218 // 4219 // The Original Code and all software distributed under the License are 4220 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4221 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4222 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4223 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4224 // Please see the License for the specific language governing rights and 4225 // limitations under the License. 4226 // 4227 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4228 4229 // Structure used in sigaltstack call. 4230 4231 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4232 // 4233 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4234 // 4235 // This file contains Original Code and/or Modifications of Original Code 4236 // as defined in and that are subject to the Apple Public Source License 4237 // Version 2.0 (the 'License'). You may not use this file except in 4238 // compliance with the License. The rights granted to you under the License 4239 // may not be used to create, or enable the creation or redistribution of, 4240 // unlawful or unlicensed copies of an Apple operating system, or to 4241 // circumvent, violate, or enable the circumvention or violation of, any 4242 // terms of an Apple operating system software license agreement. 4243 // 4244 // Please obtain a copy of the License at 4245 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4246 // 4247 // The Original Code and all software distributed under the License are 4248 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4249 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4250 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4251 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4252 // Please see the License for the specific language governing rights and 4253 // limitations under the License. 4254 // 4255 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4256 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4257 // Copyright (c) 1991, 1993 4258 // The Regents of the University of California. All rights reserved. 4259 // 4260 // This code is derived from software contributed to Berkeley by 4261 // Berkeley Software Design, Inc. 4262 // 4263 // Redistribution and use in source and binary forms, with or without 4264 // modification, are permitted provided that the following conditions 4265 // are met: 4266 // 1. Redistributions of source code must retain the above copyright 4267 // notice, this list of conditions and the following disclaimer. 4268 // 2. Redistributions in binary form must reproduce the above copyright 4269 // notice, this list of conditions and the following disclaimer in the 4270 // documentation and/or other materials provided with the distribution. 4271 // 3. All advertising materials mentioning features or use of this software 4272 // must display the following acknowledgement: 4273 // This product includes software developed by the University of 4274 // California, Berkeley and its contributors. 4275 // 4. Neither the name of the University nor the names of its contributors 4276 // may be used to endorse or promote products derived from this software 4277 // without specific prior written permission. 4278 // 4279 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4280 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4281 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4282 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4283 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4284 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4285 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4286 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4287 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4288 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4289 // SUCH DAMAGE. 4290 // 4291 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4292 4293 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4294 // 4295 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4296 // 4297 // This file contains Original Code and/or Modifications of Original Code 4298 // as defined in and that are subject to the Apple Public Source License 4299 // Version 2.0 (the 'License'). You may not use this file except in 4300 // compliance with the License. The rights granted to you under the License 4301 // may not be used to create, or enable the creation or redistribution of, 4302 // unlawful or unlicensed copies of an Apple operating system, or to 4303 // circumvent, violate, or enable the circumvention or violation of, any 4304 // terms of an Apple operating system software license agreement. 4305 // 4306 // Please obtain a copy of the License at 4307 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4308 // 4309 // The Original Code and all software distributed under the License are 4310 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4311 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4312 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4313 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4314 // Please see the License for the specific language governing rights and 4315 // limitations under the License. 4316 // 4317 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4318 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4319 4320 type __darwin_sigaltstack = struct { 4321 Fss_sp uintptr 4322 Fss_size uint64 4323 Fss_flags int32 4324 F__ccgo_pad1 [4]byte 4325 } /* _sigaltstack.h:42:1 */ 4326 4327 type stack_t = __darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack 4328 4329 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4330 // 4331 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4332 // 4333 // This file contains Original Code and/or Modifications of Original Code 4334 // as defined in and that are subject to the Apple Public Source License 4335 // Version 2.0 (the 'License'). You may not use this file except in 4336 // compliance with the License. The rights granted to you under the License 4337 // may not be used to create, or enable the creation or redistribution of, 4338 // unlawful or unlicensed copies of an Apple operating system, or to 4339 // circumvent, violate, or enable the circumvention or violation of, any 4340 // terms of an Apple operating system software license agreement. 4341 // 4342 // Please obtain a copy of the License at 4343 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4344 // 4345 // The Original Code and all software distributed under the License are 4346 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4347 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4348 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4349 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4350 // Please see the License for the specific language governing rights and 4351 // limitations under the License. 4352 // 4353 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4354 4355 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4356 // 4357 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4358 // 4359 // This file contains Original Code and/or Modifications of Original Code 4360 // as defined in and that are subject to the Apple Public Source License 4361 // Version 2.0 (the 'License'). You may not use this file except in 4362 // compliance with the License. The rights granted to you under the License 4363 // may not be used to create, or enable the creation or redistribution of, 4364 // unlawful or unlicensed copies of an Apple operating system, or to 4365 // circumvent, violate, or enable the circumvention or violation of, any 4366 // terms of an Apple operating system software license agreement. 4367 // 4368 // Please obtain a copy of the License at 4369 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4370 // 4371 // The Original Code and all software distributed under the License are 4372 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4373 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4374 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4375 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4376 // Please see the License for the specific language governing rights and 4377 // limitations under the License. 4378 // 4379 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4380 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4381 // Copyright (c) 1991, 1993 4382 // The Regents of the University of California. All rights reserved. 4383 // 4384 // This code is derived from software contributed to Berkeley by 4385 // Berkeley Software Design, Inc. 4386 // 4387 // Redistribution and use in source and binary forms, with or without 4388 // modification, are permitted provided that the following conditions 4389 // are met: 4390 // 1. Redistributions of source code must retain the above copyright 4391 // notice, this list of conditions and the following disclaimer. 4392 // 2. Redistributions in binary form must reproduce the above copyright 4393 // notice, this list of conditions and the following disclaimer in the 4394 // documentation and/or other materials provided with the distribution. 4395 // 3. All advertising materials mentioning features or use of this software 4396 // must display the following acknowledgement: 4397 // This product includes software developed by the University of 4398 // California, Berkeley and its contributors. 4399 // 4. Neither the name of the University nor the names of its contributors 4400 // may be used to endorse or promote products derived from this software 4401 // without specific prior written permission. 4402 // 4403 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4404 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4405 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4406 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4407 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4408 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4409 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4410 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4411 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4412 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4413 // SUCH DAMAGE. 4414 // 4415 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4416 4417 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4418 // 4419 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4420 // 4421 // This file contains Original Code and/or Modifications of Original Code 4422 // as defined in and that are subject to the Apple Public Source License 4423 // Version 2.0 (the 'License'). You may not use this file except in 4424 // compliance with the License. The rights granted to you under the License 4425 // may not be used to create, or enable the creation or redistribution of, 4426 // unlawful or unlicensed copies of an Apple operating system, or to 4427 // circumvent, violate, or enable the circumvention or violation of, any 4428 // terms of an Apple operating system software license agreement. 4429 // 4430 // Please obtain a copy of the License at 4431 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4432 // 4433 // The Original Code and all software distributed under the License are 4434 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4435 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4436 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4437 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4438 // Please see the License for the specific language governing rights and 4439 // limitations under the License. 4440 // 4441 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4442 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4443 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4444 // 4445 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4446 // 4447 // This file contains Original Code and/or Modifications of Original Code 4448 // as defined in and that are subject to the Apple Public Source License 4449 // Version 2.0 (the 'License'). You may not use this file except in 4450 // compliance with the License. The rights granted to you under the License 4451 // may not be used to create, or enable the creation or redistribution of, 4452 // unlawful or unlicensed copies of an Apple operating system, or to 4453 // circumvent, violate, or enable the circumvention or violation of, any 4454 // terms of an Apple operating system software license agreement. 4455 // 4456 // Please obtain a copy of the License at 4457 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4458 // 4459 // The Original Code and all software distributed under the License are 4460 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4461 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4462 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4463 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4464 // Please see the License for the specific language governing rights and 4465 // limitations under the License. 4466 // 4467 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4468 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4469 // 4470 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4471 // 4472 // This file contains Original Code and/or Modifications of Original Code 4473 // as defined in and that are subject to the Apple Public Source License 4474 // Version 2.0 (the 'License'). You may not use this file except in 4475 // compliance with the License. The rights granted to you under the License 4476 // may not be used to create, or enable the creation or redistribution of, 4477 // unlawful or unlicensed copies of an Apple operating system, or to 4478 // circumvent, violate, or enable the circumvention or violation of, any 4479 // terms of an Apple operating system software license agreement. 4480 // 4481 // Please obtain a copy of the License at 4482 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4483 // 4484 // The Original Code and all software distributed under the License are 4485 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4486 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4487 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4488 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4489 // Please see the License for the specific language governing rights and 4490 // limitations under the License. 4491 // 4492 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4493 4494 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4495 // 4496 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4497 // 4498 // This file contains Original Code and/or Modifications of Original Code 4499 // as defined in and that are subject to the Apple Public Source License 4500 // Version 2.0 (the 'License'). You may not use this file except in 4501 // compliance with the License. The rights granted to you under the License 4502 // may not be used to create, or enable the creation or redistribution of, 4503 // unlawful or unlicensed copies of an Apple operating system, or to 4504 // circumvent, violate, or enable the circumvention or violation of, any 4505 // terms of an Apple operating system software license agreement. 4506 // 4507 // Please obtain a copy of the License at 4508 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4509 // 4510 // The Original Code and all software distributed under the License are 4511 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4512 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4513 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4514 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4515 // Please see the License for the specific language governing rights and 4516 // limitations under the License. 4517 // 4518 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4519 4520 type __darwin_ucontext = struct { 4521 Fuc_onstack int32 4522 Fuc_sigmask uint32 4523 Fuc_stack struct { 4524 Fss_sp uintptr 4525 Fss_size uint64 4526 Fss_flags int32 4527 F__ccgo_pad1 [4]byte 4528 } 4529 Fuc_link uintptr 4530 Fuc_mcsize uint64 4531 Fuc_mcontext uintptr 4532 } /* _ucontext.h:42:1 */ 4533 4534 // user context 4535 type ucontext_t = __darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context 4536 4537 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4538 // 4539 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4540 // 4541 // This file contains Original Code and/or Modifications of Original Code 4542 // as defined in and that are subject to the Apple Public Source License 4543 // Version 2.0 (the 'License'). You may not use this file except in 4544 // compliance with the License. The rights granted to you under the License 4545 // may not be used to create, or enable the creation or redistribution of, 4546 // unlawful or unlicensed copies of an Apple operating system, or to 4547 // circumvent, violate, or enable the circumvention or violation of, any 4548 // terms of an Apple operating system software license agreement. 4549 // 4550 // Please obtain a copy of the License at 4551 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4552 // 4553 // The Original Code and all software distributed under the License are 4554 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4555 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4556 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4557 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4558 // Please see the License for the specific language governing rights and 4559 // limitations under the License. 4560 // 4561 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4562 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4563 // 4564 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4565 // 4566 // This file contains Original Code and/or Modifications of Original Code 4567 // as defined in and that are subject to the Apple Public Source License 4568 // Version 2.0 (the 'License'). You may not use this file except in 4569 // compliance with the License. The rights granted to you under the License 4570 // may not be used to create, or enable the creation or redistribution of, 4571 // unlawful or unlicensed copies of an Apple operating system, or to 4572 // circumvent, violate, or enable the circumvention or violation of, any 4573 // terms of an Apple operating system software license agreement. 4574 // 4575 // Please obtain a copy of the License at 4576 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4577 // 4578 // The Original Code and all software distributed under the License are 4579 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4580 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4581 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4582 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4583 // Please see the License for the specific language governing rights and 4584 // limitations under the License. 4585 // 4586 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4587 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4588 // 4589 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4590 // 4591 // This file contains Original Code and/or Modifications of Original Code 4592 // as defined in and that are subject to the Apple Public Source License 4593 // Version 2.0 (the 'License'). You may not use this file except in 4594 // compliance with the License. The rights granted to you under the License 4595 // may not be used to create, or enable the creation or redistribution of, 4596 // unlawful or unlicensed copies of an Apple operating system, or to 4597 // circumvent, violate, or enable the circumvention or violation of, any 4598 // terms of an Apple operating system software license agreement. 4599 // 4600 // Please obtain a copy of the License at 4601 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4602 // 4603 // The Original Code and all software distributed under the License are 4604 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4605 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4606 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4607 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4608 // Please see the License for the specific language governing rights and 4609 // limitations under the License. 4610 // 4611 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4612 4613 type sigset_t = uint32 /* _sigset_t.h:31:41 */ 4614 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4615 // 4616 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4617 // 4618 // This file contains Original Code and/or Modifications of Original Code 4619 // as defined in and that are subject to the Apple Public Source License 4620 // Version 2.0 (the 'License'). You may not use this file except in 4621 // compliance with the License. The rights granted to you under the License 4622 // may not be used to create, or enable the creation or redistribution of, 4623 // unlawful or unlicensed copies of an Apple operating system, or to 4624 // circumvent, violate, or enable the circumvention or violation of, any 4625 // terms of an Apple operating system software license agreement. 4626 // 4627 // Please obtain a copy of the License at 4628 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4629 // 4630 // The Original Code and all software distributed under the License are 4631 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4632 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4633 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4634 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4635 // Please see the License for the specific language governing rights and 4636 // limitations under the License. 4637 // 4638 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4639 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4640 // 4641 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4642 // 4643 // This file contains Original Code and/or Modifications of Original Code 4644 // as defined in and that are subject to the Apple Public Source License 4645 // Version 2.0 (the 'License'). You may not use this file except in 4646 // compliance with the License. The rights granted to you under the License 4647 // may not be used to create, or enable the creation or redistribution of, 4648 // unlawful or unlicensed copies of an Apple operating system, or to 4649 // circumvent, violate, or enable the circumvention or violation of, any 4650 // terms of an Apple operating system software license agreement. 4651 // 4652 // Please obtain a copy of the License at 4653 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4654 // 4655 // The Original Code and all software distributed under the License are 4656 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4657 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4658 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4659 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4660 // Please see the License for the specific language governing rights and 4661 // limitations under the License. 4662 // 4663 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4664 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4665 // 4666 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4667 // 4668 // This file contains Original Code and/or Modifications of Original Code 4669 // as defined in and that are subject to the Apple Public Source License 4670 // Version 2.0 (the 'License'). You may not use this file except in 4671 // compliance with the License. The rights granted to you under the License 4672 // may not be used to create, or enable the creation or redistribution of, 4673 // unlawful or unlicensed copies of an Apple operating system, or to 4674 // circumvent, violate, or enable the circumvention or violation of, any 4675 // terms of an Apple operating system software license agreement. 4676 // 4677 // Please obtain a copy of the License at 4678 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4679 // 4680 // The Original Code and all software distributed under the License are 4681 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4682 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4683 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4684 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4685 // Please see the License for the specific language governing rights and 4686 // limitations under the License. 4687 // 4688 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4689 4690 type uid_t = uint32 /* _uid_t.h:31:31 */ 4691 4692 type sigval = struct { 4693 F__ccgo_pad1 [0]uint64 4694 Fsival_int int32 4695 F__ccgo_pad2 [4]byte 4696 } /* signal.h:158:1 */ 4697 4698 type sigevent = struct { 4699 Fsigev_notify int32 4700 Fsigev_signo int32 4701 Fsigev_value struct { 4702 F__ccgo_pad1 [0]uint64 4703 Fsival_int int32 4704 F__ccgo_pad2 [4]byte 4705 } 4706 Fsigev_notify_function uintptr 4707 Fsigev_notify_attributes uintptr 4708 } /* signal.h:168:1 */ 4709 4710 type __siginfo = struct { 4711 Fsi_signo int32 4712 Fsi_errno int32 4713 Fsi_code int32 4714 Fsi_pid pid_t 4715 Fsi_uid uid_t 4716 Fsi_status int32 4717 Fsi_addr uintptr 4718 Fsi_value struct { 4719 F__ccgo_pad1 [0]uint64 4720 Fsival_int int32 4721 F__ccgo_pad2 [4]byte 4722 } 4723 Fsi_band int64 4724 F__pad [7]uint64 4725 } /* signal.h:177:9 */ 4726 4727 type siginfo_t = __siginfo /* signal.h:188:3 */ 4728 4729 // When the signal is SIGILL or SIGFPE, si_addr contains the address of 4730 // the faulting instruction. 4731 // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of 4732 // the faulting memory reference. Although for x86 there are cases of SIGSEGV 4733 // for which si_addr cannot be determined and is NULL. 4734 // If the signal is SIGCHLD, the si_pid field will contain the child process ID, 4735 // si_status contains the exit value or signal and 4736 // si_uid contains the real user ID of the process that sent the signal. 4737 4738 // Values for si_code 4739 4740 // Codes for SIGILL 4741 4742 // Codes for SIGFPE 4743 4744 // Codes for SIGSEGV 4745 4746 // Codes for SIGBUS 4747 4748 // Codes for SIGTRAP 4749 4750 // Codes for SIGCHLD 4751 4752 // Codes for SIGPOLL 4753 4754 // union for signal handlers 4755 type __sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */ 4756 4757 // Signal vector template for Kernel user boundary 4758 type __sigaction = struct { 4759 F__sigaction_u struct{ F__sa_handler uintptr } 4760 Fsa_tramp uintptr 4761 Fsa_mask sigset_t 4762 Fsa_flags int32 4763 } /* signal.h:276:1 */ 4764 4765 // Signal vector "template" used in sigaction call. 4766 type sigaction = struct { 4767 F__sigaction_u struct{ F__sa_handler uintptr } 4768 Fsa_mask sigset_t 4769 Fsa_flags int32 4770 } /* signal.h:286:1 */ 4771 4772 // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler. 4773 4774 // This will provide 64bit register set in a 32bit user address space 4775 4776 // the following are the only bits we support from user space, the 4777 // rest are for kernel use only. 4778 4779 // Flags for sigprocmask: 4780 4781 // POSIX 1003.1b required values. 4782 4783 type sig_t = uintptr /* signal.h:331:14 */ // type of signal function 4784 4785 // Structure used in sigaltstack call. 4786 4787 // 4.3 compatibility: 4788 // Signal vector "template" used in sigvec call. 4789 type sigvec = struct { 4790 Fsv_handler uintptr 4791 Fsv_mask int32 4792 Fsv_flags int32 4793 } /* signal.h:348:1 */ 4794 4795 // Structure used in sigstack call. 4796 type sigstack = struct { 4797 Fss_sp uintptr 4798 Fss_onstack int32 4799 F__ccgo_pad1 [4]byte 4800 } /* signal.h:367:1 */ 4801 4802 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4803 // 4804 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4805 // 4806 // This file contains Original Code and/or Modifications of Original Code 4807 // as defined in and that are subject to the Apple Public Source License 4808 // Version 2.0 (the 'License'). You may not use this file except in 4809 // compliance with the License. The rights granted to you under the License 4810 // may not be used to create, or enable the creation or redistribution of, 4811 // unlawful or unlicensed copies of an Apple operating system, or to 4812 // circumvent, violate, or enable the circumvention or violation of, any 4813 // terms of an Apple operating system software license agreement. 4814 // 4815 // Please obtain a copy of the License at 4816 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4817 // 4818 // The Original Code and all software distributed under the License are 4819 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4820 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4821 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4822 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4823 // Please see the License for the specific language governing rights and 4824 // limitations under the License. 4825 // 4826 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4827 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 4828 // Copyright (c) 1982, 1986, 1993 4829 // The Regents of the University of California. All rights reserved. 4830 // 4831 // Redistribution and use in source and binary forms, with or without 4832 // modification, are permitted provided that the following conditions 4833 // are met: 4834 // 1. Redistributions of source code must retain the above copyright 4835 // notice, this list of conditions and the following disclaimer. 4836 // 2. Redistributions in binary form must reproduce the above copyright 4837 // notice, this list of conditions and the following disclaimer in the 4838 // documentation and/or other materials provided with the distribution. 4839 // 3. All advertising materials mentioning features or use of this software 4840 // must display the following acknowledgement: 4841 // This product includes software developed by the University of 4842 // California, Berkeley and its contributors. 4843 // 4. Neither the name of the University nor the names of its contributors 4844 // may be used to endorse or promote products derived from this software 4845 // without specific prior written permission. 4846 // 4847 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4848 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4849 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4850 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4851 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4852 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4853 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4854 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4855 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4856 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4857 // SUCH DAMAGE. 4858 // 4859 // @(#)resource.h 8.2 (Berkeley) 1/4/94 4860 4861 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 4862 // 4863 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4864 // 4865 // This file contains Original Code and/or Modifications of Original Code 4866 // as defined in and that are subject to the Apple Public Source License 4867 // Version 2.0 (the 'License'). You may not use this file except in 4868 // compliance with the License. The rights granted to you under the License 4869 // may not be used to create, or enable the creation or redistribution of, 4870 // unlawful or unlicensed copies of an Apple operating system, or to 4871 // circumvent, violate, or enable the circumvention or violation of, any 4872 // terms of an Apple operating system software license agreement. 4873 // 4874 // Please obtain a copy of the License at 4875 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4876 // 4877 // The Original Code and all software distributed under the License are 4878 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4879 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4880 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4881 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4882 // Please see the License for the specific language governing rights and 4883 // limitations under the License. 4884 // 4885 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4886 4887 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4888 // 4889 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4890 // 4891 // This file contains Original Code and/or Modifications of Original Code 4892 // as defined in and that are subject to the Apple Public Source License 4893 // Version 2.0 (the 'License'). You may not use this file except in 4894 // compliance with the License. The rights granted to you under the License 4895 // may not be used to create, or enable the creation or redistribution of, 4896 // unlawful or unlicensed copies of an Apple operating system, or to 4897 // circumvent, violate, or enable the circumvention or violation of, any 4898 // terms of an Apple operating system software license agreement. 4899 // 4900 // Please obtain a copy of the License at 4901 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4902 // 4903 // The Original Code and all software distributed under the License are 4904 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4905 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4906 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4907 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4908 // Please see the License for the specific language governing rights and 4909 // limitations under the License. 4910 // 4911 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4912 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4913 // Copyright (c) 1991, 1993 4914 // The Regents of the University of California. All rights reserved. 4915 // 4916 // This code is derived from software contributed to Berkeley by 4917 // Berkeley Software Design, Inc. 4918 // 4919 // Redistribution and use in source and binary forms, with or without 4920 // modification, are permitted provided that the following conditions 4921 // are met: 4922 // 1. Redistributions of source code must retain the above copyright 4923 // notice, this list of conditions and the following disclaimer. 4924 // 2. Redistributions in binary form must reproduce the above copyright 4925 // notice, this list of conditions and the following disclaimer in the 4926 // documentation and/or other materials provided with the distribution. 4927 // 3. All advertising materials mentioning features or use of this software 4928 // must display the following acknowledgement: 4929 // This product includes software developed by the University of 4930 // California, Berkeley and its contributors. 4931 // 4. Neither the name of the University nor the names of its contributors 4932 // may be used to endorse or promote products derived from this software 4933 // without specific prior written permission. 4934 // 4935 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4936 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4937 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4938 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4939 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4940 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4941 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4942 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4943 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4944 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4945 // SUCH DAMAGE. 4946 // 4947 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4948 4949 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4950 // 4951 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4952 // 4953 // This file contains Original Code and/or Modifications of Original Code 4954 // as defined in and that are subject to the Apple Public Source License 4955 // Version 2.0 (the 'License'). You may not use this file except in 4956 // compliance with the License. The rights granted to you under the License 4957 // may not be used to create, or enable the creation or redistribution of, 4958 // unlawful or unlicensed copies of an Apple operating system, or to 4959 // circumvent, violate, or enable the circumvention or violation of, any 4960 // terms of an Apple operating system software license agreement. 4961 // 4962 // Please obtain a copy of the License at 4963 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4964 // 4965 // The Original Code and all software distributed under the License are 4966 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4967 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4968 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4969 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4970 // Please see the License for the specific language governing rights and 4971 // limitations under the License. 4972 // 4973 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4974 4975 // DO NOT EDIT THIS FILE. 4976 // 4977 // It has been auto-edited by fixincludes from: 4978 // 4979 // "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h" 4980 // 4981 // This had to be done to correct non-standard usages in the 4982 // original, manufacturer supplied header file. 4983 4984 // Copyright (c) 2000-2010 Apple Inc. 4985 // All rights reserved. 4986 4987 // from ISO/IEC 988:1999 spec 4988 4989 // 7.18.1.1 Exact-width integer types 4990 // Copyright (c) 2012 Apple Inc. All rights reserved. 4991 // 4992 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4993 // 4994 // This file contains Original Code and/or Modifications of Original Code 4995 // as defined in and that are subject to the Apple Public Source License 4996 // Version 2.0 (the 'License'). You may not use this file except in 4997 // compliance with the License. The rights granted to you under the License 4998 // may not be used to create, or enable the creation or redistribution of, 4999 // unlawful or unlicensed copies of an Apple operating system, or to 5000 // circumvent, violate, or enable the circumvention or violation of, any 5001 // terms of an Apple operating system software license agreement. 5002 // 5003 // Please obtain a copy of the License at 5004 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5005 // 5006 // The Original Code and all software distributed under the License are 5007 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5008 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5009 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5010 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5011 // Please see the License for the specific language governing rights and 5012 // limitations under the License. 5013 // 5014 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5015 // Copyright (c) 2012 Apple Inc. All rights reserved. 5016 // 5017 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5018 // 5019 // This file contains Original Code and/or Modifications of Original Code 5020 // as defined in and that are subject to the Apple Public Source License 5021 // Version 2.0 (the 'License'). You may not use this file except in 5022 // compliance with the License. The rights granted to you under the License 5023 // may not be used to create, or enable the creation or redistribution of, 5024 // unlawful or unlicensed copies of an Apple operating system, or to 5025 // circumvent, violate, or enable the circumvention or violation of, any 5026 // terms of an Apple operating system software license agreement. 5027 // 5028 // Please obtain a copy of the License at 5029 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5030 // 5031 // The Original Code and all software distributed under the License are 5032 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5033 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5034 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5035 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5036 // Please see the License for the specific language governing rights and 5037 // limitations under the License. 5038 // 5039 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5040 // Copyright (c) 2012 Apple Inc. All rights reserved. 5041 // 5042 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5043 // 5044 // This file contains Original Code and/or Modifications of Original Code 5045 // as defined in and that are subject to the Apple Public Source License 5046 // Version 2.0 (the 'License'). You may not use this file except in 5047 // compliance with the License. The rights granted to you under the License 5048 // may not be used to create, or enable the creation or redistribution of, 5049 // unlawful or unlicensed copies of an Apple operating system, or to 5050 // circumvent, violate, or enable the circumvention or violation of, any 5051 // terms of an Apple operating system software license agreement. 5052 // 5053 // Please obtain a copy of the License at 5054 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5055 // 5056 // The Original Code and all software distributed under the License are 5057 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5058 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5059 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5060 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5061 // Please see the License for the specific language governing rights and 5062 // limitations under the License. 5063 // 5064 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5065 // Copyright (c) 2012 Apple Inc. All rights reserved. 5066 // 5067 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5068 // 5069 // This file contains Original Code and/or Modifications of Original Code 5070 // as defined in and that are subject to the Apple Public Source License 5071 // Version 2.0 (the 'License'). You may not use this file except in 5072 // compliance with the License. The rights granted to you under the License 5073 // may not be used to create, or enable the creation or redistribution of, 5074 // unlawful or unlicensed copies of an Apple operating system, or to 5075 // circumvent, violate, or enable the circumvention or violation of, any 5076 // terms of an Apple operating system software license agreement. 5077 // 5078 // Please obtain a copy of the License at 5079 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5080 // 5081 // The Original Code and all software distributed under the License are 5082 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5083 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5084 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5085 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5086 // Please see the License for the specific language governing rights and 5087 // limitations under the License. 5088 // 5089 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5090 5091 // Copyright (c) 2012 Apple Inc. All rights reserved. 5092 // 5093 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5094 // 5095 // This file contains Original Code and/or Modifications of Original Code 5096 // as defined in and that are subject to the Apple Public Source License 5097 // Version 2.0 (the 'License'). You may not use this file except in 5098 // compliance with the License. The rights granted to you under the License 5099 // may not be used to create, or enable the creation or redistribution of, 5100 // unlawful or unlicensed copies of an Apple operating system, or to 5101 // circumvent, violate, or enable the circumvention or violation of, any 5102 // terms of an Apple operating system software license agreement. 5103 // 5104 // Please obtain a copy of the License at 5105 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5106 // 5107 // The Original Code and all software distributed under the License are 5108 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5109 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5110 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5111 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5112 // Please see the License for the specific language governing rights and 5113 // limitations under the License. 5114 // 5115 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5116 5117 type uint8_t = uint8 /* _uint8_t.h:31:23 */ 5118 // Copyright (c) 2012 Apple Inc. All rights reserved. 5119 // 5120 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5121 // 5122 // This file contains Original Code and/or Modifications of Original Code 5123 // as defined in and that are subject to the Apple Public Source License 5124 // Version 2.0 (the 'License'). You may not use this file except in 5125 // compliance with the License. The rights granted to you under the License 5126 // may not be used to create, or enable the creation or redistribution of, 5127 // unlawful or unlicensed copies of an Apple operating system, or to 5128 // circumvent, violate, or enable the circumvention or violation of, any 5129 // terms of an Apple operating system software license agreement. 5130 // 5131 // Please obtain a copy of the License at 5132 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5133 // 5134 // The Original Code and all software distributed under the License are 5135 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5136 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5137 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5138 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5139 // Please see the License for the specific language governing rights and 5140 // limitations under the License. 5141 // 5142 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5143 5144 type uint16_t = uint16 /* _uint16_t.h:31:24 */ 5145 // Copyright (c) 2012 Apple Inc. All rights reserved. 5146 // 5147 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5148 // 5149 // This file contains Original Code and/or Modifications of Original Code 5150 // as defined in and that are subject to the Apple Public Source License 5151 // Version 2.0 (the 'License'). You may not use this file except in 5152 // compliance with the License. The rights granted to you under the License 5153 // may not be used to create, or enable the creation or redistribution of, 5154 // unlawful or unlicensed copies of an Apple operating system, or to 5155 // circumvent, violate, or enable the circumvention or violation of, any 5156 // terms of an Apple operating system software license agreement. 5157 // 5158 // Please obtain a copy of the License at 5159 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5160 // 5161 // The Original Code and all software distributed under the License are 5162 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5163 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5164 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5165 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5166 // Please see the License for the specific language governing rights and 5167 // limitations under the License. 5168 // 5169 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5170 5171 type uint32_t = uint32 /* _uint32_t.h:31:22 */ 5172 // Copyright (c) 2012 Apple Inc. All rights reserved. 5173 // 5174 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5175 // 5176 // This file contains Original Code and/or Modifications of Original Code 5177 // as defined in and that are subject to the Apple Public Source License 5178 // Version 2.0 (the 'License'). You may not use this file except in 5179 // compliance with the License. The rights granted to you under the License 5180 // may not be used to create, or enable the creation or redistribution of, 5181 // unlawful or unlicensed copies of an Apple operating system, or to 5182 // circumvent, violate, or enable the circumvention or violation of, any 5183 // terms of an Apple operating system software license agreement. 5184 // 5185 // Please obtain a copy of the License at 5186 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5187 // 5188 // The Original Code and all software distributed under the License are 5189 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5190 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5191 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5192 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5193 // Please see the License for the specific language governing rights and 5194 // limitations under the License. 5195 // 5196 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5197 5198 type uint64_t = uint64 /* _uint64_t.h:31:28 */ 5199 5200 // 7.18.1.2 Minimum-width integer types 5201 type int_least8_t = int8_t /* stdint.h:38:26 */ 5202 type int_least16_t = int16_t /* stdint.h:39:25 */ 5203 type int_least32_t = int32_t /* stdint.h:40:25 */ 5204 type int_least64_t = int64_t /* stdint.h:41:25 */ 5205 type uint_least8_t = uint8_t /* stdint.h:42:25 */ 5206 type uint_least16_t = uint16_t /* stdint.h:43:24 */ 5207 type uint_least32_t = uint32_t /* stdint.h:44:24 */ 5208 type uint_least64_t = uint64_t /* stdint.h:45:24 */ 5209 5210 // 7.18.1.3 Fastest-width integer types 5211 type int_fast8_t = int8_t /* stdint.h:49:27 */ 5212 type int_fast16_t = int16_t /* stdint.h:50:26 */ 5213 type int_fast32_t = int32_t /* stdint.h:51:26 */ 5214 type int_fast64_t = int64_t /* stdint.h:52:26 */ 5215 type uint_fast8_t = uint8_t /* stdint.h:53:26 */ 5216 type uint_fast16_t = uint16_t /* stdint.h:54:25 */ 5217 type uint_fast32_t = uint32_t /* stdint.h:55:25 */ 5218 type uint_fast64_t = uint64_t /* stdint.h:56:25 */ 5219 5220 // 7.18.1.4 Integer types capable of holding object pointers 5221 5222 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5223 // 5224 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5225 // 5226 // This file contains Original Code and/or Modifications of Original Code 5227 // as defined in and that are subject to the Apple Public Source License 5228 // Version 2.0 (the 'License'). You may not use this file except in 5229 // compliance with the License. The rights granted to you under the License 5230 // may not be used to create, or enable the creation or redistribution of, 5231 // unlawful or unlicensed copies of an Apple operating system, or to 5232 // circumvent, violate, or enable the circumvention or violation of, any 5233 // terms of an Apple operating system software license agreement. 5234 // 5235 // Please obtain a copy of the License at 5236 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5237 // 5238 // The Original Code and all software distributed under the License are 5239 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5240 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5241 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5242 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5243 // Please see the License for the specific language governing rights and 5244 // limitations under the License. 5245 // 5246 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5247 5248 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5249 // 5250 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5251 // 5252 // This file contains Original Code and/or Modifications of Original Code 5253 // as defined in and that are subject to the Apple Public Source License 5254 // Version 2.0 (the 'License'). You may not use this file except in 5255 // compliance with the License. The rights granted to you under the License 5256 // may not be used to create, or enable the creation or redistribution of, 5257 // unlawful or unlicensed copies of an Apple operating system, or to 5258 // circumvent, violate, or enable the circumvention or violation of, any 5259 // terms of an Apple operating system software license agreement. 5260 // 5261 // Please obtain a copy of the License at 5262 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5263 // 5264 // The Original Code and all software distributed under the License are 5265 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5266 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5267 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5268 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5269 // Please see the License for the specific language governing rights and 5270 // limitations under the License. 5271 // 5272 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5273 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5274 // 5275 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5276 // 5277 // This file contains Original Code and/or Modifications of Original Code 5278 // as defined in and that are subject to the Apple Public Source License 5279 // Version 2.0 (the 'License'). You may not use this file except in 5280 // compliance with the License. The rights granted to you under the License 5281 // may not be used to create, or enable the creation or redistribution of, 5282 // unlawful or unlicensed copies of an Apple operating system, or to 5283 // circumvent, violate, or enable the circumvention or violation of, any 5284 // terms of an Apple operating system software license agreement. 5285 // 5286 // Please obtain a copy of the License at 5287 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5288 // 5289 // The Original Code and all software distributed under the License are 5290 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5291 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5292 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5293 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5294 // Please see the License for the specific language governing rights and 5295 // limitations under the License. 5296 // 5297 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5298 5299 // 7.18.1.5 Greatest-width integer types 5300 // Copyright (c) 2012 Apple Inc. All rights reserved. 5301 // 5302 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5303 // 5304 // This file contains Original Code and/or Modifications of Original Code 5305 // as defined in and that are subject to the Apple Public Source License 5306 // Version 2.0 (the 'License'). You may not use this file except in 5307 // compliance with the License. The rights granted to you under the License 5308 // may not be used to create, or enable the creation or redistribution of, 5309 // unlawful or unlicensed copies of an Apple operating system, or to 5310 // circumvent, violate, or enable the circumvention or violation of, any 5311 // terms of an Apple operating system software license agreement. 5312 // 5313 // Please obtain a copy of the License at 5314 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5315 // 5316 // The Original Code and all software distributed under the License are 5317 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5318 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5319 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5320 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5321 // Please see the License for the specific language governing rights and 5322 // limitations under the License. 5323 // 5324 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5325 5326 type intmax_t = int64 /* _intmax_t.h:32:25 */ 5327 // Copyright (c) 2012 Apple Inc. All rights reserved. 5328 // 5329 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5330 // 5331 // This file contains Original Code and/or Modifications of Original Code 5332 // as defined in and that are subject to the Apple Public Source License 5333 // Version 2.0 (the 'License'). You may not use this file except in 5334 // compliance with the License. The rights granted to you under the License 5335 // may not be used to create, or enable the creation or redistribution of, 5336 // unlawful or unlicensed copies of an Apple operating system, or to 5337 // circumvent, violate, or enable the circumvention or violation of, any 5338 // terms of an Apple operating system software license agreement. 5339 // 5340 // Please obtain a copy of the License at 5341 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5342 // 5343 // The Original Code and all software distributed under the License are 5344 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5345 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5346 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5347 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5348 // Please see the License for the specific language governing rights and 5349 // limitations under the License. 5350 // 5351 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5352 5353 type uintmax_t = uint64 /* _uintmax_t.h:32:26 */ 5354 5355 // 7.18.4 Macros for integer constants 5356 5357 // 7.18.2 Limits of specified-width integer types: 5358 // These #defines specify the minimum and maximum limits 5359 // of each of the types declared above. 5360 // 5361 // They must have "the same type as would an expression that is an 5362 // object of the corresponding type converted according to the integer 5363 // promotion". 5364 5365 // 7.18.2.1 Limits of exact-width integer types 5366 5367 // 5368 // Note: the literal "most negative int" cannot be written in C -- 5369 // the rules in the standard (section 6.4.4.1 in C99) will give it 5370 // an unsigned type, so INT32_MIN (and the most negative member of 5371 // any larger signed type) must be written via a constant expression. 5372 // 5373 5374 // 7.18.2.2 Limits of minimum-width integer types 5375 5376 // 7.18.2.3 Limits of fastest minimum-width integer types 5377 5378 // 7.18.2.4 Limits of integer types capable of holding object pointers 5379 5380 // 7.18.2.5 Limits of greatest-width integer types 5381 5382 // 7.18.3 "Other" 5383 5384 // WCHAR_MIN should be 0 if wchar_t is an unsigned type and 5385 // (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately, 5386 // it turns out that -fshort-wchar changes the signedness of 5387 // the type. 5388 5389 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 5390 // 5391 // @APPLE_LICENSE_HEADER_START@ 5392 // 5393 // This file contains Original Code and/or Modifications of Original Code 5394 // as defined in and that are subject to the Apple Public Source License 5395 // Version 2.0 (the 'License'). You may not use this file except in 5396 // compliance with the License. Please obtain a copy of the License at 5397 // http://www.opensource.apple.com/apsl/ and read it before using this 5398 // file. 5399 // 5400 // The Original Code and all software distributed under the License are 5401 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5402 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5403 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5404 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5405 // Please see the License for the specific language governing rights and 5406 // limitations under the License. 5407 // 5408 // @APPLE_LICENSE_HEADER_END@ 5409 5410 // [XSI] The timeval structure shall be defined as described in 5411 // <sys/time.h> 5412 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5413 // 5414 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5415 // 5416 // This file contains Original Code and/or Modifications of Original Code 5417 // as defined in and that are subject to the Apple Public Source License 5418 // Version 2.0 (the 'License'). You may not use this file except in 5419 // compliance with the License. The rights granted to you under the License 5420 // may not be used to create, or enable the creation or redistribution of, 5421 // unlawful or unlicensed copies of an Apple operating system, or to 5422 // circumvent, violate, or enable the circumvention or violation of, any 5423 // terms of an Apple operating system software license agreement. 5424 // 5425 // Please obtain a copy of the License at 5426 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5427 // 5428 // The Original Code and all software distributed under the License are 5429 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5430 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5431 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5432 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5433 // Please see the License for the specific language governing rights and 5434 // limitations under the License. 5435 // 5436 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5437 5438 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 5439 // 5440 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5441 // 5442 // This file contains Original Code and/or Modifications of Original Code 5443 // as defined in and that are subject to the Apple Public Source License 5444 // Version 2.0 (the 'License'). You may not use this file except in 5445 // compliance with the License. The rights granted to you under the License 5446 // may not be used to create, or enable the creation or redistribution of, 5447 // unlawful or unlicensed copies of an Apple operating system, or to 5448 // circumvent, violate, or enable the circumvention or violation of, any 5449 // terms of an Apple operating system software license agreement. 5450 // 5451 // Please obtain a copy of the License at 5452 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5453 // 5454 // The Original Code and all software distributed under the License are 5455 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5456 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5457 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5458 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5459 // Please see the License for the specific language governing rights and 5460 // limitations under the License. 5461 // 5462 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5463 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5464 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5465 // 5466 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5467 // 5468 // This file contains Original Code and/or Modifications of Original Code 5469 // as defined in and that are subject to the Apple Public Source License 5470 // Version 2.0 (the 'License'). You may not use this file except in 5471 // compliance with the License. The rights granted to you under the License 5472 // may not be used to create, or enable the creation or redistribution of, 5473 // unlawful or unlicensed copies of an Apple operating system, or to 5474 // circumvent, violate, or enable the circumvention or violation of, any 5475 // terms of an Apple operating system software license agreement. 5476 // 5477 // Please obtain a copy of the License at 5478 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5479 // 5480 // The Original Code and all software distributed under the License are 5481 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5482 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5483 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5484 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5485 // Please see the License for the specific language governing rights and 5486 // limitations under the License. 5487 // 5488 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5489 5490 type timeval = struct { 5491 Ftv_sec int64 5492 Ftv_usec int32 5493 F__ccgo_pad1 [4]byte 5494 } /* _timeval.h:34:1 */ 5495 5496 // The id_t type shall be defined as described in <sys/types.h> 5497 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5498 // 5499 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5500 // 5501 // This file contains Original Code and/or Modifications of Original Code 5502 // as defined in and that are subject to the Apple Public Source License 5503 // Version 2.0 (the 'License'). You may not use this file except in 5504 // compliance with the License. The rights granted to you under the License 5505 // may not be used to create, or enable the creation or redistribution of, 5506 // unlawful or unlicensed copies of an Apple operating system, or to 5507 // circumvent, violate, or enable the circumvention or violation of, any 5508 // terms of an Apple operating system software license agreement. 5509 // 5510 // Please obtain a copy of the License at 5511 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5512 // 5513 // The Original Code and all software distributed under the License are 5514 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5515 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5516 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5517 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5518 // Please see the License for the specific language governing rights and 5519 // limitations under the License. 5520 // 5521 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5522 5523 // Resource limit type (low 63 bits, excluding the sign bit) 5524 type rlim_t = uint64 /* resource.h:89:25 */ 5525 5526 // **** 5527 // 5528 // PRIORITY 5529 5530 // Possible values of the first parameter to getpriority()/setpriority(), 5531 // used to indicate the type of the second parameter. 5532 5533 // Range limitations for the value of the third parameter to setpriority(). 5534 5535 // use PRIO_DARWIN_BG to set the current thread into "background" state 5536 // which lowers CPU, disk IO, and networking priorites until thread terminates 5537 // or "background" state is revoked 5538 5539 // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to 5540 // the GPU. (deprecated) 5541 5542 // **** 5543 // 5544 // RESOURCE USAGE 5545 5546 // Possible values of the first parameter to getrusage(), used to indicate 5547 // the scope of the information to be returned. 5548 5549 // A structure representing an accounting of resource utilization. The 5550 // address of an instance of this structure is the second parameter to 5551 // getrusage(). 5552 // 5553 // Note: All values other than ru_utime and ru_stime are implementaiton 5554 // defined and subject to change in a future release. Their use 5555 // is discouraged for standards compliant programs. 5556 type rusage = struct { 5557 Fru_utime struct { 5558 Ftv_sec int64 5559 Ftv_usec int32 5560 F__ccgo_pad1 [4]byte 5561 } 5562 Fru_stime struct { 5563 Ftv_sec int64 5564 Ftv_usec int32 5565 F__ccgo_pad1 [4]byte 5566 } 5567 Fru_maxrss int64 5568 Fru_ixrss int64 5569 Fru_idrss int64 5570 Fru_isrss int64 5571 Fru_minflt int64 5572 Fru_majflt int64 5573 Fru_nswap int64 5574 Fru_inblock int64 5575 Fru_oublock int64 5576 Fru_msgsnd int64 5577 Fru_msgrcv int64 5578 Fru_nsignals int64 5579 Fru_nvcsw int64 5580 Fru_nivcsw int64 5581 } /* resource.h:152:1 */ 5582 5583 // Flavors for proc_pid_rusage(). 5584 5585 type rusage_info_t = uintptr /* resource.h:193:14 */ 5586 5587 type rusage_info_v0 = struct { 5588 Fri_uuid [16]uint8_t 5589 Fri_user_time uint64_t 5590 Fri_system_time uint64_t 5591 Fri_pkg_idle_wkups uint64_t 5592 Fri_interrupt_wkups uint64_t 5593 Fri_pageins uint64_t 5594 Fri_wired_size uint64_t 5595 Fri_resident_size uint64_t 5596 Fri_phys_footprint uint64_t 5597 Fri_proc_start_abstime uint64_t 5598 Fri_proc_exit_abstime uint64_t 5599 } /* resource.h:195:1 */ 5600 5601 type rusage_info_v1 = struct { 5602 Fri_uuid [16]uint8_t 5603 Fri_user_time uint64_t 5604 Fri_system_time uint64_t 5605 Fri_pkg_idle_wkups uint64_t 5606 Fri_interrupt_wkups uint64_t 5607 Fri_pageins uint64_t 5608 Fri_wired_size uint64_t 5609 Fri_resident_size uint64_t 5610 Fri_phys_footprint uint64_t 5611 Fri_proc_start_abstime uint64_t 5612 Fri_proc_exit_abstime uint64_t 5613 Fri_child_user_time uint64_t 5614 Fri_child_system_time uint64_t 5615 Fri_child_pkg_idle_wkups uint64_t 5616 Fri_child_interrupt_wkups uint64_t 5617 Fri_child_pageins uint64_t 5618 Fri_child_elapsed_abstime uint64_t 5619 } /* resource.h:209:1 */ 5620 5621 type rusage_info_v2 = struct { 5622 Fri_uuid [16]uint8_t 5623 Fri_user_time uint64_t 5624 Fri_system_time uint64_t 5625 Fri_pkg_idle_wkups uint64_t 5626 Fri_interrupt_wkups uint64_t 5627 Fri_pageins uint64_t 5628 Fri_wired_size uint64_t 5629 Fri_resident_size uint64_t 5630 Fri_phys_footprint uint64_t 5631 Fri_proc_start_abstime uint64_t 5632 Fri_proc_exit_abstime uint64_t 5633 Fri_child_user_time uint64_t 5634 Fri_child_system_time uint64_t 5635 Fri_child_pkg_idle_wkups uint64_t 5636 Fri_child_interrupt_wkups uint64_t 5637 Fri_child_pageins uint64_t 5638 Fri_child_elapsed_abstime uint64_t 5639 Fri_diskio_bytesread uint64_t 5640 Fri_diskio_byteswritten uint64_t 5641 } /* resource.h:229:1 */ 5642 5643 type rusage_info_v3 = struct { 5644 Fri_uuid [16]uint8_t 5645 Fri_user_time uint64_t 5646 Fri_system_time uint64_t 5647 Fri_pkg_idle_wkups uint64_t 5648 Fri_interrupt_wkups uint64_t 5649 Fri_pageins uint64_t 5650 Fri_wired_size uint64_t 5651 Fri_resident_size uint64_t 5652 Fri_phys_footprint uint64_t 5653 Fri_proc_start_abstime uint64_t 5654 Fri_proc_exit_abstime uint64_t 5655 Fri_child_user_time uint64_t 5656 Fri_child_system_time uint64_t 5657 Fri_child_pkg_idle_wkups uint64_t 5658 Fri_child_interrupt_wkups uint64_t 5659 Fri_child_pageins uint64_t 5660 Fri_child_elapsed_abstime uint64_t 5661 Fri_diskio_bytesread uint64_t 5662 Fri_diskio_byteswritten uint64_t 5663 Fri_cpu_time_qos_default uint64_t 5664 Fri_cpu_time_qos_maintenance uint64_t 5665 Fri_cpu_time_qos_background uint64_t 5666 Fri_cpu_time_qos_utility uint64_t 5667 Fri_cpu_time_qos_legacy uint64_t 5668 Fri_cpu_time_qos_user_initiated uint64_t 5669 Fri_cpu_time_qos_user_interactive uint64_t 5670 Fri_billed_system_time uint64_t 5671 Fri_serviced_system_time uint64_t 5672 } /* resource.h:251:1 */ 5673 5674 type rusage_info_v4 = struct { 5675 Fri_uuid [16]uint8_t 5676 Fri_user_time uint64_t 5677 Fri_system_time uint64_t 5678 Fri_pkg_idle_wkups uint64_t 5679 Fri_interrupt_wkups uint64_t 5680 Fri_pageins uint64_t 5681 Fri_wired_size uint64_t 5682 Fri_resident_size uint64_t 5683 Fri_phys_footprint uint64_t 5684 Fri_proc_start_abstime uint64_t 5685 Fri_proc_exit_abstime uint64_t 5686 Fri_child_user_time uint64_t 5687 Fri_child_system_time uint64_t 5688 Fri_child_pkg_idle_wkups uint64_t 5689 Fri_child_interrupt_wkups uint64_t 5690 Fri_child_pageins uint64_t 5691 Fri_child_elapsed_abstime uint64_t 5692 Fri_diskio_bytesread uint64_t 5693 Fri_diskio_byteswritten uint64_t 5694 Fri_cpu_time_qos_default uint64_t 5695 Fri_cpu_time_qos_maintenance uint64_t 5696 Fri_cpu_time_qos_background uint64_t 5697 Fri_cpu_time_qos_utility uint64_t 5698 Fri_cpu_time_qos_legacy uint64_t 5699 Fri_cpu_time_qos_user_initiated uint64_t 5700 Fri_cpu_time_qos_user_interactive uint64_t 5701 Fri_billed_system_time uint64_t 5702 Fri_serviced_system_time uint64_t 5703 Fri_logical_writes uint64_t 5704 Fri_lifetime_max_phys_footprint uint64_t 5705 Fri_instructions uint64_t 5706 Fri_cycles uint64_t 5707 Fri_billed_energy uint64_t 5708 Fri_serviced_energy uint64_t 5709 Fri_interval_max_phys_footprint uint64_t 5710 Fri_runnable_time uint64_t 5711 } /* resource.h:282:1 */ 5712 5713 type rusage_info_current = rusage_info_v4 /* resource.h:321:31 */ 5714 5715 // **** 5716 // 5717 // RESOURCE LIMITS 5718 5719 // Symbolic constants for resource limits; since all limits are representable 5720 // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of 5721 // RLIM_INFINITY. 5722 5723 // Possible values of the first parameter to getrlimit()/setrlimit(), to 5724 // indicate for which resource the operation is being performed. 5725 5726 // A structure representing a resource limit. The address of an instance 5727 // of this structure is the second parameter to getrlimit()/setrlimit(). 5728 type rlimit = struct { 5729 Frlim_cur rlim_t 5730 Frlim_max rlim_t 5731 } /* resource.h:365:1 */ 5732 5733 // proc_rlimit_control() 5734 // 5735 // Resource limit flavors 5736 5737 // Flags for wakeups monitor control. 5738 5739 // Flags for CPU usage monitor control. 5740 5741 // Flags for memory footprint interval tracking. 5742 5743 type proc_rlimit_control_wakeupmon = struct { 5744 Fwm_flags uint32_t 5745 Fwm_rate int32_t 5746 } /* resource.h:400:1 */ 5747 5748 // Deprecated: 5749 // Structure of the information in the status word returned by wait4. 5750 // If w_stopval==_WSTOPPED, then the second structure describes 5751 // the information returned, else the first. 5752 type wait = struct{ Fw_status int32 } /* wait.h:194:1 */ 5753 5754 // built-in for gcc 5755 5756 // built-in for gcc 3 5757 5758 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 5759 // _GCC_SIZE_T 5760 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5761 // 5762 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5763 // 5764 // This file contains Original Code and/or Modifications of Original Code 5765 // as defined in and that are subject to the Apple Public Source License 5766 // Version 2.0 (the 'License'). You may not use this file except in 5767 // compliance with the License. The rights granted to you under the License 5768 // may not be used to create, or enable the creation or redistribution of, 5769 // unlawful or unlicensed copies of an Apple operating system, or to 5770 // circumvent, violate, or enable the circumvention or violation of, any 5771 // terms of an Apple operating system software license agreement. 5772 // 5773 // Please obtain a copy of the License at 5774 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5775 // 5776 // The Original Code and all software distributed under the License are 5777 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5778 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5779 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5780 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5781 // Please see the License for the specific language governing rights and 5782 // limitations under the License. 5783 // 5784 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5785 5786 // Copyright (c) 2012 Apple Inc. All rights reserved. 5787 // 5788 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5789 // 5790 // This file contains Original Code and/or Modifications of Original Code 5791 // as defined in and that are subject to the Apple Public Source License 5792 // Version 2.0 (the 'License'). You may not use this file except in 5793 // compliance with the License. The rights granted to you under the License 5794 // may not be used to create, or enable the creation or redistribution of, 5795 // unlawful or unlicensed copies of an Apple operating system, or to 5796 // circumvent, violate, or enable the circumvention or violation of, any 5797 // terms of an Apple operating system software license agreement. 5798 // 5799 // Please obtain a copy of the License at 5800 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5801 // 5802 // The Original Code and all software distributed under the License are 5803 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5804 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5805 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5806 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5807 // Please see the License for the specific language governing rights and 5808 // limitations under the License. 5809 // 5810 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5811 5812 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5813 // 5814 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5815 // 5816 // This file contains Original Code and/or Modifications of Original Code 5817 // as defined in and that are subject to the Apple Public Source License 5818 // Version 2.0 (the 'License'). You may not use this file except in 5819 // compliance with the License. The rights granted to you under the License 5820 // may not be used to create, or enable the creation or redistribution of, 5821 // unlawful or unlicensed copies of an Apple operating system, or to 5822 // circumvent, violate, or enable the circumvention or violation of, any 5823 // terms of an Apple operating system software license agreement. 5824 // 5825 // Please obtain a copy of the License at 5826 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5827 // 5828 // The Original Code and all software distributed under the License are 5829 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5830 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5831 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5832 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5833 // Please see the License for the specific language governing rights and 5834 // limitations under the License. 5835 // 5836 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5837 type ct_rune_t = int32 /* _ct_rune_t.h:32:28 */ 5838 // Copyright (c) 2012 Apple Inc. All rights reserved. 5839 // 5840 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5841 // 5842 // This file contains Original Code and/or Modifications of Original Code 5843 // as defined in and that are subject to the Apple Public Source License 5844 // Version 2.0 (the 'License'). You may not use this file except in 5845 // compliance with the License. The rights granted to you under the License 5846 // may not be used to create, or enable the creation or redistribution of, 5847 // unlawful or unlicensed copies of an Apple operating system, or to 5848 // circumvent, violate, or enable the circumvention or violation of, any 5849 // terms of an Apple operating system software license agreement. 5850 // 5851 // Please obtain a copy of the License at 5852 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5853 // 5854 // The Original Code and all software distributed under the License are 5855 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5856 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5857 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5858 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5859 // Please see the License for the specific language governing rights and 5860 // limitations under the License. 5861 // 5862 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5863 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5864 // 5865 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5866 // 5867 // This file contains Original Code and/or Modifications of Original Code 5868 // as defined in and that are subject to the Apple Public Source License 5869 // Version 2.0 (the 'License'). You may not use this file except in 5870 // compliance with the License. The rights granted to you under the License 5871 // may not be used to create, or enable the creation or redistribution of, 5872 // unlawful or unlicensed copies of an Apple operating system, or to 5873 // circumvent, violate, or enable the circumvention or violation of, any 5874 // terms of an Apple operating system software license agreement. 5875 // 5876 // Please obtain a copy of the License at 5877 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5878 // 5879 // The Original Code and all software distributed under the License are 5880 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5881 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5882 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5883 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5884 // Please see the License for the specific language governing rights and 5885 // limitations under the License. 5886 // 5887 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5888 type rune_t = int32 /* _rune_t.h:31:25 */ 5889 5890 type div_t = struct { 5891 Fquot int32 5892 Frem int32 5893 } /* stdlib.h:86:3 */ 5894 5895 type ldiv_t = struct { 5896 Fquot int64 5897 Frem int64 5898 } /* stdlib.h:91:3 */ 5899 5900 type lldiv_t = struct { 5901 Fquot int64 5902 Frem int64 5903 } /* stdlib.h:97:3 */ 5904 5905 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 5906 // 5907 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5908 // 5909 // This file contains Original Code and/or Modifications of Original Code 5910 // as defined in and that are subject to the Apple Public Source License 5911 // Version 2.0 (the 'License'). You may not use this file except in 5912 // compliance with the License. The rights granted to you under the License 5913 // may not be used to create, or enable the creation or redistribution of, 5914 // unlawful or unlicensed copies of an Apple operating system, or to 5915 // circumvent, violate, or enable the circumvention or violation of, any 5916 // terms of an Apple operating system software license agreement. 5917 // 5918 // Please obtain a copy of the License at 5919 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5920 // 5921 // The Original Code and all software distributed under the License are 5922 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5923 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5924 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5925 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5926 // Please see the License for the specific language governing rights and 5927 // limitations under the License. 5928 // 5929 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5930 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5931 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5932 // 5933 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5934 // 5935 // This file contains Original Code and/or Modifications of Original Code 5936 // as defined in and that are subject to the Apple Public Source License 5937 // Version 2.0 (the 'License'). You may not use this file except in 5938 // compliance with the License. The rights granted to you under the License 5939 // may not be used to create, or enable the creation or redistribution of, 5940 // unlawful or unlicensed copies of an Apple operating system, or to 5941 // circumvent, violate, or enable the circumvention or violation of, any 5942 // terms of an Apple operating system software license agreement. 5943 // 5944 // Please obtain a copy of the License at 5945 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5946 // 5947 // The Original Code and all software distributed under the License are 5948 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5949 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5950 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5951 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5952 // Please see the License for the specific language governing rights and 5953 // limitations under the License. 5954 // 5955 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5956 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5957 // 5958 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5959 // 5960 // This file contains Original Code and/or Modifications of Original Code 5961 // as defined in and that are subject to the Apple Public Source License 5962 // Version 2.0 (the 'License'). You may not use this file except in 5963 // compliance with the License. The rights granted to you under the License 5964 // may not be used to create, or enable the creation or redistribution of, 5965 // unlawful or unlicensed copies of an Apple operating system, or to 5966 // circumvent, violate, or enable the circumvention or violation of, any 5967 // terms of an Apple operating system software license agreement. 5968 // 5969 // Please obtain a copy of the License at 5970 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5971 // 5972 // The Original Code and all software distributed under the License are 5973 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5974 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5975 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5976 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5977 // Please see the License for the specific language governing rights and 5978 // limitations under the License. 5979 // 5980 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5981 5982 type dev_t = int32 /* _dev_t.h:31:31 */ // device number 5983 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5984 // 5985 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5986 // 5987 // This file contains Original Code and/or Modifications of Original Code 5988 // as defined in and that are subject to the Apple Public Source License 5989 // Version 2.0 (the 'License'). You may not use this file except in 5990 // compliance with the License. The rights granted to you under the License 5991 // may not be used to create, or enable the creation or redistribution of, 5992 // unlawful or unlicensed copies of an Apple operating system, or to 5993 // circumvent, violate, or enable the circumvention or violation of, any 5994 // terms of an Apple operating system software license agreement. 5995 // 5996 // Please obtain a copy of the License at 5997 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5998 // 5999 // The Original Code and all software distributed under the License are 6000 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6001 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6002 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6003 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6004 // Please see the License for the specific language governing rights and 6005 // limitations under the License. 6006 // 6007 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6008 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6009 // 6010 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6011 // 6012 // This file contains Original Code and/or Modifications of Original Code 6013 // as defined in and that are subject to the Apple Public Source License 6014 // Version 2.0 (the 'License'). You may not use this file except in 6015 // compliance with the License. The rights granted to you under the License 6016 // may not be used to create, or enable the creation or redistribution of, 6017 // unlawful or unlicensed copies of an Apple operating system, or to 6018 // circumvent, violate, or enable the circumvention or violation of, any 6019 // terms of an Apple operating system software license agreement. 6020 // 6021 // Please obtain a copy of the License at 6022 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6023 // 6024 // The Original Code and all software distributed under the License are 6025 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6026 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6027 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6028 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6029 // Please see the License for the specific language governing rights and 6030 // limitations under the License. 6031 // 6032 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6033 6034 type mode_t = uint16 /* _mode_t.h:31:33 */ 6035 6036 // C11 Annex K 6037 6038 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6039 // 6040 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6041 // 6042 // This file contains Original Code and/or Modifications of Original Code 6043 // as defined in and that are subject to the Apple Public Source License 6044 // Version 2.0 (the 'License'). You may not use this file except in 6045 // compliance with the License. The rights granted to you under the License 6046 // may not be used to create, or enable the creation or redistribution of, 6047 // unlawful or unlicensed copies of an Apple operating system, or to 6048 // circumvent, violate, or enable the circumvention or violation of, any 6049 // terms of an Apple operating system software license agreement. 6050 // 6051 // Please obtain a copy of the License at 6052 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6053 // 6054 // The Original Code and all software distributed under the License are 6055 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6056 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6057 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6058 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6059 // Please see the License for the specific language governing rights and 6060 // limitations under the License. 6061 // 6062 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6063 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6064 // 6065 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6066 // 6067 // This file contains Original Code and/or Modifications of Original Code 6068 // as defined in and that are subject to the Apple Public Source License 6069 // Version 2.0 (the 'License'). You may not use this file except in 6070 // compliance with the License. The rights granted to you under the License 6071 // may not be used to create, or enable the creation or redistribution of, 6072 // unlawful or unlicensed copies of an Apple operating system, or to 6073 // circumvent, violate, or enable the circumvention or violation of, any 6074 // terms of an Apple operating system software license agreement. 6075 // 6076 // Please obtain a copy of the License at 6077 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6078 // 6079 // The Original Code and all software distributed under the License are 6080 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6081 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6082 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6083 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6084 // Please see the License for the specific language governing rights and 6085 // limitations under the License. 6086 // 6087 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6088 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6089 type rsize_t = uint64 /* _rsize_t.h:31:32 */ 6090 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6091 // 6092 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6093 // 6094 // This file contains Original Code and/or Modifications of Original Code 6095 // as defined in and that are subject to the Apple Public Source License 6096 // Version 2.0 (the 'License'). You may not use this file except in 6097 // compliance with the License. The rights granted to you under the License 6098 // may not be used to create, or enable the creation or redistribution of, 6099 // unlawful or unlicensed copies of an Apple operating system, or to 6100 // circumvent, violate, or enable the circumvention or violation of, any 6101 // terms of an Apple operating system software license agreement. 6102 // 6103 // Please obtain a copy of the License at 6104 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6105 // 6106 // The Original Code and all software distributed under the License are 6107 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6108 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6109 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6110 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6111 // Please see the License for the specific language governing rights and 6112 // limitations under the License. 6113 // 6114 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6115 type errno_t = int32 /* _errno_t.h:30:32 */ 6116 6117 // 8462256: modified __assert_rtn() replaces deprecated __eprintf() 6118 6119 // Copyright 1989 Network Computing Devices, Inc., Mountain View, California. 6120 // 6121 // Permission to use, copy, modify, and distribute this software and its 6122 // documentation for any purpose and without fee is hereby granted, provided 6123 // that the above copyright notice appear in all copies and that both that 6124 // copyright notice and this permission notice appear in supporting 6125 // documentation, and that the name of N.C.D. not be used in advertising or 6126 // publicity pertaining to distribution of the software without specific, 6127 // written prior permission. N.C.D. makes no representations about the 6128 // suitability of this software for any purpose. It is provided "as is" 6129 // without express or implied warranty. 6130 // 6131 6132 //********************************************************** 6133 // 6134 // Copyright 1987, 1998 The Open Group 6135 // 6136 // Permission to use, copy, modify, distribute, and sell this software and its 6137 // documentation for any purpose is hereby granted without fee, provided that 6138 // the above copyright notice appear in all copies and that both that 6139 // copyright notice and this permission notice appear in supporting 6140 // documentation. 6141 // 6142 // The above copyright notice and this permission notice shall be included in 6143 // all copies or substantial portions of the Software. 6144 // 6145 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6146 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6147 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6148 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 6149 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6150 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6151 // 6152 // Except as contained in this notice, the name of The Open Group shall not be 6153 // used in advertising or otherwise to promote the sale, use or other dealings 6154 // in this Software without prior written authorization from The Open Group. 6155 // 6156 // 6157 // Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. 6158 // 6159 // All Rights Reserved 6160 // 6161 // Permission to use, copy, modify, and distribute this software and its 6162 // documentation for any purpose and without fee is hereby granted, 6163 // provided that the above copyright notice appear in all copies and that 6164 // both that copyright notice and this permission notice appear in 6165 // supporting documentation, and that the name of Digital not be 6166 // used in advertising or publicity pertaining to distribution of the 6167 // software without specific, written prior permission. 6168 // 6169 // DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 6170 // ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 6171 // DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 6172 // ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 6173 // WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 6174 // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 6175 // SOFTWARE. 6176 // 6177 // ***************************************************************** 6178 // Xmd.h: MACHINE DEPENDENT DECLARATIONS. 6179 6180 // Special per-machine configuration flags. 6181 6182 // Definition of macro used to set constants for size of network structures; 6183 // machines with preprocessors that can't handle all of the sz_ symbols 6184 // can define this macro to be sizeof(x) if and only if their compiler doesn't 6185 // pad out structures (esp. the xTextElt structure which contains only two 6186 // one-byte fields). Network structures should always define sz_symbols. 6187 // 6188 // The sz_ prefix is used instead of something more descriptive so that the 6189 // symbols are no more than 32 characters long (which causes problems for some 6190 // compilers and preprocessors). 6191 // 6192 // The extra indirection is to get macro arguments to expand correctly before 6193 // the concatenation, rather than afterward. 6194 6195 // Bitfield suffixes for the protocol structure elements, if you 6196 // need them. Note that bitfields are not guaranteed to be signed 6197 // (or even unsigned) according to ANSI C. 6198 type INT64 = int64 /* Xmd.h:101:14 */ 6199 type INT32 = int32 /* Xmd.h:102:13 */ 6200 type INT16 = int16 /* Xmd.h:106:15 */ 6201 6202 type INT8 = int8 /* Xmd.h:108:24 */ 6203 6204 type CARD64 = uint64 /* Xmd.h:111:23 */ 6205 type CARD32 = uint32 /* Xmd.h:112:22 */ 6206 type CARD16 = uint16 /* Xmd.h:117:24 */ 6207 type CARD8 = uint8 /* Xmd.h:118:24 */ 6208 6209 type BITS32 = CARD32 /* Xmd.h:120:17 */ 6210 type BITS16 = CARD16 /* Xmd.h:121:17 */ 6211 6212 type BYTE = CARD8 /* Xmd.h:123:16 */ 6213 type BOOL = CARD8 /* Xmd.h:124:16 */ 6214 6215 // was definitions for sign-extending bitfields on architectures without 6216 // native types smaller than 64-bit, now just backwards compatibility 6217 6218 // this version should leave result of type (t *), but that should only be 6219 // used when not in MUSTCOPY 6220 6221 // 6222 // 6223 // Copyright 1989, 1991, 1998 The Open Group 6224 // 6225 // Permission to use, copy, modify, distribute, and sell this software and its 6226 // documentation for any purpose is hereby granted without fee, provided that 6227 // the above copyright notice appear in all copies and that both that 6228 // copyright notice and this permission notice appear in supporting 6229 // documentation. 6230 // 6231 // The above copyright notice and this permission notice shall be included in 6232 // all copies or substantial portions of the Software. 6233 // 6234 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6235 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6236 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6237 // OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 6238 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6239 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6240 // 6241 // Except as contained in this notice, the name of The Open Group shall not be 6242 // used in advertising or otherwise to promote the sale, use or other dealings 6243 // in this Software without prior written authorization from The Open Group. 6244 // * 6245 // 6246 6247 // Definitions to make function prototypes manageable 6248 6249 // Function prototype configuration (see configure for more info) 6250 6251 // http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute 6252 6253 // Added in X11R6.9, so available in any version of modular xproto 6254 6255 // Added in X11R6.9, so available in any version of modular xproto 6256 6257 // Branch prediction hints for individual conditionals 6258 // requires xproto >= 7.0.9 6259 6260 // Bulk branch prediction hints via marking error path functions as "cold" 6261 // requires xproto >= 7.0.25 6262 6263 // Added in X11R6.9, so available in any version of modular xproto 6264 6265 // requires xproto >= 7.0.30 6266 6267 // requires xproto >= 7.0.17 6268 6269 // Added in X11R6.9, so available in any version of modular xproto 6270 6271 // requires xproto >= 7.0.22 - since this uses either gcc or C99 variable 6272 // argument macros, must be only used inside #ifdef _X_NONNULL guards, as 6273 // many legacy X clients are compiled in C89 mode still. 6274 6275 // requires xproto >= 7.0.22 6276 6277 // C99 keyword "inline" or equivalent extensions in pre-C99 compilers 6278 // requires xproto >= 7.0.9 6279 // (introduced in 7.0.8 but didn't support all compilers until 7.0.9) 6280 6281 // C99 keyword "restrict" or equivalent extensions in pre-C99 compilers 6282 // requires xproto >= 7.0.21 6283 6284 // requires xproto >= 7.0.30 6285 6286 // Mark a char array/pointer as not containing a NUL-terminated string 6287 // requires xproto >= 7.0.33 6288 6289 // IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned 6290 // multicast addresses for XDMCP, where X in the prefix may be replaced 6291 // by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local, 6292 // 5 for Site-Local, and so on. We set the default here to the Link-Local 6293 // version to most closely match the old IPv4 subnet broadcast behavior. 6294 // Both xdm and X -query allow specifying a different address if a different 6295 // scope is defined. 6296 6297 type xdmOpCode = uint32 /* Xdmcp.h:50:3 */ 6298 6299 type xdmcp_states = uint32 /* Xdmcp.h:62:3 */ 6300 6301 type CARD8Ptr = uintptr /* Xdmcp.h:76:15 */ 6302 type CARD16Ptr = uintptr /* Xdmcp.h:77:16 */ 6303 type CARD32Ptr = uintptr /* Xdmcp.h:78:16 */ 6304 6305 type _ARRAY8 = struct { 6306 Flength CARD16 6307 F__ccgo_pad1 [6]byte 6308 Fdata CARD8Ptr 6309 } /* Xdmcp.h:80:9 */ 6310 6311 type ARRAY8 = _ARRAY8 /* Xdmcp.h:83:3 */ 6312 type ARRAY8Ptr = uintptr /* Xdmcp.h:83:11 */ 6313 6314 type _ARRAY16 = struct { 6315 Flength CARD8 6316 F__ccgo_pad1 [7]byte 6317 Fdata CARD16Ptr 6318 } /* Xdmcp.h:85:9 */ 6319 6320 type ARRAY16 = _ARRAY16 /* Xdmcp.h:88:3 */ 6321 type ARRAY16Ptr = uintptr /* Xdmcp.h:88:12 */ 6322 6323 type _ARRAY32 = struct { 6324 Flength CARD8 6325 F__ccgo_pad1 [7]byte 6326 Fdata CARD32Ptr 6327 } /* Xdmcp.h:90:9 */ 6328 6329 type ARRAY32 = _ARRAY32 /* Xdmcp.h:93:3 */ 6330 type ARRAY32Ptr = uintptr /* Xdmcp.h:93:12 */ 6331 6332 type _ARRAYofARRAY8 = struct { 6333 Flength CARD8 6334 F__ccgo_pad1 [7]byte 6335 Fdata ARRAY8Ptr 6336 } /* Xdmcp.h:95:9 */ 6337 6338 type ARRAYofARRAY8 = _ARRAYofARRAY8 /* Xdmcp.h:98:3 */ 6339 type ARRAYofARRAY8Ptr = uintptr /* Xdmcp.h:98:18 */ 6340 6341 type _XdmcpHeader = struct { 6342 Fversion CARD16 6343 Fopcode CARD16 6344 Flength CARD16 6345 } /* Xdmcp.h:100:9 */ 6346 6347 type XdmcpHeader = _XdmcpHeader /* Xdmcp.h:102:3 */ 6348 type XdmcpHeaderPtr = uintptr /* Xdmcp.h:102:16 */ 6349 6350 type _XdmcpBuffer = struct { 6351 Fdata uintptr 6352 Fsize int32 6353 Fpointer int32 6354 Fcount int32 6355 F__ccgo_pad1 [4]byte 6356 } /* Xdmcp.h:104:9 */ 6357 6358 type XdmcpBuffer = _XdmcpBuffer /* Xdmcp.h:109:3 */ 6359 type XdmcpBufferPtr = uintptr /* Xdmcp.h:109:16 */ 6360 6361 type _XdmAuthKey = struct{ Fdata [8]BYTE } /* Xdmcp.h:111:9 */ 6362 6363 type XdmAuthKeyRec = _XdmAuthKey /* Xdmcp.h:113:3 */ 6364 type XdmAuthKeyPtr = uintptr /* Xdmcp.h:113:18 */ 6365 6366 // implementation-independent network address structure. 6367 // Equiv to sockaddr* for sockets. 6368 6369 type XdmcpNetaddr = uintptr /* Xdmcp.h:119:14 */ 6370 6371 // 7.8.2.2 6372 type imaxdiv_t = struct { 6373 Fquot intmax_t 6374 Frem intmax_t 6375 } /* inttypes.h:242:3 */ 6376 6377 // Poison the following routines if -fshort-wchar is set 6378 6379 // 6380 // No need to #undef the __*_{8,64}_LENGTH_MODIFIER__ macros; 6381 // in fact, you can't #undef them, because later uses of any of 6382 // their dependents will *not* then do the intended substitution. 6383 // Expansion of a #define like this one: 6384 // 6385 // #define x IDENT y 6386 // 6387 // uses the cpp value of IDENT at the location where x is *expanded*, 6388 // not where it is #defined. 6389 6390 // Test what happens if you try to allocate an array with too many entries 6391 6392 func TestAllocOversizeArrays(tls *libc.TLS) { /* Array.c:49:1: */ 6393 bp := tls.Alloc(384) 6394 defer tls.Free(384) 6395 6396 { 6397 *(*ARRAY8)(unsafe.Pointer(bp + 256 /* newArray */)) = ARRAY8{Flength: libc.Uint16FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6398 var result int32 6399 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp, ts+30 /* "ARRAY8" */, (65535+1))) 6400 result = xdmcp.XXdmcpAllocARRAY8(tls, bp+256 /* &newArray */, (65535 + 1)) 6401 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6402 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+45 /* "result == 0" */) 6403 } else { 6404 } 6405 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY8)(unsafe.Pointer(bp+256 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6406 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+57 /* "newArray.length ..." */) 6407 } else { 6408 } 6409 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY8)(unsafe.Pointer(bp+256 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6410 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+78 /* "newArray.data ==..." */) 6411 } else { 6412 } 6413 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+16, ts+30 /* "ARRAY8" */, (65535+1))) 6414 result = xdmcp.XXdmcpReallocARRAY8(tls, bp+256 /* &newArray */, (65535 + 1)) 6415 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6416 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+45 /* "result == 0" */) 6417 } else { 6418 } 6419 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY8)(unsafe.Pointer(bp+256 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6420 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+57 /* "newArray.length ..." */) 6421 } else { 6422 } 6423 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY8)(unsafe.Pointer(bp+256 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6424 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 51, ts+78 /* "newArray.data ==..." */) 6425 } else { 6426 } 6427 xdmcp.XXdmcpDisposeARRAY8(tls, bp+256 /* &newArray */) 6428 } 6429 6430 { 6431 *(*ARRAY16)(unsafe.Pointer(bp + 272 /* newArray */)) = ARRAY16{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6432 var result int32 6433 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+32, ts+139 /* "ARRAY16" */, (255+1))) 6434 result = xdmcp.XXdmcpAllocARRAY16(tls, bp+272 /* &newArray */, (255 + 1)) 6435 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6436 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+45 /* "result == 0" */) 6437 } else { 6438 } 6439 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY16)(unsafe.Pointer(bp+272 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6440 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+57 /* "newArray.length ..." */) 6441 } else { 6442 } 6443 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY16)(unsafe.Pointer(bp+272 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6444 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+78 /* "newArray.data ==..." */) 6445 } else { 6446 } 6447 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+48, ts+139 /* "ARRAY16" */, (255+1))) 6448 result = xdmcp.XXdmcpReallocARRAY16(tls, bp+272 /* &newArray */, (255 + 1)) 6449 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6450 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+45 /* "result == 0" */) 6451 } else { 6452 } 6453 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY16)(unsafe.Pointer(bp+272 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6454 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+57 /* "newArray.length ..." */) 6455 } else { 6456 } 6457 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY16)(unsafe.Pointer(bp+272 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6458 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 52, ts+78 /* "newArray.data ==..." */) 6459 } else { 6460 } 6461 xdmcp.XXdmcpDisposeARRAY16(tls, bp+272 /* &newArray */) 6462 } 6463 6464 { 6465 *(*ARRAY32)(unsafe.Pointer(bp + 288 /* newArray */)) = ARRAY32{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6466 var result int32 6467 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+64, ts+147 /* "ARRAY32" */, (255+1))) 6468 result = xdmcp.XXdmcpAllocARRAY32(tls, bp+288 /* &newArray */, (255 + 1)) 6469 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6470 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+45 /* "result == 0" */) 6471 } else { 6472 } 6473 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY32)(unsafe.Pointer(bp+288 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6474 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+57 /* "newArray.length ..." */) 6475 } else { 6476 } 6477 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY32)(unsafe.Pointer(bp+288 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6478 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+78 /* "newArray.data ==..." */) 6479 } else { 6480 } 6481 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+80, ts+147 /* "ARRAY32" */, (255+1))) 6482 result = xdmcp.XXdmcpReallocARRAY32(tls, bp+288 /* &newArray */, (255 + 1)) 6483 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6484 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+45 /* "result == 0" */) 6485 } else { 6486 } 6487 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY32)(unsafe.Pointer(bp+288 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6488 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+57 /* "newArray.length ..." */) 6489 } else { 6490 } 6491 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY32)(unsafe.Pointer(bp+288 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6492 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 53, ts+78 /* "newArray.data ==..." */) 6493 } else { 6494 } 6495 xdmcp.XXdmcpDisposeARRAY32(tls, bp+288 /* &newArray */) 6496 } 6497 6498 { 6499 *(*ARRAYofARRAY8)(unsafe.Pointer(bp + 304 /* newArray */)) = ARRAYofARRAY8{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6500 var result int32 6501 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+96, ts+155 /* "ARRAYofARRAY8" */, (255+1))) 6502 result = xdmcp.XXdmcpAllocARRAYofARRAY8(tls, bp+304 /* &newArray */, (255 + 1)) 6503 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6504 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+45 /* "result == 0" */) 6505 } else { 6506 } 6507 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp+304 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6508 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+57 /* "newArray.length ..." */) 6509 } else { 6510 } 6511 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAYofARRAY8)(unsafe.Pointer(bp+304 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6512 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+78 /* "newArray.data ==..." */) 6513 } else { 6514 } 6515 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+112, ts+155 /* "ARRAYofARRAY8" */, (255+1))) 6516 result = xdmcp.XXdmcpReallocARRAYofARRAY8(tls, bp+304 /* &newArray */, (255 + 1)) 6517 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6518 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+45 /* "result == 0" */) 6519 } else { 6520 } 6521 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp+304 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6522 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+57 /* "newArray.length ..." */) 6523 } else { 6524 } 6525 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAYofARRAY8)(unsafe.Pointer(bp+304 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6526 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 54, ts+78 /* "newArray.data ==..." */) 6527 } else { 6528 } 6529 xdmcp.XXdmcpDisposeARRAYofARRAY8(tls, bp+304 /* &newArray */) 6530 } 6531 6532 { 6533 *(*ARRAY8)(unsafe.Pointer(bp + 320 /* newArray */)) = ARRAY8{Flength: libc.Uint16FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6534 var result int32 6535 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+128, ts+30 /* "ARRAY8" */, -1)) 6536 result = xdmcp.XXdmcpAllocARRAY8(tls, bp+320 /* &newArray */, -1) 6537 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6538 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+45 /* "result == 0" */) 6539 } else { 6540 } 6541 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY8)(unsafe.Pointer(bp+320 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6542 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+57 /* "newArray.length ..." */) 6543 } else { 6544 } 6545 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY8)(unsafe.Pointer(bp+320 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6546 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+78 /* "newArray.data ==..." */) 6547 } else { 6548 } 6549 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+144, ts+30 /* "ARRAY8" */, -1)) 6550 result = xdmcp.XXdmcpReallocARRAY8(tls, bp+320 /* &newArray */, -1) 6551 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6552 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+45 /* "result == 0" */) 6553 } else { 6554 } 6555 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY8)(unsafe.Pointer(bp+320 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6556 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+57 /* "newArray.length ..." */) 6557 } else { 6558 } 6559 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY8)(unsafe.Pointer(bp+320 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6560 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 55, ts+78 /* "newArray.data ==..." */) 6561 } else { 6562 } 6563 xdmcp.XXdmcpDisposeARRAY8(tls, bp+320 /* &newArray */) 6564 } 6565 6566 { 6567 *(*ARRAY16)(unsafe.Pointer(bp + 336 /* newArray */)) = ARRAY16{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6568 var result int32 6569 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+160, ts+139 /* "ARRAY16" */, -1)) 6570 result = xdmcp.XXdmcpAllocARRAY16(tls, bp+336 /* &newArray */, -1) 6571 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6572 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+45 /* "result == 0" */) 6573 } else { 6574 } 6575 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY16)(unsafe.Pointer(bp+336 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6576 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+57 /* "newArray.length ..." */) 6577 } else { 6578 } 6579 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY16)(unsafe.Pointer(bp+336 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6580 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+78 /* "newArray.data ==..." */) 6581 } else { 6582 } 6583 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+176, ts+139 /* "ARRAY16" */, -1)) 6584 result = xdmcp.XXdmcpReallocARRAY16(tls, bp+336 /* &newArray */, -1) 6585 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6586 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+45 /* "result == 0" */) 6587 } else { 6588 } 6589 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY16)(unsafe.Pointer(bp+336 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6590 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+57 /* "newArray.length ..." */) 6591 } else { 6592 } 6593 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY16)(unsafe.Pointer(bp+336 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6594 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 56, ts+78 /* "newArray.data ==..." */) 6595 } else { 6596 } 6597 xdmcp.XXdmcpDisposeARRAY16(tls, bp+336 /* &newArray */) 6598 } 6599 6600 { 6601 *(*ARRAY32)(unsafe.Pointer(bp + 352 /* newArray */)) = ARRAY32{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6602 var result int32 6603 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+192, ts+147 /* "ARRAY32" */, -1)) 6604 result = xdmcp.XXdmcpAllocARRAY32(tls, bp+352 /* &newArray */, -1) 6605 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6606 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+45 /* "result == 0" */) 6607 } else { 6608 } 6609 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY32)(unsafe.Pointer(bp+352 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6610 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+57 /* "newArray.length ..." */) 6611 } else { 6612 } 6613 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY32)(unsafe.Pointer(bp+352 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6614 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+78 /* "newArray.data ==..." */) 6615 } else { 6616 } 6617 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+208, ts+147 /* "ARRAY32" */, -1)) 6618 result = xdmcp.XXdmcpReallocARRAY32(tls, bp+352 /* &newArray */, -1) 6619 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6620 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+45 /* "result == 0" */) 6621 } else { 6622 } 6623 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAY32)(unsafe.Pointer(bp+352 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6624 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+57 /* "newArray.length ..." */) 6625 } else { 6626 } 6627 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAY32)(unsafe.Pointer(bp+352 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6628 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 57, ts+78 /* "newArray.data ==..." */) 6629 } else { 6630 } 6631 xdmcp.XXdmcpDisposeARRAY32(tls, bp+352 /* &newArray */) 6632 } 6633 6634 { 6635 *(*ARRAYofARRAY8)(unsafe.Pointer(bp + 368 /* newArray */)) = ARRAYofARRAY8{Flength: libc.Uint8FromInt32(-1), Fdata: libc.UintptrFromInt32(-1)} 6636 var result int32 6637 libc.Xprintf(tls, ts /* "Checking XdmcpAl..." */, libc.VaList(bp+224, ts+155 /* "ARRAYofARRAY8" */, -1)) 6638 result = xdmcp.XXdmcpAllocARRAYofARRAY8(tls, bp+368 /* &newArray */, -1) 6639 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6640 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+45 /* "result == 0" */) 6641 } else { 6642 } 6643 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp+368 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6644 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+57 /* "newArray.length ..." */) 6645 } else { 6646 } 6647 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAYofARRAY8)(unsafe.Pointer(bp+368 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6648 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+78 /* "newArray.data ==..." */) 6649 } else { 6650 } 6651 libc.Xprintf(tls, ts+107 /* "Checking XdmcpRe..." */, libc.VaList(bp+240, ts+155 /* "ARRAYofARRAY8" */, -1)) 6652 result = xdmcp.XXdmcpReallocARRAYofARRAY8(tls, bp+368 /* &newArray */, -1) 6653 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 0)), int64(0)) != 0 { 6654 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+45 /* "result == 0" */) 6655 } else { 6656 } 6657 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp+368 /* &newArray */)).Flength) == 0)), int64(0)) != 0 { 6658 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+57 /* "newArray.length ..." */) 6659 } else { 6660 } 6661 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*ARRAYofARRAY8)(unsafe.Pointer(bp+368 /* &newArray */)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6662 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__)), ts+37 /* "Array.c" */, 58, ts+78 /* "newArray.data ==..." */) 6663 } else { 6664 } 6665 xdmcp.XXdmcpDisposeARRAYofARRAY8(tls, bp+368 /* &newArray */) 6666 } 6667 6668 } 6669 6670 var __func__ = *(*[24]int8)(unsafe.Pointer(ts + 169 /* "TestAllocOversiz..." */)) /* Array.c:50:1 */ 6671 6672 func TestZeroFillARRAYofARRAY8(tls *libc.TLS) { /* Array.c:62:1: */ 6673 bp := tls.Alloc(16) 6674 defer tls.Free(16) 6675 6676 // var aa ARRAYofARRAY8 at bp, 16 6677 6678 var result int32 6679 var noise uintptr 6680 6681 libc.Xprintf(tls, ts+193 /* "Checking XdmcpAl..." */, 0) 6682 // prefill memory with junk - hopefully next malloc will pick up some 6683 noise = libc.Xmalloc(tls, (uint64(32) * uint64(unsafe.Sizeof(ARRAY8{})))) 6684 libc.X__builtin___memset_chk(tls, noise, libc.Int32FromUint32(0xdeadbeef), (uint64(32) * uint64(unsafe.Sizeof(ARRAY8{}))), libc.X__builtin_object_size(tls, noise, 0)) 6685 libc.Xfree(tls, noise) 6686 result = xdmcp.XXdmcpAllocARRAYofARRAY8(tls, bp /* &aa */, 32) 6687 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 1)), int64(0)) != 0 { 6688 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 74, ts+247 /* "result == 1" */) 6689 } else { 6690 } 6691 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp /* &aa */)).Flength) == 32)), int64(0)) != 0 { 6692 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 75, ts+259 /* "aa.length == 32" */) 6693 } else { 6694 } 6695 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*_ARRAY8)(unsafe.Pointer((*ARRAYofARRAY8)(unsafe.Pointer(bp /* &aa */)).Fdata+4*16)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6696 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 76, ts+275 /* "aa.data[4].data ..." */) 6697 } else { 6698 } 6699 libc.Xprintf(tls, ts+306 /* "Checking XdmcpRe..." */, 0) 6700 result = xdmcp.XXdmcpAllocARRAYofARRAY8(tls, bp /* &aa */, 48) 6701 if libc.X__builtin_expect(tls, libc.BoolInt64(!(result == 1)), int64(0)) != 0 { 6702 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 79, ts+247 /* "result == 1" */) 6703 } else { 6704 } 6705 if libc.X__builtin_expect(tls, libc.BoolInt64(!(int32((*ARRAYofARRAY8)(unsafe.Pointer(bp /* &aa */)).Flength) == 48)), int64(0)) != 0 { 6706 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 80, ts+362 /* "aa.length == 48" */) 6707 } else { 6708 } 6709 if libc.X__builtin_expect(tls, libc.BoolInt64(!((*_ARRAY8)(unsafe.Pointer((*ARRAYofARRAY8)(unsafe.Pointer(bp /* &aa */)).Fdata+40*16)).Fdata == (uintptr(0)))), int64(0)) != 0 { 6710 libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__1)), ts+37 /* "Array.c" */, 81, ts+378 /* "aa.data[40].data..." */) 6711 } else { 6712 } 6713 xdmcp.XXdmcpDisposeARRAYofARRAY8(tls, bp /* &aa */) 6714 } 6715 6716 var __func__1 = *(*[26]int8)(unsafe.Pointer(ts + 410 /* "TestZeroFillARRA..." */)) /* Array.c:63:1 */ 6717 6718 func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* Array.c:86:1: */ 6719 TestAllocOversizeArrays(tls) 6720 TestZeroFillARRAYofARRAY8(tls) 6721 6722 libc.Xexit(tls, 0) 6723 return int32(0) 6724 } 6725 6726 var ts1 = "Checking XdmcpAlloc%s(%d)...\n\x00ARRAY8\x00Array.c\x00result == 0\x00newArray.length == 0\x00newArray.data == ((void *)0)\x00Checking XdmcpRealloc%s(%d)...\n\x00ARRAY16\x00ARRAY32\x00ARRAYofARRAY8\x00TestAllocOversizeArrays\x00Checking XdmcpAllocARRAYofARRAY8 zero fills array...\n\x00result == 1\x00aa.length == 32\x00aa.data[4].data == ((void *)0)\x00Checking XdmcpReallocARRAYofARRAY8 zero fills array...\n\x00aa.length == 48\x00aa.data[40].data == ((void *)0)\x00TestZeroFillARRAYofARRAY8\x00" 6727 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data