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