utime_netbsd_arm.go 5.6 KB

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