utime_netbsd_amd64.go (5826B)
1 // Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_netbsd_amd64.go -pkgname utime', DO NOT EDIT. 2 3 package utime 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1: 19 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 20 X_LP64 = 1 // <predefined>:268:1: 21 X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1: 22 X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1: 23 X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1: 24 X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1: 25 X_UTIME_H_ = 0 // utime.h:35:1: 26 X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1: 27 ) 28 29 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 30 31 type Size_t = uint64 /* <builtin>:9:23 */ 32 33 type Wchar_t = int32 /* <builtin>:15:24 */ 34 35 type X__int128_t = struct { 36 Flo int64 37 Fhi int64 38 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 39 type X__uint128_t = struct { 40 Flo uint64 41 Fhi uint64 42 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 43 44 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 45 type X__float128 = float64 /* <builtin>:47:21 */ 46 47 // return true if value 'a' fits in type 't' 48 49 // $NetBSD: int_types.h,v 1.7 2014/07/25 21:43:13 joerg Exp $ 50 51 // - 52 // Copyright (c) 1990 The Regents of the University of California. 53 // All rights reserved. 54 // 55 // Redistribution and use in source and binary forms, with or without 56 // modification, are permitted provided that the following conditions 57 // are met: 58 // 1. Redistributions of source code must retain the above copyright 59 // notice, this list of conditions and the following disclaimer. 60 // 2. Redistributions in binary form must reproduce the above copyright 61 // notice, this list of conditions and the following disclaimer in the 62 // documentation and/or other materials provided with the distribution. 63 // 3. Neither the name of the University nor the names of its contributors 64 // may be used to endorse or promote products derived from this software 65 // without specific prior written permission. 66 // 67 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 68 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 69 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 70 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 71 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 72 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 73 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 74 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 75 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 76 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 77 // SUCH DAMAGE. 78 // 79 // from: @(#)types.h 7.5 (Berkeley) 3/9/91 80 81 // $NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $ 82 83 // - 84 // Copyright (c) 2014 The NetBSD Foundation, Inc. 85 // All rights reserved. 86 // 87 // This code is derived from software contributed to The NetBSD Foundation 88 // by Joerg Sonnenberger. 89 // 90 // Redistribution and use in source and binary forms, with or without 91 // modification, are permitted provided that the following conditions 92 // are met: 93 // 1. Redistributions of source code must retain the above copyright 94 // notice, this list of conditions and the following disclaimer. 95 // 2. Redistributions in binary form must reproduce the above copyright 96 // notice, this list of conditions and the following disclaimer in the 97 // documentation and/or other materials provided with the distribution. 98 // 99 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 100 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 101 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 102 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 103 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 104 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 105 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 106 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 107 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 108 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 109 // POSSIBILITY OF SUCH DAMAGE. 110 111 // 7.18.1 Integer types 112 113 // 7.18.1.1 Exact-width integer types 114 115 type X__int8_t = int8 /* common_int_types.h:45:27 */ 116 type X__uint8_t = uint8 /* common_int_types.h:46:27 */ 117 type X__int16_t = int16 /* common_int_types.h:47:27 */ 118 type X__uint16_t = uint16 /* common_int_types.h:48:27 */ 119 type X__int32_t = int32 /* common_int_types.h:49:27 */ 120 type X__uint32_t = uint32 /* common_int_types.h:50:27 */ 121 type X__int64_t = int64 /* common_int_types.h:51:27 */ 122 type X__uint64_t = uint64 /* common_int_types.h:52:27 */ 123 124 // 7.18.1.4 Integer types capable of holding object pointers 125 126 type X__intptr_t = int64 /* common_int_types.h:58:27 */ 127 type X__uintptr_t = uint64 /* common_int_types.h:59:26 */ 128 129 // Types which are fundamental to the implementation and may appear in 130 // more than one standard header are defined here. Standard headers 131 // then use: 132 // #ifdef _BSD_SIZE_T_ 133 // typedef _BSD_SIZE_T_ size_t; 134 // #undef _BSD_SIZE_T_ 135 // #endif 136 137 type Time_t = X__int64_t /* utime.h:40:22 */ 138 139 type Utimbuf = struct { 140 Factime Time_t 141 Fmodtime Time_t 142 } /* utime.h:44:1 */ 143 144 var _ int8 /* gen.c:2:13: */