utime_windows_arm64.go 12 KB

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