utime_windows_amd64.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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 -o utime\utime_windows_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. DUMMYSTRUCTNAME = 0
  15. DUMMYSTRUCTNAME1 = 0
  16. DUMMYSTRUCTNAME2 = 0
  17. DUMMYSTRUCTNAME3 = 0
  18. DUMMYSTRUCTNAME4 = 0
  19. DUMMYSTRUCTNAME5 = 0
  20. DUMMYUNIONNAME = 0
  21. DUMMYUNIONNAME1 = 0
  22. DUMMYUNIONNAME2 = 0
  23. DUMMYUNIONNAME3 = 0
  24. DUMMYUNIONNAME4 = 0
  25. DUMMYUNIONNAME5 = 0
  26. DUMMYUNIONNAME6 = 0
  27. DUMMYUNIONNAME7 = 0
  28. DUMMYUNIONNAME8 = 0
  29. DUMMYUNIONNAME9 = 0
  30. MINGW_DDK_H = 0
  31. MINGW_DDRAW_VERSION = 7
  32. MINGW_HAS_DDK_H = 1
  33. MINGW_HAS_DDRAW_H = 1
  34. MINGW_HAS_SECURE_API = 1
  35. MINGW_SDK_INIT = 0
  36. UNALIGNED = 0
  37. USE___UUIDOF = 0
  38. WIN32 = 1
  39. WIN64 = 1
  40. WINNT = 1
  41. X_AGLOBAL = 0
  42. X_ANONYMOUS_STRUCT = 0
  43. X_ANONYMOUS_UNION = 0
  44. X_ARGMAX = 100
  45. X_CONST_RETURN = 0
  46. X_CRTNOALIAS = 0
  47. X_CRTRESTRICT = 0
  48. X_CRT_ALTERNATIVE_IMPORTED = 0
  49. X_CRT_MANAGED_HEAP_DEPRECATE = 0
  50. X_CRT_PACKING = 8
  51. X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
  52. X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
  53. X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
  54. X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
  55. X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
  56. X_DLL = 0
  57. X_ERRCODE_DEFINED = 0
  58. X_FILE_OFFSET_BITS = 64
  59. X_INC_CRTDEFS = 0
  60. X_INC_CRTDEFS_MACRO = 0
  61. X_INC_MINGW_SECAPI = 0
  62. X_INC_UTIME = 0
  63. X_INC_VADEFS = 0
  64. X_INC__MINGW_H = 0
  65. X_INT128_DEFINED = 0
  66. X_INTEGRAL_MAX_BITS = 64
  67. X_INTPTR_T_DEFINED = 0
  68. X_MT = 0
  69. X_M_AMD64 = 100
  70. X_M_X64 = 100
  71. X_PGLOBAL = 0
  72. X_PTRDIFF_T_ = 0
  73. X_PTRDIFF_T_DEFINED = 0
  74. X_REENTRANT = 1
  75. X_RSIZE_T_DEFINED = 0
  76. X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
  77. X_SIZE_T_DEFINED = 0
  78. X_SSIZE_T_DEFINED = 0
  79. X_TAGLC_ID_DEFINED = 0
  80. X_THREADLOCALEINFO = 0
  81. X_TIME32_T_DEFINED = 0
  82. X_TIME64_T_DEFINED = 0
  83. X_TIME_T_DEFINED = 0
  84. X_UINTPTR_T_DEFINED = 0
  85. X_UTIMBUF_DEFINED = 0
  86. X_VA_LIST_DEFINED = 0
  87. X_W64 = 0
  88. X_WCHAR_T_DEFINED = 0
  89. X_WCTYPE_T_DEFINED = 0
  90. X_WIN32 = 1
  91. X_WIN32_WINNT = 0x502
  92. X_WIN64 = 1
  93. X_WINT_T = 0
  94. )
  95. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  96. type Size_t = uint64 /* <builtin>:9:23 */
  97. type Wchar_t = uint16 /* <builtin>:15:24 */
  98. type X__int128_t = struct {
  99. Flo int64
  100. Fhi int64
  101. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  102. type X__uint128_t = struct {
  103. Flo uint64
  104. Fhi uint64
  105. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  106. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  107. type X__float128 = float64 /* <builtin>:47:21 */
  108. type Va_list = X__builtin_va_list /* <builtin>:50:27 */
  109. // *
  110. // This file has no copyright assigned and is placed in the Public Domain.
  111. // This file is part of the mingw-w64 runtime package.
  112. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  113. // *
  114. // This file has no copyright assigned and is placed in the Public Domain.
  115. // This file is part of the mingw-w64 runtime package.
  116. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  117. // *
  118. // This file has no copyright assigned and is placed in the Public Domain.
  119. // This file is part of the mingw-w64 runtime package.
  120. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  121. // *
  122. // This file has no copyright assigned and is placed in the Public Domain.
  123. // This file is part of the mingw-w64 runtime package.
  124. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  125. // *
  126. // This file has no copyright assigned and is placed in the Public Domain.
  127. // This file is part of the mingw-w64 runtime package.
  128. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  129. // This macro holds an monotonic increasing value, which indicates
  130. // a specific fix/patch is present on trunk. This value isn't related to
  131. // minor/major version-macros. It is increased on demand, if a big
  132. // fix was applied to trunk. This macro gets just increased on trunk. For
  133. // other branches its value won't be modified.
  134. // mingw.org's version macros: these make gcc to define
  135. // MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
  136. // and the __mingwthr_key_dtor() function from the MinGW
  137. // CRT in its private gthr-win32.h header.
  138. // Set VC specific compiler target macros.
  139. // MS does not prefix symbols by underscores for 64-bit.
  140. // As we have to support older gcc version, which are using underscores
  141. // as symbol prefix for x64, we have to check here for the user label
  142. // prefix defined by gcc.
  143. // Special case nameless struct/union.
  144. // MinGW-w64 has some additional C99 printf/scanf feature support.
  145. // So we add some helper macros to ease recognition of them.
  146. // *
  147. // This file has no copyright assigned and is placed in the Public Domain.
  148. // This file is part of the mingw-w64 runtime package.
  149. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  150. // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
  151. // Templates won't work in C, will break if secure API is not enabled, disabled
  152. // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
  153. // fallback on default implementation if we can't know the size of the destination
  154. // Include _cygwin.h if we're building a Cygwin application.
  155. // Target specific macro replacement for type "long". In the Windows API,
  156. // the type long is always 32 bit, even if the target is 64 bit (LLP64).
  157. // On 64 bit Cygwin, the type long is 64 bit (LP64). So, to get the right
  158. // sized definitions and declarations, all usage of type long in the Windows
  159. // headers have to be replaced by the below defined macro __LONG32.
  160. // C/C++ specific language defines.
  161. // Note the extern. This is needed to work around GCC's
  162. // limitations in handling dllimport attribute.
  163. // Attribute `nonnull' was valid as of gcc 3.3. We don't use GCC's
  164. // variadiac macro facility, because variadic macros cause syntax
  165. // errors with --traditional-cpp.
  166. // High byte is the major version, low byte is the minor.
  167. // *
  168. // This file has no copyright assigned and is placed in the Public Domain.
  169. // This file is part of the mingw-w64 runtime package.
  170. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  171. // *
  172. // This file has no copyright assigned and is placed in the Public Domain.
  173. // This file is part of the mingw-w64 runtime package.
  174. // No warranty is given; refer to the file DISCLAIMER.PD within this package.
  175. type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
  176. type Ssize_t = int64 /* crtdefs.h:45:35 */
  177. type Rsize_t = Size_t /* crtdefs.h:52:16 */
  178. type Intptr_t = int64 /* crtdefs.h:62:35 */
  179. type Uintptr_t = uint64 /* crtdefs.h:75:44 */
  180. type Wint_t = uint16 /* crtdefs.h:106:24 */
  181. type Wctype_t = uint16 /* crtdefs.h:107:24 */
  182. type Errno_t = int32 /* crtdefs.h:113:13 */
  183. type X__time32_t = int32 /* crtdefs.h:118:14 */
  184. type X__time64_t = int64 /* crtdefs.h:123:35 */
  185. type Time_t = X__time64_t /* crtdefs.h:138:20 */
  186. type Threadlocaleinfostruct = struct {
  187. Frefcount int32
  188. Flc_codepage uint32
  189. Flc_collate_cp uint32
  190. Flc_handle [6]uint32
  191. Flc_id [6]LC_ID
  192. Flc_category [6]struct {
  193. Flocale uintptr
  194. Fwlocale uintptr
  195. Frefcount uintptr
  196. Fwrefcount uintptr
  197. }
  198. Flc_clike int32
  199. Fmb_cur_max int32
  200. Flconv_intl_refcount uintptr
  201. Flconv_num_refcount uintptr
  202. Flconv_mon_refcount uintptr
  203. Flconv uintptr
  204. Fctype1_refcount uintptr
  205. Fctype1 uintptr
  206. Fpctype uintptr
  207. Fpclmap uintptr
  208. Fpcumap uintptr
  209. Flc_time_curr uintptr
  210. } /* crtdefs.h:422:1 */
  211. type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
  212. type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
  213. type Localeinfo_struct = struct {
  214. Flocinfo Pthreadlocinfo
  215. Fmbcinfo Pthreadmbcinfo
  216. } /* crtdefs.h:428:9 */
  217. type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
  218. type X_locale_t = uintptr /* crtdefs.h:431:19 */
  219. type TagLC_ID = struct {
  220. FwLanguage uint16
  221. FwCountry uint16
  222. FwCodePage uint16
  223. } /* crtdefs.h:422:1 */
  224. type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
  225. type LPLC_ID = uintptr /* crtdefs.h:439:9 */
  226. type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
  227. type X_utimbuf = struct {
  228. Factime Time_t
  229. Fmodtime Time_t
  230. } /* utime.h:58:3 */
  231. type X__utimbuf32 = struct {
  232. Factime X__time32_t
  233. Fmodtime X__time32_t
  234. } /* utime.h:63:3 */
  235. type X__utimbuf64 = struct {
  236. Factime X__time64_t
  237. Fmodtime X__time64_t
  238. } /* utime.h:68:3 */
  239. type Utimbuf = struct {
  240. Factime Time_t
  241. Fmodtime Time_t
  242. } /* utime.h:74:3 */
  243. type Utimbuf32 = struct {
  244. Factime X__time32_t
  245. Fmodtime X__time32_t
  246. } /* utime.h:79:3 */
  247. var _ int8 /* gen.c:2:13: */