| 1 |
|
| 2 |
|
| 3 |
package vfs |
| 4 |
|
| 5 |
import ( |
| 6 |
"math" |
| 7 |
"reflect" |
| 8 |
"sync/atomic" |
| 9 |
"unsafe" |
| 10 |
|
| 11 |
"modernc.org/libc" |
| 12 |
"modernc.org/libc/sys/types" |
| 13 |
"modernc.org/sqlite/lib" |
| 14 |
) |
| 15 |
|
| 16 |
var _ = math.Pi |
| 17 |
var _ reflect.Kind |
| 18 |
var _ atomic.Value |
| 19 |
var _ unsafe.Pointer |
| 20 |
var _ *libc.TLS |
| 21 |
var _ types.Size_t |
| 22 |
|
| 23 |
const ( |
| 24 |
FILESEC_OWNER = 1 |
| 25 |
FILESEC_GROUP = 2 |
| 26 |
FILESEC_UUID = 3 |
| 27 |
FILESEC_MODE = 4 |
| 28 |
FILESEC_ACL = 5 |
| 29 |
FILESEC_GRPUUID = 6 |
| 30 |
|
| 31 |
FILESEC_ACL_RAW = 100 |
| 32 |
FILESEC_ACL_ALLOCSIZE = 101 |
| 33 |
) |
| 34 |
|
| 35 |
const ( |
| 36 |
_CLOCK_REALTIME = 0 |
| 37 |
_CLOCK_MONOTONIC = 6 |
| 38 |
_CLOCK_MONOTONIC_RAW = 4 |
| 39 |
_CLOCK_MONOTONIC_RAW_APPROX = 5 |
| 40 |
_CLOCK_UPTIME_RAW = 8 |
| 41 |
_CLOCK_UPTIME_RAW_APPROX = 9 |
| 42 |
_CLOCK_PROCESS_CPUTIME_ID = 12 |
| 43 |
_CLOCK_THREAD_CPUTIME_ID = 16 |
| 44 |
) |
| 45 |
|
| 46 |
type ptrdiff_t = int64 |
| 47 |
|
| 48 |
type size_t = uint64 |
| 49 |
|
| 50 |
type wchar_t = int32 |
| 51 |
|
| 52 |
var X__darwin_check_fd_set_overflow uintptr |
| 53 |
|
| 54 |
type va_list = uintptr |
| 55 |
|
| 56 |
type sqlite_int64 = int64 |
| 57 |
type sqlite_uint64 = uint64 |
| 58 |
type sqlite3_int64 = sqlite_int64 |
| 59 |
type sqlite3_uint64 = sqlite_uint64 |
| 60 |
|
| 61 |
type sqlite3_callback = uintptr |
| 62 |
|
| 63 |
type sqlite3_file1 = struct{ pMethods uintptr } |
| 64 |
|
| 65 |
type sqlite3_file = sqlite3_file1 |
| 66 |
type sqlite3_io_methods1 = struct { |
| 67 |
iVersion int32 |
| 68 |
_ [4]byte |
| 69 |
xClose uintptr |
| 70 |
xRead uintptr |
| 71 |
xWrite uintptr |
| 72 |
xTruncate uintptr |
| 73 |
xSync uintptr |
| 74 |
xFileSize uintptr |
| 75 |
xLock uintptr |
| 76 |
xUnlock uintptr |
| 77 |
xCheckReservedLock uintptr |
| 78 |
xFileControl uintptr |
| 79 |
xSectorSize uintptr |
| 80 |
xDeviceCharacteristics uintptr |
| 81 |
xShmMap uintptr |
| 82 |
xShmLock uintptr |
| 83 |
xShmBarrier uintptr |
| 84 |
xShmUnmap uintptr |
| 85 |
xFetch uintptr |
| 86 |
xUnfetch uintptr |
| 87 |
} |
| 88 |
|
| 89 |
type sqlite3_io_methods = sqlite3_io_methods1 |
| 90 |
|
| 91 |
type sqlite3_vfs1 = struct { |
| 92 |
iVersion int32 |
| 93 |
szOsFile int32 |
| 94 |
mxPathname int32 |
| 95 |
_ [4]byte |
| 96 |
pNext uintptr |
| 97 |
zName uintptr |
| 98 |
pAppData uintptr |
| 99 |
xOpen uintptr |
| 100 |
xDelete uintptr |
| 101 |
xAccess uintptr |
| 102 |
xFullPathname uintptr |
| 103 |
xDlOpen uintptr |
| 104 |
xDlError uintptr |
| 105 |
xDlSym uintptr |
| 106 |
xDlClose uintptr |
| 107 |
xRandomness uintptr |
| 108 |
xSleep uintptr |
| 109 |
xCurrentTime uintptr |
| 110 |
xGetLastError uintptr |
| 111 |
xCurrentTimeInt64 uintptr |
| 112 |
xSetSystemCall uintptr |
| 113 |
xGetSystemCall uintptr |
| 114 |
xNextSystemCall uintptr |
| 115 |
} |
| 116 |
|
| 117 |
type sqlite3_vfs = sqlite3_vfs1 |
| 118 |
type sqlite3_syscall_ptr = uintptr |
| 119 |
|
| 120 |
type sqlite3_mem_methods1 = struct { |
| 121 |
xMalloc uintptr |
| 122 |
xFree uintptr |
| 123 |
xRealloc uintptr |
| 124 |
xSize uintptr |
| 125 |
xRoundup uintptr |
| 126 |
xInit uintptr |
| 127 |
xShutdown uintptr |
| 128 |
pAppData uintptr |
| 129 |
} |
| 130 |
|
| 131 |
type sqlite3_mem_methods = sqlite3_mem_methods1 |
| 132 |
|
| 133 |
type sqlite3_destructor_type = uintptr |
| 134 |
|
| 135 |
type sqlite3_vtab1 = struct { |
| 136 |
pModule uintptr |
| 137 |
nRef int32 |
| 138 |
_ [4]byte |
| 139 |
zErrMsg uintptr |
| 140 |
} |
| 141 |
|
| 142 |
type sqlite3_vtab = sqlite3_vtab1 |
| 143 |
type sqlite3_index_info1 = struct { |
| 144 |
nConstraint int32 |
| 145 |
_ [4]byte |
| 146 |
aConstraint uintptr |
| 147 |
nOrderBy int32 |
| 148 |
_ [4]byte |
| 149 |
aOrderBy uintptr |
| 150 |
aConstraintUsage uintptr |
| 151 |
idxNum int32 |
| 152 |
_ [4]byte |
| 153 |
idxStr uintptr |
| 154 |
needToFreeIdxStr int32 |
| 155 |
orderByConsumed int32 |
| 156 |
estimatedCost float64 |
| 157 |
estimatedRows sqlite3_int64 |
| 158 |
idxFlags int32 |
| 159 |
_ [4]byte |
| 160 |
colUsed sqlite3_uint64 |
| 161 |
} |
| 162 |
|
| 163 |
type sqlite3_index_info = sqlite3_index_info1 |
| 164 |
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } |
| 165 |
|
| 166 |
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 |
| 167 |
type sqlite3_module1 = struct { |
| 168 |
iVersion int32 |
| 169 |
_ [4]byte |
| 170 |
xCreate uintptr |
| 171 |
xConnect uintptr |
| 172 |
xBestIndex uintptr |
| 173 |
xDisconnect uintptr |
| 174 |
xDestroy uintptr |
| 175 |
xOpen uintptr |
| 176 |
xClose uintptr |
| 177 |
xFilter uintptr |
| 178 |
xNext uintptr |
| 179 |
xEof uintptr |
| 180 |
xColumn uintptr |
| 181 |
xRowid uintptr |
| 182 |
xUpdate uintptr |
| 183 |
xBegin uintptr |
| 184 |
xSync uintptr |
| 185 |
xCommit uintptr |
| 186 |
xRollback uintptr |
| 187 |
xFindFunction uintptr |
| 188 |
xRename uintptr |
| 189 |
xSavepoint uintptr |
| 190 |
xRelease uintptr |
| 191 |
xRollbackTo uintptr |
| 192 |
xShadowName uintptr |
| 193 |
} |
| 194 |
|
| 195 |
type sqlite3_module = sqlite3_module1 |
| 196 |
|
| 197 |
type sqlite3_index_constraint = struct { |
| 198 |
iColumn int32 |
| 199 |
op uint8 |
| 200 |
usable uint8 |
| 201 |
_ [2]byte |
| 202 |
iTermOffset int32 |
| 203 |
} |
| 204 |
|
| 205 |
type sqlite3_index_orderby = struct { |
| 206 |
iColumn int32 |
| 207 |
desc uint8 |
| 208 |
_ [3]byte |
| 209 |
} |
| 210 |
|
| 211 |
type sqlite3_index_constraint_usage = struct { |
| 212 |
argvIndex int32 |
| 213 |
omit uint8 |
| 214 |
_ [3]byte |
| 215 |
} |
| 216 |
|
| 217 |
type sqlite3_mutex_methods1 = struct { |
| 218 |
xMutexInit uintptr |
| 219 |
xMutexEnd uintptr |
| 220 |
xMutexAlloc uintptr |
| 221 |
xMutexFree uintptr |
| 222 |
xMutexEnter uintptr |
| 223 |
xMutexTry uintptr |
| 224 |
xMutexLeave uintptr |
| 225 |
xMutexHeld uintptr |
| 226 |
xMutexNotheld uintptr |
| 227 |
} |
| 228 |
|
| 229 |
type sqlite3_mutex_methods = sqlite3_mutex_methods1 |
| 230 |
|
| 231 |
type sqlite3_pcache_page1 = struct { |
| 232 |
pBuf uintptr |
| 233 |
pExtra uintptr |
| 234 |
} |
| 235 |
|
| 236 |
type sqlite3_pcache_page = sqlite3_pcache_page1 |
| 237 |
|
| 238 |
type sqlite3_pcache_methods21 = struct { |
| 239 |
iVersion int32 |
| 240 |
_ [4]byte |
| 241 |
pArg uintptr |
| 242 |
xInit uintptr |
| 243 |
xShutdown uintptr |
| 244 |
xCreate uintptr |
| 245 |
xCachesize uintptr |
| 246 |
xPagecount uintptr |
| 247 |
xFetch uintptr |
| 248 |
xUnpin uintptr |
| 249 |
xRekey uintptr |
| 250 |
xTruncate uintptr |
| 251 |
xDestroy uintptr |
| 252 |
xShrink uintptr |
| 253 |
} |
| 254 |
|
| 255 |
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 |
| 256 |
|
| 257 |
type sqlite3_pcache_methods1 = struct { |
| 258 |
pArg uintptr |
| 259 |
xInit uintptr |
| 260 |
xShutdown uintptr |
| 261 |
xCreate uintptr |
| 262 |
xCachesize uintptr |
| 263 |
xPagecount uintptr |
| 264 |
xFetch uintptr |
| 265 |
xUnpin uintptr |
| 266 |
xRekey uintptr |
| 267 |
xTruncate uintptr |
| 268 |
xDestroy uintptr |
| 269 |
} |
| 270 |
|
| 271 |
type sqlite3_pcache_methods = sqlite3_pcache_methods1 |
| 272 |
|
| 273 |
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } |
| 274 |
|
| 275 |
type sqlite3_snapshot = sqlite3_snapshot1 |
| 276 |
|
| 277 |
type sqlite3_rtree_geometry1 = struct { |
| 278 |
pContext uintptr |
| 279 |
nParam int32 |
| 280 |
_ [4]byte |
| 281 |
aParam uintptr |
| 282 |
pUser uintptr |
| 283 |
xDelUser uintptr |
| 284 |
} |
| 285 |
|
| 286 |
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 |
| 287 |
type sqlite3_rtree_query_info1 = struct { |
| 288 |
pContext uintptr |
| 289 |
nParam int32 |
| 290 |
_ [4]byte |
| 291 |
aParam uintptr |
| 292 |
pUser uintptr |
| 293 |
xDelUser uintptr |
| 294 |
aCoord uintptr |
| 295 |
anQueue uintptr |
| 296 |
nCoord int32 |
| 297 |
iLevel int32 |
| 298 |
mxLevel int32 |
| 299 |
_ [4]byte |
| 300 |
iRowid sqlite3_int64 |
| 301 |
rParentScore sqlite3_rtree_dbl |
| 302 |
eParentWithin int32 |
| 303 |
eWithin int32 |
| 304 |
rScore sqlite3_rtree_dbl |
| 305 |
apSqlParam uintptr |
| 306 |
} |
| 307 |
|
| 308 |
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 |
| 309 |
|
| 310 |
type sqlite3_rtree_dbl = float64 |
| 311 |
|
| 312 |
type Fts5ExtensionApi1 = struct { |
| 313 |
iVersion int32 |
| 314 |
_ [4]byte |
| 315 |
xUserData uintptr |
| 316 |
xColumnCount uintptr |
| 317 |
xRowCount uintptr |
| 318 |
xColumnTotalSize uintptr |
| 319 |
xTokenize uintptr |
| 320 |
xPhraseCount uintptr |
| 321 |
xPhraseSize uintptr |
| 322 |
xInstCount uintptr |
| 323 |
xInst uintptr |
| 324 |
xRowid uintptr |
| 325 |
xColumnText uintptr |
| 326 |
xColumnSize uintptr |
| 327 |
xQueryPhrase uintptr |
| 328 |
xSetAuxdata uintptr |
| 329 |
xGetAuxdata uintptr |
| 330 |
xPhraseFirst uintptr |
| 331 |
xPhraseNext uintptr |
| 332 |
xPhraseFirstColumn uintptr |
| 333 |
xPhraseNextColumn uintptr |
| 334 |
} |
| 335 |
|
| 336 |
type Fts5ExtensionApi = Fts5ExtensionApi1 |
| 337 |
type Fts5PhraseIter1 = struct { |
| 338 |
a uintptr |
| 339 |
b uintptr |
| 340 |
} |
| 341 |
|
| 342 |
type Fts5PhraseIter = Fts5PhraseIter1 |
| 343 |
|
| 344 |
type fts5_extension_function = uintptr |
| 345 |
type fts5_tokenizer1 = struct { |
| 346 |
xCreate uintptr |
| 347 |
xDelete uintptr |
| 348 |
xTokenize uintptr |
| 349 |
} |
| 350 |
|
| 351 |
type fts5_tokenizer = fts5_tokenizer1 |
| 352 |
|
| 353 |
type fts5_api1 = struct { |
| 354 |
iVersion int32 |
| 355 |
_ [4]byte |
| 356 |
xCreateTokenizer uintptr |
| 357 |
xFindTokenizer uintptr |
| 358 |
xCreateFunction uintptr |
| 359 |
} |
| 360 |
|
| 361 |
type fts5_api = fts5_api1 |
| 362 |
|
| 363 |
type __darwin_pthread_handler_rec = struct { |
| 364 |
__routine uintptr |
| 365 |
__arg uintptr |
| 366 |
__next uintptr |
| 367 |
} |
| 368 |
|
| 369 |
type _opaque_pthread_attr_t = struct { |
| 370 |
__sig int64 |
| 371 |
__opaque [56]int8 |
| 372 |
} |
| 373 |
|
| 374 |
type _opaque_pthread_cond_t = struct { |
| 375 |
__sig int64 |
| 376 |
__opaque [40]int8 |
| 377 |
} |
| 378 |
|
| 379 |
type _opaque_pthread_condattr_t = struct { |
| 380 |
__sig int64 |
| 381 |
__opaque [8]int8 |
| 382 |
} |
| 383 |
|
| 384 |
type _opaque_pthread_mutex_t = struct { |
| 385 |
__sig int64 |
| 386 |
__opaque [56]int8 |
| 387 |
} |
| 388 |
|
| 389 |
type _opaque_pthread_mutexattr_t = struct { |
| 390 |
__sig int64 |
| 391 |
__opaque [8]int8 |
| 392 |
} |
| 393 |
|
| 394 |
type _opaque_pthread_once_t = struct { |
| 395 |
__sig int64 |
| 396 |
__opaque [8]int8 |
| 397 |
} |
| 398 |
|
| 399 |
type _opaque_pthread_rwlock_t = struct { |
| 400 |
__sig int64 |
| 401 |
__opaque [192]int8 |
| 402 |
} |
| 403 |
|
| 404 |
type _opaque_pthread_rwlockattr_t = struct { |
| 405 |
__sig int64 |
| 406 |
__opaque [16]int8 |
| 407 |
} |
| 408 |
|
| 409 |
type _opaque_pthread_t = struct { |
| 410 |
__sig int64 |
| 411 |
__cleanup_stack uintptr |
| 412 |
__opaque [8176]int8 |
| 413 |
} |
| 414 |
|
| 415 |
type int8_t = int8 |
| 416 |
|
| 417 |
type int16_t = int16 |
| 418 |
|
| 419 |
type int32_t = int32 |
| 420 |
|
| 421 |
type int64_t = int64 |
| 422 |
|
| 423 |
type u_int8_t = uint8 |
| 424 |
|
| 425 |
type u_int16_t = uint16 |
| 426 |
|
| 427 |
type u_int32_t = uint32 |
| 428 |
|
| 429 |
type u_int64_t = uint64 |
| 430 |
|
| 431 |
type register_t = int64_t |
| 432 |
|
| 433 |
type intptr_t = int64 |
| 434 |
|
| 435 |
type uintptr_t = uint64 |
| 436 |
|
| 437 |
type user_addr_t = u_int64_t |
| 438 |
type user_size_t = u_int64_t |
| 439 |
type user_ssize_t = int64_t |
| 440 |
type user_long_t = int64_t |
| 441 |
type user_ulong_t = u_int64_t |
| 442 |
type user_time_t = int64_t |
| 443 |
type user_off_t = int64_t |
| 444 |
|
| 445 |
type syscall_arg_t = u_int64_t |
| 446 |
|
| 447 |
type rsize_t = uint64 |
| 448 |
|
| 449 |
type errno_t = int32 |
| 450 |
|
| 451 |
type ssize_t = int64 |
| 452 |
|
| 453 |
type u_char = uint8 |
| 454 |
|
| 455 |
type u_short = uint16 |
| 456 |
|
| 457 |
type u_int = uint32 |
| 458 |
type u_long = uint64 |
| 459 |
type ushort = uint16 |
| 460 |
type uint = uint32 |
| 461 |
|
| 462 |
type u_quad_t = u_int64_t |
| 463 |
type quad_t = int64_t |
| 464 |
type qaddr_t = uintptr |
| 465 |
|
| 466 |
type caddr_t = uintptr |
| 467 |
|
| 468 |
type daddr_t = int32_t |
| 469 |
|
| 470 |
type dev_t = int32 |
| 471 |
|
| 472 |
type fixpt_t = u_int32_t |
| 473 |
|
| 474 |
type blkcnt_t = int64 |
| 475 |
|
| 476 |
type blksize_t = int32 |
| 477 |
|
| 478 |
type gid_t = uint32 |
| 479 |
|
| 480 |
type in_addr_t = uint32 |
| 481 |
|
| 482 |
type in_port_t = uint16 |
| 483 |
|
| 484 |
type ino_t = uint64 |
| 485 |
|
| 486 |
type ino64_t = uint64 |
| 487 |
|
| 488 |
type key_t = int32 |
| 489 |
|
| 490 |
type mode_t = uint16 |
| 491 |
|
| 492 |
type nlink_t = uint16 |
| 493 |
|
| 494 |
type id_t = uint32 |
| 495 |
|
| 496 |
type pid_t = int32 |
| 497 |
|
| 498 |
type off_t = int64 |
| 499 |
|
| 500 |
type segsz_t = int32_t |
| 501 |
type swblk_t = int32_t |
| 502 |
|
| 503 |
type uid_t = uint32 |
| 504 |
|
| 505 |
type clock_t = uint64 |
| 506 |
|
| 507 |
type time_t = int64 |
| 508 |
|
| 509 |
type useconds_t = uint32 |
| 510 |
|
| 511 |
type suseconds_t = int32 |
| 512 |
|
| 513 |
type fd_set1 = struct{ fds_bits [32]int32 } |
| 514 |
|
| 515 |
type fd_set = fd_set1 |
| 516 |
|
| 517 |
func X__darwin_check_fd_set(tls *libc.TLS, _a int32, _b uintptr) int32 { |
| 518 |
if uintptr_t(uintptr(unsafe.Pointer(&X__darwin_check_fd_set_overflow))) != uint64(0) { |
| 519 |
return (*struct { |
| 520 |
f func(*libc.TLS, int32, uintptr, int32) int32 |
| 521 |
})(unsafe.Pointer(&struct{ uintptr }{X__darwin_check_fd_set_overflow})).f(tls, _a, _b, 0) |
| 522 |
} else { |
| 523 |
return 1 |
| 524 |
} |
| 525 |
return int32(0) |
| 526 |
} |
| 527 |
|
| 528 |
func X__darwin_fd_isset(tls *libc.TLS, _fd int32, _p uintptr) int32 { |
| 529 |
if X__darwin_check_fd_set(tls, _fd, _p) != 0 { |
| 530 |
return *(*int32)(unsafe.Pointer(_p + uintptr(uint64(_fd)/(uint64(unsafe.Sizeof(int32(0)))*uint64(8)))*4)) & int32(uint64(1)<<(uint64(_fd)%(uint64(unsafe.Sizeof(int32(0)))*uint64(8)))) |
| 531 |
} |
| 532 |
|
| 533 |
return 0 |
| 534 |
} |
| 535 |
|
| 536 |
func X__darwin_fd_set(tls *libc.TLS, _fd int32, _p uintptr) { |
| 537 |
if X__darwin_check_fd_set(tls, _fd, _p) != 0 { |
| 538 |
*(*int32)(unsafe.Pointer(_p + uintptr(uint64(_fd)/(uint64(unsafe.Sizeof(int32(0)))*uint64(8)))*4)) |= int32(uint64(1) << (uint64(_fd) % (uint64(unsafe.Sizeof(int32(0))) * uint64(8)))) |
| 539 |
} |
| 540 |
} |
| 541 |
|
| 542 |
func X__darwin_fd_clr(tls *libc.TLS, _fd int32, _p uintptr) { |
| 543 |
if X__darwin_check_fd_set(tls, _fd, _p) != 0 { |
| 544 |
*(*int32)(unsafe.Pointer(_p + uintptr(uint64(_fd)/(uint64(unsafe.Sizeof(int32(0)))*uint64(8)))*4)) &= ^int32(uint64(1) << (uint64(_fd) % (uint64(unsafe.Sizeof(int32(0))) * uint64(8)))) |
| 545 |
} |
| 546 |
} |
| 547 |
|
| 548 |
type fd_mask = int32 |
| 549 |
|
| 550 |
type pthread_attr_t = _opaque_pthread_attr_t |
| 551 |
|
| 552 |
type pthread_cond_t = _opaque_pthread_cond_t |
| 553 |
|
| 554 |
type pthread_condattr_t = _opaque_pthread_condattr_t |
| 555 |
|
| 556 |
type pthread_mutex_t = _opaque_pthread_mutex_t |
| 557 |
|
| 558 |
type pthread_mutexattr_t = _opaque_pthread_mutexattr_t |
| 559 |
|
| 560 |
type pthread_once_t = _opaque_pthread_once_t |
| 561 |
|
| 562 |
type pthread_rwlock_t = _opaque_pthread_rwlock_t |
| 563 |
|
| 564 |
type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t |
| 565 |
|
| 566 |
type pthread_t = uintptr |
| 567 |
|
| 568 |
type pthread_key_t = uint64 |
| 569 |
|
| 570 |
type fsblkcnt_t = uint32 |
| 571 |
|
| 572 |
type fsfilcnt_t = uint32 |
| 573 |
|
| 574 |
type timespec = struct { |
| 575 |
tv_sec int64 |
| 576 |
tv_nsec int64 |
| 577 |
} |
| 578 |
|
| 579 |
type ostat = struct { |
| 580 |
st_dev uint16 |
| 581 |
_ [6]byte |
| 582 |
st_ino ino_t |
| 583 |
st_mode mode_t |
| 584 |
st_nlink nlink_t |
| 585 |
st_uid uint16 |
| 586 |
st_gid uint16 |
| 587 |
st_rdev uint16 |
| 588 |
_ [2]byte |
| 589 |
st_size int32 |
| 590 |
st_atimespec struct { |
| 591 |
tv_sec int64 |
| 592 |
tv_nsec int64 |
| 593 |
} |
| 594 |
st_mtimespec struct { |
| 595 |
tv_sec int64 |
| 596 |
tv_nsec int64 |
| 597 |
} |
| 598 |
st_ctimespec struct { |
| 599 |
tv_sec int64 |
| 600 |
tv_nsec int64 |
| 601 |
} |
| 602 |
st_blksize int32 |
| 603 |
st_blocks int32 |
| 604 |
st_flags uint32 |
| 605 |
st_gen uint32 |
| 606 |
} |
| 607 |
|
| 608 |
type stat = struct { |
| 609 |
st_dev dev_t |
| 610 |
st_mode mode_t |
| 611 |
st_nlink nlink_t |
| 612 |
st_ino uint64 |
| 613 |
st_uid uid_t |
| 614 |
st_gid gid_t |
| 615 |
st_rdev dev_t |
| 616 |
_ [4]byte |
| 617 |
st_atimespec struct { |
| 618 |
tv_sec int64 |
| 619 |
tv_nsec int64 |
| 620 |
} |
| 621 |
st_mtimespec struct { |
| 622 |
tv_sec int64 |
| 623 |
tv_nsec int64 |
| 624 |
} |
| 625 |
st_ctimespec struct { |
| 626 |
tv_sec int64 |
| 627 |
tv_nsec int64 |
| 628 |
} |
| 629 |
st_birthtimespec struct { |
| 630 |
tv_sec int64 |
| 631 |
tv_nsec int64 |
| 632 |
} |
| 633 |
st_size off_t |
| 634 |
st_blocks blkcnt_t |
| 635 |
st_blksize blksize_t |
| 636 |
st_flags uint32 |
| 637 |
st_gen uint32 |
| 638 |
st_lspare int32 |
| 639 |
st_qspare [2]int64 |
| 640 |
} |
| 641 |
|
| 642 |
type stat64 = struct { |
| 643 |
st_dev dev_t |
| 644 |
st_mode mode_t |
| 645 |
st_nlink nlink_t |
| 646 |
st_ino uint64 |
| 647 |
st_uid uid_t |
| 648 |
st_gid gid_t |
| 649 |
st_rdev dev_t |
| 650 |
_ [4]byte |
| 651 |
st_atimespec struct { |
| 652 |
tv_sec int64 |
| 653 |
tv_nsec int64 |
| 654 |
} |
| 655 |
st_mtimespec struct { |
| 656 |
tv_sec int64 |
| 657 |
tv_nsec int64 |
| 658 |
} |
| 659 |
st_ctimespec struct { |
| 660 |
tv_sec int64 |
| 661 |
tv_nsec int64 |
| 662 |
} |
| 663 |
st_birthtimespec struct { |
| 664 |
tv_sec int64 |
| 665 |
tv_nsec int64 |
| 666 |
} |
| 667 |
st_size off_t |
| 668 |
st_blocks blkcnt_t |
| 669 |
st_blksize blksize_t |
| 670 |
st_flags uint32 |
| 671 |
st_gen uint32 |
| 672 |
st_lspare int32 |
| 673 |
st_qspare [2]int64 |
| 674 |
} |
| 675 |
|
| 676 |
type filesec_t = uintptr |
| 677 |
|
| 678 |
type flock = struct { |
| 679 |
l_start off_t |
| 680 |
l_len off_t |
| 681 |
l_pid pid_t |
| 682 |
l_type int16 |
| 683 |
l_whence int16 |
| 684 |
} |
| 685 |
|
| 686 |
type flocktimeout = struct { |
| 687 |
fl struct { |
| 688 |
l_start off_t |
| 689 |
l_len off_t |
| 690 |
l_pid pid_t |
| 691 |
l_type int16 |
| 692 |
l_whence int16 |
| 693 |
} |
| 694 |
timeout struct { |
| 695 |
tv_sec int64 |
| 696 |
tv_nsec int64 |
| 697 |
} |
| 698 |
} |
| 699 |
|
| 700 |
type radvisory = struct { |
| 701 |
ra_offset off_t |
| 702 |
ra_count int32 |
| 703 |
_ [4]byte |
| 704 |
} |
| 705 |
|
| 706 |
type fcodeblobs = struct { |
| 707 |
f_cd_hash uintptr |
| 708 |
f_hash_size size_t |
| 709 |
f_cd_buffer uintptr |
| 710 |
f_cd_size size_t |
| 711 |
f_out_size uintptr |
| 712 |
f_arch int32 |
| 713 |
__padding int32 |
| 714 |
} |
| 715 |
|
| 716 |
type fcodeblobs_t = fcodeblobs |
| 717 |
|
| 718 |
type fsignatures = struct { |
| 719 |
fs_file_start off_t |
| 720 |
fs_blob_start uintptr |
| 721 |
fs_blob_size size_t |
| 722 |
} |
| 723 |
|
| 724 |
type fsignatures_t = fsignatures |
| 725 |
|
| 726 |
type fchecklv = struct { |
| 727 |
lv_file_start off_t |
| 728 |
lv_error_message_size size_t |
| 729 |
lv_error_message uintptr |
| 730 |
} |
| 731 |
|
| 732 |
type fchecklv_t = fchecklv |
| 733 |
|
| 734 |
type fstore = struct { |
| 735 |
fst_flags uint32 |
| 736 |
fst_posmode int32 |
| 737 |
fst_offset off_t |
| 738 |
fst_length off_t |
| 739 |
fst_bytesalloc off_t |
| 740 |
} |
| 741 |
|
| 742 |
type fstore_t = fstore |
| 743 |
|
| 744 |
type fpunchhole = struct { |
| 745 |
fp_flags uint32 |
| 746 |
reserved uint32 |
| 747 |
fp_offset off_t |
| 748 |
fp_length off_t |
| 749 |
} |
| 750 |
|
| 751 |
type fpunchhole_t = fpunchhole |
| 752 |
|
| 753 |
type ftrimactivefile = struct { |
| 754 |
fta_offset off_t |
| 755 |
fta_length off_t |
| 756 |
} |
| 757 |
|
| 758 |
type ftrimactivefile_t = ftrimactivefile |
| 759 |
|
| 760 |
type fspecread = struct { |
| 761 |
fsr_flags uint32 |
| 762 |
reserved uint32 |
| 763 |
fsr_offset off_t |
| 764 |
fsr_length off_t |
| 765 |
} |
| 766 |
|
| 767 |
type fspecread_t = fspecread |
| 768 |
|
| 769 |
type fbootstraptransfer = struct { |
| 770 |
fbt_offset off_t |
| 771 |
fbt_length size_t |
| 772 |
fbt_buffer uintptr |
| 773 |
} |
| 774 |
|
| 775 |
type fbootstraptransfer_t = fbootstraptransfer |
| 776 |
|
| 777 |
type log2phys = struct { |
| 778 |
l2p_flags uint32 |
| 779 |
_ [4]byte |
| 780 |
l2p_contigbytes off_t |
| 781 |
l2p_devoffset off_t |
| 782 |
} |
| 783 |
|
| 784 |
type filesec_property_t = uint32 |
| 785 |
|
| 786 |
type accessx_descriptor = struct { |
| 787 |
ad_name_offset uint32 |
| 788 |
ad_flags int32 |
| 789 |
ad_pad [2]int32 |
| 790 |
} |
| 791 |
|
| 792 |
type uint64_t = uint64 |
| 793 |
|
| 794 |
type uint32_t = uint32 |
| 795 |
type kauth_cred_t = uintptr |
| 796 |
type posix_cred_t = uintptr |
| 797 |
|
| 798 |
type sig_atomic_t = int32 |
| 799 |
|
| 800 |
type __darwin_i386_thread_state = struct { |
| 801 |
__eax uint32 |
| 802 |
__ebx uint32 |
| 803 |
__ecx uint32 |
| 804 |
__edx uint32 |
| 805 |
__edi uint32 |
| 806 |
__esi uint32 |
| 807 |
__ebp uint32 |
| 808 |
__esp uint32 |
| 809 |
__ss uint32 |
| 810 |
__eflags uint32 |
| 811 |
__eip uint32 |
| 812 |
__cs uint32 |
| 813 |
__ds uint32 |
| 814 |
__es uint32 |
| 815 |
__fs uint32 |
| 816 |
__gs uint32 |
| 817 |
} |
| 818 |
|
| 819 |
type __darwin_fp_control = struct { |
| 820 |
_ [0]uint16 |
| 821 |
__invalid uint16 |
| 822 |
} |
| 823 |
|
| 824 |
type __darwin_fp_status = struct { |
| 825 |
_ [0]uint16 |
| 826 |
__invalid uint16 |
| 827 |
} |
| 828 |
|
| 829 |
type __darwin_mmst_reg = struct { |
| 830 |
__mmst_reg [10]int8 |
| 831 |
__mmst_rsrv [6]int8 |
| 832 |
} |
| 833 |
|
| 834 |
type __darwin_xmm_reg = struct{ __xmm_reg [16]int8 } |
| 835 |
|
| 836 |
type __darwin_ymm_reg = struct{ __ymm_reg [32]int8 } |
| 837 |
|
| 838 |
type __darwin_zmm_reg = struct{ __zmm_reg [64]int8 } |
| 839 |
|
| 840 |
type __darwin_opmask_reg = struct{ __opmask_reg [8]int8 } |
| 841 |
|
| 842 |
type __darwin_i386_float_state = struct { |
| 843 |
__fpu_reserved [2]int32 |
| 844 |
__fpu_fcw struct { |
| 845 |
_ [0]uint16 |
| 846 |
__invalid uint16 |
| 847 |
} |
| 848 |
__fpu_fsw struct { |
| 849 |
_ [0]uint16 |
| 850 |
__invalid uint16 |
| 851 |
} |
| 852 |
__fpu_ftw uint8 |
| 853 |
__fpu_rsrv1 uint8 |
| 854 |
__fpu_fop uint16 |
| 855 |
__fpu_ip uint32 |
| 856 |
__fpu_cs uint16 |
| 857 |
__fpu_rsrv2 uint16 |
| 858 |
__fpu_dp uint32 |
| 859 |
__fpu_ds uint16 |
| 860 |
__fpu_rsrv3 uint16 |
| 861 |
__fpu_mxcsr uint32 |
| 862 |
__fpu_mxcsrmask uint32 |
| 863 |
__fpu_stmm0 struct { |
| 864 |
__mmst_reg [10]int8 |
| 865 |
__mmst_rsrv [6]int8 |
| 866 |
} |
| 867 |
__fpu_stmm1 struct { |
| 868 |
__mmst_reg [10]int8 |
| 869 |
__mmst_rsrv [6]int8 |
| 870 |
} |
| 871 |
__fpu_stmm2 struct { |
| 872 |
__mmst_reg [10]int8 |
| 873 |
__mmst_rsrv [6]int8 |
| 874 |
} |
| 875 |
__fpu_stmm3 struct { |
| 876 |
__mmst_reg [10]int8 |
| 877 |
__mmst_rsrv [6]int8 |
| 878 |
} |
| 879 |
__fpu_stmm4 struct { |
| 880 |
__mmst_reg [10]int8 |
| 881 |
__mmst_rsrv [6]int8 |
| 882 |
} |
| 883 |
__fpu_stmm5 struct { |
| 884 |
__mmst_reg [10]int8 |
| 885 |
__mmst_rsrv [6]int8 |
| 886 |
} |
| 887 |
__fpu_stmm6 struct { |
| 888 |
__mmst_reg [10]int8 |
| 889 |
__mmst_rsrv [6]int8 |
| 890 |
} |
| 891 |
__fpu_stmm7 struct { |
| 892 |
__mmst_reg [10]int8 |
| 893 |
__mmst_rsrv [6]int8 |
| 894 |
} |
| 895 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 896 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 897 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 898 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 899 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 900 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 901 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 902 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 903 |
__fpu_rsrv4 [224]int8 |
| 904 |
__fpu_reserved1 int32 |
| 905 |
} |
| 906 |
|
| 907 |
type __darwin_i386_avx_state = struct { |
| 908 |
__fpu_reserved [2]int32 |
| 909 |
__fpu_fcw struct { |
| 910 |
_ [0]uint16 |
| 911 |
__invalid uint16 |
| 912 |
} |
| 913 |
__fpu_fsw struct { |
| 914 |
_ [0]uint16 |
| 915 |
__invalid uint16 |
| 916 |
} |
| 917 |
__fpu_ftw uint8 |
| 918 |
__fpu_rsrv1 uint8 |
| 919 |
__fpu_fop uint16 |
| 920 |
__fpu_ip uint32 |
| 921 |
__fpu_cs uint16 |
| 922 |
__fpu_rsrv2 uint16 |
| 923 |
__fpu_dp uint32 |
| 924 |
__fpu_ds uint16 |
| 925 |
__fpu_rsrv3 uint16 |
| 926 |
__fpu_mxcsr uint32 |
| 927 |
__fpu_mxcsrmask uint32 |
| 928 |
__fpu_stmm0 struct { |
| 929 |
__mmst_reg [10]int8 |
| 930 |
__mmst_rsrv [6]int8 |
| 931 |
} |
| 932 |
__fpu_stmm1 struct { |
| 933 |
__mmst_reg [10]int8 |
| 934 |
__mmst_rsrv [6]int8 |
| 935 |
} |
| 936 |
__fpu_stmm2 struct { |
| 937 |
__mmst_reg [10]int8 |
| 938 |
__mmst_rsrv [6]int8 |
| 939 |
} |
| 940 |
__fpu_stmm3 struct { |
| 941 |
__mmst_reg [10]int8 |
| 942 |
__mmst_rsrv [6]int8 |
| 943 |
} |
| 944 |
__fpu_stmm4 struct { |
| 945 |
__mmst_reg [10]int8 |
| 946 |
__mmst_rsrv [6]int8 |
| 947 |
} |
| 948 |
__fpu_stmm5 struct { |
| 949 |
__mmst_reg [10]int8 |
| 950 |
__mmst_rsrv [6]int8 |
| 951 |
} |
| 952 |
__fpu_stmm6 struct { |
| 953 |
__mmst_reg [10]int8 |
| 954 |
__mmst_rsrv [6]int8 |
| 955 |
} |
| 956 |
__fpu_stmm7 struct { |
| 957 |
__mmst_reg [10]int8 |
| 958 |
__mmst_rsrv [6]int8 |
| 959 |
} |
| 960 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 961 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 962 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 963 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 964 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 965 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 966 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 967 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 968 |
__fpu_rsrv4 [224]int8 |
| 969 |
__fpu_reserved1 int32 |
| 970 |
__avx_reserved1 [64]int8 |
| 971 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 972 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 973 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 974 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 975 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 976 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 977 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 978 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 979 |
} |
| 980 |
|
| 981 |
type __darwin_i386_avx512_state = struct { |
| 982 |
__fpu_reserved [2]int32 |
| 983 |
__fpu_fcw struct { |
| 984 |
_ [0]uint16 |
| 985 |
__invalid uint16 |
| 986 |
} |
| 987 |
__fpu_fsw struct { |
| 988 |
_ [0]uint16 |
| 989 |
__invalid uint16 |
| 990 |
} |
| 991 |
__fpu_ftw uint8 |
| 992 |
__fpu_rsrv1 uint8 |
| 993 |
__fpu_fop uint16 |
| 994 |
__fpu_ip uint32 |
| 995 |
__fpu_cs uint16 |
| 996 |
__fpu_rsrv2 uint16 |
| 997 |
__fpu_dp uint32 |
| 998 |
__fpu_ds uint16 |
| 999 |
__fpu_rsrv3 uint16 |
| 1000 |
__fpu_mxcsr uint32 |
| 1001 |
__fpu_mxcsrmask uint32 |
| 1002 |
__fpu_stmm0 struct { |
| 1003 |
__mmst_reg [10]int8 |
| 1004 |
__mmst_rsrv [6]int8 |
| 1005 |
} |
| 1006 |
__fpu_stmm1 struct { |
| 1007 |
__mmst_reg [10]int8 |
| 1008 |
__mmst_rsrv [6]int8 |
| 1009 |
} |
| 1010 |
__fpu_stmm2 struct { |
| 1011 |
__mmst_reg [10]int8 |
| 1012 |
__mmst_rsrv [6]int8 |
| 1013 |
} |
| 1014 |
__fpu_stmm3 struct { |
| 1015 |
__mmst_reg [10]int8 |
| 1016 |
__mmst_rsrv [6]int8 |
| 1017 |
} |
| 1018 |
__fpu_stmm4 struct { |
| 1019 |
__mmst_reg [10]int8 |
| 1020 |
__mmst_rsrv [6]int8 |
| 1021 |
} |
| 1022 |
__fpu_stmm5 struct { |
| 1023 |
__mmst_reg [10]int8 |
| 1024 |
__mmst_rsrv [6]int8 |
| 1025 |
} |
| 1026 |
__fpu_stmm6 struct { |
| 1027 |
__mmst_reg [10]int8 |
| 1028 |
__mmst_rsrv [6]int8 |
| 1029 |
} |
| 1030 |
__fpu_stmm7 struct { |
| 1031 |
__mmst_reg [10]int8 |
| 1032 |
__mmst_rsrv [6]int8 |
| 1033 |
} |
| 1034 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1035 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1036 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1037 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1038 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1039 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1040 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1041 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1042 |
__fpu_rsrv4 [224]int8 |
| 1043 |
__fpu_reserved1 int32 |
| 1044 |
__avx_reserved1 [64]int8 |
| 1045 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 1046 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 1047 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 1048 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 1049 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 1050 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 1051 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 1052 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 1053 |
__fpu_k0 struct{ __opmask_reg [8]int8 } |
| 1054 |
__fpu_k1 struct{ __opmask_reg [8]int8 } |
| 1055 |
__fpu_k2 struct{ __opmask_reg [8]int8 } |
| 1056 |
__fpu_k3 struct{ __opmask_reg [8]int8 } |
| 1057 |
__fpu_k4 struct{ __opmask_reg [8]int8 } |
| 1058 |
__fpu_k5 struct{ __opmask_reg [8]int8 } |
| 1059 |
__fpu_k6 struct{ __opmask_reg [8]int8 } |
| 1060 |
__fpu_k7 struct{ __opmask_reg [8]int8 } |
| 1061 |
__fpu_zmmh0 struct{ __ymm_reg [32]int8 } |
| 1062 |
__fpu_zmmh1 struct{ __ymm_reg [32]int8 } |
| 1063 |
__fpu_zmmh2 struct{ __ymm_reg [32]int8 } |
| 1064 |
__fpu_zmmh3 struct{ __ymm_reg [32]int8 } |
| 1065 |
__fpu_zmmh4 struct{ __ymm_reg [32]int8 } |
| 1066 |
__fpu_zmmh5 struct{ __ymm_reg [32]int8 } |
| 1067 |
__fpu_zmmh6 struct{ __ymm_reg [32]int8 } |
| 1068 |
__fpu_zmmh7 struct{ __ymm_reg [32]int8 } |
| 1069 |
} |
| 1070 |
|
| 1071 |
type __darwin_i386_exception_state = struct { |
| 1072 |
__trapno uint16 |
| 1073 |
__cpu uint16 |
| 1074 |
__err uint32 |
| 1075 |
__faultvaddr uint32 |
| 1076 |
} |
| 1077 |
|
| 1078 |
type __darwin_x86_debug_state32 = struct { |
| 1079 |
__dr0 uint32 |
| 1080 |
__dr1 uint32 |
| 1081 |
__dr2 uint32 |
| 1082 |
__dr3 uint32 |
| 1083 |
__dr4 uint32 |
| 1084 |
__dr5 uint32 |
| 1085 |
__dr6 uint32 |
| 1086 |
__dr7 uint32 |
| 1087 |
} |
| 1088 |
|
| 1089 |
type __x86_pagein_state = struct{ __pagein_error int32 } |
| 1090 |
|
| 1091 |
type __darwin_x86_thread_state64 = struct { |
| 1092 |
__rax uint64 |
| 1093 |
__rbx uint64 |
| 1094 |
__rcx uint64 |
| 1095 |
__rdx uint64 |
| 1096 |
__rdi uint64 |
| 1097 |
__rsi uint64 |
| 1098 |
__rbp uint64 |
| 1099 |
__rsp uint64 |
| 1100 |
__r8 uint64 |
| 1101 |
__r9 uint64 |
| 1102 |
__r10 uint64 |
| 1103 |
__r11 uint64 |
| 1104 |
__r12 uint64 |
| 1105 |
__r13 uint64 |
| 1106 |
__r14 uint64 |
| 1107 |
__r15 uint64 |
| 1108 |
__rip uint64 |
| 1109 |
__rflags uint64 |
| 1110 |
__cs uint64 |
| 1111 |
__fs uint64 |
| 1112 |
__gs uint64 |
| 1113 |
} |
| 1114 |
|
| 1115 |
type __darwin_x86_thread_full_state64 = struct { |
| 1116 |
__ss64 struct { |
| 1117 |
__rax uint64 |
| 1118 |
__rbx uint64 |
| 1119 |
__rcx uint64 |
| 1120 |
__rdx uint64 |
| 1121 |
__rdi uint64 |
| 1122 |
__rsi uint64 |
| 1123 |
__rbp uint64 |
| 1124 |
__rsp uint64 |
| 1125 |
__r8 uint64 |
| 1126 |
__r9 uint64 |
| 1127 |
__r10 uint64 |
| 1128 |
__r11 uint64 |
| 1129 |
__r12 uint64 |
| 1130 |
__r13 uint64 |
| 1131 |
__r14 uint64 |
| 1132 |
__r15 uint64 |
| 1133 |
__rip uint64 |
| 1134 |
__rflags uint64 |
| 1135 |
__cs uint64 |
| 1136 |
__fs uint64 |
| 1137 |
__gs uint64 |
| 1138 |
} |
| 1139 |
__ds uint64 |
| 1140 |
__es uint64 |
| 1141 |
__ss uint64 |
| 1142 |
__gsbase uint64 |
| 1143 |
} |
| 1144 |
|
| 1145 |
type __darwin_x86_float_state64 = struct { |
| 1146 |
__fpu_reserved [2]int32 |
| 1147 |
__fpu_fcw struct { |
| 1148 |
_ [0]uint16 |
| 1149 |
__invalid uint16 |
| 1150 |
} |
| 1151 |
__fpu_fsw struct { |
| 1152 |
_ [0]uint16 |
| 1153 |
__invalid uint16 |
| 1154 |
} |
| 1155 |
__fpu_ftw uint8 |
| 1156 |
__fpu_rsrv1 uint8 |
| 1157 |
__fpu_fop uint16 |
| 1158 |
__fpu_ip uint32 |
| 1159 |
__fpu_cs uint16 |
| 1160 |
__fpu_rsrv2 uint16 |
| 1161 |
__fpu_dp uint32 |
| 1162 |
__fpu_ds uint16 |
| 1163 |
__fpu_rsrv3 uint16 |
| 1164 |
__fpu_mxcsr uint32 |
| 1165 |
__fpu_mxcsrmask uint32 |
| 1166 |
__fpu_stmm0 struct { |
| 1167 |
__mmst_reg [10]int8 |
| 1168 |
__mmst_rsrv [6]int8 |
| 1169 |
} |
| 1170 |
__fpu_stmm1 struct { |
| 1171 |
__mmst_reg [10]int8 |
| 1172 |
__mmst_rsrv [6]int8 |
| 1173 |
} |
| 1174 |
__fpu_stmm2 struct { |
| 1175 |
__mmst_reg [10]int8 |
| 1176 |
__mmst_rsrv [6]int8 |
| 1177 |
} |
| 1178 |
__fpu_stmm3 struct { |
| 1179 |
__mmst_reg [10]int8 |
| 1180 |
__mmst_rsrv [6]int8 |
| 1181 |
} |
| 1182 |
__fpu_stmm4 struct { |
| 1183 |
__mmst_reg [10]int8 |
| 1184 |
__mmst_rsrv [6]int8 |
| 1185 |
} |
| 1186 |
__fpu_stmm5 struct { |
| 1187 |
__mmst_reg [10]int8 |
| 1188 |
__mmst_rsrv [6]int8 |
| 1189 |
} |
| 1190 |
__fpu_stmm6 struct { |
| 1191 |
__mmst_reg [10]int8 |
| 1192 |
__mmst_rsrv [6]int8 |
| 1193 |
} |
| 1194 |
__fpu_stmm7 struct { |
| 1195 |
__mmst_reg [10]int8 |
| 1196 |
__mmst_rsrv [6]int8 |
| 1197 |
} |
| 1198 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1199 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1200 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1201 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1202 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1203 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1204 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1205 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1206 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 1207 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 1208 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 1209 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 1210 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 1211 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 1212 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 1213 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 1214 |
__fpu_rsrv4 [96]int8 |
| 1215 |
__fpu_reserved1 int32 |
| 1216 |
} |
| 1217 |
|
| 1218 |
type __darwin_x86_avx_state64 = struct { |
| 1219 |
__fpu_reserved [2]int32 |
| 1220 |
__fpu_fcw struct { |
| 1221 |
_ [0]uint16 |
| 1222 |
__invalid uint16 |
| 1223 |
} |
| 1224 |
__fpu_fsw struct { |
| 1225 |
_ [0]uint16 |
| 1226 |
__invalid uint16 |
| 1227 |
} |
| 1228 |
__fpu_ftw uint8 |
| 1229 |
__fpu_rsrv1 uint8 |
| 1230 |
__fpu_fop uint16 |
| 1231 |
__fpu_ip uint32 |
| 1232 |
__fpu_cs uint16 |
| 1233 |
__fpu_rsrv2 uint16 |
| 1234 |
__fpu_dp uint32 |
| 1235 |
__fpu_ds uint16 |
| 1236 |
__fpu_rsrv3 uint16 |
| 1237 |
__fpu_mxcsr uint32 |
| 1238 |
__fpu_mxcsrmask uint32 |
| 1239 |
__fpu_stmm0 struct { |
| 1240 |
__mmst_reg [10]int8 |
| 1241 |
__mmst_rsrv [6]int8 |
| 1242 |
} |
| 1243 |
__fpu_stmm1 struct { |
| 1244 |
__mmst_reg [10]int8 |
| 1245 |
__mmst_rsrv [6]int8 |
| 1246 |
} |
| 1247 |
__fpu_stmm2 struct { |
| 1248 |
__mmst_reg [10]int8 |
| 1249 |
__mmst_rsrv [6]int8 |
| 1250 |
} |
| 1251 |
__fpu_stmm3 struct { |
| 1252 |
__mmst_reg [10]int8 |
| 1253 |
__mmst_rsrv [6]int8 |
| 1254 |
} |
| 1255 |
__fpu_stmm4 struct { |
| 1256 |
__mmst_reg [10]int8 |
| 1257 |
__mmst_rsrv [6]int8 |
| 1258 |
} |
| 1259 |
__fpu_stmm5 struct { |
| 1260 |
__mmst_reg [10]int8 |
| 1261 |
__mmst_rsrv [6]int8 |
| 1262 |
} |
| 1263 |
__fpu_stmm6 struct { |
| 1264 |
__mmst_reg [10]int8 |
| 1265 |
__mmst_rsrv [6]int8 |
| 1266 |
} |
| 1267 |
__fpu_stmm7 struct { |
| 1268 |
__mmst_reg [10]int8 |
| 1269 |
__mmst_rsrv [6]int8 |
| 1270 |
} |
| 1271 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1272 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1273 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1274 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1275 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1276 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1277 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1278 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1279 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 1280 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 1281 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 1282 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 1283 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 1284 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 1285 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 1286 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 1287 |
__fpu_rsrv4 [96]int8 |
| 1288 |
__fpu_reserved1 int32 |
| 1289 |
__avx_reserved1 [64]int8 |
| 1290 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 1291 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 1292 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 1293 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 1294 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 1295 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 1296 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 1297 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 1298 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 1299 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 1300 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 1301 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 1302 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 1303 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 1304 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 1305 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 1306 |
} |
| 1307 |
|
| 1308 |
type __darwin_x86_avx512_state64 = struct { |
| 1309 |
__fpu_reserved [2]int32 |
| 1310 |
__fpu_fcw struct { |
| 1311 |
_ [0]uint16 |
| 1312 |
__invalid uint16 |
| 1313 |
} |
| 1314 |
__fpu_fsw struct { |
| 1315 |
_ [0]uint16 |
| 1316 |
__invalid uint16 |
| 1317 |
} |
| 1318 |
__fpu_ftw uint8 |
| 1319 |
__fpu_rsrv1 uint8 |
| 1320 |
__fpu_fop uint16 |
| 1321 |
__fpu_ip uint32 |
| 1322 |
__fpu_cs uint16 |
| 1323 |
__fpu_rsrv2 uint16 |
| 1324 |
__fpu_dp uint32 |
| 1325 |
__fpu_ds uint16 |
| 1326 |
__fpu_rsrv3 uint16 |
| 1327 |
__fpu_mxcsr uint32 |
| 1328 |
__fpu_mxcsrmask uint32 |
| 1329 |
__fpu_stmm0 struct { |
| 1330 |
__mmst_reg [10]int8 |
| 1331 |
__mmst_rsrv [6]int8 |
| 1332 |
} |
| 1333 |
__fpu_stmm1 struct { |
| 1334 |
__mmst_reg [10]int8 |
| 1335 |
__mmst_rsrv [6]int8 |
| 1336 |
} |
| 1337 |
__fpu_stmm2 struct { |
| 1338 |
__mmst_reg [10]int8 |
| 1339 |
__mmst_rsrv [6]int8 |
| 1340 |
} |
| 1341 |
__fpu_stmm3 struct { |
| 1342 |
__mmst_reg [10]int8 |
| 1343 |
__mmst_rsrv [6]int8 |
| 1344 |
} |
| 1345 |
__fpu_stmm4 struct { |
| 1346 |
__mmst_reg [10]int8 |
| 1347 |
__mmst_rsrv [6]int8 |
| 1348 |
} |
| 1349 |
__fpu_stmm5 struct { |
| 1350 |
__mmst_reg [10]int8 |
| 1351 |
__mmst_rsrv [6]int8 |
| 1352 |
} |
| 1353 |
__fpu_stmm6 struct { |
| 1354 |
__mmst_reg [10]int8 |
| 1355 |
__mmst_rsrv [6]int8 |
| 1356 |
} |
| 1357 |
__fpu_stmm7 struct { |
| 1358 |
__mmst_reg [10]int8 |
| 1359 |
__mmst_rsrv [6]int8 |
| 1360 |
} |
| 1361 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1362 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1363 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1364 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1365 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1366 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1367 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1368 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1369 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 1370 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 1371 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 1372 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 1373 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 1374 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 1375 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 1376 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 1377 |
__fpu_rsrv4 [96]int8 |
| 1378 |
__fpu_reserved1 int32 |
| 1379 |
__avx_reserved1 [64]int8 |
| 1380 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 1381 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 1382 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 1383 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 1384 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 1385 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 1386 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 1387 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 1388 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 1389 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 1390 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 1391 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 1392 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 1393 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 1394 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 1395 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 1396 |
__fpu_k0 struct{ __opmask_reg [8]int8 } |
| 1397 |
__fpu_k1 struct{ __opmask_reg [8]int8 } |
| 1398 |
__fpu_k2 struct{ __opmask_reg [8]int8 } |
| 1399 |
__fpu_k3 struct{ __opmask_reg [8]int8 } |
| 1400 |
__fpu_k4 struct{ __opmask_reg [8]int8 } |
| 1401 |
__fpu_k5 struct{ __opmask_reg [8]int8 } |
| 1402 |
__fpu_k6 struct{ __opmask_reg [8]int8 } |
| 1403 |
__fpu_k7 struct{ __opmask_reg [8]int8 } |
| 1404 |
__fpu_zmmh0 struct{ __ymm_reg [32]int8 } |
| 1405 |
__fpu_zmmh1 struct{ __ymm_reg [32]int8 } |
| 1406 |
__fpu_zmmh2 struct{ __ymm_reg [32]int8 } |
| 1407 |
__fpu_zmmh3 struct{ __ymm_reg [32]int8 } |
| 1408 |
__fpu_zmmh4 struct{ __ymm_reg [32]int8 } |
| 1409 |
__fpu_zmmh5 struct{ __ymm_reg [32]int8 } |
| 1410 |
__fpu_zmmh6 struct{ __ymm_reg [32]int8 } |
| 1411 |
__fpu_zmmh7 struct{ __ymm_reg [32]int8 } |
| 1412 |
__fpu_zmmh8 struct{ __ymm_reg [32]int8 } |
| 1413 |
__fpu_zmmh9 struct{ __ymm_reg [32]int8 } |
| 1414 |
__fpu_zmmh10 struct{ __ymm_reg [32]int8 } |
| 1415 |
__fpu_zmmh11 struct{ __ymm_reg [32]int8 } |
| 1416 |
__fpu_zmmh12 struct{ __ymm_reg [32]int8 } |
| 1417 |
__fpu_zmmh13 struct{ __ymm_reg [32]int8 } |
| 1418 |
__fpu_zmmh14 struct{ __ymm_reg [32]int8 } |
| 1419 |
__fpu_zmmh15 struct{ __ymm_reg [32]int8 } |
| 1420 |
__fpu_zmm16 struct{ __zmm_reg [64]int8 } |
| 1421 |
__fpu_zmm17 struct{ __zmm_reg [64]int8 } |
| 1422 |
__fpu_zmm18 struct{ __zmm_reg [64]int8 } |
| 1423 |
__fpu_zmm19 struct{ __zmm_reg [64]int8 } |
| 1424 |
__fpu_zmm20 struct{ __zmm_reg [64]int8 } |
| 1425 |
__fpu_zmm21 struct{ __zmm_reg [64]int8 } |
| 1426 |
__fpu_zmm22 struct{ __zmm_reg [64]int8 } |
| 1427 |
__fpu_zmm23 struct{ __zmm_reg [64]int8 } |
| 1428 |
__fpu_zmm24 struct{ __zmm_reg [64]int8 } |
| 1429 |
__fpu_zmm25 struct{ __zmm_reg [64]int8 } |
| 1430 |
__fpu_zmm26 struct{ __zmm_reg [64]int8 } |
| 1431 |
__fpu_zmm27 struct{ __zmm_reg [64]int8 } |
| 1432 |
__fpu_zmm28 struct{ __zmm_reg [64]int8 } |
| 1433 |
__fpu_zmm29 struct{ __zmm_reg [64]int8 } |
| 1434 |
__fpu_zmm30 struct{ __zmm_reg [64]int8 } |
| 1435 |
__fpu_zmm31 struct{ __zmm_reg [64]int8 } |
| 1436 |
} |
| 1437 |
|
| 1438 |
type __darwin_x86_exception_state64 = struct { |
| 1439 |
__trapno uint16 |
| 1440 |
__cpu uint16 |
| 1441 |
__err uint32 |
| 1442 |
__faultvaddr uint64 |
| 1443 |
} |
| 1444 |
|
| 1445 |
type __darwin_x86_debug_state64 = struct { |
| 1446 |
__dr0 uint64 |
| 1447 |
__dr1 uint64 |
| 1448 |
__dr2 uint64 |
| 1449 |
__dr3 uint64 |
| 1450 |
__dr4 uint64 |
| 1451 |
__dr5 uint64 |
| 1452 |
__dr6 uint64 |
| 1453 |
__dr7 uint64 |
| 1454 |
} |
| 1455 |
|
| 1456 |
type __darwin_x86_cpmu_state64 = struct{ __ctrs [16]uint64 } |
| 1457 |
|
| 1458 |
type __darwin_mcontext32 = struct { |
| 1459 |
__es struct { |
| 1460 |
__trapno uint16 |
| 1461 |
__cpu uint16 |
| 1462 |
__err uint32 |
| 1463 |
__faultvaddr uint32 |
| 1464 |
} |
| 1465 |
__ss struct { |
| 1466 |
__eax uint32 |
| 1467 |
__ebx uint32 |
| 1468 |
__ecx uint32 |
| 1469 |
__edx uint32 |
| 1470 |
__edi uint32 |
| 1471 |
__esi uint32 |
| 1472 |
__ebp uint32 |
| 1473 |
__esp uint32 |
| 1474 |
__ss uint32 |
| 1475 |
__eflags uint32 |
| 1476 |
__eip uint32 |
| 1477 |
__cs uint32 |
| 1478 |
__ds uint32 |
| 1479 |
__es uint32 |
| 1480 |
__fs uint32 |
| 1481 |
__gs uint32 |
| 1482 |
} |
| 1483 |
__fs struct { |
| 1484 |
__fpu_reserved [2]int32 |
| 1485 |
__fpu_fcw struct { |
| 1486 |
_ [0]uint16 |
| 1487 |
__invalid uint16 |
| 1488 |
} |
| 1489 |
__fpu_fsw struct { |
| 1490 |
_ [0]uint16 |
| 1491 |
__invalid uint16 |
| 1492 |
} |
| 1493 |
__fpu_ftw uint8 |
| 1494 |
__fpu_rsrv1 uint8 |
| 1495 |
__fpu_fop uint16 |
| 1496 |
__fpu_ip uint32 |
| 1497 |
__fpu_cs uint16 |
| 1498 |
__fpu_rsrv2 uint16 |
| 1499 |
__fpu_dp uint32 |
| 1500 |
__fpu_ds uint16 |
| 1501 |
__fpu_rsrv3 uint16 |
| 1502 |
__fpu_mxcsr uint32 |
| 1503 |
__fpu_mxcsrmask uint32 |
| 1504 |
__fpu_stmm0 struct { |
| 1505 |
__mmst_reg [10]int8 |
| 1506 |
__mmst_rsrv [6]int8 |
| 1507 |
} |
| 1508 |
__fpu_stmm1 struct { |
| 1509 |
__mmst_reg [10]int8 |
| 1510 |
__mmst_rsrv [6]int8 |
| 1511 |
} |
| 1512 |
__fpu_stmm2 struct { |
| 1513 |
__mmst_reg [10]int8 |
| 1514 |
__mmst_rsrv [6]int8 |
| 1515 |
} |
| 1516 |
__fpu_stmm3 struct { |
| 1517 |
__mmst_reg [10]int8 |
| 1518 |
__mmst_rsrv [6]int8 |
| 1519 |
} |
| 1520 |
__fpu_stmm4 struct { |
| 1521 |
__mmst_reg [10]int8 |
| 1522 |
__mmst_rsrv [6]int8 |
| 1523 |
} |
| 1524 |
__fpu_stmm5 struct { |
| 1525 |
__mmst_reg [10]int8 |
| 1526 |
__mmst_rsrv [6]int8 |
| 1527 |
} |
| 1528 |
__fpu_stmm6 struct { |
| 1529 |
__mmst_reg [10]int8 |
| 1530 |
__mmst_rsrv [6]int8 |
| 1531 |
} |
| 1532 |
__fpu_stmm7 struct { |
| 1533 |
__mmst_reg [10]int8 |
| 1534 |
__mmst_rsrv [6]int8 |
| 1535 |
} |
| 1536 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1537 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1538 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1539 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1540 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1541 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1542 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1543 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1544 |
__fpu_rsrv4 [224]int8 |
| 1545 |
__fpu_reserved1 int32 |
| 1546 |
} |
| 1547 |
} |
| 1548 |
|
| 1549 |
type __darwin_mcontext_avx32 = struct { |
| 1550 |
__es struct { |
| 1551 |
__trapno uint16 |
| 1552 |
__cpu uint16 |
| 1553 |
__err uint32 |
| 1554 |
__faultvaddr uint32 |
| 1555 |
} |
| 1556 |
__ss struct { |
| 1557 |
__eax uint32 |
| 1558 |
__ebx uint32 |
| 1559 |
__ecx uint32 |
| 1560 |
__edx uint32 |
| 1561 |
__edi uint32 |
| 1562 |
__esi uint32 |
| 1563 |
__ebp uint32 |
| 1564 |
__esp uint32 |
| 1565 |
__ss uint32 |
| 1566 |
__eflags uint32 |
| 1567 |
__eip uint32 |
| 1568 |
__cs uint32 |
| 1569 |
__ds uint32 |
| 1570 |
__es uint32 |
| 1571 |
__fs uint32 |
| 1572 |
__gs uint32 |
| 1573 |
} |
| 1574 |
__fs struct { |
| 1575 |
__fpu_reserved [2]int32 |
| 1576 |
__fpu_fcw struct { |
| 1577 |
_ [0]uint16 |
| 1578 |
__invalid uint16 |
| 1579 |
} |
| 1580 |
__fpu_fsw struct { |
| 1581 |
_ [0]uint16 |
| 1582 |
__invalid uint16 |
| 1583 |
} |
| 1584 |
__fpu_ftw uint8 |
| 1585 |
__fpu_rsrv1 uint8 |
| 1586 |
__fpu_fop uint16 |
| 1587 |
__fpu_ip uint32 |
| 1588 |
__fpu_cs uint16 |
| 1589 |
__fpu_rsrv2 uint16 |
| 1590 |
__fpu_dp uint32 |
| 1591 |
__fpu_ds uint16 |
| 1592 |
__fpu_rsrv3 uint16 |
| 1593 |
__fpu_mxcsr uint32 |
| 1594 |
__fpu_mxcsrmask uint32 |
| 1595 |
__fpu_stmm0 struct { |
| 1596 |
__mmst_reg [10]int8 |
| 1597 |
__mmst_rsrv [6]int8 |
| 1598 |
} |
| 1599 |
__fpu_stmm1 struct { |
| 1600 |
__mmst_reg [10]int8 |
| 1601 |
__mmst_rsrv [6]int8 |
| 1602 |
} |
| 1603 |
__fpu_stmm2 struct { |
| 1604 |
__mmst_reg [10]int8 |
| 1605 |
__mmst_rsrv [6]int8 |
| 1606 |
} |
| 1607 |
__fpu_stmm3 struct { |
| 1608 |
__mmst_reg [10]int8 |
| 1609 |
__mmst_rsrv [6]int8 |
| 1610 |
} |
| 1611 |
__fpu_stmm4 struct { |
| 1612 |
__mmst_reg [10]int8 |
| 1613 |
__mmst_rsrv [6]int8 |
| 1614 |
} |
| 1615 |
__fpu_stmm5 struct { |
| 1616 |
__mmst_reg [10]int8 |
| 1617 |
__mmst_rsrv [6]int8 |
| 1618 |
} |
| 1619 |
__fpu_stmm6 struct { |
| 1620 |
__mmst_reg [10]int8 |
| 1621 |
__mmst_rsrv [6]int8 |
| 1622 |
} |
| 1623 |
__fpu_stmm7 struct { |
| 1624 |
__mmst_reg [10]int8 |
| 1625 |
__mmst_rsrv [6]int8 |
| 1626 |
} |
| 1627 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1628 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1629 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1630 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1631 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1632 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1633 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1634 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1635 |
__fpu_rsrv4 [224]int8 |
| 1636 |
__fpu_reserved1 int32 |
| 1637 |
__avx_reserved1 [64]int8 |
| 1638 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 1639 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 1640 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 1641 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 1642 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 1643 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 1644 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 1645 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 1646 |
} |
| 1647 |
} |
| 1648 |
|
| 1649 |
type __darwin_mcontext_avx512_32 = struct { |
| 1650 |
__es struct { |
| 1651 |
__trapno uint16 |
| 1652 |
__cpu uint16 |
| 1653 |
__err uint32 |
| 1654 |
__faultvaddr uint32 |
| 1655 |
} |
| 1656 |
__ss struct { |
| 1657 |
__eax uint32 |
| 1658 |
__ebx uint32 |
| 1659 |
__ecx uint32 |
| 1660 |
__edx uint32 |
| 1661 |
__edi uint32 |
| 1662 |
__esi uint32 |
| 1663 |
__ebp uint32 |
| 1664 |
__esp uint32 |
| 1665 |
__ss uint32 |
| 1666 |
__eflags uint32 |
| 1667 |
__eip uint32 |
| 1668 |
__cs uint32 |
| 1669 |
__ds uint32 |
| 1670 |
__es uint32 |
| 1671 |
__fs uint32 |
| 1672 |
__gs uint32 |
| 1673 |
} |
| 1674 |
__fs struct { |
| 1675 |
__fpu_reserved [2]int32 |
| 1676 |
__fpu_fcw struct { |
| 1677 |
_ [0]uint16 |
| 1678 |
__invalid uint16 |
| 1679 |
} |
| 1680 |
__fpu_fsw struct { |
| 1681 |
_ [0]uint16 |
| 1682 |
__invalid uint16 |
| 1683 |
} |
| 1684 |
__fpu_ftw uint8 |
| 1685 |
__fpu_rsrv1 uint8 |
| 1686 |
__fpu_fop uint16 |
| 1687 |
__fpu_ip uint32 |
| 1688 |
__fpu_cs uint16 |
| 1689 |
__fpu_rsrv2 uint16 |
| 1690 |
__fpu_dp uint32 |
| 1691 |
__fpu_ds uint16 |
| 1692 |
__fpu_rsrv3 uint16 |
| 1693 |
__fpu_mxcsr uint32 |
| 1694 |
__fpu_mxcsrmask uint32 |
| 1695 |
__fpu_stmm0 struct { |
| 1696 |
__mmst_reg [10]int8 |
| 1697 |
__mmst_rsrv [6]int8 |
| 1698 |
} |
| 1699 |
__fpu_stmm1 struct { |
| 1700 |
__mmst_reg [10]int8 |
| 1701 |
__mmst_rsrv [6]int8 |
| 1702 |
} |
| 1703 |
__fpu_stmm2 struct { |
| 1704 |
__mmst_reg [10]int8 |
| 1705 |
__mmst_rsrv [6]int8 |
| 1706 |
} |
| 1707 |
__fpu_stmm3 struct { |
| 1708 |
__mmst_reg [10]int8 |
| 1709 |
__mmst_rsrv [6]int8 |
| 1710 |
} |
| 1711 |
__fpu_stmm4 struct { |
| 1712 |
__mmst_reg [10]int8 |
| 1713 |
__mmst_rsrv [6]int8 |
| 1714 |
} |
| 1715 |
__fpu_stmm5 struct { |
| 1716 |
__mmst_reg [10]int8 |
| 1717 |
__mmst_rsrv [6]int8 |
| 1718 |
} |
| 1719 |
__fpu_stmm6 struct { |
| 1720 |
__mmst_reg [10]int8 |
| 1721 |
__mmst_rsrv [6]int8 |
| 1722 |
} |
| 1723 |
__fpu_stmm7 struct { |
| 1724 |
__mmst_reg [10]int8 |
| 1725 |
__mmst_rsrv [6]int8 |
| 1726 |
} |
| 1727 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1728 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1729 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1730 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1731 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1732 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1733 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1734 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1735 |
__fpu_rsrv4 [224]int8 |
| 1736 |
__fpu_reserved1 int32 |
| 1737 |
__avx_reserved1 [64]int8 |
| 1738 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 1739 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 1740 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 1741 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 1742 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 1743 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 1744 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 1745 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 1746 |
__fpu_k0 struct{ __opmask_reg [8]int8 } |
| 1747 |
__fpu_k1 struct{ __opmask_reg [8]int8 } |
| 1748 |
__fpu_k2 struct{ __opmask_reg [8]int8 } |
| 1749 |
__fpu_k3 struct{ __opmask_reg [8]int8 } |
| 1750 |
__fpu_k4 struct{ __opmask_reg [8]int8 } |
| 1751 |
__fpu_k5 struct{ __opmask_reg [8]int8 } |
| 1752 |
__fpu_k6 struct{ __opmask_reg [8]int8 } |
| 1753 |
__fpu_k7 struct{ __opmask_reg [8]int8 } |
| 1754 |
__fpu_zmmh0 struct{ __ymm_reg [32]int8 } |
| 1755 |
__fpu_zmmh1 struct{ __ymm_reg [32]int8 } |
| 1756 |
__fpu_zmmh2 struct{ __ymm_reg [32]int8 } |
| 1757 |
__fpu_zmmh3 struct{ __ymm_reg [32]int8 } |
| 1758 |
__fpu_zmmh4 struct{ __ymm_reg [32]int8 } |
| 1759 |
__fpu_zmmh5 struct{ __ymm_reg [32]int8 } |
| 1760 |
__fpu_zmmh6 struct{ __ymm_reg [32]int8 } |
| 1761 |
__fpu_zmmh7 struct{ __ymm_reg [32]int8 } |
| 1762 |
} |
| 1763 |
} |
| 1764 |
|
| 1765 |
type __darwin_mcontext64 = struct { |
| 1766 |
__es struct { |
| 1767 |
__trapno uint16 |
| 1768 |
__cpu uint16 |
| 1769 |
__err uint32 |
| 1770 |
__faultvaddr uint64 |
| 1771 |
} |
| 1772 |
__ss struct { |
| 1773 |
__rax uint64 |
| 1774 |
__rbx uint64 |
| 1775 |
__rcx uint64 |
| 1776 |
__rdx uint64 |
| 1777 |
__rdi uint64 |
| 1778 |
__rsi uint64 |
| 1779 |
__rbp uint64 |
| 1780 |
__rsp uint64 |
| 1781 |
__r8 uint64 |
| 1782 |
__r9 uint64 |
| 1783 |
__r10 uint64 |
| 1784 |
__r11 uint64 |
| 1785 |
__r12 uint64 |
| 1786 |
__r13 uint64 |
| 1787 |
__r14 uint64 |
| 1788 |
__r15 uint64 |
| 1789 |
__rip uint64 |
| 1790 |
__rflags uint64 |
| 1791 |
__cs uint64 |
| 1792 |
__fs uint64 |
| 1793 |
__gs uint64 |
| 1794 |
} |
| 1795 |
__fs struct { |
| 1796 |
__fpu_reserved [2]int32 |
| 1797 |
__fpu_fcw struct { |
| 1798 |
_ [0]uint16 |
| 1799 |
__invalid uint16 |
| 1800 |
} |
| 1801 |
__fpu_fsw struct { |
| 1802 |
_ [0]uint16 |
| 1803 |
__invalid uint16 |
| 1804 |
} |
| 1805 |
__fpu_ftw uint8 |
| 1806 |
__fpu_rsrv1 uint8 |
| 1807 |
__fpu_fop uint16 |
| 1808 |
__fpu_ip uint32 |
| 1809 |
__fpu_cs uint16 |
| 1810 |
__fpu_rsrv2 uint16 |
| 1811 |
__fpu_dp uint32 |
| 1812 |
__fpu_ds uint16 |
| 1813 |
__fpu_rsrv3 uint16 |
| 1814 |
__fpu_mxcsr uint32 |
| 1815 |
__fpu_mxcsrmask uint32 |
| 1816 |
__fpu_stmm0 struct { |
| 1817 |
__mmst_reg [10]int8 |
| 1818 |
__mmst_rsrv [6]int8 |
| 1819 |
} |
| 1820 |
__fpu_stmm1 struct { |
| 1821 |
__mmst_reg [10]int8 |
| 1822 |
__mmst_rsrv [6]int8 |
| 1823 |
} |
| 1824 |
__fpu_stmm2 struct { |
| 1825 |
__mmst_reg [10]int8 |
| 1826 |
__mmst_rsrv [6]int8 |
| 1827 |
} |
| 1828 |
__fpu_stmm3 struct { |
| 1829 |
__mmst_reg [10]int8 |
| 1830 |
__mmst_rsrv [6]int8 |
| 1831 |
} |
| 1832 |
__fpu_stmm4 struct { |
| 1833 |
__mmst_reg [10]int8 |
| 1834 |
__mmst_rsrv [6]int8 |
| 1835 |
} |
| 1836 |
__fpu_stmm5 struct { |
| 1837 |
__mmst_reg [10]int8 |
| 1838 |
__mmst_rsrv [6]int8 |
| 1839 |
} |
| 1840 |
__fpu_stmm6 struct { |
| 1841 |
__mmst_reg [10]int8 |
| 1842 |
__mmst_rsrv [6]int8 |
| 1843 |
} |
| 1844 |
__fpu_stmm7 struct { |
| 1845 |
__mmst_reg [10]int8 |
| 1846 |
__mmst_rsrv [6]int8 |
| 1847 |
} |
| 1848 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1849 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1850 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1851 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1852 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1853 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1854 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1855 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1856 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 1857 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 1858 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 1859 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 1860 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 1861 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 1862 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 1863 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 1864 |
__fpu_rsrv4 [96]int8 |
| 1865 |
__fpu_reserved1 int32 |
| 1866 |
} |
| 1867 |
_ [4]byte |
| 1868 |
} |
| 1869 |
|
| 1870 |
type __darwin_mcontext64_full = struct { |
| 1871 |
__es struct { |
| 1872 |
__trapno uint16 |
| 1873 |
__cpu uint16 |
| 1874 |
__err uint32 |
| 1875 |
__faultvaddr uint64 |
| 1876 |
} |
| 1877 |
__ss struct { |
| 1878 |
__ss64 struct { |
| 1879 |
__rax uint64 |
| 1880 |
__rbx uint64 |
| 1881 |
__rcx uint64 |
| 1882 |
__rdx uint64 |
| 1883 |
__rdi uint64 |
| 1884 |
__rsi uint64 |
| 1885 |
__rbp uint64 |
| 1886 |
__rsp uint64 |
| 1887 |
__r8 uint64 |
| 1888 |
__r9 uint64 |
| 1889 |
__r10 uint64 |
| 1890 |
__r11 uint64 |
| 1891 |
__r12 uint64 |
| 1892 |
__r13 uint64 |
| 1893 |
__r14 uint64 |
| 1894 |
__r15 uint64 |
| 1895 |
__rip uint64 |
| 1896 |
__rflags uint64 |
| 1897 |
__cs uint64 |
| 1898 |
__fs uint64 |
| 1899 |
__gs uint64 |
| 1900 |
} |
| 1901 |
__ds uint64 |
| 1902 |
__es uint64 |
| 1903 |
__ss uint64 |
| 1904 |
__gsbase uint64 |
| 1905 |
} |
| 1906 |
__fs struct { |
| 1907 |
__fpu_reserved [2]int32 |
| 1908 |
__fpu_fcw struct { |
| 1909 |
_ [0]uint16 |
| 1910 |
__invalid uint16 |
| 1911 |
} |
| 1912 |
__fpu_fsw struct { |
| 1913 |
_ [0]uint16 |
| 1914 |
__invalid uint16 |
| 1915 |
} |
| 1916 |
__fpu_ftw uint8 |
| 1917 |
__fpu_rsrv1 uint8 |
| 1918 |
__fpu_fop uint16 |
| 1919 |
__fpu_ip uint32 |
| 1920 |
__fpu_cs uint16 |
| 1921 |
__fpu_rsrv2 uint16 |
| 1922 |
__fpu_dp uint32 |
| 1923 |
__fpu_ds uint16 |
| 1924 |
__fpu_rsrv3 uint16 |
| 1925 |
__fpu_mxcsr uint32 |
| 1926 |
__fpu_mxcsrmask uint32 |
| 1927 |
__fpu_stmm0 struct { |
| 1928 |
__mmst_reg [10]int8 |
| 1929 |
__mmst_rsrv [6]int8 |
| 1930 |
} |
| 1931 |
__fpu_stmm1 struct { |
| 1932 |
__mmst_reg [10]int8 |
| 1933 |
__mmst_rsrv [6]int8 |
| 1934 |
} |
| 1935 |
__fpu_stmm2 struct { |
| 1936 |
__mmst_reg [10]int8 |
| 1937 |
__mmst_rsrv [6]int8 |
| 1938 |
} |
| 1939 |
__fpu_stmm3 struct { |
| 1940 |
__mmst_reg [10]int8 |
| 1941 |
__mmst_rsrv [6]int8 |
| 1942 |
} |
| 1943 |
__fpu_stmm4 struct { |
| 1944 |
__mmst_reg [10]int8 |
| 1945 |
__mmst_rsrv [6]int8 |
| 1946 |
} |
| 1947 |
__fpu_stmm5 struct { |
| 1948 |
__mmst_reg [10]int8 |
| 1949 |
__mmst_rsrv [6]int8 |
| 1950 |
} |
| 1951 |
__fpu_stmm6 struct { |
| 1952 |
__mmst_reg [10]int8 |
| 1953 |
__mmst_rsrv [6]int8 |
| 1954 |
} |
| 1955 |
__fpu_stmm7 struct { |
| 1956 |
__mmst_reg [10]int8 |
| 1957 |
__mmst_rsrv [6]int8 |
| 1958 |
} |
| 1959 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 1960 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 1961 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 1962 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 1963 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 1964 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 1965 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 1966 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 1967 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 1968 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 1969 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 1970 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 1971 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 1972 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 1973 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 1974 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 1975 |
__fpu_rsrv4 [96]int8 |
| 1976 |
__fpu_reserved1 int32 |
| 1977 |
} |
| 1978 |
_ [4]byte |
| 1979 |
} |
| 1980 |
|
| 1981 |
type __darwin_mcontext_avx64 = struct { |
| 1982 |
__es struct { |
| 1983 |
__trapno uint16 |
| 1984 |
__cpu uint16 |
| 1985 |
__err uint32 |
| 1986 |
__faultvaddr uint64 |
| 1987 |
} |
| 1988 |
__ss struct { |
| 1989 |
__rax uint64 |
| 1990 |
__rbx uint64 |
| 1991 |
__rcx uint64 |
| 1992 |
__rdx uint64 |
| 1993 |
__rdi uint64 |
| 1994 |
__rsi uint64 |
| 1995 |
__rbp uint64 |
| 1996 |
__rsp uint64 |
| 1997 |
__r8 uint64 |
| 1998 |
__r9 uint64 |
| 1999 |
__r10 uint64 |
| 2000 |
__r11 uint64 |
| 2001 |
__r12 uint64 |
| 2002 |
__r13 uint64 |
| 2003 |
__r14 uint64 |
| 2004 |
__r15 uint64 |
| 2005 |
__rip uint64 |
| 2006 |
__rflags uint64 |
| 2007 |
__cs uint64 |
| 2008 |
__fs uint64 |
| 2009 |
__gs uint64 |
| 2010 |
} |
| 2011 |
__fs struct { |
| 2012 |
__fpu_reserved [2]int32 |
| 2013 |
__fpu_fcw struct { |
| 2014 |
_ [0]uint16 |
| 2015 |
__invalid uint16 |
| 2016 |
} |
| 2017 |
__fpu_fsw struct { |
| 2018 |
_ [0]uint16 |
| 2019 |
__invalid uint16 |
| 2020 |
} |
| 2021 |
__fpu_ftw uint8 |
| 2022 |
__fpu_rsrv1 uint8 |
| 2023 |
__fpu_fop uint16 |
| 2024 |
__fpu_ip uint32 |
| 2025 |
__fpu_cs uint16 |
| 2026 |
__fpu_rsrv2 uint16 |
| 2027 |
__fpu_dp uint32 |
| 2028 |
__fpu_ds uint16 |
| 2029 |
__fpu_rsrv3 uint16 |
| 2030 |
__fpu_mxcsr uint32 |
| 2031 |
__fpu_mxcsrmask uint32 |
| 2032 |
__fpu_stmm0 struct { |
| 2033 |
__mmst_reg [10]int8 |
| 2034 |
__mmst_rsrv [6]int8 |
| 2035 |
} |
| 2036 |
__fpu_stmm1 struct { |
| 2037 |
__mmst_reg [10]int8 |
| 2038 |
__mmst_rsrv [6]int8 |
| 2039 |
} |
| 2040 |
__fpu_stmm2 struct { |
| 2041 |
__mmst_reg [10]int8 |
| 2042 |
__mmst_rsrv [6]int8 |
| 2043 |
} |
| 2044 |
__fpu_stmm3 struct { |
| 2045 |
__mmst_reg [10]int8 |
| 2046 |
__mmst_rsrv [6]int8 |
| 2047 |
} |
| 2048 |
__fpu_stmm4 struct { |
| 2049 |
__mmst_reg [10]int8 |
| 2050 |
__mmst_rsrv [6]int8 |
| 2051 |
} |
| 2052 |
__fpu_stmm5 struct { |
| 2053 |
__mmst_reg [10]int8 |
| 2054 |
__mmst_rsrv [6]int8 |
| 2055 |
} |
| 2056 |
__fpu_stmm6 struct { |
| 2057 |
__mmst_reg [10]int8 |
| 2058 |
__mmst_rsrv [6]int8 |
| 2059 |
} |
| 2060 |
__fpu_stmm7 struct { |
| 2061 |
__mmst_reg [10]int8 |
| 2062 |
__mmst_rsrv [6]int8 |
| 2063 |
} |
| 2064 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 2065 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 2066 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 2067 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 2068 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 2069 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 2070 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 2071 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 2072 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 2073 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 2074 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 2075 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 2076 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 2077 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 2078 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 2079 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 2080 |
__fpu_rsrv4 [96]int8 |
| 2081 |
__fpu_reserved1 int32 |
| 2082 |
__avx_reserved1 [64]int8 |
| 2083 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 2084 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 2085 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 2086 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 2087 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 2088 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 2089 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 2090 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 2091 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 2092 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 2093 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 2094 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 2095 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 2096 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 2097 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 2098 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 2099 |
} |
| 2100 |
_ [4]byte |
| 2101 |
} |
| 2102 |
|
| 2103 |
type __darwin_mcontext_avx64_full = struct { |
| 2104 |
__es struct { |
| 2105 |
__trapno uint16 |
| 2106 |
__cpu uint16 |
| 2107 |
__err uint32 |
| 2108 |
__faultvaddr uint64 |
| 2109 |
} |
| 2110 |
__ss struct { |
| 2111 |
__ss64 struct { |
| 2112 |
__rax uint64 |
| 2113 |
__rbx uint64 |
| 2114 |
__rcx uint64 |
| 2115 |
__rdx uint64 |
| 2116 |
__rdi uint64 |
| 2117 |
__rsi uint64 |
| 2118 |
__rbp uint64 |
| 2119 |
__rsp uint64 |
| 2120 |
__r8 uint64 |
| 2121 |
__r9 uint64 |
| 2122 |
__r10 uint64 |
| 2123 |
__r11 uint64 |
| 2124 |
__r12 uint64 |
| 2125 |
__r13 uint64 |
| 2126 |
__r14 uint64 |
| 2127 |
__r15 uint64 |
| 2128 |
__rip uint64 |
| 2129 |
__rflags uint64 |
| 2130 |
__cs uint64 |
| 2131 |
__fs uint64 |
| 2132 |
__gs uint64 |
| 2133 |
} |
| 2134 |
__ds uint64 |
| 2135 |
__es uint64 |
| 2136 |
__ss uint64 |
| 2137 |
__gsbase uint64 |
| 2138 |
} |
| 2139 |
__fs struct { |
| 2140 |
__fpu_reserved [2]int32 |
| 2141 |
__fpu_fcw struct { |
| 2142 |
_ [0]uint16 |
| 2143 |
__invalid uint16 |
| 2144 |
} |
| 2145 |
__fpu_fsw struct { |
| 2146 |
_ [0]uint16 |
| 2147 |
__invalid uint16 |
| 2148 |
} |
| 2149 |
__fpu_ftw uint8 |
| 2150 |
__fpu_rsrv1 uint8 |
| 2151 |
__fpu_fop uint16 |
| 2152 |
__fpu_ip uint32 |
| 2153 |
__fpu_cs uint16 |
| 2154 |
__fpu_rsrv2 uint16 |
| 2155 |
__fpu_dp uint32 |
| 2156 |
__fpu_ds uint16 |
| 2157 |
__fpu_rsrv3 uint16 |
| 2158 |
__fpu_mxcsr uint32 |
| 2159 |
__fpu_mxcsrmask uint32 |
| 2160 |
__fpu_stmm0 struct { |
| 2161 |
__mmst_reg [10]int8 |
| 2162 |
__mmst_rsrv [6]int8 |
| 2163 |
} |
| 2164 |
__fpu_stmm1 struct { |
| 2165 |
__mmst_reg [10]int8 |
| 2166 |
__mmst_rsrv [6]int8 |
| 2167 |
} |
| 2168 |
__fpu_stmm2 struct { |
| 2169 |
__mmst_reg [10]int8 |
| 2170 |
__mmst_rsrv [6]int8 |
| 2171 |
} |
| 2172 |
__fpu_stmm3 struct { |
| 2173 |
__mmst_reg [10]int8 |
| 2174 |
__mmst_rsrv [6]int8 |
| 2175 |
} |
| 2176 |
__fpu_stmm4 struct { |
| 2177 |
__mmst_reg [10]int8 |
| 2178 |
__mmst_rsrv [6]int8 |
| 2179 |
} |
| 2180 |
__fpu_stmm5 struct { |
| 2181 |
__mmst_reg [10]int8 |
| 2182 |
__mmst_rsrv [6]int8 |
| 2183 |
} |
| 2184 |
__fpu_stmm6 struct { |
| 2185 |
__mmst_reg [10]int8 |
| 2186 |
__mmst_rsrv [6]int8 |
| 2187 |
} |
| 2188 |
__fpu_stmm7 struct { |
| 2189 |
__mmst_reg [10]int8 |
| 2190 |
__mmst_rsrv [6]int8 |
| 2191 |
} |
| 2192 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 2193 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 2194 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 2195 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 2196 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 2197 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 2198 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 2199 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 2200 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 2201 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 2202 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 2203 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 2204 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 2205 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 2206 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 2207 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 2208 |
__fpu_rsrv4 [96]int8 |
| 2209 |
__fpu_reserved1 int32 |
| 2210 |
__avx_reserved1 [64]int8 |
| 2211 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 2212 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 2213 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 2214 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 2215 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 2216 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 2217 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 2218 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 2219 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 2220 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 2221 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 2222 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 2223 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 2224 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 2225 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 2226 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 2227 |
} |
| 2228 |
_ [4]byte |
| 2229 |
} |
| 2230 |
|
| 2231 |
type __darwin_mcontext_avx512_64 = struct { |
| 2232 |
__es struct { |
| 2233 |
__trapno uint16 |
| 2234 |
__cpu uint16 |
| 2235 |
__err uint32 |
| 2236 |
__faultvaddr uint64 |
| 2237 |
} |
| 2238 |
__ss struct { |
| 2239 |
__rax uint64 |
| 2240 |
__rbx uint64 |
| 2241 |
__rcx uint64 |
| 2242 |
__rdx uint64 |
| 2243 |
__rdi uint64 |
| 2244 |
__rsi uint64 |
| 2245 |
__rbp uint64 |
| 2246 |
__rsp uint64 |
| 2247 |
__r8 uint64 |
| 2248 |
__r9 uint64 |
| 2249 |
__r10 uint64 |
| 2250 |
__r11 uint64 |
| 2251 |
__r12 uint64 |
| 2252 |
__r13 uint64 |
| 2253 |
__r14 uint64 |
| 2254 |
__r15 uint64 |
| 2255 |
__rip uint64 |
| 2256 |
__rflags uint64 |
| 2257 |
__cs uint64 |
| 2258 |
__fs uint64 |
| 2259 |
__gs uint64 |
| 2260 |
} |
| 2261 |
__fs struct { |
| 2262 |
__fpu_reserved [2]int32 |
| 2263 |
__fpu_fcw struct { |
| 2264 |
_ [0]uint16 |
| 2265 |
__invalid uint16 |
| 2266 |
} |
| 2267 |
__fpu_fsw struct { |
| 2268 |
_ [0]uint16 |
| 2269 |
__invalid uint16 |
| 2270 |
} |
| 2271 |
__fpu_ftw uint8 |
| 2272 |
__fpu_rsrv1 uint8 |
| 2273 |
__fpu_fop uint16 |
| 2274 |
__fpu_ip uint32 |
| 2275 |
__fpu_cs uint16 |
| 2276 |
__fpu_rsrv2 uint16 |
| 2277 |
__fpu_dp uint32 |
| 2278 |
__fpu_ds uint16 |
| 2279 |
__fpu_rsrv3 uint16 |
| 2280 |
__fpu_mxcsr uint32 |
| 2281 |
__fpu_mxcsrmask uint32 |
| 2282 |
__fpu_stmm0 struct { |
| 2283 |
__mmst_reg [10]int8 |
| 2284 |
__mmst_rsrv [6]int8 |
| 2285 |
} |
| 2286 |
__fpu_stmm1 struct { |
| 2287 |
__mmst_reg [10]int8 |
| 2288 |
__mmst_rsrv [6]int8 |
| 2289 |
} |
| 2290 |
__fpu_stmm2 struct { |
| 2291 |
__mmst_reg [10]int8 |
| 2292 |
__mmst_rsrv [6]int8 |
| 2293 |
} |
| 2294 |
__fpu_stmm3 struct { |
| 2295 |
__mmst_reg [10]int8 |
| 2296 |
__mmst_rsrv [6]int8 |
| 2297 |
} |
| 2298 |
__fpu_stmm4 struct { |
| 2299 |
__mmst_reg [10]int8 |
| 2300 |
__mmst_rsrv [6]int8 |
| 2301 |
} |
| 2302 |
__fpu_stmm5 struct { |
| 2303 |
__mmst_reg [10]int8 |
| 2304 |
__mmst_rsrv [6]int8 |
| 2305 |
} |
| 2306 |
__fpu_stmm6 struct { |
| 2307 |
__mmst_reg [10]int8 |
| 2308 |
__mmst_rsrv [6]int8 |
| 2309 |
} |
| 2310 |
__fpu_stmm7 struct { |
| 2311 |
__mmst_reg [10]int8 |
| 2312 |
__mmst_rsrv [6]int8 |
| 2313 |
} |
| 2314 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 2315 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 2316 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 2317 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 2318 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 2319 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 2320 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 2321 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 2322 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 2323 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 2324 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 2325 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 2326 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 2327 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 2328 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 2329 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 2330 |
__fpu_rsrv4 [96]int8 |
| 2331 |
__fpu_reserved1 int32 |
| 2332 |
__avx_reserved1 [64]int8 |
| 2333 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 2334 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 2335 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 2336 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 2337 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 2338 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 2339 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 2340 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 2341 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 2342 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 2343 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 2344 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 2345 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 2346 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 2347 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 2348 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 2349 |
__fpu_k0 struct{ __opmask_reg [8]int8 } |
| 2350 |
__fpu_k1 struct{ __opmask_reg [8]int8 } |
| 2351 |
__fpu_k2 struct{ __opmask_reg [8]int8 } |
| 2352 |
__fpu_k3 struct{ __opmask_reg [8]int8 } |
| 2353 |
__fpu_k4 struct{ __opmask_reg [8]int8 } |
| 2354 |
__fpu_k5 struct{ __opmask_reg [8]int8 } |
| 2355 |
__fpu_k6 struct{ __opmask_reg [8]int8 } |
| 2356 |
__fpu_k7 struct{ __opmask_reg [8]int8 } |
| 2357 |
__fpu_zmmh0 struct{ __ymm_reg [32]int8 } |
| 2358 |
__fpu_zmmh1 struct{ __ymm_reg [32]int8 } |
| 2359 |
__fpu_zmmh2 struct{ __ymm_reg [32]int8 } |
| 2360 |
__fpu_zmmh3 struct{ __ymm_reg [32]int8 } |
| 2361 |
__fpu_zmmh4 struct{ __ymm_reg [32]int8 } |
| 2362 |
__fpu_zmmh5 struct{ __ymm_reg [32]int8 } |
| 2363 |
__fpu_zmmh6 struct{ __ymm_reg [32]int8 } |
| 2364 |
__fpu_zmmh7 struct{ __ymm_reg [32]int8 } |
| 2365 |
__fpu_zmmh8 struct{ __ymm_reg [32]int8 } |
| 2366 |
__fpu_zmmh9 struct{ __ymm_reg [32]int8 } |
| 2367 |
__fpu_zmmh10 struct{ __ymm_reg [32]int8 } |
| 2368 |
__fpu_zmmh11 struct{ __ymm_reg [32]int8 } |
| 2369 |
__fpu_zmmh12 struct{ __ymm_reg [32]int8 } |
| 2370 |
__fpu_zmmh13 struct{ __ymm_reg [32]int8 } |
| 2371 |
__fpu_zmmh14 struct{ __ymm_reg [32]int8 } |
| 2372 |
__fpu_zmmh15 struct{ __ymm_reg [32]int8 } |
| 2373 |
__fpu_zmm16 struct{ __zmm_reg [64]int8 } |
| 2374 |
__fpu_zmm17 struct{ __zmm_reg [64]int8 } |
| 2375 |
__fpu_zmm18 struct{ __zmm_reg [64]int8 } |
| 2376 |
__fpu_zmm19 struct{ __zmm_reg [64]int8 } |
| 2377 |
__fpu_zmm20 struct{ __zmm_reg [64]int8 } |
| 2378 |
__fpu_zmm21 struct{ __zmm_reg [64]int8 } |
| 2379 |
__fpu_zmm22 struct{ __zmm_reg [64]int8 } |
| 2380 |
__fpu_zmm23 struct{ __zmm_reg [64]int8 } |
| 2381 |
__fpu_zmm24 struct{ __zmm_reg [64]int8 } |
| 2382 |
__fpu_zmm25 struct{ __zmm_reg [64]int8 } |
| 2383 |
__fpu_zmm26 struct{ __zmm_reg [64]int8 } |
| 2384 |
__fpu_zmm27 struct{ __zmm_reg [64]int8 } |
| 2385 |
__fpu_zmm28 struct{ __zmm_reg [64]int8 } |
| 2386 |
__fpu_zmm29 struct{ __zmm_reg [64]int8 } |
| 2387 |
__fpu_zmm30 struct{ __zmm_reg [64]int8 } |
| 2388 |
__fpu_zmm31 struct{ __zmm_reg [64]int8 } |
| 2389 |
} |
| 2390 |
_ [4]byte |
| 2391 |
} |
| 2392 |
|
| 2393 |
type __darwin_mcontext_avx512_64_full = struct { |
| 2394 |
__es struct { |
| 2395 |
__trapno uint16 |
| 2396 |
__cpu uint16 |
| 2397 |
__err uint32 |
| 2398 |
__faultvaddr uint64 |
| 2399 |
} |
| 2400 |
__ss struct { |
| 2401 |
__ss64 struct { |
| 2402 |
__rax uint64 |
| 2403 |
__rbx uint64 |
| 2404 |
__rcx uint64 |
| 2405 |
__rdx uint64 |
| 2406 |
__rdi uint64 |
| 2407 |
__rsi uint64 |
| 2408 |
__rbp uint64 |
| 2409 |
__rsp uint64 |
| 2410 |
__r8 uint64 |
| 2411 |
__r9 uint64 |
| 2412 |
__r10 uint64 |
| 2413 |
__r11 uint64 |
| 2414 |
__r12 uint64 |
| 2415 |
__r13 uint64 |
| 2416 |
__r14 uint64 |
| 2417 |
__r15 uint64 |
| 2418 |
__rip uint64 |
| 2419 |
__rflags uint64 |
| 2420 |
__cs uint64 |
| 2421 |
__fs uint64 |
| 2422 |
__gs uint64 |
| 2423 |
} |
| 2424 |
__ds uint64 |
| 2425 |
__es uint64 |
| 2426 |
__ss uint64 |
| 2427 |
__gsbase uint64 |
| 2428 |
} |
| 2429 |
__fs struct { |
| 2430 |
__fpu_reserved [2]int32 |
| 2431 |
__fpu_fcw struct { |
| 2432 |
_ [0]uint16 |
| 2433 |
__invalid uint16 |
| 2434 |
} |
| 2435 |
__fpu_fsw struct { |
| 2436 |
_ [0]uint16 |
| 2437 |
__invalid uint16 |
| 2438 |
} |
| 2439 |
__fpu_ftw uint8 |
| 2440 |
__fpu_rsrv1 uint8 |
| 2441 |
__fpu_fop uint16 |
| 2442 |
__fpu_ip uint32 |
| 2443 |
__fpu_cs uint16 |
| 2444 |
__fpu_rsrv2 uint16 |
| 2445 |
__fpu_dp uint32 |
| 2446 |
__fpu_ds uint16 |
| 2447 |
__fpu_rsrv3 uint16 |
| 2448 |
__fpu_mxcsr uint32 |
| 2449 |
__fpu_mxcsrmask uint32 |
| 2450 |
__fpu_stmm0 struct { |
| 2451 |
__mmst_reg [10]int8 |
| 2452 |
__mmst_rsrv [6]int8 |
| 2453 |
} |
| 2454 |
__fpu_stmm1 struct { |
| 2455 |
__mmst_reg [10]int8 |
| 2456 |
__mmst_rsrv [6]int8 |
| 2457 |
} |
| 2458 |
__fpu_stmm2 struct { |
| 2459 |
__mmst_reg [10]int8 |
| 2460 |
__mmst_rsrv [6]int8 |
| 2461 |
} |
| 2462 |
__fpu_stmm3 struct { |
| 2463 |
__mmst_reg [10]int8 |
| 2464 |
__mmst_rsrv [6]int8 |
| 2465 |
} |
| 2466 |
__fpu_stmm4 struct { |
| 2467 |
__mmst_reg [10]int8 |
| 2468 |
__mmst_rsrv [6]int8 |
| 2469 |
} |
| 2470 |
__fpu_stmm5 struct { |
| 2471 |
__mmst_reg [10]int8 |
| 2472 |
__mmst_rsrv [6]int8 |
| 2473 |
} |
| 2474 |
__fpu_stmm6 struct { |
| 2475 |
__mmst_reg [10]int8 |
| 2476 |
__mmst_rsrv [6]int8 |
| 2477 |
} |
| 2478 |
__fpu_stmm7 struct { |
| 2479 |
__mmst_reg [10]int8 |
| 2480 |
__mmst_rsrv [6]int8 |
| 2481 |
} |
| 2482 |
__fpu_xmm0 struct{ __xmm_reg [16]int8 } |
| 2483 |
__fpu_xmm1 struct{ __xmm_reg [16]int8 } |
| 2484 |
__fpu_xmm2 struct{ __xmm_reg [16]int8 } |
| 2485 |
__fpu_xmm3 struct{ __xmm_reg [16]int8 } |
| 2486 |
__fpu_xmm4 struct{ __xmm_reg [16]int8 } |
| 2487 |
__fpu_xmm5 struct{ __xmm_reg [16]int8 } |
| 2488 |
__fpu_xmm6 struct{ __xmm_reg [16]int8 } |
| 2489 |
__fpu_xmm7 struct{ __xmm_reg [16]int8 } |
| 2490 |
__fpu_xmm8 struct{ __xmm_reg [16]int8 } |
| 2491 |
__fpu_xmm9 struct{ __xmm_reg [16]int8 } |
| 2492 |
__fpu_xmm10 struct{ __xmm_reg [16]int8 } |
| 2493 |
__fpu_xmm11 struct{ __xmm_reg [16]int8 } |
| 2494 |
__fpu_xmm12 struct{ __xmm_reg [16]int8 } |
| 2495 |
__fpu_xmm13 struct{ __xmm_reg [16]int8 } |
| 2496 |
__fpu_xmm14 struct{ __xmm_reg [16]int8 } |
| 2497 |
__fpu_xmm15 struct{ __xmm_reg [16]int8 } |
| 2498 |
__fpu_rsrv4 [96]int8 |
| 2499 |
__fpu_reserved1 int32 |
| 2500 |
__avx_reserved1 [64]int8 |
| 2501 |
__fpu_ymmh0 struct{ __xmm_reg [16]int8 } |
| 2502 |
__fpu_ymmh1 struct{ __xmm_reg [16]int8 } |
| 2503 |
__fpu_ymmh2 struct{ __xmm_reg [16]int8 } |
| 2504 |
__fpu_ymmh3 struct{ __xmm_reg [16]int8 } |
| 2505 |
__fpu_ymmh4 struct{ __xmm_reg [16]int8 } |
| 2506 |
__fpu_ymmh5 struct{ __xmm_reg [16]int8 } |
| 2507 |
__fpu_ymmh6 struct{ __xmm_reg [16]int8 } |
| 2508 |
__fpu_ymmh7 struct{ __xmm_reg [16]int8 } |
| 2509 |
__fpu_ymmh8 struct{ __xmm_reg [16]int8 } |
| 2510 |
__fpu_ymmh9 struct{ __xmm_reg [16]int8 } |
| 2511 |
__fpu_ymmh10 struct{ __xmm_reg [16]int8 } |
| 2512 |
__fpu_ymmh11 struct{ __xmm_reg [16]int8 } |
| 2513 |
__fpu_ymmh12 struct{ __xmm_reg [16]int8 } |
| 2514 |
__fpu_ymmh13 struct{ __xmm_reg [16]int8 } |
| 2515 |
__fpu_ymmh14 struct{ __xmm_reg [16]int8 } |
| 2516 |
__fpu_ymmh15 struct{ __xmm_reg [16]int8 } |
| 2517 |
__fpu_k0 struct{ __opmask_reg [8]int8 } |
| 2518 |
__fpu_k1 struct{ __opmask_reg [8]int8 } |
| 2519 |
__fpu_k2 struct{ __opmask_reg [8]int8 } |
| 2520 |
__fpu_k3 struct{ __opmask_reg [8]int8 } |
| 2521 |
__fpu_k4 struct{ __opmask_reg [8]int8 } |
| 2522 |
__fpu_k5 struct{ __opmask_reg [8]int8 } |
| 2523 |
__fpu_k6 struct{ __opmask_reg [8]int8 } |
| 2524 |
__fpu_k7 struct{ __opmask_reg [8]int8 } |
| 2525 |
__fpu_zmmh0 struct{ __ymm_reg [32]int8 } |
| 2526 |
__fpu_zmmh1 struct{ __ymm_reg [32]int8 } |
| 2527 |
__fpu_zmmh2 struct{ __ymm_reg [32]int8 } |
| 2528 |
__fpu_zmmh3 struct{ __ymm_reg [32]int8 } |
| 2529 |
__fpu_zmmh4 struct{ __ymm_reg [32]int8 } |
| 2530 |
__fpu_zmmh5 struct{ __ymm_reg [32]int8 } |
| 2531 |
__fpu_zmmh6 struct{ __ymm_reg [32]int8 } |
| 2532 |
__fpu_zmmh7 struct{ __ymm_reg [32]int8 } |
| 2533 |
__fpu_zmmh8 struct{ __ymm_reg [32]int8 } |
| 2534 |
__fpu_zmmh9 struct{ __ymm_reg [32]int8 } |
| 2535 |
__fpu_zmmh10 struct{ __ymm_reg [32]int8 } |
| 2536 |
__fpu_zmmh11 struct{ __ymm_reg [32]int8 } |
| 2537 |
__fpu_zmmh12 struct{ __ymm_reg [32]int8 } |
| 2538 |
__fpu_zmmh13 struct{ __ymm_reg [32]int8 } |
| 2539 |
__fpu_zmmh14 struct{ __ymm_reg [32]int8 } |
| 2540 |
__fpu_zmmh15 struct{ __ymm_reg [32]int8 } |
| 2541 |
__fpu_zmm16 struct{ __zmm_reg [64]int8 } |
| 2542 |
__fpu_zmm17 struct{ __zmm_reg [64]int8 } |
| 2543 |
__fpu_zmm18 struct{ __zmm_reg [64]int8 } |
| 2544 |
__fpu_zmm19 struct{ __zmm_reg [64]int8 } |
| 2545 |
__fpu_zmm20 struct{ __zmm_reg [64]int8 } |
| 2546 |
__fpu_zmm21 struct{ __zmm_reg [64]int8 } |
| 2547 |
__fpu_zmm22 struct{ __zmm_reg [64]int8 } |
| 2548 |
__fpu_zmm23 struct{ __zmm_reg [64]int8 } |
| 2549 |
__fpu_zmm24 struct{ __zmm_reg [64]int8 } |
| 2550 |
__fpu_zmm25 struct{ __zmm_reg [64]int8 } |
| 2551 |
__fpu_zmm26 struct{ __zmm_reg [64]int8 } |
| 2552 |
__fpu_zmm27 struct{ __zmm_reg [64]int8 } |
| 2553 |
__fpu_zmm28 struct{ __zmm_reg [64]int8 } |
| 2554 |
__fpu_zmm29 struct{ __zmm_reg [64]int8 } |
| 2555 |
__fpu_zmm30 struct{ __zmm_reg [64]int8 } |
| 2556 |
__fpu_zmm31 struct{ __zmm_reg [64]int8 } |
| 2557 |
} |
| 2558 |
_ [4]byte |
| 2559 |
} |
| 2560 |
|
| 2561 |
type mcontext_t = uintptr |
| 2562 |
|
| 2563 |
type __darwin_sigaltstack = struct { |
| 2564 |
ss_sp uintptr |
| 2565 |
ss_size uint64 |
| 2566 |
ss_flags int32 |
| 2567 |
_ [4]byte |
| 2568 |
} |
| 2569 |
|
| 2570 |
type stack_t = __darwin_sigaltstack |
| 2571 |
|
| 2572 |
type __darwin_ucontext = struct { |
| 2573 |
uc_onstack int32 |
| 2574 |
uc_sigmask uint32 |
| 2575 |
uc_stack struct { |
| 2576 |
ss_sp uintptr |
| 2577 |
ss_size uint64 |
| 2578 |
ss_flags int32 |
| 2579 |
_ [4]byte |
| 2580 |
} |
| 2581 |
uc_link uintptr |
| 2582 |
uc_mcsize uint64 |
| 2583 |
uc_mcontext uintptr |
| 2584 |
} |
| 2585 |
|
| 2586 |
type ucontext_t = __darwin_ucontext |
| 2587 |
|
| 2588 |
type sigset_t = uint32 |
| 2589 |
|
| 2590 |
type sigval = struct { |
| 2591 |
_ [0]uint64 |
| 2592 |
sival_int int32 |
| 2593 |
_ [4]byte |
| 2594 |
} |
| 2595 |
|
| 2596 |
type sigevent = struct { |
| 2597 |
sigev_notify int32 |
| 2598 |
sigev_signo int32 |
| 2599 |
sigev_value struct { |
| 2600 |
_ [0]uint64 |
| 2601 |
sival_int int32 |
| 2602 |
_ [4]byte |
| 2603 |
} |
| 2604 |
sigev_notify_function uintptr |
| 2605 |
sigev_notify_attributes uintptr |
| 2606 |
} |
| 2607 |
|
| 2608 |
type __siginfo = struct { |
| 2609 |
si_signo int32 |
| 2610 |
si_errno int32 |
| 2611 |
si_code int32 |
| 2612 |
si_pid pid_t |
| 2613 |
si_uid uid_t |
| 2614 |
si_status int32 |
| 2615 |
si_addr uintptr |
| 2616 |
si_value struct { |
| 2617 |
_ [0]uint64 |
| 2618 |
sival_int int32 |
| 2619 |
_ [4]byte |
| 2620 |
} |
| 2621 |
si_band int64 |
| 2622 |
__pad [7]uint64 |
| 2623 |
} |
| 2624 |
|
| 2625 |
type siginfo_t = __siginfo |
| 2626 |
|
| 2627 |
type __sigaction_u = struct{ __sa_handler uintptr } |
| 2628 |
|
| 2629 |
type __sigaction = struct { |
| 2630 |
__sigaction_u struct{ __sa_handler uintptr } |
| 2631 |
sa_tramp uintptr |
| 2632 |
sa_mask sigset_t |
| 2633 |
sa_flags int32 |
| 2634 |
} |
| 2635 |
|
| 2636 |
type sigaction = struct { |
| 2637 |
__sigaction_u struct{ __sa_handler uintptr } |
| 2638 |
sa_mask sigset_t |
| 2639 |
sa_flags int32 |
| 2640 |
} |
| 2641 |
|
| 2642 |
type sig_t = uintptr |
| 2643 |
|
| 2644 |
type sigvec = struct { |
| 2645 |
sv_handler uintptr |
| 2646 |
sv_mask int32 |
| 2647 |
sv_flags int32 |
| 2648 |
} |
| 2649 |
|
| 2650 |
type sigstack = struct { |
| 2651 |
ss_sp uintptr |
| 2652 |
ss_onstack int32 |
| 2653 |
_ [4]byte |
| 2654 |
} |
| 2655 |
|
| 2656 |
type timeval = struct { |
| 2657 |
tv_sec int64 |
| 2658 |
tv_usec int32 |
| 2659 |
_ [4]byte |
| 2660 |
} |
| 2661 |
|
| 2662 |
type uuid_t = [16]uint8 |
| 2663 |
|
| 2664 |
type tm = struct { |
| 2665 |
tm_sec int32 |
| 2666 |
tm_min int32 |
| 2667 |
tm_hour int32 |
| 2668 |
tm_mday int32 |
| 2669 |
tm_mon int32 |
| 2670 |
tm_year int32 |
| 2671 |
tm_wday int32 |
| 2672 |
tm_yday int32 |
| 2673 |
tm_isdst int32 |
| 2674 |
_ [4]byte |
| 2675 |
tm_gmtoff int64 |
| 2676 |
tm_zone uintptr |
| 2677 |
} |
| 2678 |
|
| 2679 |
type clockid_t = uint32 |
| 2680 |
|
| 2681 |
type VFSFile1 = struct { |
| 2682 |
base sqlite3_file |
| 2683 |
fsFile uintptr |
| 2684 |
fd int32 |
| 2685 |
_ [4]byte |
| 2686 |
aBuffer uintptr |
| 2687 |
nBuffer int32 |
| 2688 |
_ [4]byte |
| 2689 |
iBufferOfst sqlite3_int64 |
| 2690 |
} |
| 2691 |
|
| 2692 |
type VFSFile = VFSFile1 |
| 2693 |
|
| 2694 |
func vfsDirectWrite(tls *libc.TLS, p uintptr, zBuf uintptr, iAmt int32, iOfst sqlite_int64) int32 { |
| 2695 |
bp := tls.Alloc(16) |
| 2696 |
defer tls.Free(16) |
| 2697 |
|
| 2698 |
var ofst off_t |
| 2699 |
var nWrite size_t |
| 2700 |
|
| 2701 |
libc.X__builtin_printf(tls, ts, libc.VaList(bp, uintptr(unsafe.Pointer(&__func__)), 178)) |
| 2702 |
libc.X__builtin_abort(tls) |
| 2703 |
ofst = libc.Xlseek(tls, (*VFSFile)(unsafe.Pointer(p)).fd, iOfst, 0) |
| 2704 |
if ofst != iOfst { |
| 2705 |
return 10 | int32(3)<<8 |
| 2706 |
} |
| 2707 |
|
| 2708 |
nWrite = size_t(libc.Xwrite(tls, (*VFSFile)(unsafe.Pointer(p)).fd, zBuf, uint64(iAmt))) |
| 2709 |
if nWrite != size_t(iAmt) { |
| 2710 |
return 10 | int32(3)<<8 |
| 2711 |
} |
| 2712 |
|
| 2713 |
return 0 |
| 2714 |
} |
| 2715 |
|
| 2716 |
var __func__ = *(*[15]int8)(unsafe.Pointer(ts + 13)) |
| 2717 |
|
| 2718 |
func vfsFlushBuffer(tls *libc.TLS, p uintptr) int32 { |
| 2719 |
bp := tls.Alloc(16) |
| 2720 |
defer tls.Free(16) |
| 2721 |
|
| 2722 |
libc.X__builtin_printf(tls, ts, libc.VaList(bp, uintptr(unsafe.Pointer(&__func__1)), 198)) |
| 2723 |
libc.X__builtin_abort(tls) |
| 2724 |
var rc int32 = 0 |
| 2725 |
if (*VFSFile)(unsafe.Pointer(p)).nBuffer != 0 { |
| 2726 |
rc = vfsDirectWrite(tls, p, (*VFSFile)(unsafe.Pointer(p)).aBuffer, (*VFSFile)(unsafe.Pointer(p)).nBuffer, (*VFSFile)(unsafe.Pointer(p)).iBufferOfst) |
| 2727 |
(*VFSFile)(unsafe.Pointer(p)).nBuffer = 0 |
| 2728 |
} |
| 2729 |
return rc |
| 2730 |
} |
| 2731 |
|
| 2732 |
var __func__1 = *(*[15]int8)(unsafe.Pointer(ts + 28)) |
| 2733 |
|
| 2734 |
func vfsWrite(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqlite_int64) int32 { |
| 2735 |
bp := tls.Alloc(16) |
| 2736 |
defer tls.Free(16) |
| 2737 |
|
| 2738 |
libc.X__builtin_printf(tls, ts, libc.VaList(bp, uintptr(unsafe.Pointer(&__func__4)), 273)) |
| 2739 |
libc.X__builtin_abort(tls) |
| 2740 |
var p uintptr = pFile |
| 2741 |
|
| 2742 |
if (*VFSFile)(unsafe.Pointer(p)).aBuffer != 0 { |
| 2743 |
var z uintptr = zBuf |
| 2744 |
var n int32 = iAmt |
| 2745 |
var i sqlite3_int64 = iOfst |
| 2746 |
|
| 2747 |
for n > 0 { |
| 2748 |
var nCopy int32 |
| 2749 |
|
| 2750 |
if (*VFSFile)(unsafe.Pointer(p)).nBuffer == 8192 || (*VFSFile)(unsafe.Pointer(p)).iBufferOfst+sqlite3_int64((*VFSFile)(unsafe.Pointer(p)).nBuffer) != i { |
| 2751 |
var rc int32 = vfsFlushBuffer(tls, p) |
| 2752 |
if rc != 0 { |
| 2753 |
return rc |
| 2754 |
} |
| 2755 |
} |
| 2756 |
if libc.X__builtin_expect(tls, libc.BoolInt64(!((*VFSFile)(unsafe.Pointer(p)).nBuffer == 0 || (*VFSFile)(unsafe.Pointer(p)).iBufferOfst+sqlite3_int64((*VFSFile)(unsafe.Pointer(p)).nBuffer) == i)), int64(0)) != 0 { |
| 2757 |
libc.X__assert_rtn(tls, uintptr(unsafe.Pointer(&__func__4)), ts+43, 294, ts+51) |
| 2758 |
} else { |
| 2759 |
} |
| 2760 |
(*VFSFile)(unsafe.Pointer(p)).iBufferOfst = i - sqlite3_int64((*VFSFile)(unsafe.Pointer(p)).nBuffer) |
| 2761 |
|
| 2762 |
nCopy = 8192 - (*VFSFile)(unsafe.Pointer(p)).nBuffer |
| 2763 |
if nCopy > n { |
| 2764 |
nCopy = n |
| 2765 |
} |
| 2766 |
libc.X__builtin___memcpy_chk(tls, (*VFSFile)(unsafe.Pointer(p)).aBuffer+uintptr((*VFSFile)(unsafe.Pointer(p)).nBuffer), z, uint64(nCopy), libc.X__builtin_object_size(tls, (*VFSFile)(unsafe.Pointer(p)).aBuffer+uintptr((*VFSFile)(unsafe.Pointer(p)).nBuffer), 0)) |
| 2767 |
*(*int32)(unsafe.Pointer(p + 32)) += nCopy |
| 2768 |
|
| 2769 |
n = n - nCopy |
| 2770 |
i = i + sqlite3_int64(nCopy) |
| 2771 |
z += uintptr(nCopy) |
| 2772 |
} |
| 2773 |
} else { |
| 2774 |
return vfsDirectWrite(tls, p, zBuf, iAmt, iOfst) |
| 2775 |
} |
| 2776 |
|
| 2777 |
return 0 |
| 2778 |
} |
| 2779 |
|
| 2780 |
var __func__4 = *(*[9]int8)(unsafe.Pointer(ts + 97)) |
| 2781 |
|
| 2782 |
func vfsTruncate(tls *libc.TLS, pFile uintptr, size sqlite_int64) int32 { |
| 2783 |
return 0 |
| 2784 |
} |
| 2785 |
|
| 2786 |
func vfsSync(tls *libc.TLS, pFile uintptr, flags int32) int32 { |
| 2787 |
bp := tls.Alloc(16) |
| 2788 |
defer tls.Free(16) |
| 2789 |
|
| 2790 |
libc.X__builtin_printf(tls, ts, libc.VaList(bp, uintptr(unsafe.Pointer(&__func__5)), 331)) |
| 2791 |
libc.X__builtin_abort(tls) |
| 2792 |
var p uintptr = pFile |
| 2793 |
var rc int32 |
| 2794 |
|
| 2795 |
rc = vfsFlushBuffer(tls, p) |
| 2796 |
if rc != 0 { |
| 2797 |
return rc |
| 2798 |
} |
| 2799 |
|
| 2800 |
rc = libc.Xfsync(tls, (*VFSFile)(unsafe.Pointer(p)).fd) |
| 2801 |
return func() int32 { |
| 2802 |
if rc == 0 { |
| 2803 |
return 0 |
| 2804 |
} |
| 2805 |
return 10 | int32(4)<<8 |
| 2806 |
}() |
| 2807 |
} |
| 2808 |
|
| 2809 |
var __func__5 = *(*[8]int8)(unsafe.Pointer(ts + 106)) |
| 2810 |
|
| 2811 |
func vfsLock(tls *libc.TLS, pFile uintptr, eLock int32) int32 { |
| 2812 |
return 0 |
| 2813 |
} |
| 2814 |
|
| 2815 |
func vfsUnlock(tls *libc.TLS, pFile uintptr, eLock int32) int32 { |
| 2816 |
return 0 |
| 2817 |
} |
| 2818 |
|
| 2819 |
func vfsCheckReservedLock(tls *libc.TLS, pFile uintptr, pResOut uintptr) int32 { |
| 2820 |
*(*int32)(unsafe.Pointer(pResOut)) = 0 |
| 2821 |
return 0 |
| 2822 |
} |
| 2823 |
|
| 2824 |
func vfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32 { |
| 2825 |
return 12 |
| 2826 |
} |
| 2827 |
|
| 2828 |
func vfsSectorSize(tls *libc.TLS, pFile uintptr) int32 { |
| 2829 |
return 0 |
| 2830 |
} |
| 2831 |
|
| 2832 |
func vfsDeviceCharacteristics(tls *libc.TLS, pFile uintptr) int32 { |
| 2833 |
return 0 |
| 2834 |
} |
| 2835 |
|
| 2836 |
func vfsDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { |
| 2837 |
bp := tls.Alloc(4129) |
| 2838 |
defer tls.Free(4129) |
| 2839 |
|
| 2840 |
libc.X__builtin_printf(tls, ts, libc.VaList(bp, uintptr(unsafe.Pointer(&__func__8)), 473)) |
| 2841 |
libc.X__builtin_abort(tls) |
| 2842 |
var rc int32 |
| 2843 |
|
| 2844 |
rc = libc.Xunlink(tls, zPath) |
| 2845 |
if rc != 0 && *(*int32)(unsafe.Pointer(libc.X__error(tls))) == 2 { |
| 2846 |
return 0 |
| 2847 |
} |
| 2848 |
|
| 2849 |
if rc == 0 && dirSync != 0 { |
| 2850 |
var dfd int32 |
| 2851 |
var i int32 |
| 2852 |
|
| 2853 |
sqlite3.Xsqlite3_snprintf(tls, 4096, bp+32, ts+114, libc.VaList(bp+16, zPath)) |
| 2854 |
*(*int8)(unsafe.Pointer(bp + 32 + 4096)) = int8(0) |
| 2855 |
for i = int32(libc.Xstrlen(tls, bp+32)); i > 1 && int32(*(*int8)(unsafe.Pointer(bp + 32 + uintptr(i)))) != '/'; i++ { |
| 2856 |
} |
| 2857 |
*(*int8)(unsafe.Pointer(bp + 32 + uintptr(i))) = int8(0) |
| 2858 |
|
| 2859 |
dfd = libc.Xopen(tls, bp+32, 0x0000, libc.VaList(bp+24, 0)) |
| 2860 |
if dfd < 0 { |
| 2861 |
rc = -1 |
| 2862 |
} else { |
| 2863 |
rc = libc.Xfsync(tls, dfd) |
| 2864 |
libc.Xclose(tls, dfd) |
| 2865 |
} |
| 2866 |
} |
| 2867 |
return func() int32 { |
| 2868 |
if rc == 0 { |
| 2869 |
return 0 |
| 2870 |
} |
| 2871 |
return 10 | int32(10)<<8 |
| 2872 |
}() |
| 2873 |
} |
| 2874 |
|
| 2875 |
var __func__8 = *(*[10]int8)(unsafe.Pointer(ts + 117)) |
| 2876 |
|
| 2877 |
func vfsDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { |
| 2878 |
return uintptr(0) |
| 2879 |
} |
| 2880 |
|
| 2881 |
func vfsDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zErrMsg uintptr) { |
| 2882 |
sqlite3.Xsqlite3_snprintf(tls, nByte, zErrMsg, ts+127, 0) |
| 2883 |
*(*int8)(unsafe.Pointer(zErrMsg + uintptr(nByte-1))) = int8(0) |
| 2884 |
} |
| 2885 |
|
| 2886 |
func vfsDlSym(tls *libc.TLS, pVfs uintptr, pH uintptr, z uintptr) uintptr { |
| 2887 |
return uintptr(0) |
| 2888 |
} |
| 2889 |
|
| 2890 |
func vfsDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { |
| 2891 |
return |
| 2892 |
} |
| 2893 |
|
| 2894 |
func vfsRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zByte uintptr) int32 { |
| 2895 |
return 0 |
| 2896 |
} |
| 2897 |
|
| 2898 |
func vfsSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { |
| 2899 |
libc.Xsleep(tls, uint32(nMicro/1000000)) |
| 2900 |
libc.Xusleep(tls, uint32(nMicro%1000000)) |
| 2901 |
return nMicro |
| 2902 |
} |
| 2903 |
|
| 2904 |
func vfsCurrentTime(tls *libc.TLS, pVfs uintptr, pTime uintptr) int32 { |
| 2905 |
var t time_t = libc.Xtime(tls, uintptr(0)) |
| 2906 |
*(*float64)(unsafe.Pointer(pTime)) = float64(t)/86400.0 + 2440587.5 |
| 2907 |
return 0 |
| 2908 |
} |
| 2909 |
|
| 2910 |
func Xsqlite3_fsFS(tls *libc.TLS, zName uintptr, pAppData uintptr) uintptr { |
| 2911 |
var p uintptr = libc.Xmalloc(tls, types.Size_t(unsafe.Sizeof(sqlite3_vfs{}))) |
| 2912 |
if !(p != 0) { |
| 2913 |
return uintptr(0) |
| 2914 |
} |
| 2915 |
|
| 2916 |
*(*sqlite3_vfs)(unsafe.Pointer(p)) = sqlite3_vfs{ |
| 2917 |
iVersion: 1, |
| 2918 |
szOsFile: int32(unsafe.Sizeof(VFSFile{})), |
| 2919 |
mxPathname: 4096, |
| 2920 |
zName: zName, |
| 2921 |
pAppData: pAppData, |
| 2922 |
xOpen: *(*uintptr)(unsafe.Pointer(&struct { |
| 2923 |
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) int32 |
| 2924 |
}{vfsOpen})), |
| 2925 |
xDelete: *(*uintptr)(unsafe.Pointer(&struct { |
| 2926 |
f func(*libc.TLS, uintptr, uintptr, int32) int32 |
| 2927 |
}{vfsDelete})), |
| 2928 |
xAccess: *(*uintptr)(unsafe.Pointer(&struct { |
| 2929 |
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 |
| 2930 |
}{vfsAccess})), |
| 2931 |
xFullPathname: *(*uintptr)(unsafe.Pointer(&struct { |
| 2932 |
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 |
| 2933 |
}{vfsFullPathname})), |
| 2934 |
xDlOpen: *(*uintptr)(unsafe.Pointer(&struct { |
| 2935 |
f func(*libc.TLS, uintptr, uintptr) uintptr |
| 2936 |
}{vfsDlOpen})), |
| 2937 |
xDlError: *(*uintptr)(unsafe.Pointer(&struct { |
| 2938 |
f func(*libc.TLS, uintptr, int32, uintptr) |
| 2939 |
}{vfsDlError})), |
| 2940 |
xDlSym: *(*uintptr)(unsafe.Pointer(&struct { |
| 2941 |
f func(*libc.TLS, uintptr, uintptr, uintptr) uintptr |
| 2942 |
}{vfsDlSym})), |
| 2943 |
xDlClose: *(*uintptr)(unsafe.Pointer(&struct { |
| 2944 |
f func(*libc.TLS, uintptr, uintptr) |
| 2945 |
}{vfsDlClose})), |
| 2946 |
xRandomness: *(*uintptr)(unsafe.Pointer(&struct { |
| 2947 |
f func(*libc.TLS, uintptr, int32, uintptr) int32 |
| 2948 |
}{vfsRandomness})), |
| 2949 |
xSleep: *(*uintptr)(unsafe.Pointer(&struct { |
| 2950 |
f func(*libc.TLS, uintptr, int32) int32 |
| 2951 |
}{vfsSleep})), |
| 2952 |
xCurrentTime: *(*uintptr)(unsafe.Pointer(&struct { |
| 2953 |
f func(*libc.TLS, uintptr, uintptr) int32 |
| 2954 |
}{vfsCurrentTime}))} |
| 2955 |
return p |
| 2956 |
} |
| 2957 |
|
| 2958 |
var ts1 = "TODO %s:%i:\n\x00vfsDirectWrite\x00vfsFlushBuffer\x00c/vfs.c\x00p->nBuffer==0 || p->iBufferOfst+p->nBuffer==i\x00vfsWrite\x00vfsSync\x00%s\x00vfsDelete\x00Loadable extensions are not supported\x00" |
| 2959 |
var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data |