mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 14:16:39 +00:00
145 lines
5.5 KiB
Go
145 lines
5.5 KiB
Go
|
// 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 -o utime/utime_netbsd_amd64.go -pkgname utime', DO NOT EDIT.
|
||
|
|
||
|
package utime
|
||
|
|
||
|
import (
|
||
|
"math"
|
||
|
"reflect"
|
||
|
"sync/atomic"
|
||
|
"unsafe"
|
||
|
)
|
||
|
|
||
|
var _ = math.Pi
|
||
|
var _ reflect.Kind
|
||
|
var _ atomic.Value
|
||
|
var _ unsafe.Pointer
|
||
|
|
||
|
const (
|
||
|
X_AMD64_INT_TYPES_H_ = 0
|
||
|
X_FILE_OFFSET_BITS = 64
|
||
|
X_LP64 = 1
|
||
|
X_SYS_CDEFS_ELF_H_ = 0
|
||
|
X_SYS_CDEFS_H_ = 0
|
||
|
X_SYS_COMMON_ANSI_H_ = 0
|
||
|
X_SYS_COMMON_INT_TYPES_H_ = 0
|
||
|
X_UTIME_H_ = 0
|
||
|
X_X86_64_CDEFS_H_ = 0
|
||
|
)
|
||
|
|
||
|
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||
|
|
||
|
type Size_t = uint64 /* <builtin>:9:23 */
|
||
|
|
||
|
type Wchar_t = int32 /* <builtin>:15:24 */
|
||
|
|
||
|
type X__int128_t = struct {
|
||
|
Flo int64
|
||
|
Fhi int64
|
||
|
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||
|
type X__uint128_t = struct {
|
||
|
Flo uint64
|
||
|
Fhi uint64
|
||
|
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||
|
|
||
|
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||
|
type X__float128 = float64 /* <builtin>:47:21 */
|
||
|
|
||
|
// return true if value 'a' fits in type 't'
|
||
|
|
||
|
// $NetBSD: int_types.h,v 1.7 2014/07/25 21:43:13 joerg Exp $
|
||
|
|
||
|
// -
|
||
|
// Copyright (c) 1990 The Regents of the University of California.
|
||
|
// All rights reserved.
|
||
|
//
|
||
|
// Redistribution and use in source and binary forms, with or without
|
||
|
// modification, are permitted provided that the following conditions
|
||
|
// are met:
|
||
|
// 1. Redistributions of source code must retain the above copyright
|
||
|
// notice, this list of conditions and the following disclaimer.
|
||
|
// 2. Redistributions in binary form must reproduce the above copyright
|
||
|
// notice, this list of conditions and the following disclaimer in the
|
||
|
// documentation and/or other materials provided with the distribution.
|
||
|
// 3. Neither the name of the University nor the names of its contributors
|
||
|
// may be used to endorse or promote products derived from this software
|
||
|
// without specific prior written permission.
|
||
|
//
|
||
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
|
// SUCH DAMAGE.
|
||
|
//
|
||
|
// from: @(#)types.h 7.5 (Berkeley) 3/9/91
|
||
|
|
||
|
// $NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
|
||
|
|
||
|
// -
|
||
|
// Copyright (c) 2014 The NetBSD Foundation, Inc.
|
||
|
// All rights reserved.
|
||
|
//
|
||
|
// This code is derived from software contributed to The NetBSD Foundation
|
||
|
// by Joerg Sonnenberger.
|
||
|
//
|
||
|
// Redistribution and use in source and binary forms, with or without
|
||
|
// modification, are permitted provided that the following conditions
|
||
|
// are met:
|
||
|
// 1. Redistributions of source code must retain the above copyright
|
||
|
// notice, this list of conditions and the following disclaimer.
|
||
|
// 2. Redistributions in binary form must reproduce the above copyright
|
||
|
// notice, this list of conditions and the following disclaimer in the
|
||
|
// documentation and/or other materials provided with the distribution.
|
||
|
//
|
||
|
// THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||
|
// ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||
|
// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||
|
// BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||
|
// POSSIBILITY OF SUCH DAMAGE.
|
||
|
|
||
|
// 7.18.1 Integer types
|
||
|
|
||
|
// 7.18.1.1 Exact-width integer types
|
||
|
|
||
|
type X__int8_t = int8 /* common_int_types.h:45:27 */
|
||
|
type X__uint8_t = uint8 /* common_int_types.h:46:27 */
|
||
|
type X__int16_t = int16 /* common_int_types.h:47:27 */
|
||
|
type X__uint16_t = uint16 /* common_int_types.h:48:27 */
|
||
|
type X__int32_t = int32 /* common_int_types.h:49:27 */
|
||
|
type X__uint32_t = uint32 /* common_int_types.h:50:27 */
|
||
|
type X__int64_t = int64 /* common_int_types.h:51:27 */
|
||
|
type X__uint64_t = uint64 /* common_int_types.h:52:27 */
|
||
|
|
||
|
// 7.18.1.4 Integer types capable of holding object pointers
|
||
|
|
||
|
type X__intptr_t = int64 /* common_int_types.h:58:27 */
|
||
|
type X__uintptr_t = uint64 /* common_int_types.h:59:26 */
|
||
|
|
||
|
// Types which are fundamental to the implementation and may appear in
|
||
|
// more than one standard header are defined here. Standard headers
|
||
|
// then use:
|
||
|
// #ifdef _BSD_SIZE_T_
|
||
|
// typedef _BSD_SIZE_T_ size_t;
|
||
|
// #undef _BSD_SIZE_T_
|
||
|
// #endif
|
||
|
|
||
|
type Time_t = X__int64_t /* utime.h:40:22 */
|
||
|
|
||
|
type Utimbuf = struct {
|
||
|
Factime Time_t
|
||
|
Fmodtime Time_t
|
||
|
} /* utime.h:44:1 */
|
||
|
|
||
|
var _ int8 /* gen.c:2:13: */
|