utime_netbsd_amd64.go 5.7 KB

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