github.com/afumu/libc@v0.0.6/utime/utime_netbsd_arm.go (about)

     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_arm.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_ARM_ARCH_4T             = 0  // cdefs.h:44:1:
    19  	X_ARM_ARCH_5              = 0  // cdefs.h:40:1:
    20  	X_ARM_ARCH_5T             = 0  // cdefs.h:36:1:
    21  	X_ARM_ARCH_6              = 0  // cdefs.h:31:1:
    22  	X_ARM_ARCH_7              = 0  // cdefs.h:20:1:
    23  	X_ARM_ARCH_DWORD_OK       = 0  // cdefs.h:51:1:
    24  	X_ARM_ARCH_T2             = 0  // cdefs.h:24:1:
    25  	X_ARM_CDEFS_H_            = 0  // cdefs.h:4:1:
    26  	X_ARM_INT_TYPES_H_        = 0  // int_types.h:33:1:
    27  	X_FILE_OFFSET_BITS        = 64 // <builtin>:25:1:
    28  	X_SYS_CDEFS_ELF_H_        = 0  // cdefs_elf.h:31:1:
    29  	X_SYS_CDEFS_H_            = 0  // cdefs.h:37:1:
    30  	X_SYS_COMMON_ANSI_H_      = 0  // common_ansi.h:33:1:
    31  	X_SYS_COMMON_INT_TYPES_H_ = 0  // common_int_types.h:33:1:
    32  	X_UTIME_H_                = 0  // utime.h:35:1:
    33  )
    34  
    35  type Ptrdiff_t = int32 /* <builtin>:3:26 */
    36  
    37  type Size_t = uint32 /* <builtin>:9:23 */
    38  
    39  type Wchar_t = int32 /* <builtin>:15:24 */
    40  
    41  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    42  type X__float128 = float64        /* <builtin>:47:21 */
    43  
    44  // return true if value 'a' fits in type 't'
    45  
    46  //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
    47  
    48  // -
    49  // Copyright (c) 2014 The NetBSD Foundation, Inc.
    50  // All rights reserved.
    51  //
    52  // This code is derived from software contributed to The NetBSD Foundation
    53  // by Matt Thomas of 3am Software Foundry.
    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  //
    64  // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    65  // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    66  // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    67  // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    68  // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    69  // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    70  // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    71  // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    72  // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    73  // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    74  // POSSIBILITY OF SUCH DAMAGE.
    75  
    76  //	$NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
    77  
    78  // -
    79  // Copyright (c) 2014 The NetBSD Foundation, Inc.
    80  // All rights reserved.
    81  //
    82  // This code is derived from software contributed to The NetBSD Foundation
    83  // by Joerg Sonnenberger.
    84  //
    85  // Redistribution and use in source and binary forms, with or without
    86  // modification, are permitted provided that the following conditions
    87  // are met:
    88  // 1. Redistributions of source code must retain the above copyright
    89  //    notice, this list of conditions and the following disclaimer.
    90  // 2. Redistributions in binary form must reproduce the above copyright
    91  //    notice, this list of conditions and the following disclaimer in the
    92  //    documentation and/or other materials provided with the distribution.
    93  //
    94  // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    95  // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    96  // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    97  // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    98  // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    99  // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   100  // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   101  // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   102  // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   103  // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   104  // POSSIBILITY OF SUCH DAMAGE.
   105  
   106  // 7.18.1 Integer types
   107  
   108  // 7.18.1.1 Exact-width integer types
   109  
   110  type X__int8_t = int8     /* common_int_types.h:45:27 */
   111  type X__uint8_t = uint8   /* common_int_types.h:46:27 */
   112  type X__int16_t = int16   /* common_int_types.h:47:27 */
   113  type X__uint16_t = uint16 /* common_int_types.h:48:27 */
   114  type X__int32_t = int32   /* common_int_types.h:49:27 */
   115  type X__uint32_t = uint32 /* common_int_types.h:50:27 */
   116  type X__int64_t = int64   /* common_int_types.h:51:27 */
   117  type X__uint64_t = uint64 /* common_int_types.h:52:27 */
   118  
   119  // 7.18.1.4 Integer types capable of holding object pointers
   120  
   121  type X__intptr_t = int32   /* common_int_types.h:58:27 */
   122  type X__uintptr_t = uint32 /* common_int_types.h:59:26 */
   123  
   124  // Types which are fundamental to the implementation and may appear in
   125  // more than one standard header are defined here.  Standard headers
   126  // then use:
   127  //	#ifdef	_BSD_SIZE_T_
   128  //	typedef	_BSD_SIZE_T_ size_t;
   129  //	#undef	_BSD_SIZE_T_
   130  //	#endif
   131  
   132  type Time_t = X__int64_t /* utime.h:40:22 */
   133  
   134  type Utimbuf = struct {
   135  	Factime  Time_t
   136  	Fmodtime Time_t
   137  } /* utime.h:44:1 */
   138  
   139  var _ uint8 /* gen.c:2:13: */