Debian Codegraph @

dirent/dirent_windows_amd64.go

raw symbols SCIP
1 // Code generated by 'ccgo dirent\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 dirent\dirent_windows_amd64.go -pkgname dirent', DO NOT EDIT.
2
3 package dirent
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 F_OK = 0
35 MINGW_DDK_H = 0
36 MINGW_DDRAW_VERSION = 7
37 MINGW_HAS_DDK_H = 1
38 MINGW_HAS_DDRAW_H = 1
39 MINGW_HAS_SECURE_API = 1
40 MINGW_SDK_INIT = 0
41 R_OK = 4
42 UNALIGNED = 0
43 USE___UUIDOF = 0
44 WIN32 = 1
45 WIN64 = 1
46 WINNT = 1
47 W_OK = 2
48 X_OK = 1
49 X_AGLOBAL = 0
50 X_ANONYMOUS_STRUCT = 0
51 X_ANONYMOUS_UNION = 0
52 X_ARGMAX = 100
53 X_A_ARCH = 0x20
54 X_A_HIDDEN = 0x02
55 X_A_NORMAL = 0x00
56 X_A_RDONLY = 0x01
57 X_A_SUBDIR = 0x10
58 X_A_SYSTEM = 0x04
59 X_CONST_RETURN = 0
60 X_CRTNOALIAS = 0
61 X_CRTRESTRICT = 0
62 X_CRT_ALTERNATIVE_IMPORTED = 0
63 X_CRT_DIRECTORY_DEFINED = 0
64 X_CRT_MANAGED_HEAP_DEPRECATE = 0
65 X_CRT_MEMORY_DEFINED = 0
66 X_CRT_PACKING = 8
67 X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
68 X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
69 X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
70 X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
71 X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
72 X_DIRENT_H_ = 0
73 X_DLL = 0
74 X_ERRCODE_DEFINED = 0
75 X_FILE_OFFSET_BITS = 64
76 X_FILE_OFFSET_BITS_SET_LSEEK = 0
77 X_FILE_OFFSET_BITS_SET_OFFT = 0
78 X_FINDDATA_T_DEFINED = 0
79 X_FSIZE_T_DEFINED = 0
80 X_INC_CRTDEFS = 0
81 X_INC_CRTDEFS_MACRO = 0
82 X_INC_MINGW_SECAPI = 0
83 X_INC_STRING = 0
84 X_INC_STRING_S = 0
85 X_INC_VADEFS = 0
86 X_INC__MINGW_H = 0
87 X_INT128_DEFINED = 0
88 X_INTEGRAL_MAX_BITS = 64
89 X_INTPTR_T_DEFINED = 0
90 X_IO_H_ = 0
91 X_MT = 0
92 X_M_AMD64 = 100
93 X_M_X64 = 100
94 X_NLSCMPERROR = 2147483647
95 X_NLSCMP_DEFINED = 0
96 X_OFF64_T_DEFINED = 0
97 X_OFF_T_ = 0
98 X_OFF_T_DEFINED = 0
99 X_PGLOBAL = 0
100 X_PTRDIFF_T_ = 0
101 X_PTRDIFF_T_DEFINED = 0
102 X_REENTRANT = 1
103 X_RSIZE_T_DEFINED = 0
104 X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
105 X_SIZE_T_DEFINED = 0
106 X_SSIZE_T_DEFINED = 0
107 X_TAGLC_ID_DEFINED = 0
108 X_THREADLOCALEINFO = 0
109 X_TIME32_T_DEFINED = 0
110 X_TIME64_T_DEFINED = 0
111 X_TIME_T_DEFINED = 0
112 X_UINTPTR_T_DEFINED = 0
113 X_VA_LIST_DEFINED = 0
114 X_W64 = 0
115 X_WCHAR_T_DEFINED = 0
116 X_WCTYPE_T_DEFINED = 0
117 X_WConst_return = 0
118 X_WFINDDATA_T_DEFINED = 0
119 X_WIN32 = 1
120 X_WIN32_WINNT = 0x502
121 X_WIN64 = 1
122 X_WINT_T = 0
123 X_WIO_DEFINED = 0
124 X_WSTRING_DEFINED = 0
125 X_WSTRING_S_DEFINED = 0
126 )
127
128 type Ptrdiff_t = int64 /* <builtin>:3:26 */
129
130 type Size_t = uint64 /* <builtin>:9:23 */
131
132 type Wchar_t = uint16 /* <builtin>:15:24 */
133
134 type X__int128_t = struct {
135 Flo int64
136 Fhi int64
137 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
138 type X__uint128_t = struct {
139 Flo uint64
140 Fhi uint64
141 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
142
143 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
144 type X__float128 = float64 /* <builtin>:47:21 */
145
146 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
147
148 // DIRENT.H (formerly DIRLIB.H)
149 // This file has no copyright assigned and is placed in the Public Domain.
150 // This file is part of the mingw-runtime package.
151 // No warranty is given; refer to the file DISCLAIMER within the package.
152 //
153
154 // All the headers include this file.
155 // *
156 // This file has no copyright assigned and is placed in the Public Domain.
157 // This file is part of the mingw-w64 runtime package.
158 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
159
160 // *
161 // This file has no copyright assigned and is placed in the Public Domain.
162 // This file is part of the mingw-w64 runtime package.
163 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
164
165 // *
166 // This file has no copyright assigned and is placed in the Public Domain.
167 // This file is part of the mingw-w64 runtime package.
168 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
169
170 // This macro holds an monotonic increasing value, which indicates
171 // a specific fix/patch is present on trunk. This value isn't related to
172 // minor/major version-macros. It is increased on demand, if a big
173 // fix was applied to trunk. This macro gets just increased on trunk. For
174 // other branches its value won't be modified.
175
176 // mingw.org's version macros: these make gcc to define
177 // MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
178 // and the __mingwthr_key_dtor() function from the MinGW
179 // CRT in its private gthr-win32.h header.
180
181 // Set VC specific compiler target macros.
182
183 // MS does not prefix symbols by underscores for 64-bit.
184 // As we have to support older gcc version, which are using underscores
185 // as symbol prefix for x64, we have to check here for the user label
186 // prefix defined by gcc.
187
188 // Special case nameless struct/union.
189
190 // MinGW-w64 has some additional C99 printf/scanf feature support.
191 // So we add some helper macros to ease recognition of them.
192
193 // *
194 // This file has no copyright assigned and is placed in the Public Domain.
195 // This file is part of the mingw-w64 runtime package.
196 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
197
198 // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
199 // Templates won't work in C, will break if secure API is not enabled, disabled
200
201 // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
202 // fallback on default implementation if we can't know the size of the destination
203
204 // Include _cygwin.h if we're building a Cygwin application.
205
206 // Target specific macro replacement for type "long". In the Windows API,
207 // the type long is always 32 bit, even if the target is 64 bit (LLP64).
208 // On 64 bit Cygwin, the type long is 64 bit (LP64). So, to get the right
209 // sized definitions and declarations, all usage of type long in the Windows
210 // headers have to be replaced by the below defined macro __LONG32.
211
212 // C/C++ specific language defines.
213
214 // Note the extern. This is needed to work around GCC's
215 // limitations in handling dllimport attribute.
216
217 // Attribute `nonnull' was valid as of gcc 3.3. We don't use GCC's
218 // variadiac macro facility, because variadic macros cause syntax
219 // errors with --traditional-cpp.
220
221 // High byte is the major version, low byte is the minor.
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 // *
229 // This file has no copyright assigned and is placed in the Public Domain.
230 // This file is part of the mingw-w64 runtime package.
231 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
232
233 type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
234
235 type Ssize_t = int64 /* crtdefs.h:45:35 */
236
237 type Rsize_t = Size_t /* crtdefs.h:52:16 */
238
239 type Intptr_t = int64 /* crtdefs.h:62:35 */
240
241 type Uintptr_t = uint64 /* crtdefs.h:75:44 */
242
243 type Wint_t = uint16 /* crtdefs.h:106:24 */
244 type Wctype_t = uint16 /* crtdefs.h:107:24 */
245
246 type Errno_t = int32 /* crtdefs.h:113:13 */
247
248 type X__time32_t = int32 /* crtdefs.h:118:14 */
249
250 type X__time64_t = int64 /* crtdefs.h:123:35 */
251
252 type Time_t = X__time64_t /* crtdefs.h:138:20 */
253
254 type Threadlocaleinfostruct = struct {
255 Frefcount int32
256 Flc_codepage uint32
257 Flc_collate_cp uint32
258 Flc_handle [6]uint32
259 Flc_id [6]LC_ID
260 Flc_category [6]struct {
261 Flocale uintptr
262 Fwlocale uintptr
263 Frefcount uintptr
264 Fwrefcount uintptr
265 }
266 Flc_clike int32
267 Fmb_cur_max int32
268 Flconv_intl_refcount uintptr
269 Flconv_num_refcount uintptr
270 Flconv_mon_refcount uintptr
271 Flconv uintptr
272 Fctype1_refcount uintptr
273 Fctype1 uintptr
274 Fpctype uintptr
275 Fpclmap uintptr
276 Fpcumap uintptr
277 Flc_time_curr uintptr
278 } /* crtdefs.h:422:1 */
279
280 type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
281 type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
282
283 type Localeinfo_struct = struct {
284 Flocinfo Pthreadlocinfo
285 Fmbcinfo Pthreadmbcinfo
286 } /* crtdefs.h:428:9 */
287
288 type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
289 type X_locale_t = uintptr /* crtdefs.h:431:19 */
290
291 type TagLC_ID = struct {
292 FwLanguage uint16
293 FwCountry uint16
294 FwCodePage uint16
295 } /* crtdefs.h:422:1 */
296
297 type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
298 type LPLC_ID = uintptr /* crtdefs.h:439:9 */
299
300 type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
301 type X_fsize_t = uint32 /* io.h:29:25 */
302
303 type X_finddata32_t = struct {
304 Fattrib uint32
305 Ftime_create X__time32_t
306 Ftime_access X__time32_t
307 Ftime_write X__time32_t
308 Fsize X_fsize_t
309 Fname [260]int8
310 } /* io.h:35:3 */
311
312 type X_finddata32i64_t = struct {
313 Fattrib uint32
314 Ftime_create X__time32_t
315 Ftime_access X__time32_t
316 Ftime_write X__time32_t
317 Fsize int64
318 Fname [260]int8
319 F__ccgo_pad1 [4]byte
320 } /* io.h:44:3 */
321
322 type X_finddata64i32_t = struct {
323 Fattrib uint32
324 F__ccgo_pad1 [4]byte
325 Ftime_create X__time64_t
326 Ftime_access X__time64_t
327 Ftime_write X__time64_t
328 Fsize X_fsize_t
329 Fname [260]int8
330 } /* io.h:53:3 */
331
332 type X__finddata64_t = struct {
333 Fattrib uint32
334 F__ccgo_pad1 [4]byte
335 Ftime_create X__time64_t
336 Ftime_access X__time64_t
337 Ftime_write X__time64_t
338 Fsize int64
339 Fname [260]int8
340 F__ccgo_pad2 [4]byte
341 } /* io.h:62:3 */
342
343 type X_wfinddata32_t = struct {
344 Fattrib uint32
345 Ftime_create X__time32_t
346 Ftime_access X__time32_t
347 Ftime_write X__time32_t
348 Fsize X_fsize_t
349 Fname [260]Wchar_t
350 } /* io.h:94:3 */
351
352 type X_wfinddata32i64_t = struct {
353 Fattrib uint32
354 Ftime_create X__time32_t
355 Ftime_access X__time32_t
356 Ftime_write X__time32_t
357 Fsize int64
358 Fname [260]Wchar_t
359 } /* io.h:103:3 */
360
361 type X_wfinddata64i32_t = struct {
362 Fattrib uint32
363 F__ccgo_pad1 [4]byte
364 Ftime_create X__time64_t
365 Ftime_access X__time64_t
366 Ftime_write X__time64_t
367 Fsize X_fsize_t
368 Fname [260]Wchar_t
369 F__ccgo_pad2 [4]byte
370 } /* io.h:112:3 */
371
372 type X_wfinddata64_t = struct {
373 Fattrib uint32
374 F__ccgo_pad1 [4]byte
375 Ftime_create X__time64_t
376 Ftime_access X__time64_t
377 Ftime_write X__time64_t
378 Fsize int64
379 Fname [260]Wchar_t
380 } /* io.h:121:3 */
381
382 type X_off_t = int32 /* _mingw_off_t.h:5:16 */
383 type Off32_t = int32 /* _mingw_off_t.h:7:16 */
384
385 type X_off64_t = int64 /* _mingw_off_t.h:13:39 */
386 type Off64_t = int64 /* _mingw_off_t.h:15:39 */
387
388 type Off_t = Off64_t /* _mingw_off_t.h:24:17 */
389
390 type Dirent = struct {
391 Fd_ino int32
392 Fd_reclen uint16
393 Fd_namlen uint16
394 Fd_name [260]int8
395 } /* dirent.h:25:1 */
396
397 // This is an internal data structure. Good programmers will not use it
398 // except as an argument to one of the functions below.
399 // dd_stat field is now int (was short in older versions).
400 type DIR = struct {
401 Fdd_dta X_finddata64i32_t
402 Fdd_dir Dirent
403 F__ccgo_pad1 [4]byte
404 Fdd_handle Intptr_t
405 Fdd_stat int32
406 Fdd_name [1]int8
407 F__ccgo_pad2 [3]byte
408 } /* dirent.h:61:3 */
409
410 // wide char versions
411
412 type X_wdirent = struct {
413 Fd_ino int32
414 Fd_reclen uint16
415 Fd_namlen uint16
416 Fd_name [260]Wchar_t
417 } /* dirent.h:73:1 */
418
419 // This is an internal data structure. Good programmers will not use it
420 // except as an argument to one of the functions below.
421 type X_WDIR = struct {
422 Fdd_dta X_wfinddata64i32_t
423 Fdd_dir X_wdirent
424 Fdd_handle Intptr_t
425 Fdd_stat int32
426 Fdd_name [1]Wchar_t
427 F__ccgo_pad1 [2]byte
428 } /* dirent.h:108:3 */
429
430 var _ int8 /* gen.c:2:13: */