mirror of
https://gitlab.com/cznic/sqlite.git
synced 2025-05-22 23:28:02 +00:00
13374 lines
801 KiB
Go
13374 lines
801 KiB
Go
// Code generated by 'ccgo -export-defines "" -ignore-unsupported-alignment -o speedtest1/main_darwin_amd64.go -trace-translation-units testdata/sqlite-src-3380500/test/speedtest1.c -Itestdata/sqlite-amalgamation-3380500 -l modernc.org/sqlite/lib -full-path-comments -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
|
|
|
package main
|
|
|
|
import (
|
|
"math"
|
|
"reflect"
|
|
"sync/atomic"
|
|
"unsafe"
|
|
|
|
"modernc.org/libc"
|
|
"modernc.org/libc/sys/types"
|
|
"modernc.org/sqlite/lib"
|
|
)
|
|
|
|
var _ = math.Pi
|
|
var _ reflect.Kind
|
|
var _ atomic.Value
|
|
var _ unsafe.Pointer
|
|
var _ *libc.TLS
|
|
var _ types.Size_t
|
|
|
|
func main() { libc.Start(main1) }
|
|
|
|
const (
|
|
ACCESSX_MAX_DESCRIPTORS = 100 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:137:1:
|
|
ACCESSX_MAX_TABLESIZE = 16384 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:138:1:
|
|
BIG_ENDIAN = 4321 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:94:1:
|
|
BUFSIZ = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:103:1:
|
|
BUS_ADRALN = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:241:1:
|
|
BUS_ADRERR = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:242:1:
|
|
BUS_NOOP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:239:1:
|
|
BUS_OBJERR = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:243:1:
|
|
BYTE_ORDER = 1234 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:97:1:
|
|
CLD_CONTINUED = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:258:1:
|
|
CLD_DUMPED = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:255:1:
|
|
CLD_EXITED = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:253:1:
|
|
CLD_KILLED = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:254:1:
|
|
CLD_NOOP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:251:1:
|
|
CLD_STOPPED = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:257:1:
|
|
CLD_TRAPPED = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:256:1:
|
|
CPUMON_MAKE_FATAL = 0x1000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:393:1:
|
|
EOF = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:104:1:
|
|
EXIT_FAILURE = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:102:1:
|
|
EXIT_SUCCESS = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:103:1:
|
|
FD_SETSIZE = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_fd_setsize.h:29:1:
|
|
FILENAME_MAX = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:108:1:
|
|
FOOTPRINT_INTERVAL_RESET = 0x1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:398:1:
|
|
FOPEN_MAX = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:107:1:
|
|
FPE_FLTDIV = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:221:1:
|
|
FPE_FLTINV = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:225:1:
|
|
FPE_FLTOVF = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:222:1:
|
|
FPE_FLTRES = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:224:1:
|
|
FPE_FLTSUB = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:226:1:
|
|
FPE_FLTUND = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:223:1:
|
|
FPE_INTDIV = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:227:1:
|
|
FPE_INTOVF = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:228:1:
|
|
FPE_NOOP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:219:1:
|
|
FP_CHOP = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:112:1:
|
|
FP_PREC_24B = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:103:1:
|
|
FP_PREC_53B = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:104:1:
|
|
FP_PREC_64B = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:105:1:
|
|
FP_RND_DOWN = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:110:1:
|
|
FP_RND_NEAR = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:109:1:
|
|
FP_RND_UP = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:111:1:
|
|
FP_STATE_BYTES = 512 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:276:1:
|
|
FTS5_TOKENIZE_AUX = 0x0008 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12752:1:
|
|
FTS5_TOKENIZE_DOCUMENT = 0x0004 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12751:1:
|
|
FTS5_TOKENIZE_PREFIX = 0x0002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12750:1:
|
|
FTS5_TOKENIZE_QUERY = 0x0001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12749:1:
|
|
FTS5_TOKEN_COLOCATED = 0x0001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12756:1:
|
|
FULLY_WITHIN = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10497:1:
|
|
F_LOCK = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:528:1:
|
|
F_OK = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:89:1:
|
|
F_TEST = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:530:1:
|
|
F_TLOCK = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:529:1:
|
|
F_ULOCK = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:527:1:
|
|
HAVE_USLEEP = 1 // <defines>:2:1:
|
|
ILL_BADSTK = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:215:1:
|
|
ILL_COPROC = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:214:1:
|
|
ILL_ILLADR = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:212:1:
|
|
ILL_ILLOPC = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:208:1:
|
|
ILL_ILLOPN = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:211:1:
|
|
ILL_ILLTRP = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:209:1:
|
|
ILL_NOOP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:206:1:
|
|
ILL_PRVOPC = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:210:1:
|
|
ILL_PRVREG = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:213:1:
|
|
INT16_MAX = 32767 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:599:1:
|
|
INT16_MIN = -32768 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:600:1:
|
|
INT32_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:555:1:
|
|
INT32_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:556:1:
|
|
INT64_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:461:1:
|
|
INT64_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:462:1:
|
|
INT8_MAX = 127 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:621:1:
|
|
INT8_MIN = -128 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:622:1:
|
|
INTMAX_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:663:1:
|
|
INTMAX_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:662:1:
|
|
INTPTR_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:649:1:
|
|
INTPTR_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:648:1:
|
|
INT_FAST16_MAX = 32767 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:615:1:
|
|
INT_FAST16_MIN = -32768 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:614:1:
|
|
INT_FAST32_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:574:1:
|
|
INT_FAST32_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:573:1:
|
|
INT_FAST64_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:483:1:
|
|
INT_FAST64_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:482:1:
|
|
INT_FAST8_MAX = 127 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:634:1:
|
|
INT_FAST8_MIN = -128 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:633:1:
|
|
INT_LEAST16_MAX = 32767 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:612:1:
|
|
INT_LEAST16_MIN = -32768 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:611:1:
|
|
INT_LEAST32_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:571:1:
|
|
INT_LEAST32_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:570:1:
|
|
INT_LEAST64_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:480:1:
|
|
INT_LEAST64_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:479:1:
|
|
INT_LEAST8_MAX = 127 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:631:1:
|
|
INT_LEAST8_MIN = -128 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:630:1:
|
|
IOPOL_APPLICATION = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:427:1:
|
|
IOPOL_ATIME_UPDATES_DEFAULT = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:431:1:
|
|
IOPOL_ATIME_UPDATES_OFF = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:432:1:
|
|
IOPOL_DEFAULT = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:419:1:
|
|
IOPOL_IMPORTANT = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:420:1:
|
|
IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:434:1:
|
|
IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:435:1:
|
|
IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:436:1:
|
|
IOPOL_NORMAL = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:428:1:
|
|
IOPOL_PASSIVE = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:421:1:
|
|
IOPOL_SCOPE_DARWIN_BG = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:416:1:
|
|
IOPOL_SCOPE_PROCESS = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:414:1:
|
|
IOPOL_SCOPE_THREAD = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:415:1:
|
|
IOPOL_STANDARD = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:424:1:
|
|
IOPOL_THROTTLE = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:422:1:
|
|
IOPOL_TYPE_DISK = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:408:1:
|
|
IOPOL_TYPE_VFS_ATIME_UPDATES = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:409:1:
|
|
IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:410:1:
|
|
IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:411:1:
|
|
IOPOL_UTILITY = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:423:1:
|
|
IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:439:1:
|
|
IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:438:1:
|
|
LITTLE_ENDIAN = 1234 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:93:1:
|
|
L_INCR = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:127:1:
|
|
L_SET = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:126:1:
|
|
L_XTND = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:128:1:
|
|
L_ctermid = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:202:1:
|
|
L_tmpnam = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:114:1:
|
|
MINSIGSTKSZ = 32768 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:340:1:
|
|
NAMEWIDTH = 60 // testdata/sqlite-src-3380500/test/speedtest1.c:370:1:
|
|
NDEBUG = 1 // <defines>:1:1:
|
|
NOT_WITHIN = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10495:1:
|
|
NSIG = 32 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:79:1:
|
|
PARTLY_WITHIN = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10496:1:
|
|
PDP_ENDIAN = 3412 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:95:1:
|
|
POLL_ERR = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:264:1:
|
|
POLL_HUP = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:266:1:
|
|
POLL_IN = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:261:1:
|
|
POLL_MSG = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:263:1:
|
|
POLL_OUT = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:262:1:
|
|
POLL_PRI = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:265:1:
|
|
PRIO_DARWIN_BG = 0x1000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:120:1:
|
|
PRIO_DARWIN_NONUI = 0x1001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:126:1:
|
|
PRIO_DARWIN_PROCESS = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:106:1:
|
|
PRIO_DARWIN_THREAD = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:105:1:
|
|
PRIO_MAX = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:113:1:
|
|
PRIO_MIN = -20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:112:1:
|
|
PRIO_PGRP = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:101:1:
|
|
PRIO_PROCESS = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:100:1:
|
|
PRIO_USER = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:102:1:
|
|
PTRDIFF_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:652:1:
|
|
PTRDIFF_MIN = -9223372036854775808 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:651:1:
|
|
P_tmpdir = "/var/tmp/" // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:112:1:
|
|
RAND_MAX = 0x7fffffff // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:105:1:
|
|
RENAME_EXCL = 0x00000004 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/stdio.h:45:1:
|
|
RENAME_SECLUDE = 0x00000001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/stdio.h:43:1:
|
|
RENAME_SWAP = 0x00000002 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/stdio.h:44:1:
|
|
RLIMIT_AS = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:349:1:
|
|
RLIMIT_CORE = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:348:1:
|
|
RLIMIT_CPU = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:344:1:
|
|
RLIMIT_CPU_USAGE_MONITOR = 0x2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:377:1:
|
|
RLIMIT_DATA = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:346:1:
|
|
RLIMIT_FOOTPRINT_INTERVAL = 0x4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:379:1:
|
|
RLIMIT_FSIZE = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:345:1:
|
|
RLIMIT_MEMLOCK = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:352:1:
|
|
RLIMIT_NOFILE = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:355:1:
|
|
RLIMIT_NPROC = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:353:1:
|
|
RLIMIT_RSS = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:351:1:
|
|
RLIMIT_STACK = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:347:1:
|
|
RLIMIT_THREAD_CPULIMITS = 0x3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:378:1:
|
|
RLIMIT_WAKEUPS_MONITOR = 0x1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:376:1:
|
|
RLIM_NLIMITS = 9 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:357:1:
|
|
RSIZE_MAX = 9223372036854775807 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:658:1:
|
|
RUSAGE_CHILDREN = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:141:1:
|
|
RUSAGE_INFO_CURRENT = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:191:1:
|
|
RUSAGE_INFO_V0 = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:186:1:
|
|
RUSAGE_INFO_V1 = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:187:1:
|
|
RUSAGE_INFO_V2 = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:188:1:
|
|
RUSAGE_INFO_V3 = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:189:1:
|
|
RUSAGE_INFO_V4 = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:190:1:
|
|
RUSAGE_SELF = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:140:1:
|
|
R_OK = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:92:1:
|
|
SA_64REGSET = 0x0200 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:308:1:
|
|
SA_NOCLDSTOP = 0x0008 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:301:1:
|
|
SA_NOCLDWAIT = 0x0020 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:303:1:
|
|
SA_NODEFER = 0x0010 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:302:1:
|
|
SA_ONSTACK = 0x0001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:298:1:
|
|
SA_RESETHAND = 0x0004 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:300:1:
|
|
SA_RESTART = 0x0002 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:299:1:
|
|
SA_SIGINFO = 0x0040 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:304:1:
|
|
SA_USERSPACE_MASK = 127 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:314:1:
|
|
SA_USERTRAMP = 0x0100 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:306:1:
|
|
SEEK_CUR = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:121:1:
|
|
SEEK_DATA = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_seek_set.h:44:1:
|
|
SEEK_END = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:124:1:
|
|
SEEK_HOLE = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_seek_set.h:40:1:
|
|
SEEK_SET = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:118:1:
|
|
SEGV_ACCERR = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:235:1:
|
|
SEGV_MAPERR = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:234:1:
|
|
SEGV_NOOP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:232:1:
|
|
SIGABRT = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:89:1:
|
|
SIGALRM = 14 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:102:1:
|
|
SIGBUS = 10 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:98:1:
|
|
SIGCHLD = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:108:1:
|
|
SIGCONT = 19 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:107:1:
|
|
SIGEMT = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:94:1:
|
|
SIGEV_NONE = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:164:1:
|
|
SIGEV_SIGNAL = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:165:1:
|
|
SIGEV_THREAD = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:166:1:
|
|
SIGFPE = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:96:1:
|
|
SIGHUP = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:84:1:
|
|
SIGILL = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:87:1:
|
|
SIGINFO = 29 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:120:1:
|
|
SIGINT = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:85:1:
|
|
SIGIO = 23 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:112:1:
|
|
SIGIOT = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:93:1:
|
|
SIGKILL = 9 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:97:1:
|
|
SIGPIPE = 13 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:101:1:
|
|
SIGPROF = 27 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:117:1:
|
|
SIGQUIT = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:86:1:
|
|
SIGSEGV = 11 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:99:1:
|
|
SIGSTKSZ = 131072 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:341:1:
|
|
SIGSTOP = 17 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:105:1:
|
|
SIGSYS = 12 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:100:1:
|
|
SIGTERM = 15 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:103:1:
|
|
SIGTRAP = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:88:1:
|
|
SIGTSTP = 18 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:106:1:
|
|
SIGTTIN = 21 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:109:1:
|
|
SIGTTOU = 22 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:110:1:
|
|
SIGURG = 16 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:104:1:
|
|
SIGUSR1 = 30 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:122:1:
|
|
SIGUSR2 = 31 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:123:1:
|
|
SIGVTALRM = 26 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:116:1:
|
|
SIGWINCH = 28 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:119:1:
|
|
SIGXCPU = 24 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:114:1:
|
|
SIGXFSZ = 25 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:115:1:
|
|
SIG_ATOMIC_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:668:1:
|
|
SIG_ATOMIC_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:667:1:
|
|
SIG_BLOCK = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:319:1:
|
|
SIG_SETMASK = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:321:1:
|
|
SIG_UNBLOCK = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:320:1:
|
|
SIZE_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:653:1:
|
|
SI_ASYNCIO = 0x10004 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:327:1:
|
|
SI_MESGQ = 0x10005 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:328:1:
|
|
SI_QUEUE = 0x10002 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:325:1:
|
|
SI_TIMER = 0x10003 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:326:1:
|
|
SI_USER = 0x10001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:324:1:
|
|
SQLITE3_H = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:34:1:
|
|
SQLITE3_TEXT = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4881:1:
|
|
SQLITE_ABORT = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:449:1:
|
|
SQLITE_ABORT_ROLLBACK = 516 // testdata/sqlite-amalgamation-3380500/sqlite3.h:551:1:
|
|
SQLITE_ACCESS_EXISTS = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1486:1:
|
|
SQLITE_ACCESS_READ = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1488:1:
|
|
SQLITE_ACCESS_READWRITE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1487:1:
|
|
SQLITE_ALTER_TABLE = 26 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3176:1:
|
|
SQLITE_ANALYZE = 28 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3178:1:
|
|
SQLITE_ANY = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5339:1:
|
|
SQLITE_API = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:75:1:
|
|
SQLITE_APICALL = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:81:1:
|
|
SQLITE_ATTACH = 24 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3174:1:
|
|
SQLITE_AUTH = 23 // testdata/sqlite-amalgamation-3380500/sqlite3.h:468:1:
|
|
SQLITE_AUTH_USER = 279 // testdata/sqlite-amalgamation-3380500/sqlite3.h:567:1:
|
|
SQLITE_BLOB = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4874:1:
|
|
SQLITE_BUSY = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:450:1:
|
|
SQLITE_BUSY_RECOVERY = 261 // testdata/sqlite-amalgamation-3380500/sqlite3.h:533:1:
|
|
SQLITE_BUSY_SNAPSHOT = 517 // testdata/sqlite-amalgamation-3380500/sqlite3.h:534:1:
|
|
SQLITE_BUSY_TIMEOUT = 773 // testdata/sqlite-amalgamation-3380500/sqlite3.h:535:1:
|
|
SQLITE_CALLBACK = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:87:1:
|
|
SQLITE_CANTOPEN = 14 // testdata/sqlite-amalgamation-3380500/sqlite3.h:459:1:
|
|
SQLITE_CANTOPEN_CONVPATH = 1038 // testdata/sqlite-amalgamation-3380500/sqlite3.h:539:1:
|
|
SQLITE_CANTOPEN_DIRTYWAL = 1294 // testdata/sqlite-amalgamation-3380500/sqlite3.h:540:1:
|
|
SQLITE_CANTOPEN_FULLPATH = 782 // testdata/sqlite-amalgamation-3380500/sqlite3.h:538:1:
|
|
SQLITE_CANTOPEN_ISDIR = 526 // testdata/sqlite-amalgamation-3380500/sqlite3.h:537:1:
|
|
SQLITE_CANTOPEN_NOTEMPDIR = 270 // testdata/sqlite-amalgamation-3380500/sqlite3.h:536:1:
|
|
SQLITE_CANTOPEN_SYMLINK = 1550 // testdata/sqlite-amalgamation-3380500/sqlite3.h:541:1:
|
|
SQLITE_CDECL = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:78:1:
|
|
SQLITE_CHANGESETAPPLY_INVERT = 0x0002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11754:1:
|
|
SQLITE_CHANGESETAPPLY_NOSAVEPOINT = 0x0001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11753:1:
|
|
SQLITE_CHANGESETSTART_INVERT = 0x0002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11069:1:
|
|
SQLITE_CHANGESET_ABORT = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11850:1:
|
|
SQLITE_CHANGESET_CONFLICT = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11813:1:
|
|
SQLITE_CHANGESET_CONSTRAINT = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11814:1:
|
|
SQLITE_CHANGESET_DATA = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11811:1:
|
|
SQLITE_CHANGESET_FOREIGN_KEY = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11815:1:
|
|
SQLITE_CHANGESET_NOTFOUND = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11812:1:
|
|
SQLITE_CHANGESET_OMIT = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11848:1:
|
|
SQLITE_CHANGESET_REPLACE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:11849:1:
|
|
SQLITE_CHECKPOINT_FULL = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9386:1:
|
|
SQLITE_CHECKPOINT_PASSIVE = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9385:1:
|
|
SQLITE_CHECKPOINT_RESTART = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9387:1:
|
|
SQLITE_CHECKPOINT_TRUNCATE = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9388:1:
|
|
SQLITE_CONFIG_COVERING_INDEX_SCAN = 20 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2107:1:
|
|
SQLITE_CONFIG_GETMALLOC = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2092:1:
|
|
SQLITE_CONFIG_GETMUTEX = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2098:1:
|
|
SQLITE_CONFIG_GETPCACHE = 15 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2102:1:
|
|
SQLITE_CONFIG_GETPCACHE2 = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2106:1:
|
|
SQLITE_CONFIG_HEAP = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2095:1:
|
|
SQLITE_CONFIG_LOG = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2103:1:
|
|
SQLITE_CONFIG_LOOKASIDE = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2100:1:
|
|
SQLITE_CONFIG_MALLOC = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2091:1:
|
|
SQLITE_CONFIG_MEMDB_MAXSIZE = 29 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2116:1:
|
|
SQLITE_CONFIG_MEMSTATUS = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2096:1:
|
|
SQLITE_CONFIG_MMAP_SIZE = 22 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2109:1:
|
|
SQLITE_CONFIG_MULTITHREAD = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2089:1:
|
|
SQLITE_CONFIG_MUTEX = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2097:1:
|
|
SQLITE_CONFIG_PAGECACHE = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2094:1:
|
|
SQLITE_CONFIG_PCACHE = 14 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2101:1:
|
|
SQLITE_CONFIG_PCACHE2 = 18 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2105:1:
|
|
SQLITE_CONFIG_PCACHE_HDRSZ = 24 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2111:1:
|
|
SQLITE_CONFIG_PMASZ = 25 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2112:1:
|
|
SQLITE_CONFIG_SCRATCH = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2093:1:
|
|
SQLITE_CONFIG_SERIALIZED = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2090:1:
|
|
SQLITE_CONFIG_SINGLETHREAD = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2088:1:
|
|
SQLITE_CONFIG_SMALL_MALLOC = 27 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2114:1:
|
|
SQLITE_CONFIG_SORTERREF_SIZE = 28 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2115:1:
|
|
SQLITE_CONFIG_SQLLOG = 21 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2108:1:
|
|
SQLITE_CONFIG_STMTJRNL_SPILL = 26 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2113:1:
|
|
SQLITE_CONFIG_URI = 17 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2104:1:
|
|
SQLITE_CONFIG_WIN32_HEAPSIZE = 23 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2110:1:
|
|
SQLITE_CONSTRAINT = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:464:1:
|
|
SQLITE_CONSTRAINT_CHECK = 275 // testdata/sqlite-amalgamation-3380500/sqlite3.h:552:1:
|
|
SQLITE_CONSTRAINT_COMMITHOOK = 531 // testdata/sqlite-amalgamation-3380500/sqlite3.h:553:1:
|
|
SQLITE_CONSTRAINT_DATATYPE = 3091 // testdata/sqlite-amalgamation-3380500/sqlite3.h:563:1:
|
|
SQLITE_CONSTRAINT_FOREIGNKEY = 787 // testdata/sqlite-amalgamation-3380500/sqlite3.h:554:1:
|
|
SQLITE_CONSTRAINT_FUNCTION = 1043 // testdata/sqlite-amalgamation-3380500/sqlite3.h:555:1:
|
|
SQLITE_CONSTRAINT_NOTNULL = 1299 // testdata/sqlite-amalgamation-3380500/sqlite3.h:556:1:
|
|
SQLITE_CONSTRAINT_PINNED = 2835 // testdata/sqlite-amalgamation-3380500/sqlite3.h:562:1:
|
|
SQLITE_CONSTRAINT_PRIMARYKEY = 1555 // testdata/sqlite-amalgamation-3380500/sqlite3.h:557:1:
|
|
SQLITE_CONSTRAINT_ROWID = 2579 // testdata/sqlite-amalgamation-3380500/sqlite3.h:561:1:
|
|
SQLITE_CONSTRAINT_TRIGGER = 1811 // testdata/sqlite-amalgamation-3380500/sqlite3.h:558:1:
|
|
SQLITE_CONSTRAINT_UNIQUE = 2067 // testdata/sqlite-amalgamation-3380500/sqlite3.h:559:1:
|
|
SQLITE_CONSTRAINT_VTAB = 2323 // testdata/sqlite-amalgamation-3380500/sqlite3.h:560:1:
|
|
SQLITE_COPY = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3183:1:
|
|
SQLITE_CORE = 1 // <defines>:4:1:
|
|
SQLITE_CORRUPT = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:456:1:
|
|
SQLITE_CORRUPT_INDEX = 779 // testdata/sqlite-amalgamation-3380500/sqlite3.h:544:1:
|
|
SQLITE_CORRUPT_SEQUENCE = 523 // testdata/sqlite-amalgamation-3380500/sqlite3.h:543:1:
|
|
SQLITE_CORRUPT_VTAB = 267 // testdata/sqlite-amalgamation-3380500/sqlite3.h:542:1:
|
|
SQLITE_CREATE_INDEX = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3151:1:
|
|
SQLITE_CREATE_TABLE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3152:1:
|
|
SQLITE_CREATE_TEMP_INDEX = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3153:1:
|
|
SQLITE_CREATE_TEMP_TABLE = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3154:1:
|
|
SQLITE_CREATE_TEMP_TRIGGER = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3155:1:
|
|
SQLITE_CREATE_TEMP_VIEW = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3156:1:
|
|
SQLITE_CREATE_TRIGGER = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3157:1:
|
|
SQLITE_CREATE_VIEW = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3158:1:
|
|
SQLITE_CREATE_VTABLE = 29 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3179:1:
|
|
SQLITE_DBCONFIG_DEFENSIVE = 1010 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2409:1:
|
|
SQLITE_DBCONFIG_DQS_DDL = 1014 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2413:1:
|
|
SQLITE_DBCONFIG_DQS_DML = 1013 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2412:1:
|
|
SQLITE_DBCONFIG_ENABLE_FKEY = 1002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2401:1:
|
|
SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER = 1004 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2403:1:
|
|
SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION = 1005 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2404:1:
|
|
SQLITE_DBCONFIG_ENABLE_QPSG = 1007 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2406:1:
|
|
SQLITE_DBCONFIG_ENABLE_TRIGGER = 1003 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2402:1:
|
|
SQLITE_DBCONFIG_ENABLE_VIEW = 1015 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2414:1:
|
|
SQLITE_DBCONFIG_LEGACY_ALTER_TABLE = 1012 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2411:1:
|
|
SQLITE_DBCONFIG_LEGACY_FILE_FORMAT = 1016 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2415:1:
|
|
SQLITE_DBCONFIG_LOOKASIDE = 1001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2400:1:
|
|
SQLITE_DBCONFIG_MAINDBNAME = 1000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2399:1:
|
|
SQLITE_DBCONFIG_MAX = 1017 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2417:1:
|
|
SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE = 1006 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2405:1:
|
|
SQLITE_DBCONFIG_RESET_DATABASE = 1009 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2408:1:
|
|
SQLITE_DBCONFIG_TRIGGER_EQP = 1008 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2407:1:
|
|
SQLITE_DBCONFIG_TRUSTED_SCHEMA = 1017 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2416:1:
|
|
SQLITE_DBCONFIG_WRITABLE_SCHEMA = 1011 // testdata/sqlite-amalgamation-3380500/sqlite3.h:2410:1:
|
|
SQLITE_DBSTATUS_CACHE_HIT = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8440:1:
|
|
SQLITE_DBSTATUS_CACHE_MISS = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8441:1:
|
|
SQLITE_DBSTATUS_CACHE_SPILL = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8445:1:
|
|
SQLITE_DBSTATUS_CACHE_USED = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8434:1:
|
|
SQLITE_DBSTATUS_CACHE_USED_SHARED = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8444:1:
|
|
SQLITE_DBSTATUS_CACHE_WRITE = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8442:1:
|
|
SQLITE_DBSTATUS_DEFERRED_FKS = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8443:1:
|
|
SQLITE_DBSTATUS_LOOKASIDE_HIT = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8437:1:
|
|
SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8439:1:
|
|
SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8438:1:
|
|
SQLITE_DBSTATUS_LOOKASIDE_USED = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8433:1:
|
|
SQLITE_DBSTATUS_MAX = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8446:1:
|
|
SQLITE_DBSTATUS_SCHEMA_USED = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8435:1:
|
|
SQLITE_DBSTATUS_STMT_USED = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8436:1:
|
|
SQLITE_DELETE = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3159:1:
|
|
SQLITE_DENY = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3128:1:
|
|
SQLITE_DEPRECATED = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:106:1:
|
|
SQLITE_DESERIALIZE_FREEONCLOSE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10371:1:
|
|
SQLITE_DESERIALIZE_READONLY = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10373:1:
|
|
SQLITE_DESERIALIZE_RESIZEABLE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10372:1:
|
|
SQLITE_DETACH = 25 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3175:1:
|
|
SQLITE_DETERMINISTIC = 0x000000800 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5407:1:
|
|
SQLITE_DIRECTONLY = 0x000080000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5408:1:
|
|
SQLITE_DONE = 101 // testdata/sqlite-amalgamation-3380500/sqlite3.h:475:1:
|
|
SQLITE_DROP_INDEX = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3160:1:
|
|
SQLITE_DROP_TABLE = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3161:1:
|
|
SQLITE_DROP_TEMP_INDEX = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3162:1:
|
|
SQLITE_DROP_TEMP_TABLE = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3163:1:
|
|
SQLITE_DROP_TEMP_TRIGGER = 14 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3164:1:
|
|
SQLITE_DROP_TEMP_VIEW = 15 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3165:1:
|
|
SQLITE_DROP_TRIGGER = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3166:1:
|
|
SQLITE_DROP_VIEW = 17 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3167:1:
|
|
SQLITE_DROP_VTABLE = 30 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3180:1:
|
|
SQLITE_EMPTY = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:461:1:
|
|
SQLITE_ENABLE_COLUMN_METADATA = 1 // <defines>:5:1:
|
|
SQLITE_ENABLE_FTS5 = 1 // <defines>:6:1:
|
|
SQLITE_ENABLE_GEOPOLY = 1 // <defines>:7:1:
|
|
SQLITE_ENABLE_MATH_FUNCTIONS = 1 // <defines>:8:1:
|
|
SQLITE_ENABLE_MEMORY_MANAGEMENT = 1 // <defines>:9:1:
|
|
SQLITE_ENABLE_OFFSET_SQL_FUNC = 1 // <defines>:10:1:
|
|
SQLITE_ENABLE_PREUPDATE_HOOK = 1 // <defines>:11:1:
|
|
SQLITE_ENABLE_RBU = 1 // <defines>:12:1:
|
|
SQLITE_ENABLE_RTREE = 1 // <defines>:13:1:
|
|
SQLITE_ENABLE_SESSION = 1 // <defines>:14:1:
|
|
SQLITE_ENABLE_SNAPSHOT = 1 // <defines>:15:1:
|
|
SQLITE_ENABLE_STAT4 = 1 // <defines>:16:1:
|
|
SQLITE_ENABLE_UNLOCK_NOTIFY = 1 // <defines>:17:1:
|
|
SQLITE_ERROR = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:446:1:
|
|
SQLITE_ERROR_MISSING_COLLSEQ = 257 // testdata/sqlite-amalgamation-3380500/sqlite3.h:495:1:
|
|
SQLITE_ERROR_RETRY = 513 // testdata/sqlite-amalgamation-3380500/sqlite3.h:496:1:
|
|
SQLITE_ERROR_SNAPSHOT = 769 // testdata/sqlite-amalgamation-3380500/sqlite3.h:497:1:
|
|
SQLITE_EXPERIMENTAL = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:107:1:
|
|
SQLITE_FAIL = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9793:1:
|
|
SQLITE_FCNTL_BEGIN_ATOMIC_WRITE = 31 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1216:1:
|
|
SQLITE_FCNTL_BUSYHANDLER = 15 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1201:1:
|
|
SQLITE_FCNTL_CHUNK_SIZE = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1192:1:
|
|
SQLITE_FCNTL_CKPT_DONE = 37 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1222:1:
|
|
SQLITE_FCNTL_CKPT_START = 39 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1224:1:
|
|
SQLITE_FCNTL_CKSM_FILE = 41 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1226:1:
|
|
SQLITE_FCNTL_COMMIT_ATOMIC_WRITE = 32 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1217:1:
|
|
SQLITE_FCNTL_COMMIT_PHASETWO = 22 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1207:1:
|
|
SQLITE_FCNTL_DATA_VERSION = 35 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1220:1:
|
|
SQLITE_FCNTL_EXTERNAL_READER = 40 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1225:1:
|
|
SQLITE_FCNTL_FILE_POINTER = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1193:1:
|
|
SQLITE_FCNTL_GET_LOCKPROXYFILE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1188:1:
|
|
SQLITE_FCNTL_HAS_MOVED = 20 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1205:1:
|
|
SQLITE_FCNTL_JOURNAL_POINTER = 28 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1213:1:
|
|
SQLITE_FCNTL_LAST_ERRNO = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1190:1:
|
|
SQLITE_FCNTL_LOCKSTATE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1187:1:
|
|
SQLITE_FCNTL_LOCK_TIMEOUT = 34 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1219:1:
|
|
SQLITE_FCNTL_MMAP_SIZE = 18 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1203:1:
|
|
SQLITE_FCNTL_OVERWRITE = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1197:1:
|
|
SQLITE_FCNTL_PDB = 30 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1215:1:
|
|
SQLITE_FCNTL_PERSIST_WAL = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1196:1:
|
|
SQLITE_FCNTL_POWERSAFE_OVERWRITE = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1199:1:
|
|
SQLITE_FCNTL_PRAGMA = 14 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1200:1:
|
|
SQLITE_FCNTL_RBU = 26 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1211:1:
|
|
SQLITE_FCNTL_RESERVE_BYTES = 38 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1223:1:
|
|
SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE = 33 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1218:1:
|
|
SQLITE_FCNTL_SET_LOCKPROXYFILE = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1189:1:
|
|
SQLITE_FCNTL_SIZE_HINT = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1191:1:
|
|
SQLITE_FCNTL_SIZE_LIMIT = 36 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1221:1:
|
|
SQLITE_FCNTL_SYNC = 21 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1206:1:
|
|
SQLITE_FCNTL_SYNC_OMITTED = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1194:1:
|
|
SQLITE_FCNTL_TEMPFILENAME = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1202:1:
|
|
SQLITE_FCNTL_TRACE = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1204:1:
|
|
SQLITE_FCNTL_VFSNAME = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1198:1:
|
|
SQLITE_FCNTL_VFS_POINTER = 27 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1212:1:
|
|
SQLITE_FCNTL_WAL_BLOCK = 24 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1209:1:
|
|
SQLITE_FCNTL_WIN32_AV_RETRY = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1195:1:
|
|
SQLITE_FCNTL_WIN32_GET_HANDLE = 29 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1214:1:
|
|
SQLITE_FCNTL_WIN32_SET_HANDLE = 23 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1208:1:
|
|
SQLITE_FCNTL_ZIPVFS = 25 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1210:1:
|
|
SQLITE_FLOAT = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4873:1:
|
|
SQLITE_FORMAT = 24 // testdata/sqlite-amalgamation-3380500/sqlite3.h:469:1:
|
|
SQLITE_FULL = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:458:1:
|
|
SQLITE_FUNCTION = 31 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3181:1:
|
|
SQLITE_GET_LOCKPROXYFILE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1229:1:
|
|
SQLITE_IGNORE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3129:1:
|
|
SQLITE_INDEX_CONSTRAINT_EQ = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7177:1:
|
|
SQLITE_INDEX_CONSTRAINT_FUNCTION = 150 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7193:1:
|
|
SQLITE_INDEX_CONSTRAINT_GE = 32 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7181:1:
|
|
SQLITE_INDEX_CONSTRAINT_GLOB = 66 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7184:1:
|
|
SQLITE_INDEX_CONSTRAINT_GT = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7178:1:
|
|
SQLITE_INDEX_CONSTRAINT_IS = 72 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7190:1:
|
|
SQLITE_INDEX_CONSTRAINT_ISNOT = 69 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7187:1:
|
|
SQLITE_INDEX_CONSTRAINT_ISNOTNULL = 70 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7188:1:
|
|
SQLITE_INDEX_CONSTRAINT_ISNULL = 71 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7189:1:
|
|
SQLITE_INDEX_CONSTRAINT_LE = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7179:1:
|
|
SQLITE_INDEX_CONSTRAINT_LIKE = 65 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7183:1:
|
|
SQLITE_INDEX_CONSTRAINT_LIMIT = 73 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7191:1:
|
|
SQLITE_INDEX_CONSTRAINT_LT = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7180:1:
|
|
SQLITE_INDEX_CONSTRAINT_MATCH = 64 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7182:1:
|
|
SQLITE_INDEX_CONSTRAINT_NE = 68 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7186:1:
|
|
SQLITE_INDEX_CONSTRAINT_OFFSET = 74 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7192:1:
|
|
SQLITE_INDEX_CONSTRAINT_REGEXP = 67 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7185:1:
|
|
SQLITE_INDEX_SCAN_UNIQUE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7137:1:
|
|
SQLITE_INNOCUOUS = 0x000200000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5410:1:
|
|
SQLITE_INSERT = 18 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3168:1:
|
|
SQLITE_INTEGER = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4872:1:
|
|
SQLITE_INTERNAL = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:447:1:
|
|
SQLITE_INTERRUPT = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:454:1:
|
|
SQLITE_IOCAP_ATOMIC = 0x00000001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:652:1:
|
|
SQLITE_IOCAP_ATOMIC16K = 0x00000040 // testdata/sqlite-amalgamation-3380500/sqlite3.h:658:1:
|
|
SQLITE_IOCAP_ATOMIC1K = 0x00000004 // testdata/sqlite-amalgamation-3380500/sqlite3.h:654:1:
|
|
SQLITE_IOCAP_ATOMIC2K = 0x00000008 // testdata/sqlite-amalgamation-3380500/sqlite3.h:655:1:
|
|
SQLITE_IOCAP_ATOMIC32K = 0x00000080 // testdata/sqlite-amalgamation-3380500/sqlite3.h:659:1:
|
|
SQLITE_IOCAP_ATOMIC4K = 0x00000010 // testdata/sqlite-amalgamation-3380500/sqlite3.h:656:1:
|
|
SQLITE_IOCAP_ATOMIC512 = 0x00000002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:653:1:
|
|
SQLITE_IOCAP_ATOMIC64K = 0x00000100 // testdata/sqlite-amalgamation-3380500/sqlite3.h:660:1:
|
|
SQLITE_IOCAP_ATOMIC8K = 0x00000020 // testdata/sqlite-amalgamation-3380500/sqlite3.h:657:1:
|
|
SQLITE_IOCAP_BATCH_ATOMIC = 0x00004000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:666:1:
|
|
SQLITE_IOCAP_IMMUTABLE = 0x00002000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:665:1:
|
|
SQLITE_IOCAP_POWERSAFE_OVERWRITE = 0x00001000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:664:1:
|
|
SQLITE_IOCAP_SAFE_APPEND = 0x00000200 // testdata/sqlite-amalgamation-3380500/sqlite3.h:661:1:
|
|
SQLITE_IOCAP_SEQUENTIAL = 0x00000400 // testdata/sqlite-amalgamation-3380500/sqlite3.h:662:1:
|
|
SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN = 0x00000800 // testdata/sqlite-amalgamation-3380500/sqlite3.h:663:1:
|
|
SQLITE_IOERR = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:455:1:
|
|
SQLITE_IOERR_ACCESS = 3338 // testdata/sqlite-amalgamation-3380500/sqlite3.h:510:1:
|
|
SQLITE_IOERR_AUTH = 7178 // testdata/sqlite-amalgamation-3380500/sqlite3.h:525:1:
|
|
SQLITE_IOERR_BEGIN_ATOMIC = 7434 // testdata/sqlite-amalgamation-3380500/sqlite3.h:526:1:
|
|
SQLITE_IOERR_BLOCKED = 2826 // testdata/sqlite-amalgamation-3380500/sqlite3.h:508:1:
|
|
SQLITE_IOERR_CHECKRESERVEDLOCK = 3594 // testdata/sqlite-amalgamation-3380500/sqlite3.h:511:1:
|
|
SQLITE_IOERR_CLOSE = 4106 // testdata/sqlite-amalgamation-3380500/sqlite3.h:513:1:
|
|
SQLITE_IOERR_COMMIT_ATOMIC = 7690 // testdata/sqlite-amalgamation-3380500/sqlite3.h:527:1:
|
|
SQLITE_IOERR_CONVPATH = 6666 // testdata/sqlite-amalgamation-3380500/sqlite3.h:523:1:
|
|
SQLITE_IOERR_CORRUPTFS = 8458 // testdata/sqlite-amalgamation-3380500/sqlite3.h:530:1:
|
|
SQLITE_IOERR_DATA = 8202 // testdata/sqlite-amalgamation-3380500/sqlite3.h:529:1:
|
|
SQLITE_IOERR_DELETE = 2570 // testdata/sqlite-amalgamation-3380500/sqlite3.h:507:1:
|
|
SQLITE_IOERR_DELETE_NOENT = 5898 // testdata/sqlite-amalgamation-3380500/sqlite3.h:520:1:
|
|
SQLITE_IOERR_DIR_CLOSE = 4362 // testdata/sqlite-amalgamation-3380500/sqlite3.h:514:1:
|
|
SQLITE_IOERR_DIR_FSYNC = 1290 // testdata/sqlite-amalgamation-3380500/sqlite3.h:502:1:
|
|
SQLITE_IOERR_FSTAT = 1802 // testdata/sqlite-amalgamation-3380500/sqlite3.h:504:1:
|
|
SQLITE_IOERR_FSYNC = 1034 // testdata/sqlite-amalgamation-3380500/sqlite3.h:501:1:
|
|
SQLITE_IOERR_GETTEMPPATH = 6410 // testdata/sqlite-amalgamation-3380500/sqlite3.h:522:1:
|
|
SQLITE_IOERR_LOCK = 3850 // testdata/sqlite-amalgamation-3380500/sqlite3.h:512:1:
|
|
SQLITE_IOERR_MMAP = 6154 // testdata/sqlite-amalgamation-3380500/sqlite3.h:521:1:
|
|
SQLITE_IOERR_NOMEM = 3082 // testdata/sqlite-amalgamation-3380500/sqlite3.h:509:1:
|
|
SQLITE_IOERR_RDLOCK = 2314 // testdata/sqlite-amalgamation-3380500/sqlite3.h:506:1:
|
|
SQLITE_IOERR_READ = 266 // testdata/sqlite-amalgamation-3380500/sqlite3.h:498:1:
|
|
SQLITE_IOERR_ROLLBACK_ATOMIC = 7946 // testdata/sqlite-amalgamation-3380500/sqlite3.h:528:1:
|
|
SQLITE_IOERR_SEEK = 5642 // testdata/sqlite-amalgamation-3380500/sqlite3.h:519:1:
|
|
SQLITE_IOERR_SHMLOCK = 5130 // testdata/sqlite-amalgamation-3380500/sqlite3.h:517:1:
|
|
SQLITE_IOERR_SHMMAP = 5386 // testdata/sqlite-amalgamation-3380500/sqlite3.h:518:1:
|
|
SQLITE_IOERR_SHMOPEN = 4618 // testdata/sqlite-amalgamation-3380500/sqlite3.h:515:1:
|
|
SQLITE_IOERR_SHMSIZE = 4874 // testdata/sqlite-amalgamation-3380500/sqlite3.h:516:1:
|
|
SQLITE_IOERR_SHORT_READ = 522 // testdata/sqlite-amalgamation-3380500/sqlite3.h:499:1:
|
|
SQLITE_IOERR_TRUNCATE = 1546 // testdata/sqlite-amalgamation-3380500/sqlite3.h:503:1:
|
|
SQLITE_IOERR_UNLOCK = 2058 // testdata/sqlite-amalgamation-3380500/sqlite3.h:505:1:
|
|
SQLITE_IOERR_VNODE = 6922 // testdata/sqlite-amalgamation-3380500/sqlite3.h:524:1:
|
|
SQLITE_IOERR_WRITE = 778 // testdata/sqlite-amalgamation-3380500/sqlite3.h:500:1:
|
|
SQLITE_LAST_ERRNO = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1231:1:
|
|
SQLITE_LIKE_DOESNT_MATCH_BLOBS = 1 // <defines>:18:1:
|
|
SQLITE_LIMIT_ATTACHED = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4008:1:
|
|
SQLITE_LIMIT_COLUMN = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4003:1:
|
|
SQLITE_LIMIT_COMPOUND_SELECT = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4005:1:
|
|
SQLITE_LIMIT_EXPR_DEPTH = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4004:1:
|
|
SQLITE_LIMIT_FUNCTION_ARG = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4007:1:
|
|
SQLITE_LIMIT_LENGTH = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4001:1:
|
|
SQLITE_LIMIT_LIKE_PATTERN_LENGTH = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4009:1:
|
|
SQLITE_LIMIT_SQL_LENGTH = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4002:1:
|
|
SQLITE_LIMIT_TRIGGER_DEPTH = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4011:1:
|
|
SQLITE_LIMIT_VARIABLE_NUMBER = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4010:1:
|
|
SQLITE_LIMIT_VDBE_OP = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4006:1:
|
|
SQLITE_LIMIT_WORKER_THREADS = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4012:1:
|
|
SQLITE_LOCKED = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:451:1:
|
|
SQLITE_LOCKED_SHAREDCACHE = 262 // testdata/sqlite-amalgamation-3380500/sqlite3.h:531:1:
|
|
SQLITE_LOCKED_VTAB = 518 // testdata/sqlite-amalgamation-3380500/sqlite3.h:532:1:
|
|
SQLITE_LOCK_EXCLUSIVE = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:679:1:
|
|
SQLITE_LOCK_NONE = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:675:1:
|
|
SQLITE_LOCK_PENDING = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:678:1:
|
|
SQLITE_LOCK_RESERVED = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:677:1:
|
|
SQLITE_LOCK_SHARED = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:676:1:
|
|
SQLITE_MISMATCH = 20 // testdata/sqlite-amalgamation-3380500/sqlite3.h:465:1:
|
|
SQLITE_MISUSE = 21 // testdata/sqlite-amalgamation-3380500/sqlite3.h:466:1:
|
|
SQLITE_MUTEX_APPDEF = 1 // <defines>:19:1:
|
|
SQLITE_MUTEX_FAST = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7861:1:
|
|
SQLITE_MUTEX_NOOP = 1 // <defines>:20:1:
|
|
SQLITE_MUTEX_RECURSIVE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7862:1:
|
|
SQLITE_MUTEX_STATIC_APP1 = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7871:1:
|
|
SQLITE_MUTEX_STATIC_APP2 = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7872:1:
|
|
SQLITE_MUTEX_STATIC_APP3 = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7873:1:
|
|
SQLITE_MUTEX_STATIC_LRU = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7868:1:
|
|
SQLITE_MUTEX_STATIC_LRU2 = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7869:1:
|
|
SQLITE_MUTEX_STATIC_MAIN = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7863:1:
|
|
SQLITE_MUTEX_STATIC_MASTER = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7879:1:
|
|
SQLITE_MUTEX_STATIC_MEM = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7864:1:
|
|
SQLITE_MUTEX_STATIC_MEM2 = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7865:1:
|
|
SQLITE_MUTEX_STATIC_OPEN = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7866:1:
|
|
SQLITE_MUTEX_STATIC_PMEM = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7870:1:
|
|
SQLITE_MUTEX_STATIC_PRNG = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7867:1:
|
|
SQLITE_MUTEX_STATIC_VFS1 = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7874:1:
|
|
SQLITE_MUTEX_STATIC_VFS2 = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7875:1:
|
|
SQLITE_MUTEX_STATIC_VFS3 = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7876:1:
|
|
SQLITE_NOLFS = 22 // testdata/sqlite-amalgamation-3380500/sqlite3.h:467:1:
|
|
SQLITE_NOMEM = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:452:1:
|
|
SQLITE_NOTADB = 26 // testdata/sqlite-amalgamation-3380500/sqlite3.h:471:1:
|
|
SQLITE_NOTFOUND = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:457:1:
|
|
SQLITE_NOTICE = 27 // testdata/sqlite-amalgamation-3380500/sqlite3.h:472:1:
|
|
SQLITE_NOTICE_RECOVER_ROLLBACK = 539 // testdata/sqlite-amalgamation-3380500/sqlite3.h:565:1:
|
|
SQLITE_NOTICE_RECOVER_WAL = 283 // testdata/sqlite-amalgamation-3380500/sqlite3.h:564:1:
|
|
SQLITE_NULL = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4875:1:
|
|
SQLITE_OK = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:444:1:
|
|
SQLITE_OK_LOAD_PERMANENTLY = 256 // testdata/sqlite-amalgamation-3380500/sqlite3.h:568:1:
|
|
SQLITE_OK_SYMLINK = 512 // testdata/sqlite-amalgamation-3380500/sqlite3.h:569:1:
|
|
SQLITE_OPEN_AUTOPROXY = 0x00000020 // testdata/sqlite-amalgamation-3380500/sqlite3.h:596:1:
|
|
SQLITE_OPEN_CREATE = 0x00000004 // testdata/sqlite-amalgamation-3380500/sqlite3.h:593:1:
|
|
SQLITE_OPEN_DELETEONCLOSE = 0x00000008 // testdata/sqlite-amalgamation-3380500/sqlite3.h:594:1:
|
|
SQLITE_OPEN_EXCLUSIVE = 0x00000010 // testdata/sqlite-amalgamation-3380500/sqlite3.h:595:1:
|
|
SQLITE_OPEN_EXRESCODE = 0x02000000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:612:1:
|
|
SQLITE_OPEN_FULLMUTEX = 0x00010000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:607:1:
|
|
SQLITE_OPEN_MAIN_DB = 0x00000100 // testdata/sqlite-amalgamation-3380500/sqlite3.h:599:1:
|
|
SQLITE_OPEN_MAIN_JOURNAL = 0x00000800 // testdata/sqlite-amalgamation-3380500/sqlite3.h:602:1:
|
|
SQLITE_OPEN_MASTER_JOURNAL = 0x00004000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:616:1:
|
|
SQLITE_OPEN_MEMORY = 0x00000080 // testdata/sqlite-amalgamation-3380500/sqlite3.h:598:1:
|
|
SQLITE_OPEN_NOFOLLOW = 0x01000000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:611:1:
|
|
SQLITE_OPEN_NOMUTEX = 0x00008000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:606:1:
|
|
SQLITE_OPEN_PRIVATECACHE = 0x00040000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:609:1:
|
|
SQLITE_OPEN_READONLY = 0x00000001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:591:1:
|
|
SQLITE_OPEN_READWRITE = 0x00000002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:592:1:
|
|
SQLITE_OPEN_SHAREDCACHE = 0x00020000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:608:1:
|
|
SQLITE_OPEN_SUBJOURNAL = 0x00002000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:604:1:
|
|
SQLITE_OPEN_SUPER_JOURNAL = 0x00004000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:605:1:
|
|
SQLITE_OPEN_TEMP_DB = 0x00000200 // testdata/sqlite-amalgamation-3380500/sqlite3.h:600:1:
|
|
SQLITE_OPEN_TEMP_JOURNAL = 0x00001000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:603:1:
|
|
SQLITE_OPEN_TRANSIENT_DB = 0x00000400 // testdata/sqlite-amalgamation-3380500/sqlite3.h:601:1:
|
|
SQLITE_OPEN_URI = 0x00000040 // testdata/sqlite-amalgamation-3380500/sqlite3.h:597:1:
|
|
SQLITE_OPEN_WAL = 0x00080000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:610:1:
|
|
SQLITE_OS_UNIX = 1 // <defines>:23:1:
|
|
SQLITE_PERM = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:448:1:
|
|
SQLITE_PRAGMA = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3169:1:
|
|
SQLITE_PREPARE_NORMALIZE = 0x02 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4050:1:
|
|
SQLITE_PREPARE_NO_VTAB = 0x04 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4051:1:
|
|
SQLITE_PREPARE_PERSISTENT = 0x01 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4049:1:
|
|
SQLITE_PROTOCOL = 15 // testdata/sqlite-amalgamation-3380500/sqlite3.h:460:1:
|
|
SQLITE_RANGE = 25 // testdata/sqlite-amalgamation-3380500/sqlite3.h:470:1:
|
|
SQLITE_READ = 20 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3170:1:
|
|
SQLITE_READONLY = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:453:1:
|
|
SQLITE_READONLY_CANTINIT = 1288 // testdata/sqlite-amalgamation-3380500/sqlite3.h:549:1:
|
|
SQLITE_READONLY_CANTLOCK = 520 // testdata/sqlite-amalgamation-3380500/sqlite3.h:546:1:
|
|
SQLITE_READONLY_DBMOVED = 1032 // testdata/sqlite-amalgamation-3380500/sqlite3.h:548:1:
|
|
SQLITE_READONLY_DIRECTORY = 1544 // testdata/sqlite-amalgamation-3380500/sqlite3.h:550:1:
|
|
SQLITE_READONLY_RECOVERY = 264 // testdata/sqlite-amalgamation-3380500/sqlite3.h:545:1:
|
|
SQLITE_READONLY_ROLLBACK = 776 // testdata/sqlite-amalgamation-3380500/sqlite3.h:547:1:
|
|
SQLITE_RECURSIVE = 33 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3184:1:
|
|
SQLITE_REINDEX = 27 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3177:1:
|
|
SQLITE_REPLACE = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9795:1:
|
|
SQLITE_ROLLBACK = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9791:1:
|
|
SQLITE_ROW = 100 // testdata/sqlite-amalgamation-3380500/sqlite3.h:474:1:
|
|
SQLITE_SAVEPOINT = 32 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3182:1:
|
|
SQLITE_SCANSTAT_EST = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9846:1:
|
|
SQLITE_SCANSTAT_EXPLAIN = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9848:1:
|
|
SQLITE_SCANSTAT_NAME = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9847:1:
|
|
SQLITE_SCANSTAT_NLOOP = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9844:1:
|
|
SQLITE_SCANSTAT_NVISIT = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9845:1:
|
|
SQLITE_SCANSTAT_SELECTID = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9849:1:
|
|
SQLITE_SCHEMA = 17 // testdata/sqlite-amalgamation-3380500/sqlite3.h:462:1:
|
|
SQLITE_SELECT = 21 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3171:1:
|
|
SQLITE_SERIALIZE_NOCOPY = 0x001 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10306:1:
|
|
SQLITE_SESSION_CONFIG_STRMSIZE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12218:1:
|
|
SQLITE_SESSION_OBJCONFIG_SIZE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10619:1:
|
|
SQLITE_SET_LOCKPROXYFILE = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1230:1:
|
|
SQLITE_SHM_EXCLUSIVE = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1515:1:
|
|
SQLITE_SHM_LOCK = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1513:1:
|
|
SQLITE_SHM_NLOCK = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1525:1:
|
|
SQLITE_SHM_SHARED = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1514:1:
|
|
SQLITE_SHM_UNLOCK = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:1512:1:
|
|
SQLITE_SOUNDEX = 1 // <defines>:21:1:
|
|
SQLITE_SOURCE_ID = "2022-05-06 15:25:27 78d9c993d404cdfaa7fdd2973fa1052e3da9f66215cff9c5540ebe55c407d9fe" // testdata/sqlite-amalgamation-3380500/sqlite3.h:151:1:
|
|
SQLITE_STATUS_MALLOC_COUNT = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8295:1:
|
|
SQLITE_STATUS_MALLOC_SIZE = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8291:1:
|
|
SQLITE_STATUS_MEMORY_USED = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8286:1:
|
|
SQLITE_STATUS_PAGECACHE_OVERFLOW = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8288:1:
|
|
SQLITE_STATUS_PAGECACHE_SIZE = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8293:1:
|
|
SQLITE_STATUS_PAGECACHE_USED = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8287:1:
|
|
SQLITE_STATUS_PARSER_STACK = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8292:1:
|
|
SQLITE_STATUS_SCRATCH_OVERFLOW = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8290:1:
|
|
SQLITE_STATUS_SCRATCH_SIZE = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8294:1:
|
|
SQLITE_STATUS_SCRATCH_USED = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8289:1:
|
|
SQLITE_STDCALL = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:84:1:
|
|
SQLITE_STMTSTATUS_AUTOINDEX = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8542:1:
|
|
SQLITE_STMTSTATUS_FILTER_HIT = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8547:1:
|
|
SQLITE_STMTSTATUS_FILTER_MISS = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8546:1:
|
|
SQLITE_STMTSTATUS_FULLSCAN_STEP = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8540:1:
|
|
SQLITE_STMTSTATUS_MEMUSED = 99 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8548:1:
|
|
SQLITE_STMTSTATUS_REPREPARE = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8544:1:
|
|
SQLITE_STMTSTATUS_RUN = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8545:1:
|
|
SQLITE_STMTSTATUS_SORT = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8541:1:
|
|
SQLITE_STMTSTATUS_VM_STEP = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:8543:1:
|
|
SQLITE_SUBTYPE = 0x000100000 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5409:1:
|
|
SQLITE_SYNC_DATAONLY = 0x00010 // testdata/sqlite-amalgamation-3380500/sqlite3.h:709:1:
|
|
SQLITE_SYNC_FULL = 0x00003 // testdata/sqlite-amalgamation-3380500/sqlite3.h:708:1:
|
|
SQLITE_SYNC_NORMAL = 0x00002 // testdata/sqlite-amalgamation-3380500/sqlite3.h:707:1:
|
|
SQLITE_SYSAPI = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:90:1:
|
|
SQLITE_TESTCTRL_ALWAYS = 13 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7976:1:
|
|
SQLITE_TESTCTRL_ASSERT = 12 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7975:1:
|
|
SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS = 10 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7973:1:
|
|
SQLITE_TESTCTRL_BITVEC_TEST = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7971:1:
|
|
SQLITE_TESTCTRL_BYTEORDER = 22 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7987:1:
|
|
SQLITE_TESTCTRL_EXPLAIN_STMT = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7983:1:
|
|
SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS = 29 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7994:1:
|
|
SQLITE_TESTCTRL_FAULT_INSTALL = 9 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7972:1:
|
|
SQLITE_TESTCTRL_FIRST = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7967:1:
|
|
SQLITE_TESTCTRL_IMPOSTER = 25 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7990:1:
|
|
SQLITE_TESTCTRL_INTERNAL_FUNCTIONS = 17 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7981:1:
|
|
SQLITE_TESTCTRL_ISINIT = 23 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7988:1:
|
|
SQLITE_TESTCTRL_ISKEYWORD = 16 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7979:1:
|
|
SQLITE_TESTCTRL_LAST = 33 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7999:1:
|
|
SQLITE_TESTCTRL_LOCALTIME_FAULT = 18 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7982:1:
|
|
SQLITE_TESTCTRL_LOGEST = 33 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7998:1:
|
|
SQLITE_TESTCTRL_NEVER_CORRUPT = 20 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7985:1:
|
|
SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD = 19 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7984:1:
|
|
SQLITE_TESTCTRL_OPTIMIZATIONS = 15 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7978:1:
|
|
SQLITE_TESTCTRL_PARSER_COVERAGE = 26 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7991:1:
|
|
SQLITE_TESTCTRL_PENDING_BYTE = 11 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7974:1:
|
|
SQLITE_TESTCTRL_PRNG_RESET = 7 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7970:1:
|
|
SQLITE_TESTCTRL_PRNG_RESTORE = 6 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7969:1:
|
|
SQLITE_TESTCTRL_PRNG_SAVE = 5 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7968:1:
|
|
SQLITE_TESTCTRL_PRNG_SEED = 28 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7993:1:
|
|
SQLITE_TESTCTRL_RESERVE = 14 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7977:1:
|
|
SQLITE_TESTCTRL_RESULT_INTREAL = 27 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7992:1:
|
|
SQLITE_TESTCTRL_SCRATCHMALLOC = 17 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7980:1:
|
|
SQLITE_TESTCTRL_SEEK_COUNT = 30 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7995:1:
|
|
SQLITE_TESTCTRL_SORTER_MMAP = 24 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7989:1:
|
|
SQLITE_TESTCTRL_TRACEFLAGS = 31 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7996:1:
|
|
SQLITE_TESTCTRL_TUNE = 32 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7997:1:
|
|
SQLITE_TESTCTRL_VDBE_COVERAGE = 21 // testdata/sqlite-amalgamation-3380500/sqlite3.h:7986:1:
|
|
SQLITE_TEXT = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:4879:1:
|
|
SQLITE_THREADSAFE = 1 // <defines>:22:1:
|
|
SQLITE_TOOBIG = 18 // testdata/sqlite-amalgamation-3380500/sqlite3.h:463:1:
|
|
SQLITE_TRACE_CLOSE = 0x08 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3278:1:
|
|
SQLITE_TRACE_PROFILE = 0x02 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3276:1:
|
|
SQLITE_TRACE_ROW = 0x04 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3277:1:
|
|
SQLITE_TRACE_STMT = 0x01 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3275:1:
|
|
SQLITE_TRANSACTION = 22 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3172:1:
|
|
SQLITE_TXN_NONE = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:6367:1:
|
|
SQLITE_TXN_READ = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:6368:1:
|
|
SQLITE_TXN_WRITE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:6369:1:
|
|
SQLITE_UPDATE = 23 // testdata/sqlite-amalgamation-3380500/sqlite3.h:3173:1:
|
|
SQLITE_UTF16 = 4 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5338:1:
|
|
SQLITE_UTF16BE = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5337:1:
|
|
SQLITE_UTF16LE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5336:1:
|
|
SQLITE_UTF16_ALIGNED = 8 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5340:1:
|
|
SQLITE_UTF8 = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:5335:1:
|
|
SQLITE_VERSION = "3.38.5" // testdata/sqlite-amalgamation-3380500/sqlite3.h:149:1:
|
|
SQLITE_VERSION_NUMBER = 3038005 // testdata/sqlite-amalgamation-3380500/sqlite3.h:150:1:
|
|
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9472:1:
|
|
SQLITE_VTAB_DIRECTONLY = 3 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9474:1:
|
|
SQLITE_VTAB_INNOCUOUS = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:9473:1:
|
|
SQLITE_WARNING = 28 // testdata/sqlite-amalgamation-3380500/sqlite3.h:473:1:
|
|
SQLITE_WARNING_AUTOINDEX = 284 // testdata/sqlite-amalgamation-3380500/sqlite3.h:566:1:
|
|
SQLITE_WIN32_DATA_DIRECTORY_TYPE = 1 // testdata/sqlite-amalgamation-3380500/sqlite3.h:6238:1:
|
|
SQLITE_WIN32_TEMP_DIRECTORY_TYPE = 2 // testdata/sqlite-amalgamation-3380500/sqlite3.h:6239:1:
|
|
SQLITE_WITHOUT_ZONEMALLOC = 1 // <defines>:24:1:
|
|
SS_DISABLE = 0x0004 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:339:1:
|
|
SS_ONSTACK = 0x0001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:338:1:
|
|
STDERR_FILENO = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:88:1:
|
|
STDIN_FILENO = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:86:1:
|
|
STDOUT_FILENO = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:87:1:
|
|
SV_INTERRUPT = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:355:1:
|
|
SV_NOCLDSTOP = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:358:1:
|
|
SV_NODEFER = 16 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:357:1:
|
|
SV_ONSTACK = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:354:1:
|
|
SV_RESETHAND = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:356:1:
|
|
SV_SIGINFO = 64 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:359:1:
|
|
SYNC_VOLUME_FULLSYNC = 0x01 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:776:1:
|
|
SYNC_VOLUME_WAIT = 0x02 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:777:1:
|
|
TMP_MAX = 308915776 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:115:1:
|
|
TRAP_BRKPT = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:246:1:
|
|
TRAP_TRACE = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:247:1:
|
|
UINT16_MAX = 65535 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:601:1:
|
|
UINT32_MAX = 4294967295 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:557:1:
|
|
UINT64_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:463:1:
|
|
UINT8_MAX = 255 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:623:1:
|
|
UINTMAX_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:664:1:
|
|
UINTPTR_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:650:1:
|
|
UINT_FAST16_MAX = 65535 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:616:1:
|
|
UINT_FAST32_MAX = 4294967295 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:575:1:
|
|
UINT_FAST64_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:484:1:
|
|
UINT_FAST8_MAX = 255 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:635:1:
|
|
UINT_LEAST16_MAX = 65535 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:613:1:
|
|
UINT_LEAST32_MAX = 4294967295 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:572:1:
|
|
UINT_LEAST64_MAX = 18446744073709551615 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:481:1:
|
|
UINT_LEAST8_MAX = 255 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:632:1:
|
|
WAIT_ANY = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:183:1:
|
|
WAIT_MYPGRP = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:184:1:
|
|
WAKEMON_DISABLE = 0x02 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:385:1:
|
|
WAKEMON_ENABLE = 0x01 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:384:1:
|
|
WAKEMON_GET_PARAMS = 0x04 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:386:1:
|
|
WAKEMON_MAKE_FATAL = 0x10 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:388:1:
|
|
WAKEMON_SET_DEFAULTS = 0x08 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:387:1:
|
|
WCHAR_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:678:1:
|
|
WCHAR_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:682:1:
|
|
WCONTINUED = 0x00000010 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:173:1:
|
|
WCOREFLAG = 0200 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:132:1:
|
|
WEXITED = 0x00000004 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:168:1:
|
|
WINT_MAX = 2147483647 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:674:1:
|
|
WINT_MIN = -2147483648 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:673:1:
|
|
WNOHANG = 0x00000001 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:121:1:
|
|
WNOWAIT = 0x00000020 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:174:1:
|
|
WSTOPPED = 0x00000008 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:171:1:
|
|
WUNTRACED = 0x00000002 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:122:1:
|
|
W_OK = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:91:1:
|
|
X_OK = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:90:1:
|
|
X_ACCESS_EXTENDED_MASK = 4193792 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:114:1:
|
|
X_ALLOCA_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/alloca.h:25:1:
|
|
X_APPEND_OK = 8192 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:104:1:
|
|
X_ASSERT_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/assert.h:103:1:
|
|
X_BSD_I386__TYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:29:1:
|
|
X_BSD_MACHINE_ENDIAN_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/endian.h:32:1:
|
|
X_BSD_MACHINE_SIGNAL_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/signal.h:29:1:
|
|
X_BSD_MACHINE_TYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:32:1:
|
|
X_BSD_MACHINE__TYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:29:1:
|
|
X_CACHED_RUNES = 256 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:54:1:
|
|
X_CDEFS_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:68:1:
|
|
X_CHOWN_OK = 2097152 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:112:1:
|
|
X_CRMASK = -256 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:55:1:
|
|
X_CS_DARWIN_USER_CACHE_DIR = 65538 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:415:1:
|
|
X_CS_DARWIN_USER_DIR = 65536 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:413:1:
|
|
X_CS_DARWIN_USER_TEMP_DIR = 65537 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:414:1:
|
|
X_CS_PATH = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:175:1:
|
|
X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:377:1:
|
|
X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:378:1:
|
|
X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:379:1:
|
|
X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:380:1:
|
|
X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:381:1:
|
|
X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:382:1:
|
|
X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:383:1:
|
|
X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:384:1:
|
|
X_CS_POSIX_V6_LP64_OFF64_LIBS = 10 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:385:1:
|
|
X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:386:1:
|
|
X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:387:1:
|
|
X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:388:1:
|
|
X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:389:1:
|
|
X_CS_XBS5_ILP32_OFF32_CFLAGS = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:394:1:
|
|
X_CS_XBS5_ILP32_OFF32_LDFLAGS = 21 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:395:1:
|
|
X_CS_XBS5_ILP32_OFF32_LIBS = 22 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:396:1:
|
|
X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 23 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:397:1:
|
|
X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 24 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:398:1:
|
|
X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 25 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:399:1:
|
|
X_CS_XBS5_ILP32_OFFBIG_LIBS = 26 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:400:1:
|
|
X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 27 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:401:1:
|
|
X_CS_XBS5_LP64_OFF64_CFLAGS = 28 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:402:1:
|
|
X_CS_XBS5_LP64_OFF64_LDFLAGS = 29 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:403:1:
|
|
X_CS_XBS5_LP64_OFF64_LIBS = 30 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:404:1:
|
|
X_CS_XBS5_LP64_OFF64_LINTFLAGS = 31 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:405:1:
|
|
X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 32 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:406:1:
|
|
X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 33 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:407:1:
|
|
X_CS_XBS5_LPBIG_OFFBIG_LIBS = 34 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:408:1:
|
|
X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 35 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:409:1:
|
|
X_CTERMID_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctermid.h:25:1:
|
|
X_CTYPE_A = 0x00000100 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:72:1:
|
|
X_CTYPE_B = 0x00020000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:81:1:
|
|
X_CTYPE_C = 0x00000200 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:73:1:
|
|
X_CTYPE_D = 0x00000400 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:74:1:
|
|
X_CTYPE_G = 0x00000800 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:75:1:
|
|
X_CTYPE_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/ctype.h:67:1:
|
|
X_CTYPE_I = 0x00080000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:83:1:
|
|
X_CTYPE_L = 0x00001000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:76:1:
|
|
X_CTYPE_P = 0x00002000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:77:1:
|
|
X_CTYPE_Q = 0x00200000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:85:1:
|
|
X_CTYPE_R = 0x00040000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:82:1:
|
|
X_CTYPE_S = 0x00004000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:78:1:
|
|
X_CTYPE_SW0 = 0x20000000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:86:1:
|
|
X_CTYPE_SW1 = 0x40000000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:87:1:
|
|
X_CTYPE_SW2 = 0x80000000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:88:1:
|
|
X_CTYPE_SW3 = 0xc0000000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:89:1:
|
|
X_CTYPE_SWM = 0xe0000000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:90:1:
|
|
X_CTYPE_SWS = 30 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:91:1:
|
|
X_CTYPE_T = 0x00100000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:84:1:
|
|
X_CTYPE_U = 0x00008000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:79:1:
|
|
X_CTYPE_X = 0x00010000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:80:1:
|
|
X_CT_RUNE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ct_rune_t.h:30:1:
|
|
X_DARWIN_FEATURE_64_BIT_INODE = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:745:1:
|
|
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:771:1:
|
|
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:779:1:
|
|
X_DELETE_OK = 4096 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:103:1:
|
|
X_DEV_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_dev_t.h:29:1:
|
|
X_ERRNO_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_errno_t.h:29:1:
|
|
X_EXECUTE_OK = 2048 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:102:1:
|
|
X_FD_SET = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_fd_def.h:29:1:
|
|
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
|
X_FORTIFY_SOURCE = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:65:1:
|
|
X_FSTDIO = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:83:1:
|
|
X_FTS5_H = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:12252:1:
|
|
X_GID_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_gid_t.h:29:1:
|
|
X_I386_SIGNAL_H_ = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/signal.h:34:1:
|
|
X_I386__ENDIAN_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:67:1:
|
|
X_ID_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_id_t.h:29:1:
|
|
X_INT16_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int16_t.h:29:1:
|
|
X_INT32_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int32_t.h:29:1:
|
|
X_INT64_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int64_t.h:29:1:
|
|
X_INT8_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int8_t.h:29:1:
|
|
X_INTPTR_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_intptr_t.h:29:1:
|
|
X_IOFBF = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:99:1:
|
|
X_IOLBF = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:100:1:
|
|
X_IONBF = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:101:1:
|
|
X_LP64 = 1 // <predefined>:1:1:
|
|
X_MACHTYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:67:1:
|
|
X_MACH_I386__STRUCTS_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:33:1:
|
|
X_MACH_MACHINE__STRUCTS_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/machine/_structs.h:30:1:
|
|
X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/malloc/_malloc.h:25:1:
|
|
X_MCONTEXT_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:202:1:
|
|
X_MODE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_mode_t.h:29:1:
|
|
X_Nonnull = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:243:1:
|
|
X_Null_unspecified = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:246:1:
|
|
X_Nullable = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:240:1:
|
|
X_OFF_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_off_t.h:29:1:
|
|
X_OS__OSBYTEORDERI386_H = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/libkern/i386/_OSByteOrder.h:30:1:
|
|
X_OS__OSBYTEORDER_H = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/libkern/_OSByteOrder.h:30:1:
|
|
X_PC_2_SYMLINKS = 15 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:160:1:
|
|
X_PC_ALLOC_SIZE_MIN = 16 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:161:1:
|
|
X_PC_ASYNC_IO = 17 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:162:1:
|
|
X_PC_AUTH_OPAQUE_NP = 14 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:157:1:
|
|
X_PC_CASE_PRESERVING = 12 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:155:1:
|
|
X_PC_CASE_SENSITIVE = 11 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:154:1:
|
|
X_PC_CHOWN_RESTRICTED = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:148:1:
|
|
X_PC_EXTENDED_SECURITY_NP = 13 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:156:1:
|
|
X_PC_FILESIZEBITS = 18 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:163:1:
|
|
X_PC_LINK_MAX = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:142:1:
|
|
X_PC_MAX_CANON = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:143:1:
|
|
X_PC_MAX_INPUT = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:144:1:
|
|
X_PC_MIN_HOLE_SIZE = 27 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:172:1:
|
|
X_PC_NAME_CHARS_MAX = 10 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:153:1:
|
|
X_PC_NAME_MAX = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:145:1:
|
|
X_PC_NO_TRUNC = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:149:1:
|
|
X_PC_PATH_MAX = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:146:1:
|
|
X_PC_PIPE_BUF = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:147:1:
|
|
X_PC_PRIO_IO = 19 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:164:1:
|
|
X_PC_REC_INCR_XFER_SIZE = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:165:1:
|
|
X_PC_REC_MAX_XFER_SIZE = 21 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:166:1:
|
|
X_PC_REC_MIN_XFER_SIZE = 22 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:167:1:
|
|
X_PC_REC_XFER_ALIGN = 23 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:168:1:
|
|
X_PC_SYMLINK_MAX = 24 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:169:1:
|
|
X_PC_SYNC_IO = 25 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:170:1:
|
|
X_PC_VDISABLE = 9 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:150:1:
|
|
X_PC_XATTR_SIZE_BITS = 26 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:171:1:
|
|
X_PID_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_pid_t.h:29:1:
|
|
X_POSIX2_CHAR_TERM = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:152:1:
|
|
X_POSIX2_C_BIND = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:150:1:
|
|
X_POSIX2_C_DEV = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:151:1:
|
|
X_POSIX2_FORT_DEV = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:153:1:
|
|
X_POSIX2_FORT_RUN = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:154:1:
|
|
X_POSIX2_LOCALEDEF = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:155:1:
|
|
X_POSIX2_PBS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:156:1:
|
|
X_POSIX2_PBS_ACCOUNTING = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:157:1:
|
|
X_POSIX2_PBS_CHECKPOINT = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:158:1:
|
|
X_POSIX2_PBS_LOCATE = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:159:1:
|
|
X_POSIX2_PBS_MESSAGE = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:160:1:
|
|
X_POSIX2_PBS_TRACK = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:161:1:
|
|
X_POSIX2_SW_DEV = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:162:1:
|
|
X_POSIX2_UPE = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:163:1:
|
|
X_POSIX2_VERSION = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:80:1:
|
|
X_POSIX_ADVISORY_INFO = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:98:1:
|
|
X_POSIX_ASYNCHRONOUS_IO = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:99:1:
|
|
X_POSIX_BARRIERS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:100:1:
|
|
X_POSIX_CHOWN_RESTRICTED = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:101:1:
|
|
X_POSIX_CLOCK_SELECTION = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:102:1:
|
|
X_POSIX_CPUTIME = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:103:1:
|
|
X_POSIX_FSYNC = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:104:1:
|
|
X_POSIX_IPV6 = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:105:1:
|
|
X_POSIX_JOB_CONTROL = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:106:1:
|
|
X_POSIX_MAPPED_FILES = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:107:1:
|
|
X_POSIX_MEMLOCK = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:108:1:
|
|
X_POSIX_MEMLOCK_RANGE = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:109:1:
|
|
X_POSIX_MEMORY_PROTECTION = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:110:1:
|
|
X_POSIX_MESSAGE_PASSING = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:111:1:
|
|
X_POSIX_MONOTONIC_CLOCK = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:112:1:
|
|
X_POSIX_NO_TRUNC = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:113:1:
|
|
X_POSIX_PRIORITIZED_IO = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:114:1:
|
|
X_POSIX_PRIORITY_SCHEDULING = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:115:1:
|
|
X_POSIX_RAW_SOCKETS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:116:1:
|
|
X_POSIX_READER_WRITER_LOCKS = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:117:1:
|
|
X_POSIX_REALTIME_SIGNALS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:118:1:
|
|
X_POSIX_REGEXP = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:119:1:
|
|
X_POSIX_SAVED_IDS = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:120:1:
|
|
X_POSIX_SEMAPHORES = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:121:1:
|
|
X_POSIX_SHARED_MEMORY_OBJECTS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:122:1:
|
|
X_POSIX_SHELL = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:123:1:
|
|
X_POSIX_SPAWN = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:124:1:
|
|
X_POSIX_SPIN_LOCKS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:125:1:
|
|
X_POSIX_SPORADIC_SERVER = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:126:1:
|
|
X_POSIX_SYNCHRONIZED_IO = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:127:1:
|
|
X_POSIX_THREADS = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:137:1:
|
|
X_POSIX_THREAD_ATTR_STACKADDR = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:128:1:
|
|
X_POSIX_THREAD_ATTR_STACKSIZE = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:129:1:
|
|
X_POSIX_THREAD_CPUTIME = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:130:1:
|
|
X_POSIX_THREAD_KEYS_MAX = 128 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:86:1:
|
|
X_POSIX_THREAD_PRIORITY_SCHEDULING = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:133:1:
|
|
X_POSIX_THREAD_PRIO_INHERIT = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:131:1:
|
|
X_POSIX_THREAD_PRIO_PROTECT = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:132:1:
|
|
X_POSIX_THREAD_PROCESS_SHARED = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:134:1:
|
|
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:135:1:
|
|
X_POSIX_THREAD_SPORADIC_SERVER = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:136:1:
|
|
X_POSIX_TIMEOUTS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:138:1:
|
|
X_POSIX_TIMERS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:139:1:
|
|
X_POSIX_TRACE = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:140:1:
|
|
X_POSIX_TRACE_EVENT_FILTER = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:141:1:
|
|
X_POSIX_TRACE_INHERIT = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:142:1:
|
|
X_POSIX_TRACE_LOG = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:143:1:
|
|
X_POSIX_TYPED_MEMORY_OBJECTS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:144:1:
|
|
X_POSIX_V6_ILP32_OFF32 = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:173:1:
|
|
X_POSIX_V6_ILP32_OFFBIG = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:174:1:
|
|
X_POSIX_V6_LP64_OFF64 = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:175:1:
|
|
X_POSIX_V6_LPBIG_OFFBIG = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:176:1:
|
|
X_POSIX_V7_ILP32_OFF32 = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:180:1:
|
|
X_POSIX_V7_ILP32_OFFBIG = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:181:1:
|
|
X_POSIX_V7_LP64_OFF64 = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:182:1:
|
|
X_POSIX_V7_LPBIG_OFFBIG = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:183:1:
|
|
X_POSIX_VERSION = 200112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:79:1:
|
|
X_PTHREAD_ATTR_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_attr_t.h:29:1:
|
|
X_QUAD_HIGHWORD = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:78:1:
|
|
X_QUAD_LOWWORD = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/endian.h:79:1:
|
|
X_RATTR_OK = 32768 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:106:1:
|
|
X_READ_OK = 512 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:100:1:
|
|
X_REXT_OK = 131072 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:108:1:
|
|
X_RLIMIT_POSIX_FLAG = 0x1000 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:359:1:
|
|
X_RMFILE_OK = 16384 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:105:1:
|
|
X_RPERM_OK = 524288 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:110:1:
|
|
X_RSIZE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_rsize_t.h:29:1:
|
|
X_RUNETYPE_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:40:1:
|
|
X_RUNE_MAGIC_A = "RuneMagA" // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:108:1:
|
|
X_RUNE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_rune_t.h:29:1:
|
|
X_SC_2_CHAR_TERM = 20 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:232:1:
|
|
X_SC_2_C_BIND = 18 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:230:1:
|
|
X_SC_2_C_DEV = 19 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:231:1:
|
|
X_SC_2_FORT_DEV = 21 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:233:1:
|
|
X_SC_2_FORT_RUN = 22 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:234:1:
|
|
X_SC_2_LOCALEDEF = 23 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:235:1:
|
|
X_SC_2_PBS = 59 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:275:1:
|
|
X_SC_2_PBS_ACCOUNTING = 60 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:276:1:
|
|
X_SC_2_PBS_CHECKPOINT = 61 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:277:1:
|
|
X_SC_2_PBS_LOCATE = 62 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:278:1:
|
|
X_SC_2_PBS_MESSAGE = 63 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:279:1:
|
|
X_SC_2_PBS_TRACK = 64 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:280:1:
|
|
X_SC_2_SW_DEV = 24 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:236:1:
|
|
X_SC_2_UPE = 25 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:237:1:
|
|
X_SC_2_VERSION = 17 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:229:1:
|
|
X_SC_ADVISORY_INFO = 65 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:281:1:
|
|
X_SC_AIO_LISTIO_MAX = 42 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:256:1:
|
|
X_SC_AIO_MAX = 43 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:257:1:
|
|
X_SC_AIO_PRIO_DELTA_MAX = 44 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:258:1:
|
|
X_SC_ARG_MAX = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:213:1:
|
|
X_SC_ASYNCHRONOUS_IO = 28 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:242:1:
|
|
X_SC_ATEXIT_MAX = 107 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:329:1:
|
|
X_SC_BARRIERS = 66 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:282:1:
|
|
X_SC_BC_BASE_MAX = 9 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:221:1:
|
|
X_SC_BC_DIM_MAX = 10 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:222:1:
|
|
X_SC_BC_SCALE_MAX = 11 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:223:1:
|
|
X_SC_BC_STRING_MAX = 12 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:224:1:
|
|
X_SC_CHILD_MAX = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:214:1:
|
|
X_SC_CLK_TCK = 3 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:215:1:
|
|
X_SC_CLOCK_SELECTION = 67 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:283:1:
|
|
X_SC_COLL_WEIGHTS_MAX = 13 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:225:1:
|
|
X_SC_CPUTIME = 68 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:284:1:
|
|
X_SC_DELAYTIMER_MAX = 45 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:259:1:
|
|
X_SC_EXPR_NEST_MAX = 14 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:226:1:
|
|
X_SC_FILE_LOCKING = 69 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:285:1:
|
|
X_SC_FSYNC = 38 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:252:1:
|
|
X_SC_GETGR_R_SIZE_MAX = 70 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:286:1:
|
|
X_SC_GETPW_R_SIZE_MAX = 71 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:287:1:
|
|
X_SC_HOST_NAME_MAX = 72 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:288:1:
|
|
X_SC_IOV_MAX = 56 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:330:1:
|
|
X_SC_IPV6 = 118 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:323:1:
|
|
X_SC_JOB_CONTROL = 6 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:218:1:
|
|
X_SC_LINE_MAX = 15 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:227:1:
|
|
X_SC_LOGIN_NAME_MAX = 73 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:289:1:
|
|
X_SC_MAPPED_FILES = 47 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:261:1:
|
|
X_SC_MEMLOCK = 30 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:244:1:
|
|
X_SC_MEMLOCK_RANGE = 31 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:245:1:
|
|
X_SC_MEMORY_PROTECTION = 32 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:246:1:
|
|
X_SC_MESSAGE_PASSING = 33 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:247:1:
|
|
X_SC_MONOTONIC_CLOCK = 74 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:290:1:
|
|
X_SC_MQ_OPEN_MAX = 46 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:260:1:
|
|
X_SC_MQ_PRIO_MAX = 75 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:291:1:
|
|
X_SC_NGROUPS_MAX = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:216:1:
|
|
X_SC_NPROCESSORS_CONF = 57 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:270:1:
|
|
X_SC_NPROCESSORS_ONLN = 58 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:271:1:
|
|
X_SC_OPEN_MAX = 5 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:217:1:
|
|
X_SC_PAGESIZE = 29 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:243:1:
|
|
X_SC_PAGE_SIZE = 29 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:331:1:
|
|
X_SC_PASS_MAX = 131 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:362:1:
|
|
X_SC_PHYS_PAGES = 200 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:367:1:
|
|
X_SC_PRIORITIZED_IO = 34 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:248:1:
|
|
X_SC_PRIORITY_SCHEDULING = 35 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:249:1:
|
|
X_SC_RAW_SOCKETS = 119 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:324:1:
|
|
X_SC_READER_WRITER_LOCKS = 76 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:292:1:
|
|
X_SC_REALTIME_SIGNALS = 36 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:250:1:
|
|
X_SC_REGEXP = 77 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:293:1:
|
|
X_SC_RE_DUP_MAX = 16 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:228:1:
|
|
X_SC_RTSIG_MAX = 48 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:262:1:
|
|
X_SC_SAVED_IDS = 7 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:219:1:
|
|
X_SC_SEMAPHORES = 37 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:251:1:
|
|
X_SC_SEM_NSEMS_MAX = 49 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:263:1:
|
|
X_SC_SEM_VALUE_MAX = 50 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:264:1:
|
|
X_SC_SHARED_MEMORY_OBJECTS = 39 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:253:1:
|
|
X_SC_SHELL = 78 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:294:1:
|
|
X_SC_SIGQUEUE_MAX = 51 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:265:1:
|
|
X_SC_SPAWN = 79 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:295:1:
|
|
X_SC_SPIN_LOCKS = 80 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:296:1:
|
|
X_SC_SPORADIC_SERVER = 81 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:297:1:
|
|
X_SC_SS_REPL_MAX = 126 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:353:1:
|
|
X_SC_STREAM_MAX = 26 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:238:1:
|
|
X_SC_SYMLOOP_MAX = 120 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:325:1:
|
|
X_SC_SYNCHRONIZED_IO = 40 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:254:1:
|
|
X_SC_THREADS = 96 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:312:1:
|
|
X_SC_THREAD_ATTR_STACKADDR = 82 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:298:1:
|
|
X_SC_THREAD_ATTR_STACKSIZE = 83 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:299:1:
|
|
X_SC_THREAD_CPUTIME = 84 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:300:1:
|
|
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:301:1:
|
|
X_SC_THREAD_KEYS_MAX = 86 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:302:1:
|
|
X_SC_THREAD_PRIORITY_SCHEDULING = 89 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:305:1:
|
|
X_SC_THREAD_PRIO_INHERIT = 87 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:303:1:
|
|
X_SC_THREAD_PRIO_PROTECT = 88 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:304:1:
|
|
X_SC_THREAD_PROCESS_SHARED = 90 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:306:1:
|
|
X_SC_THREAD_SAFE_FUNCTIONS = 91 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:307:1:
|
|
X_SC_THREAD_SPORADIC_SERVER = 92 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:308:1:
|
|
X_SC_THREAD_STACK_MIN = 93 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:309:1:
|
|
X_SC_THREAD_THREADS_MAX = 94 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:310:1:
|
|
X_SC_TIMEOUTS = 95 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:311:1:
|
|
X_SC_TIMERS = 41 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:255:1:
|
|
X_SC_TIMER_MAX = 52 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:266:1:
|
|
X_SC_TRACE = 97 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:313:1:
|
|
X_SC_TRACE_EVENT_FILTER = 98 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:314:1:
|
|
X_SC_TRACE_EVENT_NAME_MAX = 127 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:354:1:
|
|
X_SC_TRACE_INHERIT = 99 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:315:1:
|
|
X_SC_TRACE_LOG = 100 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:316:1:
|
|
X_SC_TRACE_NAME_MAX = 128 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:355:1:
|
|
X_SC_TRACE_SYS_MAX = 129 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:356:1:
|
|
X_SC_TRACE_USER_EVENT_MAX = 130 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:357:1:
|
|
X_SC_TTY_NAME_MAX = 101 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:317:1:
|
|
X_SC_TYPED_MEMORY_OBJECTS = 102 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:318:1:
|
|
X_SC_TZNAME_MAX = 27 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:239:1:
|
|
X_SC_V6_ILP32_OFF32 = 103 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:319:1:
|
|
X_SC_V6_ILP32_OFFBIG = 104 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:320:1:
|
|
X_SC_V6_LP64_OFF64 = 105 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:321:1:
|
|
X_SC_V6_LPBIG_OFFBIG = 106 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:322:1:
|
|
X_SC_VERSION = 8 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:220:1:
|
|
X_SC_XBS5_ILP32_OFF32 = 122 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:346:1:
|
|
X_SC_XBS5_ILP32_OFFBIG = 123 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:347:1:
|
|
X_SC_XBS5_LP64_OFF64 = 124 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:348:1:
|
|
X_SC_XBS5_LPBIG_OFFBIG = 125 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:349:1:
|
|
X_SC_XOPEN_CRYPT = 108 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:332:1:
|
|
X_SC_XOPEN_ENH_I18N = 109 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:333:1:
|
|
X_SC_XOPEN_LEGACY = 110 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:334:1:
|
|
X_SC_XOPEN_REALTIME = 111 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:335:1:
|
|
X_SC_XOPEN_REALTIME_THREADS = 112 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:336:1:
|
|
X_SC_XOPEN_SHM = 113 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:337:1:
|
|
X_SC_XOPEN_STREAMS = 114 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:338:1:
|
|
X_SC_XOPEN_UNIX = 115 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:339:1:
|
|
X_SC_XOPEN_VERSION = 116 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:340:1:
|
|
X_SC_XOPEN_XCU_VERSION = 121 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:341:1:
|
|
X_SECURE__COMMON_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_common.h:25:1:
|
|
X_SECURE__STDIO_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:29:1:
|
|
X_SECURE__STRINGS_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_strings.h:29:1:
|
|
X_SECURE__STRING_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_string.h:29:1:
|
|
X_SIGSET_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_sigset_t.h:29:1:
|
|
X_SIZE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_size_t.h:29:1:
|
|
X_SQLITE3RTREE_H_ = 0 // testdata/sqlite-amalgamation-3380500/sqlite3.h:10403:1:
|
|
X_SSIZE_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ssize_t.h:29:1:
|
|
X_STDIO_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:62:1:
|
|
X_STDLIB_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:59:1:
|
|
X_STRINGS_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/strings.h:59:1:
|
|
X_STRING_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/string.h:59:1:
|
|
X_SUSECONDS_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_suseconds_t.h:29:1:
|
|
X_SYS_RESOURCE_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:65:1:
|
|
X_SYS_SELECT_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/select.h:64:1:
|
|
X_SYS_SIGNAL_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:70:1:
|
|
X_SYS_STDIO_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/stdio.h:30:1:
|
|
X_SYS_UNISTD_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:65:1:
|
|
X_SYS_WAIT_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:65:1:
|
|
X_SYS__ENDIAN_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_endian.h:91:1:
|
|
X_SYS__PTHREAD_TYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:30:1:
|
|
X_SYS__SELECT_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_select.h:37:1:
|
|
X_SYS__TYPES_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:30:1:
|
|
X_TIME_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_time_t.h:29:1:
|
|
X_UID_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uid_t.h:29:1:
|
|
X_UINT32_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types/_uint32_t.h:30:1:
|
|
X_UINT64_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types/_uint64_t.h:30:1:
|
|
X_UINTPTR_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uintptr_t.h:29:1:
|
|
X_UNISTD_H_ = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:69:1:
|
|
X_USECONDS_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_useconds_t.h:29:1:
|
|
X_USE_FORTIFY_LEVEL = 2 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_common.h:30:1:
|
|
X_UUID_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uuid_t.h:29:1:
|
|
X_U_INT16_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int16_t.h:29:1:
|
|
X_U_INT32_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int32_t.h:29:1:
|
|
X_U_INT64_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int64_t.h:29:1:
|
|
X_U_INT8_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int8_t.h:29:1:
|
|
X_V6_ILP32_OFF32 = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:187:1:
|
|
X_V6_ILP32_OFFBIG = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:188:1:
|
|
X_V6_LP64_OFF64 = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:189:1:
|
|
X_V6_LPBIG_OFFBIG = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:190:1:
|
|
X_VA_LIST = 0 // /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdarg.h:15:1:
|
|
X_VA_LIST_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_va_list.h:30:1:
|
|
X_WATTR_OK = 65536 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:107:1:
|
|
X_WCHAR_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_wchar_t.h:32:1:
|
|
X_WEXT_OK = 262144 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:109:1:
|
|
X_WINT_T = 0 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_wint_t.h:30:1:
|
|
X_WPERM_OK = 1048576 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:111:1:
|
|
X_WRITE_OK = 1024 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:101:1:
|
|
X_WSTOPPED = 0177 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:137:1:
|
|
X_XBS5_ILP32_OFF32 = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:195:1:
|
|
X_XBS5_ILP32_OFFBIG = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:196:1:
|
|
X_XBS5_LP64_OFF64 = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:197:1:
|
|
X_XBS5_LPBIG_OFFBIG = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:198:1:
|
|
X_XOPEN_CRYPT = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:202:1:
|
|
X_XOPEN_ENH_I18N = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:203:1:
|
|
X_XOPEN_LEGACY = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:204:1:
|
|
X_XOPEN_REALTIME = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:205:1:
|
|
X_XOPEN_REALTIME_THREADS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:206:1:
|
|
X_XOPEN_SHM = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:207:1:
|
|
X_XOPEN_STREAMS = -1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:208:1:
|
|
X_XOPEN_UNIX = 1 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:209:1:
|
|
X_XOPEN_VERSION = 600 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:93:1:
|
|
X_XOPEN_XCU_VERSION = 4 // /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/unistd.h:94:1:
|
|
)
|
|
|
|
// Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// -
|
|
// Copyright (c) 1990, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)stdlib.h 8.5 (Berkeley) 5/19/95
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
|
// Copyright (c) 1982, 1986, 1989, 1993, 1994
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)wait.h 8.2 (Berkeley) 7/10/94
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// This file holds definitions relevent to the wait4 system call
|
|
// and the alternate interfaces that use it (wait, wait3, waitpid).
|
|
|
|
// [XSI] The type idtype_t shall be defined as an enumeration type whose
|
|
// possible values shall include at least P_ALL, P_PID, and P_PGID.
|
|
const ( /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:79:1: */
|
|
P_ALL = 0
|
|
P_PID = 1
|
|
P_PGID = 2
|
|
)
|
|
|
|
type ptrdiff_t = int64 /* <builtin>:3:26 */
|
|
|
|
type size_t = uint64 /* <builtin>:9:23 */
|
|
|
|
type wchar_t = int32 /* <builtin>:15:24 */
|
|
|
|
var __darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
|
|
|
// A program for performance testing.
|
|
//
|
|
// The available command-line options are described below:
|
|
var zHelp = *(*[2263]int8)(unsafe.Pointer(ts)) /* testdata/sqlite-src-3380500/test/speedtest1.c:6:19 */
|
|
|
|
// 2001-09-15
|
|
//
|
|
// The author disclaims copyright to this source code. In place of
|
|
// a legal notice, here is a blessing:
|
|
//
|
|
// May you do good and not evil.
|
|
// May you find forgiveness for yourself and forgive others.
|
|
// May you share freely, never taking more than you give.
|
|
//
|
|
//
|
|
// This header file defines the interface that the SQLite library
|
|
// presents to client programs. If a C-function, structure, datatype,
|
|
// or constant definition does not appear in this file, then it is
|
|
// not a published API of SQLite, is subject to change without
|
|
// notice, and should not be referenced by programs that use SQLite.
|
|
//
|
|
// Some of the definitions that are in this file are marked as
|
|
// "experimental". Experimental interfaces are normally new
|
|
// features recently added to SQLite. We do not anticipate changes
|
|
// to experimental interfaces but reserve the right to make minor changes
|
|
// if experience from use "in the wild" suggest such changes are prudent.
|
|
//
|
|
// The official C-language API documentation for SQLite is derived
|
|
// from comments in this file. This file is the authoritative source
|
|
// on how SQLite interfaces are supposed to operate.
|
|
//
|
|
// The name of this file under configuration management is "sqlite.h.in".
|
|
// The makefile makes some minor changes to this file (such as inserting
|
|
// the version number) and changes its name to "sqlite3.h" as
|
|
// part of the build process.
|
|
// ===---- stdarg.h - Variable argument handling ----------------------------===
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===-----------------------------------------------------------------------===
|
|
|
|
type va_list = uintptr /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdarg.h:14:27 */
|
|
|
|
// CAPI3REF: 64-Bit Integer Types
|
|
// KEYWORDS: sqlite_int64 sqlite_uint64
|
|
//
|
|
// Because there is no cross-platform way to specify 64-bit integer types
|
|
// SQLite includes typedefs for 64-bit signed and unsigned integers.
|
|
//
|
|
// The sqlite3_int64 and sqlite3_uint64 are the preferred type definitions.
|
|
// The sqlite_int64 and sqlite_uint64 types are supported for backwards
|
|
// compatibility only.
|
|
//
|
|
// ^The sqlite3_int64 and sqlite_int64 types can store integer values
|
|
// between -9223372036854775808 and +9223372036854775807 inclusive. ^The
|
|
// sqlite3_uint64 and sqlite_uint64 types can store integer values
|
|
// between 0 and +18446744073709551615 inclusive.
|
|
type sqlite_int64 = int64 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:301:25 */
|
|
type sqlite_uint64 = uint64 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:302:34 */
|
|
type sqlite3_int64 = sqlite_int64 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:304:22 */
|
|
type sqlite3_uint64 = sqlite_uint64 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:305:23 */
|
|
|
|
// The type for a callback function.
|
|
// This is legacy and deprecated. It is included for historical
|
|
// compatibility and is not documented.
|
|
type sqlite3_callback = uintptr /* testdata/sqlite-amalgamation-3380500/sqlite3.h:361:13 */
|
|
|
|
// CAPI3REF: Result Codes
|
|
// KEYWORDS: {result code definitions}
|
|
//
|
|
// Many SQLite functions return an integer result code from the set shown
|
|
// here in order to indicate success or failure.
|
|
//
|
|
// New error codes may be added in future versions of SQLite.
|
|
//
|
|
// See also: [extended result code definitions]
|
|
// beginning-of-error-codes
|
|
// end-of-error-codes
|
|
|
|
// CAPI3REF: Extended Result Codes
|
|
// KEYWORDS: {extended result code definitions}
|
|
//
|
|
// In its default configuration, SQLite API routines return one of 30 integer
|
|
// [result codes]. However, experience has shown that many of
|
|
// these result codes are too coarse-grained. They do not provide as
|
|
// much information about problems as programmers might like. In an effort to
|
|
// address this, newer versions of SQLite (version 3.3.8 [dateof:3.3.8]
|
|
// and later) include
|
|
// support for additional result codes that provide more detailed information
|
|
// about errors. These [extended result codes] are enabled or disabled
|
|
// on a per database connection basis using the
|
|
// [sqlite3_extended_result_codes()] API. Or, the extended code for
|
|
// the most recent error can be obtained using
|
|
// [sqlite3_extended_errcode()].
|
|
|
|
// CAPI3REF: Flags For File Open Operations
|
|
//
|
|
// These bit values are intended for use in the
|
|
// 3rd parameter to the [sqlite3_open_v2()] interface and
|
|
// in the 4th parameter to the [sqlite3_vfs.xOpen] method.
|
|
//
|
|
// Only those flags marked as "Ok for sqlite3_open_v2()" may be
|
|
// used as the third argument to the [sqlite3_open_v2()] interface.
|
|
// The other flags have historically been ignored by sqlite3_open_v2(),
|
|
// though future versions of SQLite might change so that an error is
|
|
// raised if any of the disallowed bits are passed into sqlite3_open_v2().
|
|
// Applications should not depend on the historical behavior.
|
|
//
|
|
// Note in particular that passing the SQLITE_OPEN_EXCLUSIVE flag into
|
|
// [sqlite3_open_v2()] does *not* cause the underlying database file
|
|
// to be opened using O_EXCL. Passing SQLITE_OPEN_EXCLUSIVE into
|
|
// [sqlite3_open_v2()] has historically be a no-op and might become an
|
|
// error in future versions of SQLite.
|
|
|
|
// Reserved: 0x00F00000
|
|
// Legacy compatibility:
|
|
|
|
// CAPI3REF: Device Characteristics
|
|
//
|
|
// The xDeviceCharacteristics method of the [sqlite3_io_methods]
|
|
// object returns an integer which is a vector of these
|
|
// bit values expressing I/O characteristics of the mass storage
|
|
// device that holds the file that the [sqlite3_io_methods]
|
|
// refers to.
|
|
//
|
|
// The SQLITE_IOCAP_ATOMIC property means that all writes of
|
|
// any size are atomic. The SQLITE_IOCAP_ATOMICnnn values
|
|
// mean that writes of blocks that are nnn bytes in size and
|
|
// are aligned to an address which is an integer multiple of
|
|
// nnn are atomic. The SQLITE_IOCAP_SAFE_APPEND value means
|
|
// that when data is appended to a file, the data is appended
|
|
// first then the size of the file is extended, never the other
|
|
// way around. The SQLITE_IOCAP_SEQUENTIAL property means that
|
|
// information is written to disk in the same order as calls
|
|
// to xWrite(). The SQLITE_IOCAP_POWERSAFE_OVERWRITE property means that
|
|
// after reboot following a crash or power loss, the only bytes in a
|
|
// file that were written at the application level might have changed
|
|
// and that adjacent bytes, even bytes within the same sector are
|
|
// guaranteed to be unchanged. The SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN
|
|
// flag indicates that a file cannot be deleted when open. The
|
|
// SQLITE_IOCAP_IMMUTABLE flag indicates that the file is on
|
|
// read-only media and cannot be changed even by processes with
|
|
// elevated privileges.
|
|
//
|
|
// The SQLITE_IOCAP_BATCH_ATOMIC property means that the underlying
|
|
// filesystem supports doing multiple write operations atomically when those
|
|
// write operations are bracketed by [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] and
|
|
// [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE].
|
|
|
|
// CAPI3REF: File Locking Levels
|
|
//
|
|
// SQLite uses one of these integer values as the second
|
|
// argument to calls it makes to the xLock() and xUnlock() methods
|
|
// of an [sqlite3_io_methods] object.
|
|
|
|
// CAPI3REF: Synchronization Type Flags
|
|
//
|
|
// When SQLite invokes the xSync() method of an
|
|
// [sqlite3_io_methods] object it uses a combination of
|
|
// these integer values as the second argument.
|
|
//
|
|
// When the SQLITE_SYNC_DATAONLY flag is used, it means that the
|
|
// sync operation only needs to flush data to mass storage. Inode
|
|
// information need not be flushed. If the lower four bits of the flag
|
|
// equal SQLITE_SYNC_NORMAL, that means to use normal fsync() semantics.
|
|
// If the lower four bits equal SQLITE_SYNC_FULL, that means
|
|
// to use Mac OS X style fullsync instead of fsync().
|
|
//
|
|
// Do not confuse the SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags
|
|
// with the [PRAGMA synchronous]=NORMAL and [PRAGMA synchronous]=FULL
|
|
// settings. The [synchronous pragma] determines when calls to the
|
|
// xSync VFS method occur and applies uniformly across all platforms.
|
|
// The SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags determine how
|
|
// energetic or rigorous or forceful the sync operations are and
|
|
// only make a difference on Mac OSX for the default SQLite code.
|
|
// (Third-party VFS implementations might also make the distinction
|
|
// between SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL, but among the
|
|
// operating systems natively supported by SQLite, only Mac OSX
|
|
// cares about the difference.)
|
|
|
|
// CAPI3REF: OS Interface Open File Handle
|
|
//
|
|
// An [sqlite3_file] object represents an open file in the
|
|
// [sqlite3_vfs | OS interface layer]. Individual OS interface
|
|
// implementations will
|
|
// want to subclass this object by appending additional fields
|
|
// for their own use. The pMethods entry is a pointer to an
|
|
// [sqlite3_io_methods] object that defines methods for performing
|
|
// I/O operations on the open file.
|
|
type sqlite3_file1 = struct{ pMethods uintptr } /* testdata/sqlite-amalgamation-3380500/sqlite3.h:722:9 */
|
|
|
|
// CAPI3REF: Result Codes
|
|
// KEYWORDS: {result code definitions}
|
|
//
|
|
// Many SQLite functions return an integer result code from the set shown
|
|
// here in order to indicate success or failure.
|
|
//
|
|
// New error codes may be added in future versions of SQLite.
|
|
//
|
|
// See also: [extended result code definitions]
|
|
// beginning-of-error-codes
|
|
// end-of-error-codes
|
|
|
|
// CAPI3REF: Extended Result Codes
|
|
// KEYWORDS: {extended result code definitions}
|
|
//
|
|
// In its default configuration, SQLite API routines return one of 30 integer
|
|
// [result codes]. However, experience has shown that many of
|
|
// these result codes are too coarse-grained. They do not provide as
|
|
// much information about problems as programmers might like. In an effort to
|
|
// address this, newer versions of SQLite (version 3.3.8 [dateof:3.3.8]
|
|
// and later) include
|
|
// support for additional result codes that provide more detailed information
|
|
// about errors. These [extended result codes] are enabled or disabled
|
|
// on a per database connection basis using the
|
|
// [sqlite3_extended_result_codes()] API. Or, the extended code for
|
|
// the most recent error can be obtained using
|
|
// [sqlite3_extended_errcode()].
|
|
|
|
// CAPI3REF: Flags For File Open Operations
|
|
//
|
|
// These bit values are intended for use in the
|
|
// 3rd parameter to the [sqlite3_open_v2()] interface and
|
|
// in the 4th parameter to the [sqlite3_vfs.xOpen] method.
|
|
//
|
|
// Only those flags marked as "Ok for sqlite3_open_v2()" may be
|
|
// used as the third argument to the [sqlite3_open_v2()] interface.
|
|
// The other flags have historically been ignored by sqlite3_open_v2(),
|
|
// though future versions of SQLite might change so that an error is
|
|
// raised if any of the disallowed bits are passed into sqlite3_open_v2().
|
|
// Applications should not depend on the historical behavior.
|
|
//
|
|
// Note in particular that passing the SQLITE_OPEN_EXCLUSIVE flag into
|
|
// [sqlite3_open_v2()] does *not* cause the underlying database file
|
|
// to be opened using O_EXCL. Passing SQLITE_OPEN_EXCLUSIVE into
|
|
// [sqlite3_open_v2()] has historically be a no-op and might become an
|
|
// error in future versions of SQLite.
|
|
|
|
// Reserved: 0x00F00000
|
|
// Legacy compatibility:
|
|
|
|
// CAPI3REF: Device Characteristics
|
|
//
|
|
// The xDeviceCharacteristics method of the [sqlite3_io_methods]
|
|
// object returns an integer which is a vector of these
|
|
// bit values expressing I/O characteristics of the mass storage
|
|
// device that holds the file that the [sqlite3_io_methods]
|
|
// refers to.
|
|
//
|
|
// The SQLITE_IOCAP_ATOMIC property means that all writes of
|
|
// any size are atomic. The SQLITE_IOCAP_ATOMICnnn values
|
|
// mean that writes of blocks that are nnn bytes in size and
|
|
// are aligned to an address which is an integer multiple of
|
|
// nnn are atomic. The SQLITE_IOCAP_SAFE_APPEND value means
|
|
// that when data is appended to a file, the data is appended
|
|
// first then the size of the file is extended, never the other
|
|
// way around. The SQLITE_IOCAP_SEQUENTIAL property means that
|
|
// information is written to disk in the same order as calls
|
|
// to xWrite(). The SQLITE_IOCAP_POWERSAFE_OVERWRITE property means that
|
|
// after reboot following a crash or power loss, the only bytes in a
|
|
// file that were written at the application level might have changed
|
|
// and that adjacent bytes, even bytes within the same sector are
|
|
// guaranteed to be unchanged. The SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN
|
|
// flag indicates that a file cannot be deleted when open. The
|
|
// SQLITE_IOCAP_IMMUTABLE flag indicates that the file is on
|
|
// read-only media and cannot be changed even by processes with
|
|
// elevated privileges.
|
|
//
|
|
// The SQLITE_IOCAP_BATCH_ATOMIC property means that the underlying
|
|
// filesystem supports doing multiple write operations atomically when those
|
|
// write operations are bracketed by [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] and
|
|
// [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE].
|
|
|
|
// CAPI3REF: File Locking Levels
|
|
//
|
|
// SQLite uses one of these integer values as the second
|
|
// argument to calls it makes to the xLock() and xUnlock() methods
|
|
// of an [sqlite3_io_methods] object.
|
|
|
|
// CAPI3REF: Synchronization Type Flags
|
|
//
|
|
// When SQLite invokes the xSync() method of an
|
|
// [sqlite3_io_methods] object it uses a combination of
|
|
// these integer values as the second argument.
|
|
//
|
|
// When the SQLITE_SYNC_DATAONLY flag is used, it means that the
|
|
// sync operation only needs to flush data to mass storage. Inode
|
|
// information need not be flushed. If the lower four bits of the flag
|
|
// equal SQLITE_SYNC_NORMAL, that means to use normal fsync() semantics.
|
|
// If the lower four bits equal SQLITE_SYNC_FULL, that means
|
|
// to use Mac OS X style fullsync instead of fsync().
|
|
//
|
|
// Do not confuse the SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags
|
|
// with the [PRAGMA synchronous]=NORMAL and [PRAGMA synchronous]=FULL
|
|
// settings. The [synchronous pragma] determines when calls to the
|
|
// xSync VFS method occur and applies uniformly across all platforms.
|
|
// The SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags determine how
|
|
// energetic or rigorous or forceful the sync operations are and
|
|
// only make a difference on Mac OSX for the default SQLite code.
|
|
// (Third-party VFS implementations might also make the distinction
|
|
// between SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL, but among the
|
|
// operating systems natively supported by SQLite, only Mac OSX
|
|
// cares about the difference.)
|
|
|
|
// CAPI3REF: OS Interface Open File Handle
|
|
//
|
|
// An [sqlite3_file] object represents an open file in the
|
|
// [sqlite3_vfs | OS interface layer]. Individual OS interface
|
|
// implementations will
|
|
// want to subclass this object by appending additional fields
|
|
// for their own use. The pMethods entry is a pointer to an
|
|
// [sqlite3_io_methods] object that defines methods for performing
|
|
// I/O operations on the open file.
|
|
type sqlite3_file = sqlite3_file1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:722:29 */
|
|
type sqlite3_io_methods1 = struct {
|
|
iVersion int32
|
|
_ [4]byte
|
|
xClose uintptr
|
|
xRead uintptr
|
|
xWrite uintptr
|
|
xTruncate uintptr
|
|
xSync uintptr
|
|
xFileSize uintptr
|
|
xLock uintptr
|
|
xUnlock uintptr
|
|
xCheckReservedLock uintptr
|
|
xFileControl uintptr
|
|
xSectorSize uintptr
|
|
xDeviceCharacteristics uintptr
|
|
xShmMap uintptr
|
|
xShmLock uintptr
|
|
xShmBarrier uintptr
|
|
xShmUnmap uintptr
|
|
xFetch uintptr
|
|
xUnfetch uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:722:9 */
|
|
|
|
// CAPI3REF: OS Interface File Virtual Methods Object
|
|
//
|
|
// Every file opened by the [sqlite3_vfs.xOpen] method populates an
|
|
// [sqlite3_file] object (or, more commonly, a subclass of the
|
|
// [sqlite3_file] object) with a pointer to an instance of this object.
|
|
// This object defines the methods used to perform various operations
|
|
// against the open file represented by the [sqlite3_file] object.
|
|
//
|
|
// If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
|
|
// to a non-NULL pointer, then the sqlite3_io_methods.xClose method
|
|
// may be invoked even if the [sqlite3_vfs.xOpen] reported that it failed. The
|
|
// only way to prevent a call to xClose following a failed [sqlite3_vfs.xOpen]
|
|
// is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
|
|
// to NULL.
|
|
//
|
|
// The flags argument to xSync may be one of [SQLITE_SYNC_NORMAL] or
|
|
// [SQLITE_SYNC_FULL]. The first choice is the normal fsync().
|
|
// The second choice is a Mac OS X style fullsync. The [SQLITE_SYNC_DATAONLY]
|
|
// flag may be ORed in to indicate that only the data of the file
|
|
// and not its inode needs to be synced.
|
|
//
|
|
// The integer values to xLock() and xUnlock() are one of
|
|
// <ul>
|
|
// <li> [SQLITE_LOCK_NONE],
|
|
// <li> [SQLITE_LOCK_SHARED],
|
|
// <li> [SQLITE_LOCK_RESERVED],
|
|
// <li> [SQLITE_LOCK_PENDING], or
|
|
// <li> [SQLITE_LOCK_EXCLUSIVE].
|
|
// </ul>
|
|
// xLock() increases the lock. xUnlock() decreases the lock.
|
|
// The xCheckReservedLock() method checks whether any database connection,
|
|
// either in this process or in some other process, is holding a RESERVED,
|
|
// PENDING, or EXCLUSIVE lock on the file. It returns true
|
|
// if such a lock exists and false otherwise.
|
|
//
|
|
// The xFileControl() method is a generic interface that allows custom
|
|
// VFS implementations to directly control an open file using the
|
|
// [sqlite3_file_control()] interface. The second "op" argument is an
|
|
// integer opcode. The third argument is a generic pointer intended to
|
|
// point to a structure that may contain arguments or space in which to
|
|
// write return values. Potential uses for xFileControl() might be
|
|
// functions to enable blocking locks with timeouts, to change the
|
|
// locking strategy (for example to use dot-file locks), to inquire
|
|
// about the status of a lock, or to break stale locks. The SQLite
|
|
// core reserves all opcodes less than 100 for its own use.
|
|
// A [file control opcodes | list of opcodes] less than 100 is available.
|
|
// Applications that define a custom xFileControl method should use opcodes
|
|
// greater than 100 to avoid conflicts. VFS implementations should
|
|
// return [SQLITE_NOTFOUND] for file control opcodes that they do not
|
|
// recognize.
|
|
//
|
|
// The xSectorSize() method returns the sector size of the
|
|
// device that underlies the file. The sector size is the
|
|
// minimum write that can be performed without disturbing
|
|
// other bytes in the file. The xDeviceCharacteristics()
|
|
// method returns a bit vector describing behaviors of the
|
|
// underlying device:
|
|
//
|
|
// <ul>
|
|
// <li> [SQLITE_IOCAP_ATOMIC]
|
|
// <li> [SQLITE_IOCAP_ATOMIC512]
|
|
// <li> [SQLITE_IOCAP_ATOMIC1K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC2K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC4K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC8K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC16K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC32K]
|
|
// <li> [SQLITE_IOCAP_ATOMIC64K]
|
|
// <li> [SQLITE_IOCAP_SAFE_APPEND]
|
|
// <li> [SQLITE_IOCAP_SEQUENTIAL]
|
|
// <li> [SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN]
|
|
// <li> [SQLITE_IOCAP_POWERSAFE_OVERWRITE]
|
|
// <li> [SQLITE_IOCAP_IMMUTABLE]
|
|
// <li> [SQLITE_IOCAP_BATCH_ATOMIC]
|
|
// </ul>
|
|
//
|
|
// The SQLITE_IOCAP_ATOMIC property means that all writes of
|
|
// any size are atomic. The SQLITE_IOCAP_ATOMICnnn values
|
|
// mean that writes of blocks that are nnn bytes in size and
|
|
// are aligned to an address which is an integer multiple of
|
|
// nnn are atomic. The SQLITE_IOCAP_SAFE_APPEND value means
|
|
// that when data is appended to a file, the data is appended
|
|
// first then the size of the file is extended, never the other
|
|
// way around. The SQLITE_IOCAP_SEQUENTIAL property means that
|
|
// information is written to disk in the same order as calls
|
|
// to xWrite().
|
|
//
|
|
// If xRead() returns SQLITE_IOERR_SHORT_READ it must also fill
|
|
// in the unread portions of the buffer with zeros. A VFS that
|
|
// fails to zero-fill short reads might seem to work. However,
|
|
// failure to zero-fill short reads will eventually lead to
|
|
// database corruption.
|
|
type sqlite3_io_methods = sqlite3_io_methods1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:821:35 */
|
|
|
|
// CAPI3REF: OS Interface Object
|
|
//
|
|
// An instance of the sqlite3_vfs object defines the interface between
|
|
// the SQLite core and the underlying operating system. The "vfs"
|
|
// in the name of the object stands for "virtual file system". See
|
|
// the [VFS | VFS documentation] for further information.
|
|
//
|
|
// The VFS interface is sometimes extended by adding new methods onto
|
|
// the end. Each time such an extension occurs, the iVersion field
|
|
// is incremented. The iVersion value started out as 1 in
|
|
// SQLite [version 3.5.0] on [dateof:3.5.0], then increased to 2
|
|
// with SQLite [version 3.7.0] on [dateof:3.7.0], and then increased
|
|
// to 3 with SQLite [version 3.7.6] on [dateof:3.7.6]. Additional fields
|
|
// may be appended to the sqlite3_vfs object and the iVersion value
|
|
// may increase again in future versions of SQLite.
|
|
// Note that due to an oversight, the structure
|
|
// of the sqlite3_vfs object changed in the transition from
|
|
// SQLite [version 3.5.9] to [version 3.6.0] on [dateof:3.6.0]
|
|
// and yet the iVersion field was not increased.
|
|
//
|
|
// The szOsFile field is the size of the subclassed [sqlite3_file]
|
|
// structure used by this VFS. mxPathname is the maximum length of
|
|
// a pathname in this VFS.
|
|
//
|
|
// Registered sqlite3_vfs objects are kept on a linked list formed by
|
|
// the pNext pointer. The [sqlite3_vfs_register()]
|
|
// and [sqlite3_vfs_unregister()] interfaces manage this list
|
|
// in a thread-safe way. The [sqlite3_vfs_find()] interface
|
|
// searches the list. Neither the application code nor the VFS
|
|
// implementation should use the pNext pointer.
|
|
//
|
|
// The pNext field is the only field in the sqlite3_vfs
|
|
// structure that SQLite will ever modify. SQLite will only access
|
|
// or modify this field while holding a particular static mutex.
|
|
// The application should never modify anything within the sqlite3_vfs
|
|
// object once the object has been registered.
|
|
//
|
|
// The zName field holds the name of the VFS module. The name must
|
|
// be unique across all VFS modules.
|
|
//
|
|
// [[sqlite3_vfs.xOpen]]
|
|
// ^SQLite guarantees that the zFilename parameter to xOpen
|
|
// is either a NULL pointer or string obtained
|
|
// from xFullPathname() with an optional suffix added.
|
|
// ^If a suffix is added to the zFilename parameter, it will
|
|
// consist of a single "-" character followed by no more than
|
|
// 11 alphanumeric and/or "-" characters.
|
|
// ^SQLite further guarantees that
|
|
// the string will be valid and unchanged until xClose() is
|
|
// called. Because of the previous sentence,
|
|
// the [sqlite3_file] can safely store a pointer to the
|
|
// filename if it needs to remember the filename for some reason.
|
|
// If the zFilename parameter to xOpen is a NULL pointer then xOpen
|
|
// must invent its own temporary name for the file. ^Whenever the
|
|
// xFilename parameter is NULL it will also be the case that the
|
|
// flags parameter will include [SQLITE_OPEN_DELETEONCLOSE].
|
|
//
|
|
// The flags argument to xOpen() includes all bits set in
|
|
// the flags argument to [sqlite3_open_v2()]. Or if [sqlite3_open()]
|
|
// or [sqlite3_open16()] is used, then flags includes at least
|
|
// [SQLITE_OPEN_READWRITE] | [SQLITE_OPEN_CREATE].
|
|
// If xOpen() opens a file read-only then it sets *pOutFlags to
|
|
// include [SQLITE_OPEN_READONLY]. Other bits in *pOutFlags may be set.
|
|
//
|
|
// ^(SQLite will also add one of the following flags to the xOpen()
|
|
// call, depending on the object being opened:
|
|
//
|
|
// <ul>
|
|
// <li> [SQLITE_OPEN_MAIN_DB]
|
|
// <li> [SQLITE_OPEN_MAIN_JOURNAL]
|
|
// <li> [SQLITE_OPEN_TEMP_DB]
|
|
// <li> [SQLITE_OPEN_TEMP_JOURNAL]
|
|
// <li> [SQLITE_OPEN_TRANSIENT_DB]
|
|
// <li> [SQLITE_OPEN_SUBJOURNAL]
|
|
// <li> [SQLITE_OPEN_SUPER_JOURNAL]
|
|
// <li> [SQLITE_OPEN_WAL]
|
|
// </ul>)^
|
|
//
|
|
// The file I/O implementation can use the object type flags to
|
|
// change the way it deals with files. For example, an application
|
|
// that does not care about crash recovery or rollback might make
|
|
// the open of a journal file a no-op. Writes to this journal would
|
|
// also be no-ops, and any attempt to read the journal would return
|
|
// SQLITE_IOERR. Or the implementation might recognize that a database
|
|
// file will be doing page-aligned sector reads and writes in a random
|
|
// order and set up its I/O subsystem accordingly.
|
|
//
|
|
// SQLite might also add one of the following flags to the xOpen method:
|
|
//
|
|
// <ul>
|
|
// <li> [SQLITE_OPEN_DELETEONCLOSE]
|
|
// <li> [SQLITE_OPEN_EXCLUSIVE]
|
|
// </ul>
|
|
//
|
|
// The [SQLITE_OPEN_DELETEONCLOSE] flag means the file should be
|
|
// deleted when it is closed. ^The [SQLITE_OPEN_DELETEONCLOSE]
|
|
// will be set for TEMP databases and their journals, transient
|
|
// databases, and subjournals.
|
|
//
|
|
// ^The [SQLITE_OPEN_EXCLUSIVE] flag is always used in conjunction
|
|
// with the [SQLITE_OPEN_CREATE] flag, which are both directly
|
|
// analogous to the O_EXCL and O_CREAT flags of the POSIX open()
|
|
// API. The SQLITE_OPEN_EXCLUSIVE flag, when paired with the
|
|
// SQLITE_OPEN_CREATE, is used to indicate that file should always
|
|
// be created, and that it is an error if it already exists.
|
|
// It is <i>not</i> used to indicate the file should be opened
|
|
// for exclusive access.
|
|
//
|
|
// ^At least szOsFile bytes of memory are allocated by SQLite
|
|
// to hold the [sqlite3_file] structure passed as the third
|
|
// argument to xOpen. The xOpen method does not have to
|
|
// allocate the structure; it should just fill it in. Note that
|
|
// the xOpen method must set the sqlite3_file.pMethods to either
|
|
// a valid [sqlite3_io_methods] object or to NULL. xOpen must do
|
|
// this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|
|
// element will be valid after xOpen returns regardless of the success
|
|
// or failure of the xOpen call.
|
|
//
|
|
// [[sqlite3_vfs.xAccess]]
|
|
// ^The flags argument to xAccess() may be [SQLITE_ACCESS_EXISTS]
|
|
// to test for the existence of a file, or [SQLITE_ACCESS_READWRITE] to
|
|
// test whether a file is readable and writable, or [SQLITE_ACCESS_READ]
|
|
// to test whether a file is at least readable. The SQLITE_ACCESS_READ
|
|
// flag is never actually used and is not implemented in the built-in
|
|
// VFSes of SQLite. The file is named by the second argument and can be a
|
|
// directory. The xAccess method returns [SQLITE_OK] on success or some
|
|
// non-zero error code if there is an I/O error or if the name of
|
|
// the file given in the second argument is illegal. If SQLITE_OK
|
|
// is returned, then non-zero or zero is written into *pResOut to indicate
|
|
// whether or not the file is accessible.
|
|
//
|
|
// ^SQLite will always allocate at least mxPathname+1 bytes for the
|
|
// output buffer xFullPathname. The exact size of the output buffer
|
|
// is also passed as a parameter to both methods. If the output buffer
|
|
// is not large enough, [SQLITE_CANTOPEN] should be returned. Since this is
|
|
// handled as a fatal error by SQLite, vfs implementations should endeavor
|
|
// to prevent this by setting mxPathname to a sufficiently large value.
|
|
//
|
|
// The xRandomness(), xSleep(), xCurrentTime(), and xCurrentTimeInt64()
|
|
// interfaces are not strictly a part of the filesystem, but they are
|
|
// included in the VFS structure for completeness.
|
|
// The xRandomness() function attempts to return nBytes bytes
|
|
// of good-quality randomness into zOut. The return value is
|
|
// the actual number of bytes of randomness obtained.
|
|
// The xSleep() method causes the calling thread to sleep for at
|
|
// least the number of microseconds given. ^The xCurrentTime()
|
|
// method returns a Julian Day Number for the current date and time as
|
|
// a floating point value.
|
|
// ^The xCurrentTimeInt64() method returns, as an integer, the Julian
|
|
// Day Number multiplied by 86400000 (the number of milliseconds in
|
|
// a 24-hour day).
|
|
// ^SQLite will use the xCurrentTimeInt64() method to get the current
|
|
// date and time if that method is available (if iVersion is 2 or
|
|
// greater and the function pointer is not NULL) and will fall back
|
|
// to xCurrentTime() if xCurrentTimeInt64() is unavailable.
|
|
//
|
|
// ^The xSetSystemCall(), xGetSystemCall(), and xNestSystemCall() interfaces
|
|
// are not used by the SQLite core. These optional interfaces are provided
|
|
// by some VFSes to facilitate testing of the VFS code. By overriding
|
|
// system calls with functions under its control, a test program can
|
|
// simulate faults and error conditions that would otherwise be difficult
|
|
// or impossible to induce. The set of system calls that can be overridden
|
|
// varies from one VFS to another, and from one version of the same VFS to the
|
|
// next. Applications that use these interfaces must be prepared for any
|
|
// or all of these interfaces to be NULL or for their behavior to change
|
|
// from one release to the next. Applications must not attempt to access
|
|
// any of these methods if the iVersion of the VFS is less than 3.
|
|
type sqlite3_vfs1 = struct {
|
|
iVersion int32
|
|
szOsFile int32
|
|
mxPathname int32
|
|
_ [4]byte
|
|
pNext uintptr
|
|
zName uintptr
|
|
pAppData uintptr
|
|
xOpen uintptr
|
|
xDelete uintptr
|
|
xAccess uintptr
|
|
xFullPathname uintptr
|
|
xDlOpen uintptr
|
|
xDlError uintptr
|
|
xDlSym uintptr
|
|
xDlClose uintptr
|
|
xRandomness uintptr
|
|
xSleep uintptr
|
|
xCurrentTime uintptr
|
|
xGetLastError uintptr
|
|
xCurrentTimeInt64 uintptr
|
|
xSetSystemCall uintptr
|
|
xGetSystemCall uintptr
|
|
xNextSystemCall uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:1425:9 */
|
|
|
|
// CAPI3REF: OS Interface Object
|
|
//
|
|
// An instance of the sqlite3_vfs object defines the interface between
|
|
// the SQLite core and the underlying operating system. The "vfs"
|
|
// in the name of the object stands for "virtual file system". See
|
|
// the [VFS | VFS documentation] for further information.
|
|
//
|
|
// The VFS interface is sometimes extended by adding new methods onto
|
|
// the end. Each time such an extension occurs, the iVersion field
|
|
// is incremented. The iVersion value started out as 1 in
|
|
// SQLite [version 3.5.0] on [dateof:3.5.0], then increased to 2
|
|
// with SQLite [version 3.7.0] on [dateof:3.7.0], and then increased
|
|
// to 3 with SQLite [version 3.7.6] on [dateof:3.7.6]. Additional fields
|
|
// may be appended to the sqlite3_vfs object and the iVersion value
|
|
// may increase again in future versions of SQLite.
|
|
// Note that due to an oversight, the structure
|
|
// of the sqlite3_vfs object changed in the transition from
|
|
// SQLite [version 3.5.9] to [version 3.6.0] on [dateof:3.6.0]
|
|
// and yet the iVersion field was not increased.
|
|
//
|
|
// The szOsFile field is the size of the subclassed [sqlite3_file]
|
|
// structure used by this VFS. mxPathname is the maximum length of
|
|
// a pathname in this VFS.
|
|
//
|
|
// Registered sqlite3_vfs objects are kept on a linked list formed by
|
|
// the pNext pointer. The [sqlite3_vfs_register()]
|
|
// and [sqlite3_vfs_unregister()] interfaces manage this list
|
|
// in a thread-safe way. The [sqlite3_vfs_find()] interface
|
|
// searches the list. Neither the application code nor the VFS
|
|
// implementation should use the pNext pointer.
|
|
//
|
|
// The pNext field is the only field in the sqlite3_vfs
|
|
// structure that SQLite will ever modify. SQLite will only access
|
|
// or modify this field while holding a particular static mutex.
|
|
// The application should never modify anything within the sqlite3_vfs
|
|
// object once the object has been registered.
|
|
//
|
|
// The zName field holds the name of the VFS module. The name must
|
|
// be unique across all VFS modules.
|
|
//
|
|
// [[sqlite3_vfs.xOpen]]
|
|
// ^SQLite guarantees that the zFilename parameter to xOpen
|
|
// is either a NULL pointer or string obtained
|
|
// from xFullPathname() with an optional suffix added.
|
|
// ^If a suffix is added to the zFilename parameter, it will
|
|
// consist of a single "-" character followed by no more than
|
|
// 11 alphanumeric and/or "-" characters.
|
|
// ^SQLite further guarantees that
|
|
// the string will be valid and unchanged until xClose() is
|
|
// called. Because of the previous sentence,
|
|
// the [sqlite3_file] can safely store a pointer to the
|
|
// filename if it needs to remember the filename for some reason.
|
|
// If the zFilename parameter to xOpen is a NULL pointer then xOpen
|
|
// must invent its own temporary name for the file. ^Whenever the
|
|
// xFilename parameter is NULL it will also be the case that the
|
|
// flags parameter will include [SQLITE_OPEN_DELETEONCLOSE].
|
|
//
|
|
// The flags argument to xOpen() includes all bits set in
|
|
// the flags argument to [sqlite3_open_v2()]. Or if [sqlite3_open()]
|
|
// or [sqlite3_open16()] is used, then flags includes at least
|
|
// [SQLITE_OPEN_READWRITE] | [SQLITE_OPEN_CREATE].
|
|
// If xOpen() opens a file read-only then it sets *pOutFlags to
|
|
// include [SQLITE_OPEN_READONLY]. Other bits in *pOutFlags may be set.
|
|
//
|
|
// ^(SQLite will also add one of the following flags to the xOpen()
|
|
// call, depending on the object being opened:
|
|
//
|
|
// <ul>
|
|
// <li> [SQLITE_OPEN_MAIN_DB]
|
|
// <li> [SQLITE_OPEN_MAIN_JOURNAL]
|
|
// <li> [SQLITE_OPEN_TEMP_DB]
|
|
// <li> [SQLITE_OPEN_TEMP_JOURNAL]
|
|
// <li> [SQLITE_OPEN_TRANSIENT_DB]
|
|
// <li> [SQLITE_OPEN_SUBJOURNAL]
|
|
// <li> [SQLITE_OPEN_SUPER_JOURNAL]
|
|
// <li> [SQLITE_OPEN_WAL]
|
|
// </ul>)^
|
|
//
|
|
// The file I/O implementation can use the object type flags to
|
|
// change the way it deals with files. For example, an application
|
|
// that does not care about crash recovery or rollback might make
|
|
// the open of a journal file a no-op. Writes to this journal would
|
|
// also be no-ops, and any attempt to read the journal would return
|
|
// SQLITE_IOERR. Or the implementation might recognize that a database
|
|
// file will be doing page-aligned sector reads and writes in a random
|
|
// order and set up its I/O subsystem accordingly.
|
|
//
|
|
// SQLite might also add one of the following flags to the xOpen method:
|
|
//
|
|
// <ul>
|
|
// <li> [SQLITE_OPEN_DELETEONCLOSE]
|
|
// <li> [SQLITE_OPEN_EXCLUSIVE]
|
|
// </ul>
|
|
//
|
|
// The [SQLITE_OPEN_DELETEONCLOSE] flag means the file should be
|
|
// deleted when it is closed. ^The [SQLITE_OPEN_DELETEONCLOSE]
|
|
// will be set for TEMP databases and their journals, transient
|
|
// databases, and subjournals.
|
|
//
|
|
// ^The [SQLITE_OPEN_EXCLUSIVE] flag is always used in conjunction
|
|
// with the [SQLITE_OPEN_CREATE] flag, which are both directly
|
|
// analogous to the O_EXCL and O_CREAT flags of the POSIX open()
|
|
// API. The SQLITE_OPEN_EXCLUSIVE flag, when paired with the
|
|
// SQLITE_OPEN_CREATE, is used to indicate that file should always
|
|
// be created, and that it is an error if it already exists.
|
|
// It is <i>not</i> used to indicate the file should be opened
|
|
// for exclusive access.
|
|
//
|
|
// ^At least szOsFile bytes of memory are allocated by SQLite
|
|
// to hold the [sqlite3_file] structure passed as the third
|
|
// argument to xOpen. The xOpen method does not have to
|
|
// allocate the structure; it should just fill it in. Note that
|
|
// the xOpen method must set the sqlite3_file.pMethods to either
|
|
// a valid [sqlite3_io_methods] object or to NULL. xOpen must do
|
|
// this even if the open fails. SQLite expects that the sqlite3_file.pMethods
|
|
// element will be valid after xOpen returns regardless of the success
|
|
// or failure of the xOpen call.
|
|
//
|
|
// [[sqlite3_vfs.xAccess]]
|
|
// ^The flags argument to xAccess() may be [SQLITE_ACCESS_EXISTS]
|
|
// to test for the existence of a file, or [SQLITE_ACCESS_READWRITE] to
|
|
// test whether a file is readable and writable, or [SQLITE_ACCESS_READ]
|
|
// to test whether a file is at least readable. The SQLITE_ACCESS_READ
|
|
// flag is never actually used and is not implemented in the built-in
|
|
// VFSes of SQLite. The file is named by the second argument and can be a
|
|
// directory. The xAccess method returns [SQLITE_OK] on success or some
|
|
// non-zero error code if there is an I/O error or if the name of
|
|
// the file given in the second argument is illegal. If SQLITE_OK
|
|
// is returned, then non-zero or zero is written into *pResOut to indicate
|
|
// whether or not the file is accessible.
|
|
//
|
|
// ^SQLite will always allocate at least mxPathname+1 bytes for the
|
|
// output buffer xFullPathname. The exact size of the output buffer
|
|
// is also passed as a parameter to both methods. If the output buffer
|
|
// is not large enough, [SQLITE_CANTOPEN] should be returned. Since this is
|
|
// handled as a fatal error by SQLite, vfs implementations should endeavor
|
|
// to prevent this by setting mxPathname to a sufficiently large value.
|
|
//
|
|
// The xRandomness(), xSleep(), xCurrentTime(), and xCurrentTimeInt64()
|
|
// interfaces are not strictly a part of the filesystem, but they are
|
|
// included in the VFS structure for completeness.
|
|
// The xRandomness() function attempts to return nBytes bytes
|
|
// of good-quality randomness into zOut. The return value is
|
|
// the actual number of bytes of randomness obtained.
|
|
// The xSleep() method causes the calling thread to sleep for at
|
|
// least the number of microseconds given. ^The xCurrentTime()
|
|
// method returns a Julian Day Number for the current date and time as
|
|
// a floating point value.
|
|
// ^The xCurrentTimeInt64() method returns, as an integer, the Julian
|
|
// Day Number multiplied by 86400000 (the number of milliseconds in
|
|
// a 24-hour day).
|
|
// ^SQLite will use the xCurrentTimeInt64() method to get the current
|
|
// date and time if that method is available (if iVersion is 2 or
|
|
// greater and the function pointer is not NULL) and will fall back
|
|
// to xCurrentTime() if xCurrentTimeInt64() is unavailable.
|
|
//
|
|
// ^The xSetSystemCall(), xGetSystemCall(), and xNestSystemCall() interfaces
|
|
// are not used by the SQLite core. These optional interfaces are provided
|
|
// by some VFSes to facilitate testing of the VFS code. By overriding
|
|
// system calls with functions under its control, a test program can
|
|
// simulate faults and error conditions that would otherwise be difficult
|
|
// or impossible to induce. The set of system calls that can be overridden
|
|
// varies from one VFS to another, and from one version of the same VFS to the
|
|
// next. Applications that use these interfaces must be prepared for any
|
|
// or all of these interfaces to be NULL or for their behavior to change
|
|
// from one release to the next. Applications must not attempt to access
|
|
// any of these methods if the iVersion of the VFS is less than 3.
|
|
type sqlite3_vfs = sqlite3_vfs1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:1425:28 */
|
|
type sqlite3_syscall_ptr = uintptr /* testdata/sqlite-amalgamation-3380500/sqlite3.h:1426:14 */
|
|
|
|
// CAPI3REF: Memory Allocation Routines
|
|
//
|
|
// An instance of this object defines the interface between SQLite
|
|
// and low-level memory allocation routines.
|
|
//
|
|
// This object is used in only one place in the SQLite interface.
|
|
// A pointer to an instance of this object is the argument to
|
|
// [sqlite3_config()] when the configuration option is
|
|
// [SQLITE_CONFIG_MALLOC] or [SQLITE_CONFIG_GETMALLOC].
|
|
// By creating an instance of this object
|
|
// and passing it to [sqlite3_config]([SQLITE_CONFIG_MALLOC])
|
|
// during configuration, an application can specify an alternative
|
|
// memory allocation subsystem for SQLite to use for all of its
|
|
// dynamic memory needs.
|
|
//
|
|
// Note that SQLite comes with several [built-in memory allocators]
|
|
// that are perfectly adequate for the overwhelming majority of applications
|
|
// and that this object is only useful to a tiny minority of applications
|
|
// with specialized memory allocation requirements. This object is
|
|
// also used during testing of SQLite in order to specify an alternative
|
|
// memory allocator that simulates memory out-of-memory conditions in
|
|
// order to verify that SQLite recovers gracefully from such
|
|
// conditions.
|
|
//
|
|
// The xMalloc, xRealloc, and xFree methods must work like the
|
|
// malloc(), realloc() and free() functions from the standard C library.
|
|
// ^SQLite guarantees that the second argument to
|
|
// xRealloc is always a value returned by a prior call to xRoundup.
|
|
//
|
|
// xSize should return the allocated size of a memory allocation
|
|
// previously obtained from xMalloc or xRealloc. The allocated size
|
|
// is always at least as big as the requested size but may be larger.
|
|
//
|
|
// The xRoundup method returns what would be the allocated size of
|
|
// a memory allocation given a particular requested size. Most memory
|
|
// allocators round up memory allocations at least to the next multiple
|
|
// of 8. Some allocators round up to a larger multiple or to a power of 2.
|
|
// Every memory allocation request coming in through [sqlite3_malloc()]
|
|
// or [sqlite3_realloc()] first calls xRoundup. If xRoundup returns 0,
|
|
// that causes the corresponding memory allocation to fail.
|
|
//
|
|
// The xInit method initializes the memory allocator. For example,
|
|
// it might allocate any required mutexes or initialize internal data
|
|
// structures. The xShutdown method is invoked (indirectly) by
|
|
// [sqlite3_shutdown()] and should deallocate any resources acquired
|
|
// by xInit. The pAppData pointer is used as the only parameter to
|
|
// xInit and xShutdown.
|
|
//
|
|
// SQLite holds the [SQLITE_MUTEX_STATIC_MAIN] mutex when it invokes
|
|
// the xInit method, so the xInit method need not be threadsafe. The
|
|
// xShutdown method is only called from [sqlite3_shutdown()] so it does
|
|
// not need to be threadsafe either. For all other methods, SQLite
|
|
// holds the [SQLITE_MUTEX_STATIC_MEM] mutex as long as the
|
|
// [SQLITE_CONFIG_MEMSTATUS] configuration option is turned on (which
|
|
// it is by default) and so the methods are automatically serialized.
|
|
// However, if [SQLITE_CONFIG_MEMSTATUS] is disabled, then the other
|
|
// methods must be threadsafe or else make their own arrangements for
|
|
// serialization.
|
|
//
|
|
// SQLite will never invoke xInit() more than once without an intervening
|
|
// call to xShutdown().
|
|
type sqlite3_mem_methods1 = struct {
|
|
xMalloc uintptr
|
|
xFree uintptr
|
|
xRealloc uintptr
|
|
xSize uintptr
|
|
xRoundup uintptr
|
|
xInit uintptr
|
|
xShutdown uintptr
|
|
pAppData uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:1723:9 */
|
|
|
|
// CAPI3REF: Memory Allocation Routines
|
|
//
|
|
// An instance of this object defines the interface between SQLite
|
|
// and low-level memory allocation routines.
|
|
//
|
|
// This object is used in only one place in the SQLite interface.
|
|
// A pointer to an instance of this object is the argument to
|
|
// [sqlite3_config()] when the configuration option is
|
|
// [SQLITE_CONFIG_MALLOC] or [SQLITE_CONFIG_GETMALLOC].
|
|
// By creating an instance of this object
|
|
// and passing it to [sqlite3_config]([SQLITE_CONFIG_MALLOC])
|
|
// during configuration, an application can specify an alternative
|
|
// memory allocation subsystem for SQLite to use for all of its
|
|
// dynamic memory needs.
|
|
//
|
|
// Note that SQLite comes with several [built-in memory allocators]
|
|
// that are perfectly adequate for the overwhelming majority of applications
|
|
// and that this object is only useful to a tiny minority of applications
|
|
// with specialized memory allocation requirements. This object is
|
|
// also used during testing of SQLite in order to specify an alternative
|
|
// memory allocator that simulates memory out-of-memory conditions in
|
|
// order to verify that SQLite recovers gracefully from such
|
|
// conditions.
|
|
//
|
|
// The xMalloc, xRealloc, and xFree methods must work like the
|
|
// malloc(), realloc() and free() functions from the standard C library.
|
|
// ^SQLite guarantees that the second argument to
|
|
// xRealloc is always a value returned by a prior call to xRoundup.
|
|
//
|
|
// xSize should return the allocated size of a memory allocation
|
|
// previously obtained from xMalloc or xRealloc. The allocated size
|
|
// is always at least as big as the requested size but may be larger.
|
|
//
|
|
// The xRoundup method returns what would be the allocated size of
|
|
// a memory allocation given a particular requested size. Most memory
|
|
// allocators round up memory allocations at least to the next multiple
|
|
// of 8. Some allocators round up to a larger multiple or to a power of 2.
|
|
// Every memory allocation request coming in through [sqlite3_malloc()]
|
|
// or [sqlite3_realloc()] first calls xRoundup. If xRoundup returns 0,
|
|
// that causes the corresponding memory allocation to fail.
|
|
//
|
|
// The xInit method initializes the memory allocator. For example,
|
|
// it might allocate any required mutexes or initialize internal data
|
|
// structures. The xShutdown method is invoked (indirectly) by
|
|
// [sqlite3_shutdown()] and should deallocate any resources acquired
|
|
// by xInit. The pAppData pointer is used as the only parameter to
|
|
// xInit and xShutdown.
|
|
//
|
|
// SQLite holds the [SQLITE_MUTEX_STATIC_MAIN] mutex when it invokes
|
|
// the xInit method, so the xInit method need not be threadsafe. The
|
|
// xShutdown method is only called from [sqlite3_shutdown()] so it does
|
|
// not need to be threadsafe either. For all other methods, SQLite
|
|
// holds the [SQLITE_MUTEX_STATIC_MEM] mutex as long as the
|
|
// [SQLITE_CONFIG_MEMSTATUS] configuration option is turned on (which
|
|
// it is by default) and so the methods are automatically serialized.
|
|
// However, if [SQLITE_CONFIG_MEMSTATUS] is disabled, then the other
|
|
// methods must be threadsafe or else make their own arrangements for
|
|
// serialization.
|
|
//
|
|
// SQLite will never invoke xInit() more than once without an intervening
|
|
// call to xShutdown().
|
|
type sqlite3_mem_methods = sqlite3_mem_methods1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:1723:36 */
|
|
|
|
// CAPI3REF: Constants Defining Special Destructor Behavior
|
|
//
|
|
// These are special values for the destructor that is passed in as the
|
|
// final argument to routines like [sqlite3_result_blob()]. ^If the destructor
|
|
// argument is SQLITE_STATIC, it means that the content pointer is constant
|
|
// and will never change. It does not need to be destroyed. ^The
|
|
// SQLITE_TRANSIENT value means that the content will likely change in
|
|
// the near future and that SQLite should make its own private copy of
|
|
// the content before returning.
|
|
//
|
|
// The typedef is necessary to work around problems in certain
|
|
// C++ compilers.
|
|
type sqlite3_destructor_type = uintptr /* testdata/sqlite-amalgamation-3380500/sqlite3.h:5752:14 */
|
|
|
|
// The interface to the virtual-table mechanism is currently considered
|
|
// to be experimental. The interface might change in incompatible ways.
|
|
// If this is a problem for you, do not use the interface at this time.
|
|
//
|
|
// When the virtual-table mechanism stabilizes, we will declare the
|
|
// interface fixed, support it indefinitely, and remove this comment.
|
|
|
|
// Structures used by the virtual table interface
|
|
type sqlite3_vtab1 = struct {
|
|
pModule uintptr
|
|
nRef int32
|
|
_ [4]byte
|
|
zErrMsg uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6937:9 */
|
|
|
|
// The interface to the virtual-table mechanism is currently considered
|
|
// to be experimental. The interface might change in incompatible ways.
|
|
// If this is a problem for you, do not use the interface at this time.
|
|
//
|
|
// When the virtual-table mechanism stabilizes, we will declare the
|
|
// interface fixed, support it indefinitely, and remove this comment.
|
|
|
|
// Structures used by the virtual table interface
|
|
type sqlite3_vtab = sqlite3_vtab1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6937:29 */
|
|
type sqlite3_index_info1 = struct {
|
|
nConstraint int32
|
|
_ [4]byte
|
|
aConstraint uintptr
|
|
nOrderBy int32
|
|
_ [4]byte
|
|
aOrderBy uintptr
|
|
aConstraintUsage uintptr
|
|
idxNum int32
|
|
_ [4]byte
|
|
idxStr uintptr
|
|
needToFreeIdxStr int32
|
|
orderByConsumed int32
|
|
estimatedCost float64
|
|
estimatedRows sqlite3_int64
|
|
idxFlags int32
|
|
_ [4]byte
|
|
colUsed sqlite3_uint64
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6938:9 */
|
|
|
|
type sqlite3_index_info = sqlite3_index_info1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6938:35 */
|
|
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6939:9 */
|
|
|
|
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6939:36 */
|
|
type sqlite3_module1 = struct {
|
|
iVersion int32
|
|
_ [4]byte
|
|
xCreate uintptr
|
|
xConnect uintptr
|
|
xBestIndex uintptr
|
|
xDisconnect uintptr
|
|
xDestroy uintptr
|
|
xOpen uintptr
|
|
xClose uintptr
|
|
xFilter uintptr
|
|
xNext uintptr
|
|
xEof uintptr
|
|
xColumn uintptr
|
|
xRowid uintptr
|
|
xUpdate uintptr
|
|
xBegin uintptr
|
|
xSync uintptr
|
|
xCommit uintptr
|
|
xRollback uintptr
|
|
xFindFunction uintptr
|
|
xRename uintptr
|
|
xSavepoint uintptr
|
|
xRelease uintptr
|
|
xRollbackTo uintptr
|
|
xShadowName uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6937:9 */
|
|
|
|
type sqlite3_module = sqlite3_module1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6940:31 */
|
|
|
|
// CAPI3REF: Virtual Table Indexing Information
|
|
// KEYWORDS: sqlite3_index_info
|
|
//
|
|
// The sqlite3_index_info structure and its substructures is used as part
|
|
// of the [virtual table] interface to
|
|
// pass information into and receive the reply from the [xBestIndex]
|
|
// method of a [virtual table module]. The fields under **Inputs** are the
|
|
// inputs to xBestIndex and are read-only. xBestIndex inserts its
|
|
// results into the **Outputs** fields.
|
|
//
|
|
// ^(The aConstraint[] array records WHERE clause constraints of the form:
|
|
//
|
|
// <blockquote>column OP expr</blockquote>
|
|
//
|
|
// where OP is =, <, <=, >, or >=.)^ ^(The particular operator is
|
|
// stored in aConstraint[].op using one of the
|
|
// [SQLITE_INDEX_CONSTRAINT_EQ | SQLITE_INDEX_CONSTRAINT_ values].)^
|
|
// ^(The index of the column is stored in
|
|
// aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
|
|
// expr on the right-hand side can be evaluated (and thus the constraint
|
|
// is usable) and false if it cannot.)^
|
|
//
|
|
// ^The optimizer automatically inverts terms of the form "expr OP column"
|
|
// and makes other simplifications to the WHERE clause in an attempt to
|
|
// get as many WHERE clause terms into the form shown above as possible.
|
|
// ^The aConstraint[] array only reports WHERE clause terms that are
|
|
// relevant to the particular virtual table being queried.
|
|
//
|
|
// ^Information about the ORDER BY clause is stored in aOrderBy[].
|
|
// ^Each term of aOrderBy records a column of the ORDER BY clause.
|
|
//
|
|
// The colUsed field indicates which columns of the virtual table may be
|
|
// required by the current scan. Virtual table columns are numbered from
|
|
// zero in the order in which they appear within the CREATE TABLE statement
|
|
// passed to sqlite3_declare_vtab(). For the first 63 columns (columns 0-62),
|
|
// the corresponding bit is set within the colUsed mask if the column may be
|
|
// required by SQLite. If the table has at least 64 columns and any column
|
|
// to the right of the first 63 is required, then bit 63 of colUsed is also
|
|
// set. In other words, column iCol may be required if the expression
|
|
// (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
|
|
// non-zero.
|
|
//
|
|
// The [xBestIndex] method must fill aConstraintUsage[] with information
|
|
// about what parameters to pass to xFilter. ^If argvIndex>0 then
|
|
// the right-hand side of the corresponding aConstraint[] is evaluated
|
|
// and becomes the argvIndex-th entry in argv. ^(If aConstraintUsage[].omit
|
|
// is true, then the constraint is assumed to be fully handled by the
|
|
// virtual table and might not be checked again by the byte code.)^ ^(The
|
|
// aConstraintUsage[].omit flag is an optimization hint. When the omit flag
|
|
// is left in its default setting of false, the constraint will always be
|
|
// checked separately in byte code. If the omit flag is change to true, then
|
|
// the constraint may or may not be checked in byte code. In other words,
|
|
// when the omit flag is true there is no guarantee that the constraint will
|
|
// not be checked again using byte code.)^
|
|
//
|
|
// ^The idxNum and idxPtr values are recorded and passed into the
|
|
// [xFilter] method.
|
|
// ^[sqlite3_free()] is used to free idxPtr if and only if
|
|
// needToFreeIdxPtr is true.
|
|
//
|
|
// ^The orderByConsumed means that output from [xFilter]/[xNext] will occur in
|
|
// the correct order to satisfy the ORDER BY clause so that no separate
|
|
// sorting step is required.
|
|
//
|
|
// ^The estimatedCost value is an estimate of the cost of a particular
|
|
// strategy. A cost of N indicates that the cost of the strategy is similar
|
|
// to a linear scan of an SQLite table with N rows. A cost of log(N)
|
|
// indicates that the expense of the operation is similar to that of a
|
|
// binary search on a unique indexed field of an SQLite table with N rows.
|
|
//
|
|
// ^The estimatedRows value is an estimate of the number of rows that
|
|
// will be returned by the strategy.
|
|
//
|
|
// The xBestIndex method may optionally populate the idxFlags field with a
|
|
// mask of SQLITE_INDEX_SCAN_* flags. Currently there is only one such flag -
|
|
// SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite
|
|
// assumes that the strategy may visit at most one row.
|
|
//
|
|
// Additionally, if xBestIndex sets the SQLITE_INDEX_SCAN_UNIQUE flag, then
|
|
// SQLite also assumes that if a call to the xUpdate() method is made as
|
|
// part of the same statement to delete or update a virtual table row and the
|
|
// implementation returns SQLITE_CONSTRAINT, then there is no need to rollback
|
|
// any database changes. In other words, if the xUpdate() returns
|
|
// SQLITE_CONSTRAINT, the database contents must be exactly as they were
|
|
// before xUpdate was called. By contrast, if SQLITE_INDEX_SCAN_UNIQUE is not
|
|
// set and xUpdate returns SQLITE_CONSTRAINT, any database changes made by
|
|
// the xUpdate method are automatically rolled back by SQLite.
|
|
//
|
|
// IMPORTANT: The estimatedRows field was added to the sqlite3_index_info
|
|
// structure for SQLite [version 3.8.2] ([dateof:3.8.2]).
|
|
// If a virtual table extension is
|
|
// used with an SQLite version earlier than 3.8.2, the results of attempting
|
|
// to read or write the estimatedRows field are undefined (but are likely
|
|
// to include crashing the application). The estimatedRows field should
|
|
// therefore only be used if [sqlite3_libversion_number()] returns a
|
|
// value greater than or equal to 3008002. Similarly, the idxFlags field
|
|
// was added for [version 3.9.0] ([dateof:3.9.0]).
|
|
// It may therefore only be used if
|
|
// sqlite3_libversion_number() returns a value greater than or equal to
|
|
// 3009000.
|
|
type sqlite3_index_constraint = struct {
|
|
iColumn int32
|
|
op uint8
|
|
usable uint8
|
|
_ [2]byte
|
|
iTermOffset int32
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6938:9 */
|
|
|
|
// CAPI3REF: Virtual Table Indexing Information
|
|
// KEYWORDS: sqlite3_index_info
|
|
//
|
|
// The sqlite3_index_info structure and its substructures is used as part
|
|
// of the [virtual table] interface to
|
|
// pass information into and receive the reply from the [xBestIndex]
|
|
// method of a [virtual table module]. The fields under **Inputs** are the
|
|
// inputs to xBestIndex and are read-only. xBestIndex inserts its
|
|
// results into the **Outputs** fields.
|
|
//
|
|
// ^(The aConstraint[] array records WHERE clause constraints of the form:
|
|
//
|
|
// <blockquote>column OP expr</blockquote>
|
|
//
|
|
// where OP is =, <, <=, >, or >=.)^ ^(The particular operator is
|
|
// stored in aConstraint[].op using one of the
|
|
// [SQLITE_INDEX_CONSTRAINT_EQ | SQLITE_INDEX_CONSTRAINT_ values].)^
|
|
// ^(The index of the column is stored in
|
|
// aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
|
|
// expr on the right-hand side can be evaluated (and thus the constraint
|
|
// is usable) and false if it cannot.)^
|
|
//
|
|
// ^The optimizer automatically inverts terms of the form "expr OP column"
|
|
// and makes other simplifications to the WHERE clause in an attempt to
|
|
// get as many WHERE clause terms into the form shown above as possible.
|
|
// ^The aConstraint[] array only reports WHERE clause terms that are
|
|
// relevant to the particular virtual table being queried.
|
|
//
|
|
// ^Information about the ORDER BY clause is stored in aOrderBy[].
|
|
// ^Each term of aOrderBy records a column of the ORDER BY clause.
|
|
//
|
|
// The colUsed field indicates which columns of the virtual table may be
|
|
// required by the current scan. Virtual table columns are numbered from
|
|
// zero in the order in which they appear within the CREATE TABLE statement
|
|
// passed to sqlite3_declare_vtab(). For the first 63 columns (columns 0-62),
|
|
// the corresponding bit is set within the colUsed mask if the column may be
|
|
// required by SQLite. If the table has at least 64 columns and any column
|
|
// to the right of the first 63 is required, then bit 63 of colUsed is also
|
|
// set. In other words, column iCol may be required if the expression
|
|
// (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
|
|
// non-zero.
|
|
//
|
|
// The [xBestIndex] method must fill aConstraintUsage[] with information
|
|
// about what parameters to pass to xFilter. ^If argvIndex>0 then
|
|
// the right-hand side of the corresponding aConstraint[] is evaluated
|
|
// and becomes the argvIndex-th entry in argv. ^(If aConstraintUsage[].omit
|
|
// is true, then the constraint is assumed to be fully handled by the
|
|
// virtual table and might not be checked again by the byte code.)^ ^(The
|
|
// aConstraintUsage[].omit flag is an optimization hint. When the omit flag
|
|
// is left in its default setting of false, the constraint will always be
|
|
// checked separately in byte code. If the omit flag is change to true, then
|
|
// the constraint may or may not be checked in byte code. In other words,
|
|
// when the omit flag is true there is no guarantee that the constraint will
|
|
// not be checked again using byte code.)^
|
|
//
|
|
// ^The idxNum and idxPtr values are recorded and passed into the
|
|
// [xFilter] method.
|
|
// ^[sqlite3_free()] is used to free idxPtr if and only if
|
|
// needToFreeIdxPtr is true.
|
|
//
|
|
// ^The orderByConsumed means that output from [xFilter]/[xNext] will occur in
|
|
// the correct order to satisfy the ORDER BY clause so that no separate
|
|
// sorting step is required.
|
|
//
|
|
// ^The estimatedCost value is an estimate of the cost of a particular
|
|
// strategy. A cost of N indicates that the cost of the strategy is similar
|
|
// to a linear scan of an SQLite table with N rows. A cost of log(N)
|
|
// indicates that the expense of the operation is similar to that of a
|
|
// binary search on a unique indexed field of an SQLite table with N rows.
|
|
//
|
|
// ^The estimatedRows value is an estimate of the number of rows that
|
|
// will be returned by the strategy.
|
|
//
|
|
// The xBestIndex method may optionally populate the idxFlags field with a
|
|
// mask of SQLITE_INDEX_SCAN_* flags. Currently there is only one such flag -
|
|
// SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite
|
|
// assumes that the strategy may visit at most one row.
|
|
//
|
|
// Additionally, if xBestIndex sets the SQLITE_INDEX_SCAN_UNIQUE flag, then
|
|
// SQLite also assumes that if a call to the xUpdate() method is made as
|
|
// part of the same statement to delete or update a virtual table row and the
|
|
// implementation returns SQLITE_CONSTRAINT, then there is no need to rollback
|
|
// any database changes. In other words, if the xUpdate() returns
|
|
// SQLITE_CONSTRAINT, the database contents must be exactly as they were
|
|
// before xUpdate was called. By contrast, if SQLITE_INDEX_SCAN_UNIQUE is not
|
|
// set and xUpdate returns SQLITE_CONSTRAINT, any database changes made by
|
|
// the xUpdate method are automatically rolled back by SQLite.
|
|
//
|
|
// IMPORTANT: The estimatedRows field was added to the sqlite3_index_info
|
|
// structure for SQLite [version 3.8.2] ([dateof:3.8.2]).
|
|
// If a virtual table extension is
|
|
// used with an SQLite version earlier than 3.8.2, the results of attempting
|
|
// to read or write the estimatedRows field are undefined (but are likely
|
|
// to include crashing the application). The estimatedRows field should
|
|
// therefore only be used if [sqlite3_libversion_number()] returns a
|
|
// value greater than or equal to 3008002. Similarly, the idxFlags field
|
|
// was added for [version 3.9.0] ([dateof:3.9.0]).
|
|
// It may therefore only be used if
|
|
// sqlite3_libversion_number() returns a value greater than or equal to
|
|
// 3009000.
|
|
type sqlite3_index_orderby = struct {
|
|
iColumn int32
|
|
desc uint8
|
|
_ [3]byte
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6938:9 */
|
|
|
|
// CAPI3REF: Virtual Table Indexing Information
|
|
// KEYWORDS: sqlite3_index_info
|
|
//
|
|
// The sqlite3_index_info structure and its substructures is used as part
|
|
// of the [virtual table] interface to
|
|
// pass information into and receive the reply from the [xBestIndex]
|
|
// method of a [virtual table module]. The fields under **Inputs** are the
|
|
// inputs to xBestIndex and are read-only. xBestIndex inserts its
|
|
// results into the **Outputs** fields.
|
|
//
|
|
// ^(The aConstraint[] array records WHERE clause constraints of the form:
|
|
//
|
|
// <blockquote>column OP expr</blockquote>
|
|
//
|
|
// where OP is =, <, <=, >, or >=.)^ ^(The particular operator is
|
|
// stored in aConstraint[].op using one of the
|
|
// [SQLITE_INDEX_CONSTRAINT_EQ | SQLITE_INDEX_CONSTRAINT_ values].)^
|
|
// ^(The index of the column is stored in
|
|
// aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
|
|
// expr on the right-hand side can be evaluated (and thus the constraint
|
|
// is usable) and false if it cannot.)^
|
|
//
|
|
// ^The optimizer automatically inverts terms of the form "expr OP column"
|
|
// and makes other simplifications to the WHERE clause in an attempt to
|
|
// get as many WHERE clause terms into the form shown above as possible.
|
|
// ^The aConstraint[] array only reports WHERE clause terms that are
|
|
// relevant to the particular virtual table being queried.
|
|
//
|
|
// ^Information about the ORDER BY clause is stored in aOrderBy[].
|
|
// ^Each term of aOrderBy records a column of the ORDER BY clause.
|
|
//
|
|
// The colUsed field indicates which columns of the virtual table may be
|
|
// required by the current scan. Virtual table columns are numbered from
|
|
// zero in the order in which they appear within the CREATE TABLE statement
|
|
// passed to sqlite3_declare_vtab(). For the first 63 columns (columns 0-62),
|
|
// the corresponding bit is set within the colUsed mask if the column may be
|
|
// required by SQLite. If the table has at least 64 columns and any column
|
|
// to the right of the first 63 is required, then bit 63 of colUsed is also
|
|
// set. In other words, column iCol may be required if the expression
|
|
// (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
|
|
// non-zero.
|
|
//
|
|
// The [xBestIndex] method must fill aConstraintUsage[] with information
|
|
// about what parameters to pass to xFilter. ^If argvIndex>0 then
|
|
// the right-hand side of the corresponding aConstraint[] is evaluated
|
|
// and becomes the argvIndex-th entry in argv. ^(If aConstraintUsage[].omit
|
|
// is true, then the constraint is assumed to be fully handled by the
|
|
// virtual table and might not be checked again by the byte code.)^ ^(The
|
|
// aConstraintUsage[].omit flag is an optimization hint. When the omit flag
|
|
// is left in its default setting of false, the constraint will always be
|
|
// checked separately in byte code. If the omit flag is change to true, then
|
|
// the constraint may or may not be checked in byte code. In other words,
|
|
// when the omit flag is true there is no guarantee that the constraint will
|
|
// not be checked again using byte code.)^
|
|
//
|
|
// ^The idxNum and idxPtr values are recorded and passed into the
|
|
// [xFilter] method.
|
|
// ^[sqlite3_free()] is used to free idxPtr if and only if
|
|
// needToFreeIdxPtr is true.
|
|
//
|
|
// ^The orderByConsumed means that output from [xFilter]/[xNext] will occur in
|
|
// the correct order to satisfy the ORDER BY clause so that no separate
|
|
// sorting step is required.
|
|
//
|
|
// ^The estimatedCost value is an estimate of the cost of a particular
|
|
// strategy. A cost of N indicates that the cost of the strategy is similar
|
|
// to a linear scan of an SQLite table with N rows. A cost of log(N)
|
|
// indicates that the expense of the operation is similar to that of a
|
|
// binary search on a unique indexed field of an SQLite table with N rows.
|
|
//
|
|
// ^The estimatedRows value is an estimate of the number of rows that
|
|
// will be returned by the strategy.
|
|
//
|
|
// The xBestIndex method may optionally populate the idxFlags field with a
|
|
// mask of SQLITE_INDEX_SCAN_* flags. Currently there is only one such flag -
|
|
// SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite
|
|
// assumes that the strategy may visit at most one row.
|
|
//
|
|
// Additionally, if xBestIndex sets the SQLITE_INDEX_SCAN_UNIQUE flag, then
|
|
// SQLite also assumes that if a call to the xUpdate() method is made as
|
|
// part of the same statement to delete or update a virtual table row and the
|
|
// implementation returns SQLITE_CONSTRAINT, then there is no need to rollback
|
|
// any database changes. In other words, if the xUpdate() returns
|
|
// SQLITE_CONSTRAINT, the database contents must be exactly as they were
|
|
// before xUpdate was called. By contrast, if SQLITE_INDEX_SCAN_UNIQUE is not
|
|
// set and xUpdate returns SQLITE_CONSTRAINT, any database changes made by
|
|
// the xUpdate method are automatically rolled back by SQLite.
|
|
//
|
|
// IMPORTANT: The estimatedRows field was added to the sqlite3_index_info
|
|
// structure for SQLite [version 3.8.2] ([dateof:3.8.2]).
|
|
// If a virtual table extension is
|
|
// used with an SQLite version earlier than 3.8.2, the results of attempting
|
|
// to read or write the estimatedRows field are undefined (but are likely
|
|
// to include crashing the application). The estimatedRows field should
|
|
// therefore only be used if [sqlite3_libversion_number()] returns a
|
|
// value greater than or equal to 3008002. Similarly, the idxFlags field
|
|
// was added for [version 3.9.0] ([dateof:3.9.0]).
|
|
// It may therefore only be used if
|
|
// sqlite3_libversion_number() returns a value greater than or equal to
|
|
// 3009000.
|
|
type sqlite3_index_constraint_usage = struct {
|
|
argvIndex int32
|
|
omit uint8
|
|
_ [3]byte
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:6938:9 */
|
|
|
|
// CAPI3REF: Mutex Methods Object
|
|
//
|
|
// An instance of this structure defines the low-level routines
|
|
// used to allocate and use mutexes.
|
|
//
|
|
// Usually, the default mutex implementations provided by SQLite are
|
|
// sufficient, however the application has the option of substituting a custom
|
|
// implementation for specialized deployments or systems for which SQLite
|
|
// does not provide a suitable implementation. In this case, the application
|
|
// creates and populates an instance of this structure to pass
|
|
// to sqlite3_config() along with the [SQLITE_CONFIG_MUTEX] option.
|
|
// Additionally, an instance of this structure can be used as an
|
|
// output variable when querying the system for the current mutex
|
|
// implementation, using the [SQLITE_CONFIG_GETMUTEX] option.
|
|
//
|
|
// ^The xMutexInit method defined by this structure is invoked as
|
|
// part of system initialization by the sqlite3_initialize() function.
|
|
// ^The xMutexInit routine is called by SQLite exactly once for each
|
|
// effective call to [sqlite3_initialize()].
|
|
//
|
|
// ^The xMutexEnd method defined by this structure is invoked as
|
|
// part of system shutdown by the sqlite3_shutdown() function. The
|
|
// implementation of this method is expected to release all outstanding
|
|
// resources obtained by the mutex methods implementation, especially
|
|
// those obtained by the xMutexInit method. ^The xMutexEnd()
|
|
// interface is invoked exactly once for each call to [sqlite3_shutdown()].
|
|
//
|
|
// ^(The remaining seven methods defined by this structure (xMutexAlloc,
|
|
// xMutexFree, xMutexEnter, xMutexTry, xMutexLeave, xMutexHeld and
|
|
// xMutexNotheld) implement the following interfaces (respectively):
|
|
//
|
|
// <ul>
|
|
// <li> [sqlite3_mutex_alloc()] </li>
|
|
// <li> [sqlite3_mutex_free()] </li>
|
|
// <li> [sqlite3_mutex_enter()] </li>
|
|
// <li> [sqlite3_mutex_try()] </li>
|
|
// <li> [sqlite3_mutex_leave()] </li>
|
|
// <li> [sqlite3_mutex_held()] </li>
|
|
// <li> [sqlite3_mutex_notheld()] </li>
|
|
// </ul>)^
|
|
//
|
|
// The only difference is that the public sqlite3_XXX functions enumerated
|
|
// above silently ignore any invocations that pass a NULL pointer instead
|
|
// of a valid mutex handle. The implementations of the methods defined
|
|
// by this structure are not required to handle this case. The results
|
|
// of passing a NULL pointer instead of a valid mutex handle are undefined
|
|
// (i.e. it is acceptable to provide an implementation that segfaults if
|
|
// it is passed a NULL pointer).
|
|
//
|
|
// The xMutexInit() method must be threadsafe. It must be harmless to
|
|
// invoke xMutexInit() multiple times within the same process and without
|
|
// intervening calls to xMutexEnd(). Second and subsequent calls to
|
|
// xMutexInit() must be no-ops.
|
|
//
|
|
// xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
|
|
// and its associates). Similarly, xMutexAlloc() must not use SQLite memory
|
|
// allocation for a static mutex. ^However xMutexAlloc() may use SQLite
|
|
// memory allocation for a fast or recursive mutex.
|
|
//
|
|
// ^SQLite will invoke the xMutexEnd() method when [sqlite3_shutdown()] is
|
|
// called, but only if the prior call to xMutexInit returned SQLITE_OK.
|
|
// If xMutexInit fails in any way, it is expected to clean up after itself
|
|
// prior to returning.
|
|
type sqlite3_mutex_methods1 = struct {
|
|
xMutexInit uintptr
|
|
xMutexEnd uintptr
|
|
xMutexAlloc uintptr
|
|
xMutexFree uintptr
|
|
xMutexEnter uintptr
|
|
xMutexTry uintptr
|
|
xMutexLeave uintptr
|
|
xMutexHeld uintptr
|
|
xMutexNotheld uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:7804:9 */
|
|
|
|
// CAPI3REF: Mutex Methods Object
|
|
//
|
|
// An instance of this structure defines the low-level routines
|
|
// used to allocate and use mutexes.
|
|
//
|
|
// Usually, the default mutex implementations provided by SQLite are
|
|
// sufficient, however the application has the option of substituting a custom
|
|
// implementation for specialized deployments or systems for which SQLite
|
|
// does not provide a suitable implementation. In this case, the application
|
|
// creates and populates an instance of this structure to pass
|
|
// to sqlite3_config() along with the [SQLITE_CONFIG_MUTEX] option.
|
|
// Additionally, an instance of this structure can be used as an
|
|
// output variable when querying the system for the current mutex
|
|
// implementation, using the [SQLITE_CONFIG_GETMUTEX] option.
|
|
//
|
|
// ^The xMutexInit method defined by this structure is invoked as
|
|
// part of system initialization by the sqlite3_initialize() function.
|
|
// ^The xMutexInit routine is called by SQLite exactly once for each
|
|
// effective call to [sqlite3_initialize()].
|
|
//
|
|
// ^The xMutexEnd method defined by this structure is invoked as
|
|
// part of system shutdown by the sqlite3_shutdown() function. The
|
|
// implementation of this method is expected to release all outstanding
|
|
// resources obtained by the mutex methods implementation, especially
|
|
// those obtained by the xMutexInit method. ^The xMutexEnd()
|
|
// interface is invoked exactly once for each call to [sqlite3_shutdown()].
|
|
//
|
|
// ^(The remaining seven methods defined by this structure (xMutexAlloc,
|
|
// xMutexFree, xMutexEnter, xMutexTry, xMutexLeave, xMutexHeld and
|
|
// xMutexNotheld) implement the following interfaces (respectively):
|
|
//
|
|
// <ul>
|
|
// <li> [sqlite3_mutex_alloc()] </li>
|
|
// <li> [sqlite3_mutex_free()] </li>
|
|
// <li> [sqlite3_mutex_enter()] </li>
|
|
// <li> [sqlite3_mutex_try()] </li>
|
|
// <li> [sqlite3_mutex_leave()] </li>
|
|
// <li> [sqlite3_mutex_held()] </li>
|
|
// <li> [sqlite3_mutex_notheld()] </li>
|
|
// </ul>)^
|
|
//
|
|
// The only difference is that the public sqlite3_XXX functions enumerated
|
|
// above silently ignore any invocations that pass a NULL pointer instead
|
|
// of a valid mutex handle. The implementations of the methods defined
|
|
// by this structure are not required to handle this case. The results
|
|
// of passing a NULL pointer instead of a valid mutex handle are undefined
|
|
// (i.e. it is acceptable to provide an implementation that segfaults if
|
|
// it is passed a NULL pointer).
|
|
//
|
|
// The xMutexInit() method must be threadsafe. It must be harmless to
|
|
// invoke xMutexInit() multiple times within the same process and without
|
|
// intervening calls to xMutexEnd(). Second and subsequent calls to
|
|
// xMutexInit() must be no-ops.
|
|
//
|
|
// xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()]
|
|
// and its associates). Similarly, xMutexAlloc() must not use SQLite memory
|
|
// allocation for a static mutex. ^However xMutexAlloc() may use SQLite
|
|
// memory allocation for a fast or recursive mutex.
|
|
//
|
|
// ^SQLite will invoke the xMutexEnd() method when [sqlite3_shutdown()] is
|
|
// called, but only if the prior call to xMutexInit returned SQLITE_OK.
|
|
// If xMutexInit fails in any way, it is expected to clean up after itself
|
|
// prior to returning.
|
|
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:7804:38 */
|
|
|
|
// CAPI3REF: Custom Page Cache Object
|
|
//
|
|
// The sqlite3_pcache_page object represents a single page in the
|
|
// page cache. The page cache will allocate instances of this
|
|
// object. Various methods of the page cache use pointers to instances
|
|
// of this object as parameters or as their return value.
|
|
//
|
|
// See [sqlite3_pcache_methods2] for additional information.
|
|
type sqlite3_pcache_page1 = struct {
|
|
pBuf uintptr
|
|
pExtra uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8573:9 */
|
|
|
|
// CAPI3REF: Custom Page Cache Object
|
|
//
|
|
// The sqlite3_pcache_page object represents a single page in the
|
|
// page cache. The page cache will allocate instances of this
|
|
// object. Various methods of the page cache use pointers to instances
|
|
// of this object as parameters or as their return value.
|
|
//
|
|
// See [sqlite3_pcache_methods2] for additional information.
|
|
type sqlite3_pcache_page = sqlite3_pcache_page1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8573:36 */
|
|
|
|
// CAPI3REF: Application Defined Page Cache.
|
|
// KEYWORDS: {page cache}
|
|
//
|
|
// ^(The [sqlite3_config]([SQLITE_CONFIG_PCACHE2], ...) interface can
|
|
// register an alternative page cache implementation by passing in an
|
|
// instance of the sqlite3_pcache_methods2 structure.)^
|
|
// In many applications, most of the heap memory allocated by
|
|
// SQLite is used for the page cache.
|
|
// By implementing a
|
|
// custom page cache using this API, an application can better control
|
|
// the amount of memory consumed by SQLite, the way in which
|
|
// that memory is allocated and released, and the policies used to
|
|
// determine exactly which parts of a database file are cached and for
|
|
// how long.
|
|
//
|
|
// The alternative page cache mechanism is an
|
|
// extreme measure that is only needed by the most demanding applications.
|
|
// The built-in page cache is recommended for most uses.
|
|
//
|
|
// ^(The contents of the sqlite3_pcache_methods2 structure are copied to an
|
|
// internal buffer by SQLite within the call to [sqlite3_config]. Hence
|
|
// the application may discard the parameter after the call to
|
|
// [sqlite3_config()] returns.)^
|
|
//
|
|
// [[the xInit() page cache method]]
|
|
// ^(The xInit() method is called once for each effective
|
|
// call to [sqlite3_initialize()])^
|
|
// (usually only once during the lifetime of the process). ^(The xInit()
|
|
// method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
|
|
// The intent of the xInit() method is to set up global data structures
|
|
// required by the custom page cache implementation.
|
|
// ^(If the xInit() method is NULL, then the
|
|
// built-in default page cache is used instead of the application defined
|
|
// page cache.)^
|
|
//
|
|
// [[the xShutdown() page cache method]]
|
|
// ^The xShutdown() method is called by [sqlite3_shutdown()].
|
|
// It can be used to clean up
|
|
// any outstanding resources before process shutdown, if required.
|
|
// ^The xShutdown() method may be NULL.
|
|
//
|
|
// ^SQLite automatically serializes calls to the xInit method,
|
|
// so the xInit method need not be threadsafe. ^The
|
|
// xShutdown method is only called from [sqlite3_shutdown()] so it does
|
|
// not need to be threadsafe either. All other methods must be threadsafe
|
|
// in multithreaded applications.
|
|
//
|
|
// ^SQLite will never invoke xInit() more than once without an intervening
|
|
// call to xShutdown().
|
|
//
|
|
// [[the xCreate() page cache methods]]
|
|
// ^SQLite invokes the xCreate() method to construct a new cache instance.
|
|
// SQLite will typically create one cache instance for each open database file,
|
|
// though this is not guaranteed. ^The
|
|
// first parameter, szPage, is the size in bytes of the pages that must
|
|
// be allocated by the cache. ^szPage will always a power of two. ^The
|
|
// second parameter szExtra is a number of bytes of extra storage
|
|
// associated with each page cache entry. ^The szExtra parameter will
|
|
// a number less than 250. SQLite will use the
|
|
// extra szExtra bytes on each page to store metadata about the underlying
|
|
// database page on disk. The value passed into szExtra depends
|
|
// on the SQLite version, the target platform, and how SQLite was compiled.
|
|
// ^The third argument to xCreate(), bPurgeable, is true if the cache being
|
|
// created will be used to cache database pages of a file stored on disk, or
|
|
// false if it is used for an in-memory database. The cache implementation
|
|
// does not have to do anything special based with the value of bPurgeable;
|
|
// it is purely advisory. ^On a cache where bPurgeable is false, SQLite will
|
|
// never invoke xUnpin() except to deliberately delete a page.
|
|
// ^In other words, calls to xUnpin() on a cache with bPurgeable set to
|
|
// false will always have the "discard" flag set to true.
|
|
// ^Hence, a cache created with bPurgeable false will
|
|
// never contain any unpinned pages.
|
|
//
|
|
// [[the xCachesize() page cache method]]
|
|
// ^(The xCachesize() method may be called at any time by SQLite to set the
|
|
// suggested maximum cache-size (number of pages stored by) the cache
|
|
// instance passed as the first argument. This is the value configured using
|
|
// the SQLite "[PRAGMA cache_size]" command.)^ As with the bPurgeable
|
|
// parameter, the implementation is not required to do anything with this
|
|
// value; it is advisory only.
|
|
//
|
|
// [[the xPagecount() page cache methods]]
|
|
// The xPagecount() method must return the number of pages currently
|
|
// stored in the cache, both pinned and unpinned.
|
|
//
|
|
// [[the xFetch() page cache methods]]
|
|
// The xFetch() method locates a page in the cache and returns a pointer to
|
|
// an sqlite3_pcache_page object associated with that page, or a NULL pointer.
|
|
// The pBuf element of the returned sqlite3_pcache_page object will be a
|
|
// pointer to a buffer of szPage bytes used to store the content of a
|
|
// single database page. The pExtra element of sqlite3_pcache_page will be
|
|
// a pointer to the szExtra bytes of extra storage that SQLite has requested
|
|
// for each entry in the page cache.
|
|
//
|
|
// The page to be fetched is determined by the key. ^The minimum key value
|
|
// is 1. After it has been retrieved using xFetch, the page is considered
|
|
// to be "pinned".
|
|
//
|
|
// If the requested page is already in the page cache, then the page cache
|
|
// implementation must return a pointer to the page buffer with its content
|
|
// intact. If the requested page is not already in the cache, then the
|
|
// cache implementation should use the value of the createFlag
|
|
// parameter to help it determined what action to take:
|
|
//
|
|
// <table border=1 width=85% align=center>
|
|
// <tr><th> createFlag <th> Behavior when page is not already in cache
|
|
// <tr><td> 0 <td> Do not allocate a new page. Return NULL.
|
|
// <tr><td> 1 <td> Allocate a new page if it easy and convenient to do so.
|
|
// Otherwise return NULL.
|
|
// <tr><td> 2 <td> Make every effort to allocate a new page. Only return
|
|
// NULL if allocating a new page is effectively impossible.
|
|
// </table>
|
|
//
|
|
// ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
|
|
// will only use a createFlag of 2 after a prior call with a createFlag of 1
|
|
// failed.)^ In between the xFetch() calls, SQLite may
|
|
// attempt to unpin one or more cache pages by spilling the content of
|
|
// pinned pages to disk and synching the operating system disk cache.
|
|
//
|
|
// [[the xUnpin() page cache method]]
|
|
// ^xUnpin() is called by SQLite with a pointer to a currently pinned page
|
|
// as its second argument. If the third parameter, discard, is non-zero,
|
|
// then the page must be evicted from the cache.
|
|
// ^If the discard parameter is
|
|
// zero, then the page may be discarded or retained at the discretion of
|
|
// page cache implementation. ^The page cache implementation
|
|
// may choose to evict unpinned pages at any time.
|
|
//
|
|
// The cache must not perform any reference counting. A single
|
|
// call to xUnpin() unpins the page regardless of the number of prior calls
|
|
// to xFetch().
|
|
//
|
|
// [[the xRekey() page cache methods]]
|
|
// The xRekey() method is used to change the key value associated with the
|
|
// page passed as the second argument. If the cache
|
|
// previously contains an entry associated with newKey, it must be
|
|
// discarded. ^Any prior cache entry associated with newKey is guaranteed not
|
|
// to be pinned.
|
|
//
|
|
// When SQLite calls the xTruncate() method, the cache must discard all
|
|
// existing cache entries with page numbers (keys) greater than or equal
|
|
// to the value of the iLimit parameter passed to xTruncate(). If any
|
|
// of these pages are pinned, they are implicitly unpinned, meaning that
|
|
// they can be safely discarded.
|
|
//
|
|
// [[the xDestroy() page cache method]]
|
|
// ^The xDestroy() method is used to delete a cache allocated by xCreate().
|
|
// All resources associated with the specified cache should be freed. ^After
|
|
// calling the xDestroy() method, SQLite considers the [sqlite3_pcache*]
|
|
// handle invalid, and will not use it with any other sqlite3_pcache_methods2
|
|
// functions.
|
|
//
|
|
// [[the xShrink() page cache method]]
|
|
// ^SQLite invokes the xShrink() method when it wants the page cache to
|
|
// free up as much of heap memory as possible. The page cache implementation
|
|
// is not obligated to free any memory, but well-behaved implementations should
|
|
// do their best.
|
|
type sqlite3_pcache_methods21 = struct {
|
|
iVersion int32
|
|
_ [4]byte
|
|
pArg uintptr
|
|
xInit uintptr
|
|
xShutdown uintptr
|
|
xCreate uintptr
|
|
xCachesize uintptr
|
|
xPagecount uintptr
|
|
xFetch uintptr
|
|
xUnpin uintptr
|
|
xRekey uintptr
|
|
xTruncate uintptr
|
|
xDestroy uintptr
|
|
xShrink uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8738:9 */
|
|
|
|
// CAPI3REF: Application Defined Page Cache.
|
|
// KEYWORDS: {page cache}
|
|
//
|
|
// ^(The [sqlite3_config]([SQLITE_CONFIG_PCACHE2], ...) interface can
|
|
// register an alternative page cache implementation by passing in an
|
|
// instance of the sqlite3_pcache_methods2 structure.)^
|
|
// In many applications, most of the heap memory allocated by
|
|
// SQLite is used for the page cache.
|
|
// By implementing a
|
|
// custom page cache using this API, an application can better control
|
|
// the amount of memory consumed by SQLite, the way in which
|
|
// that memory is allocated and released, and the policies used to
|
|
// determine exactly which parts of a database file are cached and for
|
|
// how long.
|
|
//
|
|
// The alternative page cache mechanism is an
|
|
// extreme measure that is only needed by the most demanding applications.
|
|
// The built-in page cache is recommended for most uses.
|
|
//
|
|
// ^(The contents of the sqlite3_pcache_methods2 structure are copied to an
|
|
// internal buffer by SQLite within the call to [sqlite3_config]. Hence
|
|
// the application may discard the parameter after the call to
|
|
// [sqlite3_config()] returns.)^
|
|
//
|
|
// [[the xInit() page cache method]]
|
|
// ^(The xInit() method is called once for each effective
|
|
// call to [sqlite3_initialize()])^
|
|
// (usually only once during the lifetime of the process). ^(The xInit()
|
|
// method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
|
|
// The intent of the xInit() method is to set up global data structures
|
|
// required by the custom page cache implementation.
|
|
// ^(If the xInit() method is NULL, then the
|
|
// built-in default page cache is used instead of the application defined
|
|
// page cache.)^
|
|
//
|
|
// [[the xShutdown() page cache method]]
|
|
// ^The xShutdown() method is called by [sqlite3_shutdown()].
|
|
// It can be used to clean up
|
|
// any outstanding resources before process shutdown, if required.
|
|
// ^The xShutdown() method may be NULL.
|
|
//
|
|
// ^SQLite automatically serializes calls to the xInit method,
|
|
// so the xInit method need not be threadsafe. ^The
|
|
// xShutdown method is only called from [sqlite3_shutdown()] so it does
|
|
// not need to be threadsafe either. All other methods must be threadsafe
|
|
// in multithreaded applications.
|
|
//
|
|
// ^SQLite will never invoke xInit() more than once without an intervening
|
|
// call to xShutdown().
|
|
//
|
|
// [[the xCreate() page cache methods]]
|
|
// ^SQLite invokes the xCreate() method to construct a new cache instance.
|
|
// SQLite will typically create one cache instance for each open database file,
|
|
// though this is not guaranteed. ^The
|
|
// first parameter, szPage, is the size in bytes of the pages that must
|
|
// be allocated by the cache. ^szPage will always a power of two. ^The
|
|
// second parameter szExtra is a number of bytes of extra storage
|
|
// associated with each page cache entry. ^The szExtra parameter will
|
|
// a number less than 250. SQLite will use the
|
|
// extra szExtra bytes on each page to store metadata about the underlying
|
|
// database page on disk. The value passed into szExtra depends
|
|
// on the SQLite version, the target platform, and how SQLite was compiled.
|
|
// ^The third argument to xCreate(), bPurgeable, is true if the cache being
|
|
// created will be used to cache database pages of a file stored on disk, or
|
|
// false if it is used for an in-memory database. The cache implementation
|
|
// does not have to do anything special based with the value of bPurgeable;
|
|
// it is purely advisory. ^On a cache where bPurgeable is false, SQLite will
|
|
// never invoke xUnpin() except to deliberately delete a page.
|
|
// ^In other words, calls to xUnpin() on a cache with bPurgeable set to
|
|
// false will always have the "discard" flag set to true.
|
|
// ^Hence, a cache created with bPurgeable false will
|
|
// never contain any unpinned pages.
|
|
//
|
|
// [[the xCachesize() page cache method]]
|
|
// ^(The xCachesize() method may be called at any time by SQLite to set the
|
|
// suggested maximum cache-size (number of pages stored by) the cache
|
|
// instance passed as the first argument. This is the value configured using
|
|
// the SQLite "[PRAGMA cache_size]" command.)^ As with the bPurgeable
|
|
// parameter, the implementation is not required to do anything with this
|
|
// value; it is advisory only.
|
|
//
|
|
// [[the xPagecount() page cache methods]]
|
|
// The xPagecount() method must return the number of pages currently
|
|
// stored in the cache, both pinned and unpinned.
|
|
//
|
|
// [[the xFetch() page cache methods]]
|
|
// The xFetch() method locates a page in the cache and returns a pointer to
|
|
// an sqlite3_pcache_page object associated with that page, or a NULL pointer.
|
|
// The pBuf element of the returned sqlite3_pcache_page object will be a
|
|
// pointer to a buffer of szPage bytes used to store the content of a
|
|
// single database page. The pExtra element of sqlite3_pcache_page will be
|
|
// a pointer to the szExtra bytes of extra storage that SQLite has requested
|
|
// for each entry in the page cache.
|
|
//
|
|
// The page to be fetched is determined by the key. ^The minimum key value
|
|
// is 1. After it has been retrieved using xFetch, the page is considered
|
|
// to be "pinned".
|
|
//
|
|
// If the requested page is already in the page cache, then the page cache
|
|
// implementation must return a pointer to the page buffer with its content
|
|
// intact. If the requested page is not already in the cache, then the
|
|
// cache implementation should use the value of the createFlag
|
|
// parameter to help it determined what action to take:
|
|
//
|
|
// <table border=1 width=85% align=center>
|
|
// <tr><th> createFlag <th> Behavior when page is not already in cache
|
|
// <tr><td> 0 <td> Do not allocate a new page. Return NULL.
|
|
// <tr><td> 1 <td> Allocate a new page if it easy and convenient to do so.
|
|
// Otherwise return NULL.
|
|
// <tr><td> 2 <td> Make every effort to allocate a new page. Only return
|
|
// NULL if allocating a new page is effectively impossible.
|
|
// </table>
|
|
//
|
|
// ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite
|
|
// will only use a createFlag of 2 after a prior call with a createFlag of 1
|
|
// failed.)^ In between the xFetch() calls, SQLite may
|
|
// attempt to unpin one or more cache pages by spilling the content of
|
|
// pinned pages to disk and synching the operating system disk cache.
|
|
//
|
|
// [[the xUnpin() page cache method]]
|
|
// ^xUnpin() is called by SQLite with a pointer to a currently pinned page
|
|
// as its second argument. If the third parameter, discard, is non-zero,
|
|
// then the page must be evicted from the cache.
|
|
// ^If the discard parameter is
|
|
// zero, then the page may be discarded or retained at the discretion of
|
|
// page cache implementation. ^The page cache implementation
|
|
// may choose to evict unpinned pages at any time.
|
|
//
|
|
// The cache must not perform any reference counting. A single
|
|
// call to xUnpin() unpins the page regardless of the number of prior calls
|
|
// to xFetch().
|
|
//
|
|
// [[the xRekey() page cache methods]]
|
|
// The xRekey() method is used to change the key value associated with the
|
|
// page passed as the second argument. If the cache
|
|
// previously contains an entry associated with newKey, it must be
|
|
// discarded. ^Any prior cache entry associated with newKey is guaranteed not
|
|
// to be pinned.
|
|
//
|
|
// When SQLite calls the xTruncate() method, the cache must discard all
|
|
// existing cache entries with page numbers (keys) greater than or equal
|
|
// to the value of the iLimit parameter passed to xTruncate(). If any
|
|
// of these pages are pinned, they are implicitly unpinned, meaning that
|
|
// they can be safely discarded.
|
|
//
|
|
// [[the xDestroy() page cache method]]
|
|
// ^The xDestroy() method is used to delete a cache allocated by xCreate().
|
|
// All resources associated with the specified cache should be freed. ^After
|
|
// calling the xDestroy() method, SQLite considers the [sqlite3_pcache*]
|
|
// handle invalid, and will not use it with any other sqlite3_pcache_methods2
|
|
// functions.
|
|
//
|
|
// [[the xShrink() page cache method]]
|
|
// ^SQLite invokes the xShrink() method when it wants the page cache to
|
|
// free up as much of heap memory as possible. The page cache implementation
|
|
// is not obligated to free any memory, but well-behaved implementations should
|
|
// do their best.
|
|
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8738:40 */
|
|
|
|
// This is the obsolete pcache_methods object that has now been replaced
|
|
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
|
// retained in the header file for backwards compatibility only.
|
|
type sqlite3_pcache_methods1 = struct {
|
|
pArg uintptr
|
|
xInit uintptr
|
|
xShutdown uintptr
|
|
xCreate uintptr
|
|
xCachesize uintptr
|
|
xPagecount uintptr
|
|
xFetch uintptr
|
|
xUnpin uintptr
|
|
xRekey uintptr
|
|
xTruncate uintptr
|
|
xDestroy uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8761:9 */
|
|
|
|
// This is the obsolete pcache_methods object that has now been replaced
|
|
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
|
// retained in the header file for backwards compatibility only.
|
|
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:8761:39 */
|
|
|
|
// CAPI3REF: Database Snapshot
|
|
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
|
//
|
|
// An instance of the snapshot object records the state of a [WAL mode]
|
|
// database for some specific point in history.
|
|
//
|
|
// In [WAL mode], multiple [database connections] that are open on the
|
|
// same database file can each be reading a different historical version
|
|
// of the database file. When a [database connection] begins a read
|
|
// transaction, that connection sees an unchanging copy of the database
|
|
// as it existed for the point in time when the transaction first started.
|
|
// Subsequent changes to the database from other connections are not seen
|
|
// by the reader until a new read transaction is started.
|
|
//
|
|
// The sqlite3_snapshot object records state information about an historical
|
|
// version of the database file so that it is possible to later open a new read
|
|
// transaction that sees that historical version of the database rather than
|
|
// the most recent version.
|
|
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10079:9 */
|
|
|
|
// CAPI3REF: Database Snapshot
|
|
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
|
//
|
|
// An instance of the snapshot object records the state of a [WAL mode]
|
|
// database for some specific point in history.
|
|
//
|
|
// In [WAL mode], multiple [database connections] that are open on the
|
|
// same database file can each be reading a different historical version
|
|
// of the database file. When a [database connection] begins a read
|
|
// transaction, that connection sees an unchanging copy of the database
|
|
// as it existed for the point in time when the transaction first started.
|
|
// Subsequent changes to the database from other connections are not seen
|
|
// by the reader until a new read transaction is started.
|
|
//
|
|
// The sqlite3_snapshot object records state information about an historical
|
|
// version of the database file so that it is possible to later open a new read
|
|
// transaction that sees that historical version of the database rather than
|
|
// the most recent version.
|
|
type sqlite3_snapshot = sqlite3_snapshot1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10081:3 */
|
|
|
|
// CAPI3REF: Flags for sqlite3_deserialize()
|
|
//
|
|
// The following are allowed values for 6th argument (the F argument) to
|
|
// the [sqlite3_deserialize(D,S,P,N,M,F)] interface.
|
|
//
|
|
// The SQLITE_DESERIALIZE_FREEONCLOSE means that the database serialization
|
|
// in the P argument is held in memory obtained from [sqlite3_malloc64()]
|
|
// and that SQLite should take ownership of this memory and automatically
|
|
// free it when it has finished using it. Without this flag, the caller
|
|
// is responsible for freeing any dynamically allocated memory.
|
|
//
|
|
// The SQLITE_DESERIALIZE_RESIZEABLE flag means that SQLite is allowed to
|
|
// grow the size of the database using calls to [sqlite3_realloc64()]. This
|
|
// flag should only be used if SQLITE_DESERIALIZE_FREEONCLOSE is also used.
|
|
// Without this flag, the deserialized database cannot increase in size beyond
|
|
// the number of bytes specified by the M parameter.
|
|
//
|
|
// The SQLITE_DESERIALIZE_READONLY flag means that the deserialized database
|
|
// should be treated as read-only.
|
|
|
|
// Undo the hack that converts floating point types to integer for
|
|
// builds on processors without floating point support.
|
|
|
|
//******* Begin file sqlite3rtree.h ********
|
|
// 2010 August 30
|
|
//
|
|
// The author disclaims copyright to this source code. In place of
|
|
// a legal notice, here is a blessing:
|
|
//
|
|
// May you do good and not evil.
|
|
// May you find forgiveness for yourself and forgive others.
|
|
// May you share freely, never taking more than you give.
|
|
//
|
|
//
|
|
|
|
type sqlite3_rtree_geometry1 = struct {
|
|
pContext uintptr
|
|
nParam int32
|
|
_ [4]byte
|
|
aParam uintptr
|
|
pUser uintptr
|
|
xDelUser uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10410:9 */
|
|
|
|
// CAPI3REF: Flags for sqlite3_deserialize()
|
|
//
|
|
// The following are allowed values for 6th argument (the F argument) to
|
|
// the [sqlite3_deserialize(D,S,P,N,M,F)] interface.
|
|
//
|
|
// The SQLITE_DESERIALIZE_FREEONCLOSE means that the database serialization
|
|
// in the P argument is held in memory obtained from [sqlite3_malloc64()]
|
|
// and that SQLite should take ownership of this memory and automatically
|
|
// free it when it has finished using it. Without this flag, the caller
|
|
// is responsible for freeing any dynamically allocated memory.
|
|
//
|
|
// The SQLITE_DESERIALIZE_RESIZEABLE flag means that SQLite is allowed to
|
|
// grow the size of the database using calls to [sqlite3_realloc64()]. This
|
|
// flag should only be used if SQLITE_DESERIALIZE_FREEONCLOSE is also used.
|
|
// Without this flag, the deserialized database cannot increase in size beyond
|
|
// the number of bytes specified by the M parameter.
|
|
//
|
|
// The SQLITE_DESERIALIZE_READONLY flag means that the deserialized database
|
|
// should be treated as read-only.
|
|
|
|
// Undo the hack that converts floating point types to integer for
|
|
// builds on processors without floating point support.
|
|
|
|
//******* Begin file sqlite3rtree.h ********
|
|
// 2010 August 30
|
|
//
|
|
// The author disclaims copyright to this source code. In place of
|
|
// a legal notice, here is a blessing:
|
|
//
|
|
// May you do good and not evil.
|
|
// May you find forgiveness for yourself and forgive others.
|
|
// May you share freely, never taking more than you give.
|
|
//
|
|
//
|
|
|
|
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10410:39 */
|
|
type sqlite3_rtree_query_info1 = struct {
|
|
pContext uintptr
|
|
nParam int32
|
|
_ [4]byte
|
|
aParam uintptr
|
|
pUser uintptr
|
|
xDelUser uintptr
|
|
aCoord uintptr
|
|
anQueue uintptr
|
|
nCoord int32
|
|
iLevel int32
|
|
mxLevel int32
|
|
_ [4]byte
|
|
iRowid sqlite3_int64
|
|
rParentScore sqlite3_rtree_dbl
|
|
eParentWithin int32
|
|
eWithin int32
|
|
rScore sqlite3_rtree_dbl
|
|
apSqlParam uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10411:9 */
|
|
|
|
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10411:41 */
|
|
|
|
// The double-precision datatype used by RTree depends on the
|
|
// SQLITE_RTREE_INT_ONLY compile-time option.
|
|
type sqlite3_rtree_dbl = float64 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:10419:18 */
|
|
|
|
// CAPI3REF: Values for sqlite3session_config().
|
|
|
|
// Make sure we can call this stuff from C++.
|
|
|
|
//******* End of sqlite3session.h ********
|
|
//******* Begin file fts5.h ********
|
|
// 2014 May 31
|
|
//
|
|
// The author disclaims copyright to this source code. In place of
|
|
// a legal notice, here is a blessing:
|
|
//
|
|
// May you do good and not evil.
|
|
// May you find forgiveness for yourself and forgive others.
|
|
// May you share freely, never taking more than you give.
|
|
//
|
|
//
|
|
//
|
|
// Interfaces to extend FTS5. Using the interfaces defined in this file,
|
|
// FTS5 may be extended with:
|
|
//
|
|
// * custom tokenizers, and
|
|
// * custom auxiliary functions.
|
|
|
|
// ************************************************************************
|
|
//
|
|
// CUSTOM AUXILIARY FUNCTIONS
|
|
//
|
|
// Virtual table implementations may overload SQL functions by implementing
|
|
// the sqlite3_module.xFindFunction() method.
|
|
|
|
type Fts5ExtensionApi1 = struct {
|
|
iVersion int32
|
|
_ [4]byte
|
|
xUserData uintptr
|
|
xColumnCount uintptr
|
|
xRowCount uintptr
|
|
xColumnTotalSize uintptr
|
|
xTokenize uintptr
|
|
xPhraseCount uintptr
|
|
xPhraseSize uintptr
|
|
xInstCount uintptr
|
|
xInst uintptr
|
|
xRowid uintptr
|
|
xColumnText uintptr
|
|
xColumnSize uintptr
|
|
xQueryPhrase uintptr
|
|
xSetAuxdata uintptr
|
|
xGetAuxdata uintptr
|
|
xPhraseFirst uintptr
|
|
xPhraseNext uintptr
|
|
xPhraseFirstColumn uintptr
|
|
xPhraseNextColumn uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12266:9 */
|
|
|
|
// CAPI3REF: Values for sqlite3session_config().
|
|
|
|
// Make sure we can call this stuff from C++.
|
|
|
|
//******* End of sqlite3session.h ********
|
|
//******* Begin file fts5.h ********
|
|
// 2014 May 31
|
|
//
|
|
// The author disclaims copyright to this source code. In place of
|
|
// a legal notice, here is a blessing:
|
|
//
|
|
// May you do good and not evil.
|
|
// May you find forgiveness for yourself and forgive others.
|
|
// May you share freely, never taking more than you give.
|
|
//
|
|
//
|
|
//
|
|
// Interfaces to extend FTS5. Using the interfaces defined in this file,
|
|
// FTS5 may be extended with:
|
|
//
|
|
// * custom tokenizers, and
|
|
// * custom auxiliary functions.
|
|
|
|
// ************************************************************************
|
|
//
|
|
// CUSTOM AUXILIARY FUNCTIONS
|
|
//
|
|
// Virtual table implementations may overload SQL functions by implementing
|
|
// the sqlite3_module.xFindFunction() method.
|
|
|
|
type Fts5ExtensionApi = Fts5ExtensionApi1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12266:33 */
|
|
type Fts5PhraseIter1 = struct {
|
|
a uintptr
|
|
b uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12268:9 */
|
|
|
|
type Fts5PhraseIter = Fts5PhraseIter1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12268:31 */
|
|
|
|
type fts5_extension_function = uintptr /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12270:14 */
|
|
type fts5_tokenizer1 = struct {
|
|
xCreate uintptr
|
|
xDelete uintptr
|
|
xTokenize uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12729:9 */
|
|
|
|
type fts5_tokenizer = fts5_tokenizer1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12729:31 */
|
|
|
|
// Flags that may be passed as the third argument to xTokenize()
|
|
|
|
// Flags that may be passed by the tokenizer implementation back to FTS5
|
|
// as the third argument to the supplied xToken callback.
|
|
|
|
//
|
|
// END OF CUSTOM TOKENIZERS
|
|
//
|
|
|
|
// ************************************************************************
|
|
//
|
|
// FTS5 EXTENSION REGISTRATION API
|
|
type fts5_api1 = struct {
|
|
iVersion int32
|
|
_ [4]byte
|
|
xCreateTokenizer uintptr
|
|
xFindTokenizer uintptr
|
|
xCreateFunction uintptr
|
|
} /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12765:9 */
|
|
|
|
// Flags that may be passed as the third argument to xTokenize()
|
|
|
|
// Flags that may be passed by the tokenizer implementation back to FTS5
|
|
// as the third argument to the supplied xToken callback.
|
|
|
|
//
|
|
// END OF CUSTOM TOKENIZERS
|
|
//
|
|
|
|
// ************************************************************************
|
|
//
|
|
// FTS5 EXTENSION REGISTRATION API
|
|
type fts5_api = fts5_api1 /* testdata/sqlite-amalgamation-3380500/sqlite3.h:12765:25 */
|
|
|
|
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// pthread opaque structures
|
|
|
|
type __darwin_pthread_handler_rec = struct {
|
|
__routine uintptr
|
|
__arg uintptr
|
|
__next uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:57:1 */
|
|
|
|
type _opaque_pthread_attr_t = struct {
|
|
__sig int64
|
|
__opaque [56]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:63:1 */
|
|
|
|
type _opaque_pthread_cond_t = struct {
|
|
__sig int64
|
|
__opaque [40]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:68:1 */
|
|
|
|
type _opaque_pthread_condattr_t = struct {
|
|
__sig int64
|
|
__opaque [8]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:73:1 */
|
|
|
|
type _opaque_pthread_mutex_t = struct {
|
|
__sig int64
|
|
__opaque [56]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:78:1 */
|
|
|
|
type _opaque_pthread_mutexattr_t = struct {
|
|
__sig int64
|
|
__opaque [8]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:83:1 */
|
|
|
|
type _opaque_pthread_once_t = struct {
|
|
__sig int64
|
|
__opaque [8]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:88:1 */
|
|
|
|
type _opaque_pthread_rwlock_t = struct {
|
|
__sig int64
|
|
__opaque [192]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:93:1 */
|
|
|
|
type _opaque_pthread_rwlockattr_t = struct {
|
|
__sig int64
|
|
__opaque [16]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:98:1 */
|
|
|
|
type _opaque_pthread_t = struct {
|
|
__sig int64
|
|
__cleanup_stack uintptr
|
|
__opaque [8176]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_types.h:103:1 */
|
|
|
|
// DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
|
|
// __gnuc_va_list and include <stdarg.h>
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
|
|
// Copyright (c) 2000-2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1990, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)types.h 8.3 (Berkeley) 1/5/94
|
|
|
|
// Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Basic integral types. Omit the typedef if
|
|
// not possible for a machine/compiler combination.
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type int8_t = int8 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int8_t.h:30:33 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type int16_t = int16 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int16_t.h:30:33 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type int32_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int32_t.h:30:33 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type int64_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_int64_t.h:30:33 */
|
|
|
|
// Copyright (c) 2016 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type u_int8_t = uint8 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int8_t.h:30:33 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type u_int16_t = uint16 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int16_t.h:30:41 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type u_int32_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int32_t.h:30:33 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type u_int64_t = uint64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_u_int64_t.h:30:33 */
|
|
|
|
type register_t = int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:87:33 */
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
|
|
type intptr_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_intptr_t.h:32:33 */
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type uintptr_t = uint64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uintptr_t.h:30:33 */
|
|
|
|
// These types are used for reserving the largest possible size.
|
|
type user_addr_t = u_int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:97:33 */
|
|
type user_size_t = u_int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:98:33 */
|
|
type user_ssize_t = int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:99:33 */
|
|
type user_long_t = int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:100:33 */
|
|
type user_ulong_t = u_int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:101:33 */
|
|
type user_time_t = int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:102:33 */
|
|
type user_off_t = int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:103:33 */
|
|
|
|
// This defines the size of syscall arguments after copying into the kernel:
|
|
type syscall_arg_t = u_int64_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/types.h:111:33 */
|
|
|
|
type fpos_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:81:25 */
|
|
|
|
// NB: to fit things in six character monocase externals, the stdio
|
|
// code uses the prefix `__s' for stdio objects, typically followed
|
|
// by a three-character attempt at a mnemonic.
|
|
|
|
// stdio buffers
|
|
type __sbuf = struct {
|
|
_base uintptr
|
|
_size int32
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:92:1 */
|
|
|
|
// stdio state variables.
|
|
//
|
|
// The following always hold:
|
|
//
|
|
// if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR),
|
|
// _lbfsize is -_bf._size, else _lbfsize is 0
|
|
// if _flags&__SRD, _w is 0
|
|
// if _flags&__SWR, _r is 0
|
|
//
|
|
// This ensures that the getc and putc macros (or inline functions) never
|
|
// try to write or read from a file that is in `read' or `write' mode.
|
|
// (Moreover, they can, and do, automatically switch from read mode to
|
|
// write mode, and back, on "r+" and "w+" files.)
|
|
//
|
|
// _lbfsize is used only to make the inline line-buffered output stream
|
|
// code as compact as possible.
|
|
//
|
|
// _ub, _up, and _ur are used when ungetc() pushes back more characters
|
|
// than fit in the current _bf, or when ungetc() pushes back a character
|
|
// that does not match the previous one in _bf. When this happens,
|
|
// _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
|
|
// _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
|
|
//
|
|
// NB: see WARNING above before changing the layout of this structure!
|
|
type __sFILE = struct {
|
|
_p uintptr
|
|
_r int32
|
|
_w int32
|
|
_flags int16
|
|
_file int16
|
|
_ [4]byte
|
|
_bf struct {
|
|
_base uintptr
|
|
_size int32
|
|
_ [4]byte
|
|
}
|
|
_lbfsize int32
|
|
_ [4]byte
|
|
_cookie uintptr
|
|
_close uintptr
|
|
_read uintptr
|
|
_seek uintptr
|
|
_write uintptr
|
|
_ub struct {
|
|
_base uintptr
|
|
_size int32
|
|
_ [4]byte
|
|
}
|
|
_extra uintptr
|
|
_ur int32
|
|
_ubuf [3]uint8
|
|
_nbuf [1]uint8
|
|
_lb struct {
|
|
_base uintptr
|
|
_size int32
|
|
_ [4]byte
|
|
}
|
|
_blksize int32
|
|
_ [4]byte
|
|
_offset fpos_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:126:9 */
|
|
|
|
// stdio state variables.
|
|
//
|
|
// The following always hold:
|
|
//
|
|
// if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR),
|
|
// _lbfsize is -_bf._size, else _lbfsize is 0
|
|
// if _flags&__SRD, _w is 0
|
|
// if _flags&__SWR, _r is 0
|
|
//
|
|
// This ensures that the getc and putc macros (or inline functions) never
|
|
// try to write or read from a file that is in `read' or `write' mode.
|
|
// (Moreover, they can, and do, automatically switch from read mode to
|
|
// write mode, and back, on "r+" and "w+" files.)
|
|
//
|
|
// _lbfsize is used only to make the inline line-buffered output stream
|
|
// code as compact as possible.
|
|
//
|
|
// _ub, _up, and _ur are used when ungetc() pushes back more characters
|
|
// than fit in the current _bf, or when ungetc() pushes back a character
|
|
// that does not match the previous one in _bf. When this happens,
|
|
// _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
|
|
// _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
|
|
//
|
|
// NB: see WARNING above before changing the layout of this structure!
|
|
type FILE = __sFILE /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:157:3 */
|
|
|
|
// Additional functionality provided by:
|
|
// POSIX.1-2001
|
|
// ISO C99
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type off_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_off_t.h:31:33 */
|
|
|
|
// Additional functionality provided by:
|
|
// POSIX.1-2008
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
type ssize_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ssize_t.h:31:33 */
|
|
|
|
// Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// -
|
|
// Copyright (c) 1990, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)stdlib.h 8.5 (Berkeley) 5/19/95
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
|
// Copyright (c) 1982, 1986, 1989, 1993, 1994
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)wait.h 8.2 (Berkeley) 7/10/94
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// This file holds definitions relevent to the wait4 system call
|
|
// and the alternate interfaces that use it (wait, wait3, waitpid).
|
|
|
|
// [XSI] The type idtype_t shall be defined as an enumeration type whose
|
|
// possible values shall include at least P_ALL, P_PID, and P_PGID.
|
|
type idtype_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:83:3 */
|
|
|
|
// [XSI] The id_t and pid_t types shall be defined as described
|
|
// in <sys/types.h>
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type pid_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_pid_t.h:31:31 */
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type id_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
|
|
|
|
// [XSI] The siginfo_t type shall be defined as described in <signal.h>
|
|
// [XSI] The rusage structure shall be defined as described in <sys/resource.h>
|
|
// [XSI] Inclusion of the <sys/wait.h> header may also make visible all
|
|
// symbols from <signal.h> and <sys/resource.h>
|
|
//
|
|
// NOTE: This requirement is currently being satisfied by the direct
|
|
// inclusion of <sys/signal.h> and <sys/resource.h>, below.
|
|
//
|
|
// Software should not depend on the exposure of anything other
|
|
// than the types siginfo_t and struct rusage as a result of
|
|
// this inclusion. If you depend on any types or manifest
|
|
// values othe than siginfo_t and struct rusage from either of
|
|
// those files, you should explicitly include them yourself, as
|
|
// well, or in future releases your stware may not compile
|
|
// without modification.
|
|
// Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
|
// Copyright (c) 1982, 1986, 1989, 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
// (c) UNIX System Laboratories, Inc.
|
|
// All or some portions of this file are derived from material licensed
|
|
// to the University of California by American Telephone and Telegraph
|
|
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
|
// the permission of UNIX System Laboratories, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)signal.h 8.2 (Berkeley) 1/21/94
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1992 NeXT Computer, Inc.
|
|
//
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
type sig_atomic_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/signal.h:39:13 */
|
|
|
|
// Language spec sez we must list exactly one parameter, even though we
|
|
// actually supply three. Ugh!
|
|
// SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h>
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2017 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// @OSF_COPYRIGHT@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
|
|
// i386 is the structure that is exported to user threads for
|
|
// use in status/mutate calls. This structure should never change.
|
|
//
|
|
|
|
type __darwin_i386_thread_state = struct {
|
|
__eax uint32
|
|
__ebx uint32
|
|
__ecx uint32
|
|
__edx uint32
|
|
__edi uint32
|
|
__esi uint32
|
|
__ebp uint32
|
|
__esp uint32
|
|
__ss uint32
|
|
__eflags uint32
|
|
__eip uint32
|
|
__cs uint32
|
|
__ds uint32
|
|
__es uint32
|
|
__fs uint32
|
|
__gs uint32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:46:1 */
|
|
|
|
// This structure should be double-word aligned for performance
|
|
|
|
type __darwin_fp_control = struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:92:1 */
|
|
|
|
// Status word.
|
|
|
|
type __darwin_fp_status = struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:150:1 */
|
|
|
|
// defn of 80bit x87 FPU or MMX register
|
|
|
|
type __darwin_mmst_reg = struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:194:1 */
|
|
|
|
// defn of 128 bit XMM regs
|
|
|
|
type __darwin_xmm_reg = struct{ __xmm_reg [16]int8 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:213:1 */
|
|
|
|
// defn of 256 bit YMM regs
|
|
|
|
type __darwin_ymm_reg = struct{ __ymm_reg [32]int8 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:229:1 */
|
|
|
|
// defn of 512 bit ZMM regs
|
|
|
|
type __darwin_zmm_reg = struct{ __zmm_reg [64]int8 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:245:1 */
|
|
|
|
type __darwin_opmask_reg = struct{ __opmask_reg [8]int8 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:259:1 */
|
|
|
|
// Floating point state.
|
|
|
|
type __darwin_i386_float_state = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:281:1 */
|
|
|
|
type __darwin_i386_avx_state = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:318:1 */
|
|
|
|
type __darwin_i386_avx512_state = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_k0 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k1 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k2 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k3 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k4 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k5 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k6 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k7 struct{ __opmask_reg [8]int8 }
|
|
__fpu_zmmh0 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh1 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh2 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh3 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh4 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh5 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh6 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh7 struct{ __ymm_reg [32]int8 }
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:364:1 */
|
|
|
|
type __darwin_i386_exception_state = struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:575:1 */
|
|
|
|
type __darwin_x86_debug_state32 = struct {
|
|
__dr0 uint32
|
|
__dr1 uint32
|
|
__dr2 uint32
|
|
__dr3 uint32
|
|
__dr4 uint32
|
|
__dr5 uint32
|
|
__dr6 uint32
|
|
__dr7 uint32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:595:1 */
|
|
|
|
type __x86_pagein_state = struct{ __pagein_error int32 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:622:1 */
|
|
|
|
// 64 bit versions of the above
|
|
|
|
type __darwin_x86_thread_state64 = struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:633:1 */
|
|
|
|
// 64 bit versions of the above (complete)
|
|
|
|
type __darwin_x86_thread_full_state64 = struct {
|
|
__ss64 struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__ds uint64
|
|
__es uint64
|
|
__ss uint64
|
|
__gsbase uint64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:691:1 */
|
|
|
|
type __darwin_x86_float_state64 = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:714:1 */
|
|
|
|
type __darwin_x86_avx_state64 = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:765:1 */
|
|
|
|
type __darwin_x86_avx512_state64 = struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_k0 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k1 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k2 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k3 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k4 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k5 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k6 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k7 struct{ __opmask_reg [8]int8 }
|
|
__fpu_zmmh0 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh1 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh2 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh3 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh4 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh5 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh6 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh7 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh8 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh9 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh10 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh11 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh12 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh13 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh14 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh15 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmm16 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm17 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm18 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm19 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm20 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm21 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm22 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm23 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm24 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm25 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm26 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm27 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm28 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm29 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm30 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm31 struct{ __zmm_reg [64]int8 }
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:833:1 */
|
|
|
|
type __darwin_x86_exception_state64 = struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:1172:1 */
|
|
|
|
type __darwin_x86_debug_state64 = struct {
|
|
__dr0 uint64
|
|
__dr1 uint64
|
|
__dr2 uint64
|
|
__dr3 uint64
|
|
__dr4 uint64
|
|
__dr5 uint64
|
|
__dr6 uint64
|
|
__dr7 uint64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:1192:1 */
|
|
|
|
type __darwin_x86_cpmu_state64 = struct{ __ctrs [16]uint64 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/i386/_structs.h:1220:1 */
|
|
|
|
type __darwin_mcontext32 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint32
|
|
}
|
|
__ss struct {
|
|
__eax uint32
|
|
__ebx uint32
|
|
__ecx uint32
|
|
__edx uint32
|
|
__edi uint32
|
|
__esi uint32
|
|
__ebp uint32
|
|
__esp uint32
|
|
__ss uint32
|
|
__eflags uint32
|
|
__eip uint32
|
|
__cs uint32
|
|
__ds uint32
|
|
__es uint32
|
|
__fs uint32
|
|
__gs uint32
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
}
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:39:1 */
|
|
|
|
type __darwin_mcontext_avx32 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint32
|
|
}
|
|
__ss struct {
|
|
__eax uint32
|
|
__ebx uint32
|
|
__ecx uint32
|
|
__edx uint32
|
|
__edi uint32
|
|
__esi uint32
|
|
__ebp uint32
|
|
__esp uint32
|
|
__ss uint32
|
|
__eflags uint32
|
|
__eip uint32
|
|
__cs uint32
|
|
__ds uint32
|
|
__es uint32
|
|
__fs uint32
|
|
__gs uint32
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
}
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:47:1 */
|
|
|
|
type __darwin_mcontext_avx512_32 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint32
|
|
}
|
|
__ss struct {
|
|
__eax uint32
|
|
__ebx uint32
|
|
__ecx uint32
|
|
__edx uint32
|
|
__edi uint32
|
|
__esi uint32
|
|
__ebp uint32
|
|
__esp uint32
|
|
__ss uint32
|
|
__eflags uint32
|
|
__eip uint32
|
|
__cs uint32
|
|
__ds uint32
|
|
__es uint32
|
|
__fs uint32
|
|
__gs uint32
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [224]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_k0 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k1 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k2 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k3 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k4 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k5 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k6 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k7 struct{ __opmask_reg [8]int8 }
|
|
__fpu_zmmh0 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh1 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh2 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh3 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh4 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh5 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh6 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh7 struct{ __ymm_reg [32]int8 }
|
|
}
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:56:1 */
|
|
|
|
type __darwin_mcontext64 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:97:1 */
|
|
|
|
type __darwin_mcontext64_full = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__ss64 struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__ds uint64
|
|
__es uint64
|
|
__ss uint64
|
|
__gsbase uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:105:1 */
|
|
|
|
type __darwin_mcontext_avx64 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:113:1 */
|
|
|
|
type __darwin_mcontext_avx64_full = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__ss64 struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__ds uint64
|
|
__es uint64
|
|
__ss uint64
|
|
__gsbase uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:121:1 */
|
|
|
|
type __darwin_mcontext_avx512_64 = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_k0 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k1 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k2 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k3 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k4 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k5 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k6 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k7 struct{ __opmask_reg [8]int8 }
|
|
__fpu_zmmh0 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh1 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh2 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh3 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh4 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh5 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh6 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh7 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh8 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh9 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh10 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh11 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh12 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh13 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh14 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh15 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmm16 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm17 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm18 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm19 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm20 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm21 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm22 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm23 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm24 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm25 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm26 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm27 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm28 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm29 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm30 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm31 struct{ __zmm_reg [64]int8 }
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:130:1 */
|
|
|
|
type __darwin_mcontext_avx512_64_full = struct {
|
|
__es struct {
|
|
__trapno uint16
|
|
__cpu uint16
|
|
__err uint32
|
|
__faultvaddr uint64
|
|
}
|
|
__ss struct {
|
|
__ss64 struct {
|
|
__rax uint64
|
|
__rbx uint64
|
|
__rcx uint64
|
|
__rdx uint64
|
|
__rdi uint64
|
|
__rsi uint64
|
|
__rbp uint64
|
|
__rsp uint64
|
|
__r8 uint64
|
|
__r9 uint64
|
|
__r10 uint64
|
|
__r11 uint64
|
|
__r12 uint64
|
|
__r13 uint64
|
|
__r14 uint64
|
|
__r15 uint64
|
|
__rip uint64
|
|
__rflags uint64
|
|
__cs uint64
|
|
__fs uint64
|
|
__gs uint64
|
|
}
|
|
__ds uint64
|
|
__es uint64
|
|
__ss uint64
|
|
__gsbase uint64
|
|
}
|
|
__fs struct {
|
|
__fpu_reserved [2]int32
|
|
__fpu_fcw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
|
|
}
|
|
__fpu_fsw struct {
|
|
_ [0]uint16
|
|
__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
|
|
}
|
|
__fpu_ftw uint8
|
|
__fpu_rsrv1 uint8
|
|
__fpu_fop uint16
|
|
__fpu_ip uint32
|
|
__fpu_cs uint16
|
|
__fpu_rsrv2 uint16
|
|
__fpu_dp uint32
|
|
__fpu_ds uint16
|
|
__fpu_rsrv3 uint16
|
|
__fpu_mxcsr uint32
|
|
__fpu_mxcsrmask uint32
|
|
__fpu_stmm0 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm1 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm2 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm3 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm4 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm5 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm6 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_stmm7 struct {
|
|
__mmst_reg [10]int8
|
|
__mmst_rsrv [6]int8
|
|
}
|
|
__fpu_xmm0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_xmm15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_rsrv4 [96]int8
|
|
__fpu_reserved1 int32
|
|
__avx_reserved1 [64]int8
|
|
__fpu_ymmh0 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh1 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh2 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh3 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh4 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh5 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh6 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh7 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh8 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh9 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh10 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh11 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh12 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh13 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh14 struct{ __xmm_reg [16]int8 }
|
|
__fpu_ymmh15 struct{ __xmm_reg [16]int8 }
|
|
__fpu_k0 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k1 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k2 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k3 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k4 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k5 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k6 struct{ __opmask_reg [8]int8 }
|
|
__fpu_k7 struct{ __opmask_reg [8]int8 }
|
|
__fpu_zmmh0 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh1 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh2 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh3 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh4 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh5 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh6 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh7 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh8 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh9 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh10 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh11 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh12 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh13 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh14 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmmh15 struct{ __ymm_reg [32]int8 }
|
|
__fpu_zmm16 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm17 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm18 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm19 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm20 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm21 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm22 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm23 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm24 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm25 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm26 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm27 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm28 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm29 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm30 struct{ __zmm_reg [64]int8 }
|
|
__fpu_zmm31 struct{ __zmm_reg [64]int8 }
|
|
}
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:138:1 */
|
|
|
|
type mcontext_t = uintptr /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_mcontext.h:204:33 */
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type pthread_attr_t = _opaque_pthread_attr_t /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_pthread/_pthread_attr_t.h:31:33 */
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Structure used in sigaltstack call.
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
|
|
type __darwin_sigaltstack = struct {
|
|
ss_sp uintptr
|
|
ss_size uint64
|
|
ss_flags int32
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_sigaltstack.h:42:1 */
|
|
|
|
type stack_t = __darwin_sigaltstack /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_sigaltstack.h:48:33 */ // [???] signal stack
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type __darwin_ucontext = struct {
|
|
uc_onstack int32
|
|
uc_sigmask uint32
|
|
uc_stack struct {
|
|
ss_sp uintptr
|
|
ss_size uint64
|
|
ss_flags int32
|
|
_ [4]byte
|
|
}
|
|
uc_link uintptr
|
|
uc_mcsize uint64
|
|
uc_mcontext uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ucontext.h:42:1 */
|
|
|
|
// user context
|
|
type ucontext_t = __darwin_ucontext /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ucontext.h:56:33 */ // [???] user context
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type sigset_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_sigset_t.h:31:41 */
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type uid_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uid_t.h:31:31 */
|
|
|
|
type sigval = struct {
|
|
_ [0]uint64
|
|
sival_int int32
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:158:1 */
|
|
|
|
type sigevent = struct {
|
|
sigev_notify int32
|
|
sigev_signo int32
|
|
sigev_value struct {
|
|
_ [0]uint64
|
|
sival_int int32
|
|
_ [4]byte
|
|
}
|
|
sigev_notify_function uintptr
|
|
sigev_notify_attributes uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:168:1 */
|
|
|
|
type __siginfo = struct {
|
|
si_signo int32
|
|
si_errno int32
|
|
si_code int32
|
|
si_pid pid_t
|
|
si_uid uid_t
|
|
si_status int32
|
|
si_addr uintptr
|
|
si_value struct {
|
|
_ [0]uint64
|
|
sival_int int32
|
|
_ [4]byte
|
|
}
|
|
si_band int64
|
|
__pad [7]uint64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:177:9 */
|
|
|
|
type siginfo_t = __siginfo /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:188:3 */
|
|
|
|
// When the signal is SIGILL or SIGFPE, si_addr contains the address of
|
|
// the faulting instruction.
|
|
// When the signal is SIGSEGV or SIGBUS, si_addr contains the address of
|
|
// the faulting memory reference. Although for x86 there are cases of SIGSEGV
|
|
// for which si_addr cannot be determined and is NULL.
|
|
// If the signal is SIGCHLD, the si_pid field will contain the child process ID,
|
|
// si_status contains the exit value or signal and
|
|
// si_uid contains the real user ID of the process that sent the signal.
|
|
|
|
// Values for si_code
|
|
|
|
// Codes for SIGILL
|
|
|
|
// Codes for SIGFPE
|
|
|
|
// Codes for SIGSEGV
|
|
|
|
// Codes for SIGBUS
|
|
|
|
// Codes for SIGTRAP
|
|
|
|
// Codes for SIGCHLD
|
|
|
|
// Codes for SIGPOLL
|
|
|
|
// union for signal handlers
|
|
type __sigaction_u = struct{ __sa_handler uintptr } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:269:1 */
|
|
|
|
// Signal vector template for Kernel user boundary
|
|
type __sigaction = struct {
|
|
__sigaction_u struct{ __sa_handler uintptr }
|
|
sa_tramp uintptr
|
|
sa_mask sigset_t
|
|
sa_flags int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:276:1 */
|
|
|
|
// Signal vector "template" used in sigaction call.
|
|
type sigaction = struct {
|
|
__sigaction_u struct{ __sa_handler uintptr }
|
|
sa_mask sigset_t
|
|
sa_flags int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:286:1 */
|
|
|
|
// if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler.
|
|
|
|
// This will provide 64bit register set in a 32bit user address space
|
|
|
|
// the following are the only bits we support from user space, the
|
|
// rest are for kernel use only.
|
|
|
|
// Flags for sigprocmask:
|
|
|
|
// POSIX 1003.1b required values.
|
|
|
|
type sig_t = uintptr /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:331:14 */ // type of signal function
|
|
|
|
// Structure used in sigaltstack call.
|
|
|
|
// 4.3 compatibility:
|
|
// Signal vector "template" used in sigvec call.
|
|
type sigvec = struct {
|
|
sv_handler uintptr
|
|
sv_mask int32
|
|
sv_flags int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:348:1 */
|
|
|
|
// Structure used in sigstack call.
|
|
type sigstack = struct {
|
|
ss_sp uintptr
|
|
ss_onstack int32
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:367:1 */
|
|
|
|
type uint64_t = uint64 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:98:25 */
|
|
|
|
type int_least64_t = int64_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:110:25 */
|
|
type uint_least64_t = uint64_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:111:26 */
|
|
type int_fast64_t = int64_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:112:25 */
|
|
type uint_fast64_t = uint64_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:113:26 */
|
|
|
|
type uint32_t = uint32 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:172:25 */
|
|
|
|
type int_least32_t = int32_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:184:25 */
|
|
type uint_least32_t = uint32_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:185:26 */
|
|
type int_fast32_t = int32_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:186:25 */
|
|
type uint_fast32_t = uint32_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:187:26 */
|
|
type uint16_t = uint16 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:207:25 */
|
|
|
|
type int_least16_t = int16_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:215:25 */
|
|
type uint_least16_t = uint16_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:216:26 */
|
|
type int_fast16_t = int16_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:217:25 */
|
|
type uint_fast16_t = uint16_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:218:26 */
|
|
type uint8_t = uint8 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:226:24 */
|
|
|
|
type int_least8_t = int8_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:232:24 */
|
|
type uint_least8_t = uint8_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:233:25 */
|
|
type int_fast8_t = int8_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:234:24 */
|
|
type uint_fast8_t = uint8_t /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:235:25 */
|
|
|
|
// prevent glibc sys/types.h from defining conflicting types
|
|
|
|
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
|
|
|
// C99 7.18.1.5 Greatest-width integer types.
|
|
type intmax_t = int64 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:262:26 */
|
|
type uintmax_t = uint64 /* /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include/stdint.h:263:26 */
|
|
|
|
// C99 7.18.4 Macros for minimum-width integer constants.
|
|
//
|
|
// The standard requires that integer constant macros be defined for all the
|
|
// minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
|
|
// types are required, the corresponding integer constant macros are defined
|
|
// here. This implementation also defines minimum-width types for every other
|
|
// integer width that the target implements, so corresponding macros are
|
|
// defined below, too.
|
|
//
|
|
// These macros are defined using the same successive-shrinking approach as
|
|
// the type definitions above. It is likewise important that macros are defined
|
|
// in order of decending width.
|
|
//
|
|
// Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
|
|
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
|
|
|
// C99 7.18.2.1 Limits of exact-width integer types.
|
|
// C99 7.18.2.2 Limits of minimum-width integer types.
|
|
// C99 7.18.2.3 Limits of fastest minimum-width integer types.
|
|
//
|
|
// The presence of limit macros are completely optional in C99. This
|
|
// implementation defines limits for all of the types (exact- and
|
|
// minimum-width) that it defines above, using the limits of the minimum-width
|
|
// type for any types that do not have exact-width representations.
|
|
//
|
|
// As in the type definitions, this section takes an approach of
|
|
// successive-shrinking to determine which limits to use for the standard (8,
|
|
// 16, 32, 64) bit widths when they don't have exact representations. It is
|
|
// therefore important that the definitions be kept in order of decending
|
|
// widths.
|
|
//
|
|
// Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
|
|
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
|
|
|
// Some utility macros
|
|
|
|
// C99 7.18.2.4 Limits of integer types capable of holding object pointers.
|
|
// C99 7.18.3 Limits of other integer types.
|
|
|
|
// ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
|
|
// is enabled.
|
|
|
|
// C99 7.18.2.5 Limits of greatest-width integer types.
|
|
|
|
// C99 7.18.3 Limits of other integer types.
|
|
|
|
// 7.18.4.2 Macros for greatest-width integer constants.
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// [XSI] The timeval structure shall be defined as described in
|
|
// <sys/time.h>
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type timeval = struct {
|
|
tv_sec int64
|
|
tv_usec int32
|
|
_ [4]byte
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_timeval.h:34:1 */
|
|
|
|
// The id_t type shall be defined as described in <sys/types.h>
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Resource limit type (low 63 bits, excluding the sign bit)
|
|
type rlim_t = uint64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:89:25 */
|
|
|
|
// ****
|
|
//
|
|
// PRIORITY
|
|
|
|
// Possible values of the first parameter to getpriority()/setpriority(),
|
|
// used to indicate the type of the second parameter.
|
|
|
|
// Range limitations for the value of the third parameter to setpriority().
|
|
|
|
// use PRIO_DARWIN_BG to set the current thread into "background" state
|
|
// which lowers CPU, disk IO, and networking priorites until thread terminates
|
|
// or "background" state is revoked
|
|
|
|
// use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to
|
|
// the GPU. (deprecated)
|
|
|
|
// ****
|
|
//
|
|
// RESOURCE USAGE
|
|
|
|
// Possible values of the first parameter to getrusage(), used to indicate
|
|
// the scope of the information to be returned.
|
|
|
|
// A structure representing an accounting of resource utilization. The
|
|
// address of an instance of this structure is the second parameter to
|
|
// getrusage().
|
|
//
|
|
// Note: All values other than ru_utime and ru_stime are implementaiton
|
|
// defined and subject to change in a future release. Their use
|
|
// is discouraged for standards compliant programs.
|
|
type rusage = struct {
|
|
ru_utime struct {
|
|
tv_sec int64
|
|
tv_usec int32
|
|
_ [4]byte
|
|
}
|
|
ru_stime struct {
|
|
tv_sec int64
|
|
tv_usec int32
|
|
_ [4]byte
|
|
}
|
|
ru_maxrss int64
|
|
ru_ixrss int64
|
|
ru_idrss int64
|
|
ru_isrss int64
|
|
ru_minflt int64
|
|
ru_majflt int64
|
|
ru_nswap int64
|
|
ru_inblock int64
|
|
ru_oublock int64
|
|
ru_msgsnd int64
|
|
ru_msgrcv int64
|
|
ru_nsignals int64
|
|
ru_nvcsw int64
|
|
ru_nivcsw int64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:152:1 */
|
|
|
|
// Flavors for proc_pid_rusage().
|
|
|
|
type rusage_info_t = uintptr /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:193:14 */
|
|
|
|
type rusage_info_v0 = struct {
|
|
ri_uuid [16]uint8_t
|
|
ri_user_time uint64_t
|
|
ri_system_time uint64_t
|
|
ri_pkg_idle_wkups uint64_t
|
|
ri_interrupt_wkups uint64_t
|
|
ri_pageins uint64_t
|
|
ri_wired_size uint64_t
|
|
ri_resident_size uint64_t
|
|
ri_phys_footprint uint64_t
|
|
ri_proc_start_abstime uint64_t
|
|
ri_proc_exit_abstime uint64_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:195:1 */
|
|
|
|
type rusage_info_v1 = struct {
|
|
ri_uuid [16]uint8_t
|
|
ri_user_time uint64_t
|
|
ri_system_time uint64_t
|
|
ri_pkg_idle_wkups uint64_t
|
|
ri_interrupt_wkups uint64_t
|
|
ri_pageins uint64_t
|
|
ri_wired_size uint64_t
|
|
ri_resident_size uint64_t
|
|
ri_phys_footprint uint64_t
|
|
ri_proc_start_abstime uint64_t
|
|
ri_proc_exit_abstime uint64_t
|
|
ri_child_user_time uint64_t
|
|
ri_child_system_time uint64_t
|
|
ri_child_pkg_idle_wkups uint64_t
|
|
ri_child_interrupt_wkups uint64_t
|
|
ri_child_pageins uint64_t
|
|
ri_child_elapsed_abstime uint64_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:209:1 */
|
|
|
|
type rusage_info_v2 = struct {
|
|
ri_uuid [16]uint8_t
|
|
ri_user_time uint64_t
|
|
ri_system_time uint64_t
|
|
ri_pkg_idle_wkups uint64_t
|
|
ri_interrupt_wkups uint64_t
|
|
ri_pageins uint64_t
|
|
ri_wired_size uint64_t
|
|
ri_resident_size uint64_t
|
|
ri_phys_footprint uint64_t
|
|
ri_proc_start_abstime uint64_t
|
|
ri_proc_exit_abstime uint64_t
|
|
ri_child_user_time uint64_t
|
|
ri_child_system_time uint64_t
|
|
ri_child_pkg_idle_wkups uint64_t
|
|
ri_child_interrupt_wkups uint64_t
|
|
ri_child_pageins uint64_t
|
|
ri_child_elapsed_abstime uint64_t
|
|
ri_diskio_bytesread uint64_t
|
|
ri_diskio_byteswritten uint64_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:229:1 */
|
|
|
|
type rusage_info_v3 = struct {
|
|
ri_uuid [16]uint8_t
|
|
ri_user_time uint64_t
|
|
ri_system_time uint64_t
|
|
ri_pkg_idle_wkups uint64_t
|
|
ri_interrupt_wkups uint64_t
|
|
ri_pageins uint64_t
|
|
ri_wired_size uint64_t
|
|
ri_resident_size uint64_t
|
|
ri_phys_footprint uint64_t
|
|
ri_proc_start_abstime uint64_t
|
|
ri_proc_exit_abstime uint64_t
|
|
ri_child_user_time uint64_t
|
|
ri_child_system_time uint64_t
|
|
ri_child_pkg_idle_wkups uint64_t
|
|
ri_child_interrupt_wkups uint64_t
|
|
ri_child_pageins uint64_t
|
|
ri_child_elapsed_abstime uint64_t
|
|
ri_diskio_bytesread uint64_t
|
|
ri_diskio_byteswritten uint64_t
|
|
ri_cpu_time_qos_default uint64_t
|
|
ri_cpu_time_qos_maintenance uint64_t
|
|
ri_cpu_time_qos_background uint64_t
|
|
ri_cpu_time_qos_utility uint64_t
|
|
ri_cpu_time_qos_legacy uint64_t
|
|
ri_cpu_time_qos_user_initiated uint64_t
|
|
ri_cpu_time_qos_user_interactive uint64_t
|
|
ri_billed_system_time uint64_t
|
|
ri_serviced_system_time uint64_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:251:1 */
|
|
|
|
type rusage_info_v4 = struct {
|
|
ri_uuid [16]uint8_t
|
|
ri_user_time uint64_t
|
|
ri_system_time uint64_t
|
|
ri_pkg_idle_wkups uint64_t
|
|
ri_interrupt_wkups uint64_t
|
|
ri_pageins uint64_t
|
|
ri_wired_size uint64_t
|
|
ri_resident_size uint64_t
|
|
ri_phys_footprint uint64_t
|
|
ri_proc_start_abstime uint64_t
|
|
ri_proc_exit_abstime uint64_t
|
|
ri_child_user_time uint64_t
|
|
ri_child_system_time uint64_t
|
|
ri_child_pkg_idle_wkups uint64_t
|
|
ri_child_interrupt_wkups uint64_t
|
|
ri_child_pageins uint64_t
|
|
ri_child_elapsed_abstime uint64_t
|
|
ri_diskio_bytesread uint64_t
|
|
ri_diskio_byteswritten uint64_t
|
|
ri_cpu_time_qos_default uint64_t
|
|
ri_cpu_time_qos_maintenance uint64_t
|
|
ri_cpu_time_qos_background uint64_t
|
|
ri_cpu_time_qos_utility uint64_t
|
|
ri_cpu_time_qos_legacy uint64_t
|
|
ri_cpu_time_qos_user_initiated uint64_t
|
|
ri_cpu_time_qos_user_interactive uint64_t
|
|
ri_billed_system_time uint64_t
|
|
ri_serviced_system_time uint64_t
|
|
ri_logical_writes uint64_t
|
|
ri_lifetime_max_phys_footprint uint64_t
|
|
ri_instructions uint64_t
|
|
ri_cycles uint64_t
|
|
ri_billed_energy uint64_t
|
|
ri_serviced_energy uint64_t
|
|
ri_interval_max_phys_footprint uint64_t
|
|
ri_runnable_time uint64_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:282:1 */
|
|
|
|
type rusage_info_current = rusage_info_v4 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:321:31 */
|
|
|
|
// ****
|
|
//
|
|
// RESOURCE LIMITS
|
|
|
|
// Symbolic constants for resource limits; since all limits are representable
|
|
// as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of
|
|
// RLIM_INFINITY.
|
|
|
|
// Possible values of the first parameter to getrlimit()/setrlimit(), to
|
|
// indicate for which resource the operation is being performed.
|
|
|
|
// A structure representing a resource limit. The address of an instance
|
|
// of this structure is the second parameter to getrlimit()/setrlimit().
|
|
type rlimit = struct {
|
|
rlim_cur rlim_t
|
|
rlim_max rlim_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:365:1 */
|
|
|
|
// proc_rlimit_control()
|
|
//
|
|
// Resource limit flavors
|
|
|
|
// Flags for wakeups monitor control.
|
|
|
|
// Flags for CPU usage monitor control.
|
|
|
|
// Flags for memory footprint interval tracking.
|
|
|
|
type proc_rlimit_control_wakeupmon = struct {
|
|
wm_flags uint32_t
|
|
wm_rate int32_t
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:400:1 */
|
|
|
|
// Deprecated:
|
|
// Structure of the information in the status word returned by wait4.
|
|
// If w_stopval==_WSTOPPED, then the second structure describes
|
|
// the information returned, else the first.
|
|
type wait = struct{ w_status int32 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:194:1 */
|
|
|
|
// built-in for gcc
|
|
|
|
// built-in for gcc 3
|
|
|
|
// DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
|
|
// _GCC_SIZE_T
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type ct_rune_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_ct_rune_t.h:32:28 */
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type rune_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_rune_t.h:31:25 */
|
|
|
|
type div_t = struct {
|
|
quot int32
|
|
rem int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:86:3 */
|
|
|
|
type ldiv_t = struct {
|
|
quot int64
|
|
rem int64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:91:3 */
|
|
|
|
type lldiv_t = struct {
|
|
quot int64
|
|
rem int64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:97:3 */
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type dev_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_dev_t.h:31:31 */ // device number
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type mode_t = uint16 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_mode_t.h:31:33 */
|
|
|
|
// C11 Annex K
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
type rsize_t = uint64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_rsize_t.h:31:32 */
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type errno_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_errno_t.h:30:32 */
|
|
|
|
// Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// -
|
|
// Copyright (c) 1990, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)string.h 8.1 (Berkeley) 6/2/93
|
|
|
|
// Security checking functions.
|
|
// Copyright (c) 2017 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// bcopy and bzero
|
|
|
|
// Removed in Issue 7
|
|
|
|
// void bcopy(const void *src, void *dst, size_t len)
|
|
|
|
// void bzero(void *s, size_t n)
|
|
|
|
// Security checking functions.
|
|
// Copyright (c) 2007,2017 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2007, 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// <rdar://problem/12622659>
|
|
|
|
// memccpy, memcpy, mempcpy, memmove, memset, strcpy, strlcpy, stpcpy,
|
|
// strncpy, stpncpy, strcat, strlcat, and strncat
|
|
|
|
// void *memcpy(void *dst, const void *src, size_t n)
|
|
|
|
// void *memmove(void *dst, const void *src, size_t len)
|
|
|
|
// void *memset(void *b, int c, size_t len)
|
|
|
|
// char *strcpy(char *dst, const char *src)
|
|
|
|
// char *stpcpy(char *dst, const char *src)
|
|
|
|
// char *stpncpy(char *dst, const char *src, size_t n)
|
|
|
|
// char *strncpy(char *dst, const char *src, size_t n)
|
|
|
|
// char *strcat(char *s1, const char *s2)
|
|
|
|
// char *strncat(char *s1, const char *s2, size_t n)
|
|
|
|
// Copyright (c) 2000, 2005, 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1989, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
// (c) UNIX System Laboratories, Inc.
|
|
// All or some portions of this file are derived from material licensed
|
|
// to the University of California by American Telephone and Telegraph
|
|
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
|
// the permission of UNIX System Laboratories, Inc.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Paul Borman at Krystal Technologies.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)ctype.h 8.4 (Berkeley) 1/21/94
|
|
|
|
// Copyright (c) 2000, 2005, 2008 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1989, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
// (c) UNIX System Laboratories, Inc.
|
|
// All or some portions of this file are derived from material licensed
|
|
// to the University of California by American Telephone and Telegraph
|
|
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
|
// the permission of UNIX System Laboratories, Inc.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Paul Borman at Krystal Technologies.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)ctype.h 8.4 (Berkeley) 1/21/94
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// -
|
|
// Copyright (c) 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Paul Borman at Krystal Technologies.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)runetype.h 8.1 (Berkeley) 6/2/93
|
|
|
|
// Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// wchar_t is a built-in type in C++
|
|
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
type wint_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_wint_t.h:32:25 */
|
|
|
|
// The lower 8 bits of runetype[] contain the digit value of the rune.
|
|
type _RuneEntry = struct {
|
|
__min int32
|
|
__max int32
|
|
__map int32
|
|
_ [4]byte
|
|
__types uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:65:3 */
|
|
|
|
type _RuneRange = struct {
|
|
__nranges int32
|
|
_ [4]byte
|
|
__ranges uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:70:3 */
|
|
|
|
type _RuneCharClass = struct {
|
|
__name [14]int8
|
|
_ [2]byte
|
|
__mask uint32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:75:3 */
|
|
|
|
type _RuneLocale = struct {
|
|
__magic [8]int8
|
|
__encoding [32]int8
|
|
__sgetrune uintptr
|
|
__sputrune uintptr
|
|
__invalid_rune int32
|
|
__runetype [256]uint32
|
|
__maplower [256]int32
|
|
__mapupper [256]int32
|
|
_ [4]byte
|
|
__runetype_ext _RuneRange
|
|
__maplower_ext _RuneRange
|
|
__mapupper_ext _RuneRange
|
|
__variable uintptr
|
|
__variable_len int32
|
|
__ncharclasses int32
|
|
__charclasses uintptr
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/runetype.h:106:3 */
|
|
|
|
func isascii(tls *libc.TLS, _c int32) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:135:1: */
|
|
return libc.Bool32(_c&libc.CplInt32(0x7F) == 0)
|
|
}
|
|
|
|
func __istype(tls *libc.TLS, _c int32, _f uint64) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:153:1: */
|
|
return func() int32 {
|
|
if isascii(tls, _c) != 0 {
|
|
return libc.BoolInt32(!!(uint64(*(*uint32)(unsafe.Pointer(uintptr(unsafe.Pointer(&libc.X_DefaultRuneLocale)) + 60 + uintptr(_c)*4)))&_f != 0))
|
|
}
|
|
return libc.BoolInt32(!!(libc.X__maskrune(tls, _c, _f) != 0))
|
|
}()
|
|
}
|
|
|
|
func __isctype(tls *libc.TLS, _c int32, _f uint64) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:164:1: */
|
|
if _c < 0 || _c >= int32(1)<<8 {
|
|
return 0
|
|
}
|
|
return libc.BoolInt32(!!(uint64(*(*uint32)(unsafe.Pointer(uintptr(unsafe.Pointer(&libc.X_DefaultRuneLocale)) + 60 + uintptr(_c)*4)))&_f != 0))
|
|
}
|
|
|
|
// ANSI -- locale independent
|
|
func isdigit(tls *libc.TLS, _c int32) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:237:1: */
|
|
return __isctype(tls, _c, uint64(X_CTYPE_D))
|
|
}
|
|
|
|
func isspace(tls *libc.TLS, _c int32) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_ctype.h:267:1: */
|
|
return __istype(tls, _c, uint64(X_CTYPE_S))
|
|
}
|
|
|
|
// Copyright (c) 2000, 2002-2006, 2008-2010, 2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
// -
|
|
// Copyright (c) 1998-1999 Apple Computer, Inc. All Rights Reserved
|
|
// Copyright (c) 1991, 1993, 1994
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)unistd.h 8.12 (Berkeley) 4/27/95
|
|
//
|
|
// Copyright (c) 1998 Apple Compter, Inc.
|
|
// All Rights Reserved
|
|
|
|
// History:
|
|
// 7/14/99 EKN at Apple fixed getdirentriesattr from getdirentryattr
|
|
// 3/26/98 CHW at Apple added real interface to searchfs call
|
|
// 3/5/98 CHW at Apple added hfs semantic system calls headers
|
|
|
|
// Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2013 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
|
// Copyright (c) 1989, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)unistd.h 8.2 (Berkeley) 1/7/94
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Although we have saved user/group IDs, we do not use them in setuid
|
|
// as described in POSIX 1003.1, because the feature does not work for
|
|
// root. We use the saved IDs in seteuid/setegid, which are not currently
|
|
// part of the POSIX 1003.1 specification.
|
|
|
|
// execution-time symbolic constants
|
|
// may disable terminal special characters
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// access function
|
|
|
|
// Extended access functions.
|
|
// Note that we depend on these matching the definitions in sys/kauth.h,
|
|
// but with the bits shifted left by 8.
|
|
|
|
// whence values for lseek(2)
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// whence values for lseek(2)
|
|
|
|
// whence values for lseek(2); renamed by POSIX 1003.1
|
|
|
|
type accessx_descriptor = struct {
|
|
ad_name_offset uint32
|
|
ad_flags int32
|
|
ad_pad [2]int32
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/unistd.h:132:1 */
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type gid_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_gid_t.h:31:25 */
|
|
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
|
|
// _GCC_SIZE_T
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type useconds_t = uint32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_useconds_t.h:31:33 */
|
|
|
|
// Darwin extensions
|
|
|
|
// Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1992, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)select.h 8.2 (Berkeley) 1/4/94
|
|
|
|
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
|
|
// The timespec structure shall be defined as described in <time.h>
|
|
// The <sys/select.h> header shall define the timeval structure.
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Select uses bit masks of file descriptors in longs. These macros
|
|
// manipulate such bit fields (the filesystem macros use chars). The
|
|
// extra protection here is to permit application redefinition above
|
|
// the default size.
|
|
|
|
type fd_set1 = struct{ fds_bits [32]int32 } /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_fd_def.h:50:9 */
|
|
|
|
// Darwin extensions
|
|
|
|
// Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 1992, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)select.h 8.2 (Berkeley) 1/4/94
|
|
|
|
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// This code is derived from software contributed to Berkeley by
|
|
// Berkeley Software Design, Inc.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. All advertising materials mentioning features or use of this software
|
|
// must display the following acknowledgement:
|
|
// This product includes software developed by the University of
|
|
// California, Berkeley and its contributors.
|
|
// 4. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
|
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
|
|
// The timespec structure shall be defined as described in <time.h>
|
|
// The <sys/select.h> header shall define the timeval structure.
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this
|
|
// file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_LICENSE_HEADER_END@
|
|
|
|
// Select uses bit masks of file descriptors in longs. These macros
|
|
// manipulate such bit fields (the filesystem macros use chars). The
|
|
// extra protection here is to permit application redefinition above
|
|
// the default size.
|
|
|
|
type fd_set = fd_set1 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_fd_def.h:52:3 */
|
|
|
|
func __darwin_check_fd_set(tls *libc.TLS, _a int32, _b uintptr) int32 { /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_fd_def.h:58:1: */
|
|
if uintptr_t(uintptr(unsafe.Pointer(&__darwin_check_fd_set_overflow))) != uint64(0) {
|
|
return (*struct {
|
|
f func(*libc.TLS, int32, uintptr, int32) int32
|
|
})(unsafe.Pointer(&struct{ uintptr }{__darwin_check_fd_set_overflow})).f(tls, _a, _b, 0)
|
|
} else {
|
|
return 1
|
|
}
|
|
return int32(0)
|
|
}
|
|
|
|
// Use the built-in bzero function instead of the library version so that
|
|
// we do not pollute the namespace or introduce prototype warnings.
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
|
|
type timespec = struct {
|
|
tv_sec int64
|
|
tv_nsec int64
|
|
} /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_timespec.h:33:1 */
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
// The time_t and suseconds_t types shall be defined as described in
|
|
// <sys/types.h>
|
|
// The sigset_t type shall be defined as described in <signal.h>
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
|
type time_t = int64 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_time_t.h:31:33 */
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type suseconds_t = int32 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_suseconds_t.h:31:33 */
|
|
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
//
|
|
// This file contains Original Code and/or Modifications of Original Code
|
|
// as defined in and that are subject to the Apple Public Source License
|
|
// Version 2.0 (the 'License'). You may not use this file except in
|
|
// compliance with the License. The rights granted to you under the License
|
|
// may not be used to create, or enable the creation or redistribution of,
|
|
// unlawful or unlicensed copies of an Apple operating system, or to
|
|
// circumvent, violate, or enable the circumvention or violation of, any
|
|
// terms of an Apple operating system software license agreement.
|
|
//
|
|
// Please obtain a copy of the License at
|
|
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
//
|
|
// The Original Code and all software distributed under the License are
|
|
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
// Please see the License for the specific language governing rights and
|
|
// limitations under the License.
|
|
//
|
|
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
|
|
type uuid_t = [16]uint8 /* /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_uuid_t.h:31:25 */
|
|
|
|
type u64 = sqlite3_uint64 /* testdata/sqlite-src-3380500/test/speedtest1.c:68:24 */
|
|
|
|
// State structure for a Hash hash in progress
|
|
type HashContext1 = struct {
|
|
isInit uint8
|
|
i uint8
|
|
j uint8
|
|
s [256]uint8
|
|
r [32]uint8
|
|
} /* testdata/sqlite-src-3380500/test/speedtest1.c:73:9 */
|
|
|
|
// State structure for a Hash hash in progress
|
|
type HashContext = HashContext1 /* testdata/sqlite-src-3380500/test/speedtest1.c:73:28 */
|
|
|
|
// All global state is held in this structure
|
|
type Global = struct {
|
|
db uintptr
|
|
pStmt uintptr
|
|
iStart sqlite3_int64
|
|
iTotal sqlite3_int64
|
|
bWithoutRowid int32
|
|
bReprepare int32
|
|
bSqlOnly int32
|
|
bExplain int32
|
|
bVerify int32
|
|
bMemShrink int32
|
|
eTemp int32
|
|
szTest int32
|
|
nRepeat int32
|
|
doCheckpoint int32
|
|
nReserve int32
|
|
_ [4]byte
|
|
zWR uintptr
|
|
zNN uintptr
|
|
zPK uintptr
|
|
x uint32
|
|
y uint32
|
|
nResByte u64
|
|
nResult int32
|
|
zResult [3000]int8
|
|
_ [4]byte
|
|
hashFile uintptr
|
|
hash HashContext
|
|
_ [5]byte
|
|
} /* testdata/sqlite-src-3380500/test/speedtest1.c:83:8 */
|
|
|
|
// All global state is held in this structure
|
|
var g Global /* testdata/sqlite-src-3380500/test/speedtest1.c:110:3: */
|
|
|
|
// Return " TEMP" or "", as appropriate for creating a table.
|
|
func isTemp(tls *libc.TLS, N int32) uintptr { /* testdata/sqlite-src-3380500/test/speedtest1.c:114:19: */
|
|
if g.eTemp >= N {
|
|
return ts + 2263 /* " TEMP" */
|
|
}
|
|
return ts + 2269 /* "" */
|
|
}
|
|
|
|
// Print an error message and exit
|
|
func fatal_error(tls *libc.TLS, zMsg uintptr, va uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:119:13: */
|
|
var ap va_list
|
|
_ = ap
|
|
ap = va
|
|
libc.Xvfprintf(tls, libc.X__stderrp, zMsg, ap)
|
|
_ = ap
|
|
libc.Xexit(tls, 1)
|
|
}
|
|
|
|
// ***************************************************************************
|
|
//
|
|
// Hash algorithm used to verify that compilation is not miscompiled
|
|
// in such a was as to generate an incorrect result.
|
|
|
|
// Initialize a new hash. iSize determines the size of the hash
|
|
// in bits and should be one of 224, 256, 384, or 512. Or iSize
|
|
// can be zero to use the default hash size of 256 bits.
|
|
func HashInit(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:138:13: */
|
|
var k uint32
|
|
g.hash.i = uint8(0)
|
|
g.hash.j = uint8(0)
|
|
for k = uint32(0); k < uint32(256); k++ {
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(k))) = uint8(k)
|
|
}
|
|
}
|
|
|
|
// Make consecutive calls to the HashUpdate function to add new content
|
|
// to the hash
|
|
func HashUpdate(tls *libc.TLS, aData uintptr, nData uint32) { /* testdata/sqlite-src-3380500/test/speedtest1.c:149:13: */
|
|
var t uint8
|
|
var i uint8 = g.hash.i
|
|
var j uint8 = g.hash.j
|
|
var k uint32
|
|
if g.hashFile != 0 {
|
|
libc.Xfwrite(tls, aData, uint64(1), uint64(nData), g.hashFile)
|
|
}
|
|
for k = uint32(0); k < nData; k++ {
|
|
j = uint8(int32(j) + (int32(*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i)))) + int32(*(*uint8)(unsafe.Pointer(aData + uintptr(k))))))
|
|
t = *(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(j)))
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(j))) = *(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i)))
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i))) = t
|
|
i++
|
|
}
|
|
g.hash.i = i
|
|
g.hash.j = j
|
|
}
|
|
|
|
// After all content has been added, invoke HashFinal() to compute
|
|
// the final hash. The hash result is stored in g.hash.r[].
|
|
func HashFinal(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:173:13: */
|
|
var k uint32
|
|
var t uint8
|
|
var i uint8
|
|
var j uint8
|
|
i = g.hash.i
|
|
j = g.hash.j
|
|
for k = uint32(0); k < uint32(32); k++ {
|
|
i++
|
|
t = *(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i)))
|
|
j = uint8(int32(j) + int32(t))
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i))) = *(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(j)))
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(j))) = t
|
|
t = uint8(int32(t) + int32(*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(i)))))
|
|
*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 259 + uintptr(k))) = *(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 3 + uintptr(t)))
|
|
}
|
|
}
|
|
|
|
// End of the Hash hashing logic
|
|
//
|
|
|
|
// Return the value of a hexadecimal digit. Return -1 if the input
|
|
// is not a hex digit.
|
|
func hexDigitValue(tls *libc.TLS, c int8) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:197:12: */
|
|
if int32(c) >= '0' && int32(c) <= '9' {
|
|
return int32(c) - '0'
|
|
}
|
|
if int32(c) >= 'a' && int32(c) <= 'f' {
|
|
return int32(c) - 'a' + 10
|
|
}
|
|
if int32(c) >= 'A' && int32(c) <= 'F' {
|
|
return int32(c) - 'A' + 10
|
|
}
|
|
return -1
|
|
}
|
|
|
|
// Provide an alternative to sqlite3_stricmp() in older versions of
|
|
// SQLite
|
|
|
|
// Interpret zArg as an integer value, possibly with suffixes.
|
|
func integerValue(tls *libc.TLS, zArg uintptr) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:213:12: */
|
|
var v sqlite3_int64 = int64(0)
|
|
var i int32
|
|
var isNeg int32 = 0
|
|
if int32(*(*int8)(unsafe.Pointer(zArg))) == '-' {
|
|
isNeg = 1
|
|
zArg++
|
|
} else if int32(*(*int8)(unsafe.Pointer(zArg))) == '+' {
|
|
zArg++
|
|
}
|
|
if int32(*(*int8)(unsafe.Pointer(zArg))) == '0' && int32(*(*int8)(unsafe.Pointer(zArg + 1))) == 'x' {
|
|
var x int32
|
|
zArg += uintptr(2)
|
|
for libc.AssignInt32(&x, hexDigitValue(tls, *(*int8)(unsafe.Pointer(zArg)))) >= 0 {
|
|
v = v<<4 + sqlite3_int64(x)
|
|
zArg++
|
|
}
|
|
} else {
|
|
for isdigit(tls, int32(*(*int8)(unsafe.Pointer(zArg)))) != 0 {
|
|
v = v*int64(10) + sqlite3_int64(*(*int8)(unsafe.Pointer(zArg))) - int64('0')
|
|
zArg++
|
|
}
|
|
}
|
|
for i = 0; uint64(i) < uint64(unsafe.Sizeof(aMult))/uint64(unsafe.Sizeof(struct {
|
|
zSuffix uintptr
|
|
iMult int32
|
|
_ [4]byte
|
|
}{})); i++ {
|
|
if sqlite3.Xsqlite3_stricmp(tls, aMult[i].zSuffix, zArg) == 0 {
|
|
v = v * sqlite3_int64(aMult[i].iMult)
|
|
break
|
|
}
|
|
}
|
|
if v > int64(0x7fffffff) {
|
|
fatal_error(tls, ts+2270, 0)
|
|
}
|
|
return func() int32 {
|
|
if isNeg != 0 {
|
|
return int32(-v)
|
|
}
|
|
return int32(v)
|
|
}()
|
|
}
|
|
|
|
var aMult = [9]struct {
|
|
zSuffix uintptr
|
|
iMult int32
|
|
_ [4]byte
|
|
}{
|
|
{zSuffix: ts + 2307 /* "KiB" */, iMult: 1024},
|
|
{zSuffix: ts + 2311 /* "MiB" */, iMult: 1024 * 1024},
|
|
{zSuffix: ts + 2315 /* "GiB" */, iMult: 1024 * 1024 * 1024},
|
|
{zSuffix: ts + 2319 /* "KB" */, iMult: 1000},
|
|
{zSuffix: ts + 2322 /* "MB" */, iMult: 1000000},
|
|
{zSuffix: ts + 2325 /* "GB" */, iMult: 1000000000},
|
|
{zSuffix: ts + 2328 /* "K" */, iMult: 1000},
|
|
{zSuffix: ts + 2330 /* "M" */, iMult: 1000000},
|
|
{zSuffix: ts + 2332 /* "G" */, iMult: 1000000000},
|
|
} /* testdata/sqlite-src-3380500/test/speedtest1.c:215:53 */
|
|
|
|
// Return the current wall-clock time, in milliseconds
|
|
func speedtest1_timestamp(tls *libc.TLS) sqlite3_int64 { /* testdata/sqlite-src-3380500/test/speedtest1.c:258:15: */
|
|
bp := tls.Alloc(16)
|
|
defer tls.Free(16)
|
|
|
|
// var t sqlite3_int64 at bp, 8
|
|
|
|
if clockVfs == uintptr(0) {
|
|
clockVfs = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
|
|
}
|
|
if (*sqlite3_vfs)(unsafe.Pointer(clockVfs)).iVersion >= 2 && (*sqlite3_vfs)(unsafe.Pointer(clockVfs)).xCurrentTimeInt64 != uintptr(0) {
|
|
(*struct {
|
|
f func(*libc.TLS, uintptr, uintptr) int32
|
|
})(unsafe.Pointer(&struct{ uintptr }{(*sqlite3_vfs)(unsafe.Pointer(clockVfs)).xCurrentTimeInt64})).f(tls, clockVfs, bp /* &t */)
|
|
} else {
|
|
// var r float64 at bp+8, 8
|
|
|
|
(*struct {
|
|
f func(*libc.TLS, uintptr, uintptr) int32
|
|
})(unsafe.Pointer(&struct{ uintptr }{(*sqlite3_vfs)(unsafe.Pointer(clockVfs)).xCurrentTime})).f(tls, clockVfs, bp+8 /* &r */)
|
|
*(*sqlite3_int64)(unsafe.Pointer(bp /* t */)) = libc.Int64FromFloat64(*(*float64)(unsafe.Pointer(bp + 8)) * 86400000.0)
|
|
}
|
|
return *(*sqlite3_int64)(unsafe.Pointer(bp /* t */))
|
|
}
|
|
|
|
var clockVfs uintptr = uintptr(0) /* testdata/sqlite-src-3380500/test/speedtest1.c:262:22 */
|
|
|
|
// Return a pseudo-random unsigned integer
|
|
func speedtest1_random(tls *libc.TLS) uint32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:280:14: */
|
|
g.x = g.x>>1 ^ (uint32(1)+^(g.x&uint32(1)))&0xd0000001
|
|
g.y = g.y*uint32(1103515245) + uint32(12345)
|
|
return g.x ^ g.y
|
|
}
|
|
|
|
// Map the value in within the range of 1...limit into another
|
|
// number in a way that is chatic and invertable.
|
|
func swizzle(tls *libc.TLS, in uint32, limit uint32) uint32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:289:10: */
|
|
var out uint32 = uint32(0)
|
|
for limit != 0 {
|
|
out = out<<1 | in&uint32(1)
|
|
in >>= 1
|
|
limit >>= 1
|
|
}
|
|
return out
|
|
}
|
|
|
|
// Round up a number so that it is a power of two minus one
|
|
func roundup_allones(tls *libc.TLS, limit uint32) uint32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:301:10: */
|
|
var m uint32 = uint32(1)
|
|
for m < limit {
|
|
m = m<<1 + uint32(1)
|
|
}
|
|
return m
|
|
}
|
|
|
|
// The speedtest1_numbername procedure below converts its argment (an integer)
|
|
// into a string which is the English-language name for that number.
|
|
// The returned string should be freed with sqlite3_free().
|
|
//
|
|
// Example:
|
|
//
|
|
// speedtest1_numbername(123) -> "one hundred twenty three"
|
|
func speedtest1_numbername(tls *libc.TLS, n uint32, zOut uintptr, nOut int32) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:315:5: */
|
|
bp := tls.Alloc(24)
|
|
defer tls.Free(24)
|
|
|
|
var i int32 = 0
|
|
|
|
if n >= uint32(1000000000) {
|
|
i = i + speedtest1_numbername(tls, n/uint32(1000000000), zOut+uintptr(i), nOut-i)
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2334, 0)
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
n = n % uint32(1000000000)
|
|
}
|
|
if n >= uint32(1000000) {
|
|
if i != 0 && i < nOut-1 {
|
|
*(*int8)(unsafe.Pointer(zOut + uintptr(libc.PostIncInt32(&i, 1)))) = int8(' ')
|
|
}
|
|
i = i + speedtest1_numbername(tls, n/uint32(1000000), zOut+uintptr(i), nOut-i)
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2343, 0)
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
n = n % uint32(1000000)
|
|
}
|
|
if n >= uint32(1000) {
|
|
if i != 0 && i < nOut-1 {
|
|
*(*int8)(unsafe.Pointer(zOut + uintptr(libc.PostIncInt32(&i, 1)))) = int8(' ')
|
|
}
|
|
i = i + speedtest1_numbername(tls, n/uint32(1000), zOut+uintptr(i), nOut-i)
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2352, 0)
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
n = n % uint32(1000)
|
|
}
|
|
if n >= uint32(100) {
|
|
if i != 0 && i < nOut-1 {
|
|
*(*int8)(unsafe.Pointer(zOut + uintptr(libc.PostIncInt32(&i, 1)))) = int8(' ')
|
|
}
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2362, libc.VaList(bp, ones[n/uint32(100)]))
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
n = n % uint32(100)
|
|
}
|
|
if n >= uint32(20) {
|
|
if i != 0 && i < nOut-1 {
|
|
*(*int8)(unsafe.Pointer(zOut + uintptr(libc.PostIncInt32(&i, 1)))) = int8(' ')
|
|
}
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2373, libc.VaList(bp+8, tens[n/uint32(10)]))
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
n = n % uint32(10)
|
|
}
|
|
if n > uint32(0) {
|
|
if i != 0 && i < nOut-1 {
|
|
*(*int8)(unsafe.Pointer(zOut + uintptr(libc.PostIncInt32(&i, 1)))) = int8(' ')
|
|
}
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2373, libc.VaList(bp+16, ones[n]))
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
}
|
|
if i == 0 {
|
|
sqlite3.Xsqlite3_snprintf(tls, nOut-i, zOut+uintptr(i), ts+2376, 0)
|
|
i = i + int32(libc.Xstrlen(tls, zOut+uintptr(i)))
|
|
}
|
|
return i
|
|
}
|
|
|
|
var ones = [20]uintptr{ts + 2376, ts + 2381, ts + 2385, ts + 2389, ts + 2395, ts + 2400,
|
|
ts + 2405, ts + 2409, ts + 2415, ts + 2421, ts + 2426, ts + 2430, ts + 2437,
|
|
ts + 2444, ts + 2453, ts + 2462, ts + 2470, ts + 2478,
|
|
ts + 2488, ts + 2497} /* testdata/sqlite-src-3380500/test/speedtest1.c:316:21 */
|
|
var tens = [10]uintptr{ts + 2269, ts + 2426, ts + 2506, ts + 2513, ts + 2520,
|
|
ts + 2526, ts + 2532, ts + 2538, ts + 2546, ts + 2553} /* testdata/sqlite-src-3380500/test/speedtest1.c:320:21 */
|
|
|
|
// Start a new test case
|
|
var zDots = *(*[72]int8)(unsafe.Pointer(ts + 2560)) /* testdata/sqlite-src-3380500/test/speedtest1.c:371:19 */
|
|
|
|
func speedtest1_begin_test(tls *libc.TLS, iTestNum int32, zTestName uintptr, va uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:373:6: */
|
|
bp := tls.Alloc(64)
|
|
defer tls.Free(64)
|
|
|
|
var n int32 = int32(libc.Xstrlen(tls, zTestName))
|
|
var zName uintptr
|
|
var ap va_list
|
|
_ = ap
|
|
ap = va
|
|
zName = sqlite3.Xsqlite3_vmprintf(tls, zTestName, ap)
|
|
_ = ap
|
|
n = int32(libc.Xstrlen(tls, zName))
|
|
if n > NAMEWIDTH {
|
|
*(*int8)(unsafe.Pointer(zName + 60)) = int8(0)
|
|
n = NAMEWIDTH
|
|
}
|
|
if g.bSqlOnly != 0 {
|
|
libc.Xprintf(tls, ts+2632, libc.VaList(bp, iTestNum, zName, NAMEWIDTH-n, uintptr(unsafe.Pointer(&zDots))))
|
|
} else {
|
|
libc.Xprintf(tls, ts+2652, libc.VaList(bp+32, iTestNum, zName, NAMEWIDTH-n, uintptr(unsafe.Pointer(&zDots))))
|
|
libc.Xfflush(tls, libc.X__stdoutp)
|
|
}
|
|
sqlite3.Xsqlite3_free(tls, zName)
|
|
g.nResult = 0
|
|
g.iStart = speedtest1_timestamp(tls)
|
|
g.x = 0xad131d0b
|
|
g.y = uint32(0x44f9eac8)
|
|
}
|
|
|
|
// Complete a test case
|
|
func speedtest1_end_test(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:402:6: */
|
|
bp := tls.Alloc(16)
|
|
defer tls.Free(16)
|
|
|
|
var iElapseTime sqlite3_int64 = speedtest1_timestamp(tls) - g.iStart
|
|
if g.doCheckpoint != 0 {
|
|
speedtest1_exec(tls, ts+2666, 0)
|
|
}
|
|
if !(g.bSqlOnly != 0) {
|
|
*(*sqlite3_int64)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 24)) += iElapseTime
|
|
libc.Xprintf(tls, ts+2689, libc.VaList(bp, int32(iElapseTime/int64(1000)), int32(iElapseTime%int64(1000))))
|
|
}
|
|
if g.pStmt != 0 {
|
|
sqlite3.Xsqlite3_finalize(tls, g.pStmt)
|
|
g.pStmt = uintptr(0)
|
|
}
|
|
}
|
|
|
|
// Report end of testing
|
|
func speedtest1_final(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:416:6: */
|
|
bp := tls.Alloc(48)
|
|
defer tls.Free(48)
|
|
|
|
if !(g.bSqlOnly != 0) {
|
|
libc.Xprintf(tls, ts+2700, libc.VaList(bp, NAMEWIDTH-5, uintptr(unsafe.Pointer(&zDots)),
|
|
int32(g.iTotal/int64(1000)), int32(g.iTotal%int64(1000))))
|
|
}
|
|
if g.bVerify != 0 {
|
|
var i int32
|
|
libc.Xprintf(tls, ts+2728, libc.VaList(bp+32, g.nResByte))
|
|
HashUpdate(tls, ts+2753, uint32(1))
|
|
HashFinal(tls)
|
|
for i = 0; i < 24; i++ {
|
|
libc.Xprintf(tls, ts+2755, libc.VaList(bp+40, int32(*(*uint8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 3136 + 259 + uintptr(i))))))
|
|
}
|
|
if g.hashFile != 0 && g.hashFile != libc.X__stdoutp {
|
|
libc.Xfclose(tls, g.hashFile)
|
|
}
|
|
libc.Xprintf(tls, ts+2753, 0)
|
|
}
|
|
}
|
|
|
|
// Print an SQL statement to standard output
|
|
func printSql(tls *libc.TLS, zSql uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:439:13: */
|
|
bp := tls.Alloc(32)
|
|
defer tls.Free(32)
|
|
|
|
var n int32 = int32(libc.Xstrlen(tls, zSql))
|
|
for n > 0 && (int32(*(*int8)(unsafe.Pointer(zSql + uintptr(n-1)))) == ';' || isspace(tls, int32(uint8(*(*int8)(unsafe.Pointer(zSql + uintptr(n-1)))))) != 0) {
|
|
n--
|
|
}
|
|
if g.bExplain != 0 {
|
|
libc.Xprintf(tls, ts+2760, 0)
|
|
}
|
|
libc.Xprintf(tls, ts+2769, libc.VaList(bp, n, zSql))
|
|
if g.bExplain != 0 &&
|
|
(sqlite3.Xsqlite3_strglob(tls, ts+2776, zSql) == 0 ||
|
|
sqlite3.Xsqlite3_strglob(tls, ts+2785, zSql) == 0 ||
|
|
sqlite3.Xsqlite3_strglob(tls, ts+2792, zSql) == 0) {
|
|
libc.Xprintf(tls, ts+2769, libc.VaList(bp+16, n, zSql))
|
|
}
|
|
}
|
|
|
|
// Shrink memory used, if appropriate and if the SQLite version is capable
|
|
// of doing so.
|
|
func speedtest1_shrink_memory(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:459:6: */
|
|
if g.bMemShrink != 0 {
|
|
sqlite3.Xsqlite3_db_release_memory(tls, g.db)
|
|
}
|
|
}
|
|
|
|
// Run SQL
|
|
func speedtest1_exec(tls *libc.TLS, zFormat uintptr, va uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:466:6: */
|
|
bp := tls.Alloc(32)
|
|
defer tls.Free(32)
|
|
|
|
var ap va_list
|
|
_ = ap
|
|
var zSql uintptr
|
|
ap = va
|
|
zSql = sqlite3.Xsqlite3_vmprintf(tls, zFormat, ap)
|
|
_ = ap
|
|
if g.bSqlOnly != 0 {
|
|
printSql(tls, zSql)
|
|
} else {
|
|
*(*uintptr)(unsafe.Pointer(bp + 24 /* zErrMsg */)) = uintptr(0)
|
|
var rc int32 = sqlite3.Xsqlite3_exec(tls, g.db, zSql, uintptr(0), uintptr(0), bp+24)
|
|
if *(*uintptr)(unsafe.Pointer(bp + 24)) != 0 {
|
|
fatal_error(tls, ts+2800, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 24 /* zErrMsg */)), zSql))
|
|
}
|
|
if rc != SQLITE_OK {
|
|
fatal_error(tls, ts+2818, libc.VaList(bp+16, sqlite3.Xsqlite3_errmsg(tls, g.db)))
|
|
}
|
|
}
|
|
sqlite3.Xsqlite3_free(tls, zSql)
|
|
speedtest1_shrink_memory(tls)
|
|
}
|
|
|
|
// Run SQL and return the first column of the first row as a string. The
|
|
// returned string is obtained from sqlite_malloc() and must be freed by
|
|
// the caller.
|
|
func speedtest1_once(tls *libc.TLS, zFormat uintptr, va uintptr) uintptr { /* testdata/sqlite-src-3380500/test/speedtest1.c:488:6: */
|
|
bp := tls.Alloc(24)
|
|
defer tls.Free(24)
|
|
|
|
var ap va_list
|
|
_ = ap
|
|
var zSql uintptr
|
|
// var pStmt uintptr at bp+16, 8
|
|
|
|
var zResult uintptr = uintptr(0)
|
|
ap = va
|
|
zSql = sqlite3.Xsqlite3_vmprintf(tls, zFormat, ap)
|
|
_ = ap
|
|
if g.bSqlOnly != 0 {
|
|
printSql(tls, zSql)
|
|
} else {
|
|
var rc int32 = sqlite3.Xsqlite3_prepare_v2(tls, g.db, zSql, -1, bp+16, uintptr(0))
|
|
if rc != 0 {
|
|
fatal_error(tls, ts+2834, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, g.db)))
|
|
}
|
|
if sqlite3.Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 16))) == SQLITE_ROW {
|
|
var z uintptr = sqlite3.Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* pStmt */)), 0)
|
|
if z != 0 {
|
|
zResult = sqlite3.Xsqlite3_mprintf(tls, ts+2373, libc.VaList(bp+8, z))
|
|
}
|
|
}
|
|
sqlite3.Xsqlite3_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* pStmt */)))
|
|
}
|
|
sqlite3.Xsqlite3_free(tls, zSql)
|
|
speedtest1_shrink_memory(tls)
|
|
return zResult
|
|
}
|
|
|
|
// Prepare an SQL statement
|
|
func speedtest1_prepare(tls *libc.TLS, zFormat uintptr, va uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:515:6: */
|
|
bp := tls.Alloc(8)
|
|
defer tls.Free(8)
|
|
|
|
var ap va_list
|
|
_ = ap
|
|
var zSql uintptr
|
|
ap = va
|
|
zSql = sqlite3.Xsqlite3_vmprintf(tls, zFormat, ap)
|
|
_ = ap
|
|
if g.bSqlOnly != 0 {
|
|
printSql(tls, zSql)
|
|
} else {
|
|
var rc int32
|
|
if g.pStmt != 0 {
|
|
sqlite3.Xsqlite3_finalize(tls, g.pStmt)
|
|
}
|
|
rc = sqlite3.Xsqlite3_prepare_v2(tls, g.db, zSql, -1, uintptr(unsafe.Pointer(&g))+8, uintptr(0))
|
|
if rc != 0 {
|
|
fatal_error(tls, ts+2834, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, g.db)))
|
|
}
|
|
}
|
|
sqlite3.Xsqlite3_free(tls, zSql)
|
|
}
|
|
|
|
// Run an SQL statement previously prepared
|
|
func speedtest1_run(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:535:6: */
|
|
bp := tls.Alloc(16)
|
|
defer tls.Free(16)
|
|
|
|
var i int32
|
|
var n int32
|
|
var len int32
|
|
if g.bSqlOnly != 0 {
|
|
return
|
|
}
|
|
|
|
g.nResult = 0
|
|
for sqlite3.Xsqlite3_step(tls, g.pStmt) == SQLITE_ROW {
|
|
n = sqlite3.Xsqlite3_column_count(tls, g.pStmt)
|
|
for i = 0; i < n; i++ {
|
|
var z uintptr = sqlite3.Xsqlite3_column_text(tls, g.pStmt, i)
|
|
if z == uintptr(0) {
|
|
z = ts + 2849 /* "nil" */
|
|
}
|
|
len = int32(libc.Xstrlen(tls, z))
|
|
if g.bVerify != 0 {
|
|
var eType int32 = sqlite3.Xsqlite3_column_type(tls, g.pStmt, i)
|
|
// var zPrefix [2]uint8 at bp, 2
|
|
|
|
*(*uint8)(unsafe.Pointer(bp)) = uint8('\n')
|
|
*(*uint8)(unsafe.Pointer(bp + 1)) = uint8(*(*int8)(unsafe.Pointer(ts + 2853 + uintptr(eType))))
|
|
if g.nResByte != 0 {
|
|
HashUpdate(tls, bp, uint32(2))
|
|
} else {
|
|
HashUpdate(tls, bp+uintptr(1), uint32(1))
|
|
}
|
|
if eType == SQLITE_FLOAT {
|
|
// Omit the value of floating-point results from the verification
|
|
// hash. The only thing we record is the fact that the result was
|
|
// a floating-point value.
|
|
*(*u64)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 112)) += uint64(2)
|
|
} else if eType == SQLITE_BLOB {
|
|
var nBlob int32 = sqlite3.Xsqlite3_column_bytes(tls, g.pStmt, i)
|
|
var iBlob int32
|
|
// var zChar [2]uint8 at bp+2, 2
|
|
|
|
var aBlob uintptr = sqlite3.Xsqlite3_column_blob(tls, g.pStmt, i)
|
|
for iBlob = 0; iBlob < nBlob; iBlob++ {
|
|
*(*uint8)(unsafe.Pointer(bp + 2)) = uint8(*(*int8)(unsafe.Pointer(ts + 2860 + uintptr(int32(*(*uint8)(unsafe.Pointer(aBlob + uintptr(iBlob))))>>4))))
|
|
*(*uint8)(unsafe.Pointer(bp + 2 + 1)) = uint8(*(*int8)(unsafe.Pointer(ts + 2860 + uintptr(int32(*(*uint8)(unsafe.Pointer(aBlob + uintptr(iBlob))))&15))))
|
|
HashUpdate(tls, bp+2, uint32(2))
|
|
}
|
|
*(*u64)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 112)) += u64(nBlob*2 + 2)
|
|
} else {
|
|
HashUpdate(tls, z, uint32(len))
|
|
*(*u64)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 112)) += u64(len + 2)
|
|
}
|
|
}
|
|
if uint64(g.nResult+len) < uint64(unsafe.Sizeof([3000]int8{}))-uint64(2) {
|
|
if g.nResult > 0 {
|
|
*(*int8)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 124 + uintptr(libc.PostIncInt32(&g.nResult, 1)))) = int8(' ')
|
|
}
|
|
libc.X__builtin___memcpy_chk(tls, uintptr(unsafe.Pointer(&g))+124+uintptr(g.nResult), z, uint64(len+1), libc.X__builtin_object_size(tls, uintptr(unsafe.Pointer(&g))+124+uintptr(g.nResult), 0))
|
|
*(*int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&g)) + 120)) += len
|
|
}
|
|
}
|
|
}
|
|
if g.bReprepare != 0 {
|
|
// var pNew uintptr at bp+8, 8
|
|
|
|
sqlite3.Xsqlite3_prepare_v2(tls, g.db, sqlite3.Xsqlite3_sql(tls, g.pStmt), -1, bp+8, uintptr(0))
|
|
sqlite3.Xsqlite3_finalize(tls, g.pStmt)
|
|
g.pStmt = *(*uintptr)(unsafe.Pointer(bp + 8 /* pNew */))
|
|
} else {
|
|
sqlite3.Xsqlite3_reset(tls, g.pStmt)
|
|
}
|
|
speedtest1_shrink_memory(tls)
|
|
}
|
|
|
|
// The sqlite3_trace() callback function
|
|
func traceCallback(tls *libc.TLS, NotUsed uintptr, zSql uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:602:13: */
|
|
bp := tls.Alloc(16)
|
|
defer tls.Free(16)
|
|
|
|
var n int32 = int32(libc.Xstrlen(tls, zSql))
|
|
for n > 0 && (int32(*(*int8)(unsafe.Pointer(zSql + uintptr(n-1)))) == ';' || isspace(tls, int32(uint8(*(*int8)(unsafe.Pointer(zSql + uintptr(n-1)))))) != 0) {
|
|
n--
|
|
}
|
|
libc.Xfprintf(tls, libc.X__stderrp, ts+2769, libc.VaList(bp, n, zSql))
|
|
}
|
|
|
|
// Substitute random() function that gives the same random
|
|
// sequence on each run, for repeatability.
|
|
func randomFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:611:13: */
|
|
sqlite3.Xsqlite3_result_int64(tls, context, sqlite3_int64(speedtest1_random(tls)))
|
|
}
|
|
|
|
// Estimate the square root of an integer
|
|
func est_square_root(tls *libc.TLS, x int32) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:620:12: */
|
|
var y0 int32 = x / 2
|
|
var y1 int32
|
|
var n int32
|
|
for n = 0; y0 > 0 && n < 10; n++ {
|
|
y1 = (y0 + x/y0) / 2
|
|
if y1 == y0 {
|
|
break
|
|
}
|
|
y0 = y1
|
|
}
|
|
return y0
|
|
}
|
|
|
|
// The main and default testset
|
|
func testset_main(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:697:6: */
|
|
bp := tls.Alloc(2568)
|
|
defer tls.Free(2568)
|
|
|
|
var i int32 // Loop counter
|
|
var n int32 // iteration count
|
|
var sz int32 // Size of the tables
|
|
var maxb int32 // Maximum swizzled value
|
|
var x1 uint32 = uint32(0)
|
|
var x2 uint32 = uint32(0) // Parameters
|
|
var len int32 = 0 // Length of the zNum[] string
|
|
// var zNum [2000]int8 at bp+568, 2000
|
|
// A number name
|
|
|
|
sz = libc.AssignInt32(&n, g.szTest*500)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8(0)
|
|
maxb = int32(roundup_allones(tls, uint32(sz)))
|
|
speedtest1_begin_test(tls, 100, ts+2877, libc.VaList(bp, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls, ts+2919,
|
|
libc.VaList(bp+8, isTemp(tls, 9), g.zNN, g.zNN, g.zNN))
|
|
speedtest1_prepare(tls, ts+2977, libc.VaList(bp+40, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, x1, bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int64(tls, g.pStmt, 1, sqlite3_int64(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, i)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 3, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 110, ts+3030, libc.VaList(bp+48, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls,
|
|
ts+3067,
|
|
libc.VaList(bp+56, isTemp(tls, 5), g.zNN, g.zPK, g.zNN, g.zNN, g.zWR))
|
|
speedtest1_prepare(tls, ts+3130, libc.VaList(bp+104, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, x1, bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, i)
|
|
sqlite3.Xsqlite3_bind_int64(tls, g.pStmt, 2, sqlite3_int64(x1))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 3, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 120, ts+3175, libc.VaList(bp+112, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls,
|
|
ts+3214,
|
|
libc.VaList(bp+120, isTemp(tls, 3), g.zNN, g.zPK, g.zNN, g.zNN, g.zWR))
|
|
speedtest1_prepare(tls, ts+3277, libc.VaList(bp+168, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, x1, bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, i)
|
|
sqlite3.Xsqlite3_bind_int64(tls, g.pStmt, 1, sqlite3_int64(x1))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 3, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = 25
|
|
speedtest1_begin_test(tls, 130, ts+3322, libc.VaList(bp+176, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+3361, libc.VaList(bp+184, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
x2 = speedtest1_random(tls)%uint32(10) + uint32(sz/5000) + x1
|
|
}
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = 10
|
|
speedtest1_begin_test(tls, 140, ts+3466, libc.VaList(bp+192, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+3494, libc.VaList(bp+200, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8('%')
|
|
len = speedtest1_numbername(tls, uint32(i), bp+568+uintptr(1), int32(uint64(unsafe.Sizeof([2000]int8{}))-uint64(2)))
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len))) = int8('%')
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len+1))) = int8(0)
|
|
}
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, len+1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = 10
|
|
speedtest1_begin_test(tls, 142, ts+3589, libc.VaList(bp+208, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+3622, libc.VaList(bp+216, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8('%')
|
|
len = speedtest1_numbername(tls, uint32(i), bp+568+uintptr(1), int32(uint64(unsafe.Sizeof([2000]int8{}))-uint64(2)))
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len))) = int8('%')
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len+1))) = int8(0)
|
|
}
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, len+1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = 10 // g.szTest/5;
|
|
speedtest1_begin_test(tls, 145, ts+3686, libc.VaList(bp+224, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+3729, libc.VaList(bp+232, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8('%')
|
|
len = speedtest1_numbername(tls, uint32(i), bp+568+uintptr(1), int32(uint64(unsafe.Sizeof([2000]int8{}))-uint64(2)))
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len))) = int8('%')
|
|
*(*int8)(unsafe.Pointer(bp + 568 + uintptr(len+1))) = int8(0)
|
|
}
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, len+1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 150, ts+3802, 0)
|
|
speedtest1_exec(tls, ts+3826, 0)
|
|
speedtest1_exec(tls, ts+3833, 0)
|
|
speedtest1_exec(tls, ts+3867, 0)
|
|
speedtest1_exec(tls, ts+3894, 0)
|
|
speedtest1_exec(tls, ts+3928, 0)
|
|
speedtest1_exec(tls, ts+3960, 0)
|
|
speedtest1_exec(tls, ts+3990, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 160, ts+3998, libc.VaList(bp+240, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+4035, libc.VaList(bp+248, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
x2 = speedtest1_random(tls)%uint32(10) + uint32(sz/5000) + x1
|
|
}
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 161, ts+4140, libc.VaList(bp+256, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+4172, libc.VaList(bp+264, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
x2 = speedtest1_random(tls)%uint32(10) + uint32(sz/5000) + x1
|
|
}
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 170, ts+4277, libc.VaList(bp+272, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+4311, libc.VaList(bp+280, n))
|
|
for i = 1; i <= n; i++ {
|
|
if (i-1)%g.nRepeat == 0 {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
len = speedtest1_numbername(tls, x1, bp+568, int32(uint64(unsafe.Sizeof([2000]int8{}))-uint64(1)))
|
|
}
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, len, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 180, ts+4423, libc.VaList(bp+288, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls,
|
|
|
|
ts+4453,
|
|
libc.VaList(bp+296, isTemp(tls, 1), g.zNN, g.zPK, g.zNN, g.zNN, g.zWR))
|
|
speedtest1_exec(tls, ts+4524, 0)
|
|
speedtest1_exec(tls, ts+4550, 0)
|
|
speedtest1_exec(tls, ts+4576, 0)
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 190, ts+4608, libc.VaList(bp+344, n))
|
|
speedtest1_exec(tls, ts+4636, 0)
|
|
speedtest1_exec(tls, ts+4652, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 200, ts+4685, 0)
|
|
speedtest1_exec(tls, ts+4685, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 210, ts+4692, 0)
|
|
speedtest1_exec(tls, ts+4726, 0)
|
|
speedtest1_exec(tls, ts+4770, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 230, ts+4792, libc.VaList(bp+352, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+4829, libc.VaList(bp+360, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = speedtest1_random(tls) % uint32(maxb)
|
|
x2 = speedtest1_random(tls)%uint32(10) + uint32(sz/5000) + x1
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 240, ts+4888, libc.VaList(bp+368, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+4918, libc.VaList(bp+376, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = speedtest1_random(tls)%uint32(sz) + uint32(1)
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 250, ts+4962, libc.VaList(bp+384, sz))
|
|
speedtest1_exec(tls, ts+5003, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 260, ts+5023, 0)
|
|
speedtest1_exec(tls, ts+4770, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 270, ts+5056, libc.VaList(bp+392, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+5093, libc.VaList(bp+400, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = speedtest1_random(tls)%uint32(maxb) + uint32(1)
|
|
x2 = speedtest1_random(tls)%uint32(10) + uint32(sz/5000) + x1
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz
|
|
speedtest1_begin_test(tls, 280, ts+5147, libc.VaList(bp+408, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+5177, libc.VaList(bp+416, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = speedtest1_random(tls)%uint32(sz) + uint32(1)
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 290, ts+5216, libc.VaList(bp+424, sz))
|
|
speedtest1_exec(tls, ts+5255, 0)
|
|
speedtest1_exec(tls, ts+5299, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 300, ts+5343, libc.VaList(bp+432, sz))
|
|
speedtest1_exec(tls, ts+4636, 0)
|
|
speedtest1_exec(tls,
|
|
ts+5384, 0)
|
|
speedtest1_exec(tls,
|
|
ts+5449, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = sz / 5
|
|
speedtest1_begin_test(tls, 310, ts+5514, libc.VaList(bp+440, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+5533, 0)
|
|
for i = 1; i <= n; i++ {
|
|
x1 = speedtest1_random(tls)%uint32(sz) + uint32(1)
|
|
x2 = speedtest1_random(tls)%uint32(10) + x1 + uint32(4)
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(x2))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 320, ts+5646, libc.VaList(bp+448, n))
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+5669, 0)
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, est_square_root(tls, g.szTest)*50)
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
sz = libc.AssignInt32(&n, g.szTest*700)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8(0)
|
|
maxb = int32(roundup_allones(tls, uint32(sz/3)))
|
|
speedtest1_begin_test(tls, 400, ts+5787, libc.VaList(bp+456, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls, ts+5812,
|
|
libc.VaList(bp+464, isTemp(tls, 9), g.zNN))
|
|
speedtest1_prepare(tls, ts+5860, libc.VaList(bp+480, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, uint32(i), bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(sqlite3_int64(x1)))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
speedtest1_begin_test(tls, 410, ts+5904, libc.VaList(bp+488, n))
|
|
speedtest1_prepare(tls, ts+5925, libc.VaList(bp+496, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(sqlite3_int64(x1)))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
sz = libc.AssignInt32(&n, g.szTest*700)
|
|
*(*int8)(unsafe.Pointer(bp + 568)) = int8(0)
|
|
maxb = int32(roundup_allones(tls, uint32(sz/3)))
|
|
speedtest1_begin_test(tls, 500, ts+5967, libc.VaList(bp+504, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls, ts+5989,
|
|
libc.VaList(bp+512, isTemp(tls, 9), g.zNN,
|
|
func() uintptr {
|
|
if sqlite3.Xsqlite3_libversion_number(tls) >= 3008002 {
|
|
return ts + 6036 /* "WITHOUT ROWID" */
|
|
}
|
|
return ts + 2269 /* "" */
|
|
}()))
|
|
speedtest1_prepare(tls, ts+6050, libc.VaList(bp+536, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, x1, bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, i)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
speedtest1_begin_test(tls, 510, ts+6094, libc.VaList(bp+544, n))
|
|
speedtest1_prepare(tls, ts+6118, libc.VaList(bp+552, n))
|
|
for i = 1; i <= n; i++ {
|
|
x1 = swizzle(tls, uint32(i), uint32(maxb))
|
|
speedtest1_numbername(tls, x1, bp+568, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+568, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
speedtest1_begin_test(tls, 520, ts+6160, libc.VaList(bp+560, n))
|
|
speedtest1_exec(tls, ts+6179, 0)
|
|
speedtest1_exec(tls, ts+6206, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 980, ts+6233, 0)
|
|
speedtest1_exec(tls, ts+6233, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 990, ts+6256, 0)
|
|
speedtest1_exec(tls, ts+6256, 0)
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
// A testset for common table expressions. This exercises code
|
|
// for views, subqueries, co-routines, etc.
|
|
func testset_cte(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1147:6: */
|
|
bp := tls.Alloc(32)
|
|
defer tls.Free(32)
|
|
|
|
var zPuz uintptr
|
|
var rSpacing float64
|
|
var nElem int32
|
|
|
|
if g.szTest < 25 {
|
|
zPuz = azPuzzle[0]
|
|
} else if g.szTest < 70 {
|
|
zPuz = azPuzzle[1]
|
|
} else {
|
|
zPuz = azPuzzle[2]
|
|
}
|
|
speedtest1_begin_test(tls, 100, ts+6264, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+6295, 0)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, zPuz, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 200, ts+7099, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+7127, 0)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, zPuz, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
rSpacing = 5.0 / float64(g.szTest)
|
|
speedtest1_begin_test(tls, 300, ts+7939, libc.VaList(bp, rSpacing))
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+7970, 0)
|
|
sqlite3.Xsqlite3_bind_double(tls, g.pStmt, 1, rSpacing*.05)
|
|
sqlite3.Xsqlite3_bind_double(tls, g.pStmt, 2, rSpacing)
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
nElem = 10000 * g.szTest
|
|
speedtest1_begin_test(tls, 400, ts+8566, libc.VaList(bp+8, nElem))
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+8603,
|
|
libc.VaList(bp+16, nElem, nElem))
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
var azPuzzle = [3]uintptr{
|
|
// Easy
|
|
|
|
ts + 8834,
|
|
|
|
ts + 8916,
|
|
|
|
ts + 8998,
|
|
} /* testdata/sqlite-src-3380500/test/speedtest1.c:1148:21 */
|
|
|
|
// Compute a pseudo-random floating point ascii number.
|
|
func speedtest1_random_ascii_fp(tls *libc.TLS, zFP uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1300:6: */
|
|
bp := tls.Alloc(24)
|
|
defer tls.Free(24)
|
|
|
|
var x int32 = int32(speedtest1_random(tls))
|
|
var y int32 = int32(speedtest1_random(tls))
|
|
var z int32
|
|
z = y % 10
|
|
if z < 0 {
|
|
z = -z
|
|
}
|
|
y = y / 10
|
|
sqlite3.Xsqlite3_snprintf(tls, 100, zFP, ts+9080, libc.VaList(bp, y, z, x%200))
|
|
}
|
|
|
|
// A testset for floating-point numbers.
|
|
func testset_fp(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1313:6: */
|
|
bp := tls.Alloc(272)
|
|
defer tls.Free(272)
|
|
|
|
var n int32
|
|
var i int32
|
|
// var zFP1 [100]int8 at bp+72, 100
|
|
|
|
// var zFP2 [100]int8 at bp+172, 100
|
|
|
|
n = g.szTest * 5000
|
|
speedtest1_begin_test(tls, 100, ts+9089, libc.VaList(bp, n*2))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls, ts+9120,
|
|
libc.VaList(bp+8, isTemp(tls, 1), g.zNN, g.zNN))
|
|
speedtest1_prepare(tls, ts+9161, libc.VaList(bp+32, n))
|
|
for i = 1; i <= n; i++ {
|
|
speedtest1_random_ascii_fp(tls, bp+72)
|
|
speedtest1_random_ascii_fp(tls, bp+172)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+72, -1, uintptr(0))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+172, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = g.szTest/25 + 2
|
|
speedtest1_begin_test(tls, 110, ts+9203, libc.VaList(bp+40, n))
|
|
speedtest1_prepare(tls, ts+9220, 0)
|
|
for i = 1; i <= n; i++ {
|
|
speedtest1_random_ascii_fp(tls, bp+72)
|
|
speedtest1_random_ascii_fp(tls, bp+172)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+72, -1, uintptr(0))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+172, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 120, ts+9268, 0)
|
|
speedtest1_exec(tls, ts+3826, 0)
|
|
speedtest1_exec(tls, ts+9293, 0)
|
|
speedtest1_exec(tls, ts+9320, 0)
|
|
speedtest1_exec(tls, ts+9347, 0)
|
|
speedtest1_exec(tls, ts+3990, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = g.szTest/3 + 2
|
|
speedtest1_begin_test(tls, 130, ts+9377, libc.VaList(bp+48, n))
|
|
speedtest1_prepare(tls, ts+9220, 0)
|
|
for i = 1; i <= n; i++ {
|
|
speedtest1_random_ascii_fp(tls, bp+72)
|
|
speedtest1_random_ascii_fp(tls, bp+172)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 1, bp+72, -1, uintptr(0))
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+172, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = g.szTest * 5000
|
|
speedtest1_begin_test(tls, 140, ts+9402, libc.VaList(bp+56, n))
|
|
speedtest1_exec(tls, ts+9422, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 150, ts+9465, libc.VaList(bp+64, n*4))
|
|
speedtest1_exec(tls,
|
|
|
|
ts+9483, 0)
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
// Generate two numbers between 1 and mx. The first number is less than
|
|
// the second. Usually the numbers are near each other but can sometimes
|
|
// be far apart.
|
|
func twoCoords(tls *libc.TLS, p1 int32, p2 int32, mx uint32, pX0 uintptr, pX1 uintptr) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1386:13: */
|
|
var d uint32
|
|
var x0 uint32
|
|
var x1 uint32
|
|
var span uint32
|
|
|
|
span = mx/uint32(100) + uint32(1)
|
|
if speedtest1_random(tls)%uint32(3) == uint32(0) {
|
|
span = span * uint32(p1)
|
|
}
|
|
if speedtest1_random(tls)%uint32(p2) == uint32(0) {
|
|
span = mx / uint32(2)
|
|
}
|
|
d = speedtest1_random(tls)%span + uint32(1)
|
|
x0 = speedtest1_random(tls)%(mx-d) + uint32(1)
|
|
x1 = x0 + d
|
|
*(*uint32)(unsafe.Pointer(pX0)) = x0
|
|
*(*uint32)(unsafe.Pointer(pX1)) = x1
|
|
}
|
|
|
|
// The following routine is an R-Tree geometry callback. It returns
|
|
// true if the object overlaps a slice on the Y coordinate between the
|
|
// two values given as arguments. In other words
|
|
//
|
|
// SELECT count(*) FROM rt1 WHERE id MATCH xslice(10,20);
|
|
//
|
|
// Is the same as saying:
|
|
//
|
|
// SELECT count(*) FROM rt1 WHERE y1>=10 AND y0<=20;
|
|
func xsliceGeometryCallback(tls *libc.TLS, p uintptr, nCoord int32, aCoord uintptr, pRes uintptr) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:1415:12: */
|
|
*(*int32)(unsafe.Pointer(pRes)) = libc.Bool32(*(*float64)(unsafe.Pointer(aCoord + 3*8)) >= *(*sqlite3_rtree_dbl)(unsafe.Pointer((*sqlite3_rtree_geometry)(unsafe.Pointer(p)).aParam)) && *(*float64)(unsafe.Pointer(aCoord + 2*8)) <= *(*sqlite3_rtree_dbl)(unsafe.Pointer((*sqlite3_rtree_geometry)(unsafe.Pointer(p)).aParam + 1*8)))
|
|
return SQLITE_OK
|
|
}
|
|
|
|
// A testset for the R-Tree virtual table
|
|
func testset_rtree(tls *libc.TLS, p1 int32, p2 int32) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1430:6: */
|
|
bp := tls.Alloc(224)
|
|
defer tls.Free(224)
|
|
|
|
var i uint32
|
|
var n uint32
|
|
var mxCoord uint32
|
|
// var x0 uint32 at bp+200, 4
|
|
|
|
// var x1 uint32 at bp+204, 4
|
|
|
|
// var y0 uint32 at bp+208, 4
|
|
|
|
// var y1 uint32 at bp+212, 4
|
|
|
|
// var z0 uint32 at bp+216, 4
|
|
|
|
// var z1 uint32 at bp+220, 4
|
|
|
|
var iStep uint32
|
|
var mxRowid uint32
|
|
var aCheck uintptr = sqlite3.Xsqlite3_malloc(tls, int32(uint64(unsafe.Sizeof(int32(0)))*uint64(g.szTest)*uint64(500)))
|
|
|
|
mxCoord = uint32(15000)
|
|
mxRowid = libc.AssignUint32(&n, uint32(g.szTest*500))
|
|
speedtest1_begin_test(tls, 100, ts+9578, libc.VaList(bp, n))
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_exec(tls, ts+9604, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+9663, 0)
|
|
for i = uint32(1); i <= n; i++ {
|
|
twoCoords(tls, p1, p2, mxCoord, bp+200, bp+204)
|
|
twoCoords(tls, p1, p2, mxCoord, bp+208, bp+212)
|
|
twoCoords(tls, p1, p2, mxCoord, bp+216, bp+220)
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32(*(*uint32)(unsafe.Pointer(bp + 200 /* x0 */))))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 3, int32(*(*uint32)(unsafe.Pointer(bp + 204 /* x1 */))))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 4, int32(*(*uint32)(unsafe.Pointer(bp + 208 /* y0 */))))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 5, int32(*(*uint32)(unsafe.Pointer(bp + 212 /* y1 */))))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 6, int32(*(*uint32)(unsafe.Pointer(bp + 216 /* z0 */))))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 7, int32(*(*uint32)(unsafe.Pointer(bp + 220 /* z1 */))))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 101, ts+9729, 0)
|
|
speedtest1_exec(tls, ts+9764, 0)
|
|
speedtest1_exec(tls, ts+9822, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 200)
|
|
speedtest1_begin_test(tls, 110, ts+9855, libc.VaList(bp+8, n))
|
|
speedtest1_prepare(tls, ts+9898, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
*(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) = libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
if g.bVerify != 0 {
|
|
n = uint32(g.szTest * 200)
|
|
speedtest1_begin_test(tls, 111, ts+9947, 0)
|
|
speedtest1_prepare(tls, ts+9994, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
if *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) != libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124) {
|
|
fatal_error(tls, ts+10042,
|
|
libc.VaList(bp+16, i, i*iStep, (i+uint32(1))*iStep, *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)), libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)))
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
n = uint32(g.szTest * 200)
|
|
speedtest1_begin_test(tls, 120, ts+10084, libc.VaList(bp+56, n))
|
|
speedtest1_prepare(tls, ts+10125, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
*(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) = libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
if g.bVerify != 0 {
|
|
n = uint32(g.szTest * 200)
|
|
speedtest1_begin_test(tls, 121, ts+10174, 0)
|
|
speedtest1_prepare(tls, ts+10219, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
if *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) != libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124) {
|
|
fatal_error(tls, ts+10042,
|
|
libc.VaList(bp+64, i, i*iStep, (i+uint32(1))*iStep, *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)), libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)))
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
n = uint32(g.szTest * 200)
|
|
speedtest1_begin_test(tls, 125, ts+10267, libc.VaList(bp+104, n))
|
|
sqlite3.Xsqlite3_rtree_geometry_callback(tls, g.db, ts+10303, *(*uintptr)(unsafe.Pointer(&struct {
|
|
f func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32
|
|
}{xsliceGeometryCallback})), uintptr(0))
|
|
speedtest1_prepare(tls, ts+10310, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
if *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) != libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124) {
|
|
fatal_error(tls, ts+10042,
|
|
libc.VaList(bp+112, i, i*iStep, (i+uint32(1))*iStep, *(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)), libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)))
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 400)
|
|
speedtest1_begin_test(tls, 130, ts+10364, libc.VaList(bp+152, n))
|
|
speedtest1_prepare(tls,
|
|
ts+10407, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 2, int32((i+uint32(1))*iStep))
|
|
speedtest1_run(tls)
|
|
*(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) = libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 500)
|
|
speedtest1_begin_test(tls, 140, ts+10500, libc.VaList(bp+160, n))
|
|
speedtest1_prepare(tls, ts+10517, 0)
|
|
for i = uint32(1); i <= n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 50)
|
|
speedtest1_begin_test(tls, 150, ts+10547, libc.VaList(bp+168, n))
|
|
speedtest1_prepare(tls, ts+10570, 0)
|
|
for i = uint32(1); i <= n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*uint32(251)%mxRowid+uint32(1)))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 5)
|
|
speedtest1_begin_test(tls, 155, ts+10618, libc.VaList(bp+176, n))
|
|
speedtest1_prepare(tls,
|
|
ts+10659, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
speedtest1_run(tls)
|
|
*(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) = libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 50)
|
|
speedtest1_begin_test(tls, 160, ts+10721, libc.VaList(bp+184, n))
|
|
speedtest1_prepare(tls, ts+10744, 0)
|
|
for i = uint32(1); i <= n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*uint32(257)%mxRowid+uint32(1)))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 5)
|
|
speedtest1_begin_test(tls, 165, ts+10772, libc.VaList(bp+192, n))
|
|
speedtest1_prepare(tls, ts+10813, 0)
|
|
iStep = mxCoord / n
|
|
for i = uint32(0); i < n; i++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i*iStep))
|
|
speedtest1_run(tls)
|
|
*(*int32)(unsafe.Pointer(aCheck + uintptr(i)*4)) = libc.Xatoi(tls, uintptr(unsafe.Pointer(&g))+124)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 170, ts+10855, 0)
|
|
speedtest1_exec(tls, ts+10902, 0)
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
// A testset that does key/value storage on tables with many columns.
|
|
// This is the kind of workload generated by ORMs such as CoreData.
|
|
func testset_orm(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1615:6: */
|
|
bp := tls.Alloc(2016)
|
|
defer tls.Free(2016)
|
|
|
|
var i uint32
|
|
var j uint32
|
|
var n uint32
|
|
var nRow uint32
|
|
var x1 uint32
|
|
var len uint32
|
|
// var zNum [2000]int8 at bp+16, 2000
|
|
|
|
nRow = libc.AssignUint32(&n, uint32(g.szTest*250))
|
|
speedtest1_begin_test(tls, 100, ts+10945, libc.VaList(bp, n))
|
|
speedtest1_exec(tls,
|
|
|
|
ts+10958, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+14858, 0)
|
|
for i = uint32(0); i < n; i++ {
|
|
x1 = speedtest1_random(tls)
|
|
speedtest1_numbername(tls, x1%uint32(1000), bp+16, int32(unsafe.Sizeof([2000]int8{})))
|
|
len = uint32(int32(libc.Xstrlen(tls, bp+16)))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(i^uint32(0xf)))
|
|
for j = uint32(0); zType[j] != 0; j++ {
|
|
switch int32(zType[j]) {
|
|
case 'I':
|
|
fallthrough
|
|
case 'T':
|
|
sqlite3.Xsqlite3_bind_int64(tls, g.pStmt, int32(j+uint32(2)), int64(x1))
|
|
break
|
|
case 'F':
|
|
sqlite3.Xsqlite3_bind_double(tls, g.pStmt, int32(j+uint32(2)), float64(x1))
|
|
break
|
|
case 'V':
|
|
fallthrough
|
|
case 'B':
|
|
sqlite3.Xsqlite3_bind_text64(tls, g.pStmt, int32(j+uint32(2)), bp+16, uint64(len),
|
|
uintptr(0), uint8(SQLITE_UTF8))
|
|
break
|
|
}
|
|
}
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3990, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
n = uint32(g.szTest * 250)
|
|
speedtest1_begin_test(tls, 110, ts+18102, libc.VaList(bp+8, n))
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+18125, 0)
|
|
for i = uint32(0); i < n; i++ {
|
|
x1 = speedtest1_random(tls) % nRow
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, int32(x1))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
}
|
|
|
|
var zType = // Types for all non-PK columns, in order
|
|
|
|
*(*[120]int8)(unsafe.Pointer(ts + 20878)) /* testdata/sqlite-src-3380500/test/speedtest1.c:1620:21 */
|
|
|
|
//
|
|
func testset_trigger(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:1882:6: */
|
|
bp := tls.Alloc(2032)
|
|
defer tls.Free(2032)
|
|
|
|
var jj int32
|
|
var ii int32
|
|
// var zNum [2000]int8 at bp+32, 2000
|
|
// A number name
|
|
|
|
var NROW int32 = 500 * g.szTest
|
|
var NROW2 int32 = 100 * g.szTest
|
|
|
|
speedtest1_exec(tls,
|
|
|
|
ts+20998, 0)
|
|
for jj = 1; jj <= 3; jj++ {
|
|
speedtest1_prepare(tls, ts+21326, libc.VaList(bp, jj))
|
|
for ii = 0; ii < NROW; ii++ {
|
|
var x1 int32 = int32(speedtest1_random(tls) % uint32(NROW))
|
|
speedtest1_numbername(tls, uint32(x1), bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, x1)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+32, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
}
|
|
speedtest1_exec(tls,
|
|
|
|
ts+21361, 0)
|
|
|
|
speedtest1_begin_test(tls, 100, ts+21444, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+21458, 0)
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 110, ts+21525, 0)
|
|
speedtest1_prepare(tls,
|
|
ts+21539, 0)
|
|
speedtest1_run(tls)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 120, ts+21598, 0)
|
|
for jj = 1; jj <= 3; jj++ {
|
|
speedtest1_prepare(tls, ts+21612, libc.VaList(bp+8, jj))
|
|
for ii = 0; ii < NROW2; ii = ii + 3 {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, ii*3)
|
|
speedtest1_run(tls)
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 130, ts+21646, 0)
|
|
for jj = 1; jj <= 3; jj++ {
|
|
speedtest1_prepare(tls, ts+21661, libc.VaList(bp+16, jj))
|
|
for ii = 0; ii < NROW2; ii = ii + 3 {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, ii*3)
|
|
speedtest1_run(tls)
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 140, ts+21646, 0)
|
|
for jj = 1; jj <= 3; jj++ {
|
|
speedtest1_prepare(tls, ts+21661, libc.VaList(bp+24, jj))
|
|
for ii = 0; ii < NROW2; ii = ii + 3 {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, ii*3)
|
|
speedtest1_run(tls)
|
|
}
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 150, ts+21695, 0)
|
|
speedtest1_prepare(tls,
|
|
|
|
ts+21714, 0)
|
|
for jj = 0; jj < NROW2; jj++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj*3)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_begin_test(tls, 160, ts+21829, 0)
|
|
speedtest1_exec(tls, ts+2913, 0)
|
|
speedtest1_prepare(tls, ts+21850, 0)
|
|
for jj = 0; jj < NROW2; jj++ {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_exec(tls, ts+21885, 0)
|
|
speedtest1_begin_test(tls, 170, ts+21933, 0)
|
|
speedtest1_exec(tls, ts+21955, 0)
|
|
speedtest1_end_test(tls)
|
|
|
|
speedtest1_exec(tls,
|
|
|
|
ts+22000, 0)
|
|
|
|
speedtest1_begin_test(tls, 180, ts+22490, 0)
|
|
speedtest1_prepare(tls, ts+22507, 0)
|
|
for jj = 0; jj < NROW2; jj++ {
|
|
speedtest1_numbername(tls, uint32(jj), bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+32, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
// Note: Of the queries, only half actually update a row. This property
|
|
// was copied over from speed4p.test, where it was probably introduced
|
|
// inadvertantly.
|
|
speedtest1_begin_test(tls, 190, ts+22543, 0)
|
|
speedtest1_prepare(tls, ts+22560, 0)
|
|
for jj = 1; jj <= NROW2*2; jj = jj + 2 {
|
|
speedtest1_numbername(tls, uint32(jj*2), bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj*2)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+32, -1, uintptr(0))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 3, jj)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
|
|
// Note: Same again.
|
|
speedtest1_begin_test(tls, 200, ts+22606, 0)
|
|
speedtest1_prepare(tls, ts+22623, 0)
|
|
for jj = 1; jj <= NROW2*2; jj = jj + 2 {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj*2)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
|
|
// The following block contains the same tests as the above block that
|
|
// tests triggers, with one crucial difference: no triggers are defined.
|
|
// So the difference in speed between these tests and the preceding ones
|
|
// is the amount of time taken to compile and execute the trigger programs.
|
|
speedtest1_exec(tls,
|
|
|
|
ts+22655, 0)
|
|
speedtest1_begin_test(tls, 210, ts+22760, 0)
|
|
speedtest1_prepare(tls, ts+22507, 0)
|
|
for jj = 0; jj < NROW2; jj++ {
|
|
speedtest1_numbername(tls, uint32(jj), bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+32, -1, uintptr(0))
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
speedtest1_begin_test(tls, 210, ts+22779, 0)
|
|
speedtest1_prepare(tls, ts+22560, 0)
|
|
for jj = 1; jj <= NROW2*2; jj = jj + 2 {
|
|
speedtest1_numbername(tls, uint32(jj*2), bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj*2)
|
|
sqlite3.Xsqlite3_bind_text(tls, g.pStmt, 2, bp+32, -1, uintptr(0))
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 3, jj)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
speedtest1_begin_test(tls, 220, ts+22798, 0)
|
|
speedtest1_prepare(tls, ts+22623, 0)
|
|
for jj = 1; jj <= NROW2*2; jj = jj + 2 {
|
|
sqlite3.Xsqlite3_bind_int(tls, g.pStmt, 1, jj*2)
|
|
speedtest1_run(tls)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
speedtest1_exec(tls, ts+3023, 0)
|
|
}
|
|
|
|
// A testset used for debugging speedtest1 itself.
|
|
func testset_debug1(tls *libc.TLS) { /* testdata/sqlite-src-3380500/test/speedtest1.c:2084:6: */
|
|
bp := tls.Alloc(2032)
|
|
defer tls.Free(2032)
|
|
|
|
var i uint32
|
|
var n uint32
|
|
var x1 uint32
|
|
var x2 uint32
|
|
// var zNum [2000]int8 at bp+32, 2000
|
|
// A number name
|
|
|
|
n = uint32(g.szTest)
|
|
for i = uint32(1); i <= n; i++ {
|
|
x1 = swizzle(tls, i, n)
|
|
x2 = swizzle(tls, x1, n)
|
|
speedtest1_numbername(tls, x1, bp+32, int32(unsafe.Sizeof([2000]int8{})))
|
|
libc.Xprintf(tls, ts+22817, libc.VaList(bp, i, x1, x2, bp+32))
|
|
}
|
|
}
|
|
|
|
func xCompileOptions(tls *libc.TLS, pCtx uintptr, nVal int32, azVal uintptr, azCol uintptr) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:2145:12: */
|
|
bp := tls.Alloc(8)
|
|
defer tls.Free(8)
|
|
|
|
libc.Xprintf(tls, ts+22833, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(azVal))))
|
|
return SQLITE_OK
|
|
}
|
|
|
|
func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* testdata/sqlite-src-3380500/test/speedtest1.c:2150:5: */
|
|
bp := tls.Alloc(576)
|
|
defer tls.Free(576)
|
|
|
|
var doAutovac int32 = 0 // True for --autovacuum
|
|
var cacheSize int32 = 0 // Desired cache size. 0 means default
|
|
var doExclusive int32 = 0 // True for --exclusive
|
|
var nHeap int32 = 0
|
|
var mnHeap int32 = 0 // Heap size from --heap
|
|
var doIncrvac int32 = 0 // True for --incrvacuum
|
|
var zJMode uintptr = uintptr(0) // Journal mode
|
|
var zKey uintptr = uintptr(0) // Encryption key
|
|
var nLook int32 = -1
|
|
var szLook int32 = 0 // --lookaside configuration
|
|
var noSync int32 = 0 // True for --nosync
|
|
var pageSize int32 = 0 // Desired page size. 0 means default
|
|
var nPCache int32 = 0
|
|
var szPCache int32 = 0 // --pcache configuration
|
|
var doPCache int32 = 0 // True if --pcache is seen
|
|
var showStats int32 = 0 // True for --stats
|
|
var nThread int32 = 0 // --threads value
|
|
var mmapSize int32 = 0 // How big of a memory map to use
|
|
var memDb int32 = 0 // --memdb. Use an in-memory database
|
|
var zTSet uintptr = ts + 22856 /* "main" */ // Which --testset torun
|
|
var doTrace int32 = 0 // True for --trace
|
|
var zEncoding uintptr = uintptr(0) // --utf16be or --utf16le
|
|
var zDbName uintptr = uintptr(0) // Name of the test database
|
|
|
|
var pHeap uintptr = uintptr(0) // Allocated heap space
|
|
var pLook uintptr = uintptr(0) // Allocated lookaside space
|
|
var pPCache uintptr = uintptr(0) // Allocated storage for pcache
|
|
// var iCur int32 at bp+568, 4
|
|
|
|
// var iHi int32 at bp+572, 4
|
|
// Stats values, current and "highwater"
|
|
var i int32 // Loop counter
|
|
var rc int32 // API return code
|
|
|
|
// Display the version of SQLite being tested
|
|
libc.Xprintf(tls, ts+22861,
|
|
libc.VaList(bp, sqlite3.Xsqlite3_libversion(tls), sqlite3.Xsqlite3_sourceid(tls)))
|
|
|
|
// Process command-line arguments
|
|
g.zWR = ts + 2269 /* "" */
|
|
g.zNN = ts + 2269 /* "" */
|
|
g.zPK = ts + 22896 /* "UNIQUE" */
|
|
g.szTest = 100
|
|
g.nRepeat = 1
|
|
for i = 1; i < argc; i++ {
|
|
var z uintptr = *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))
|
|
if int32(*(*int8)(unsafe.Pointer(z))) == '-' {
|
|
for __ccgo := true; __ccgo; __ccgo = int32(*(*int8)(unsafe.Pointer(z))) == '-' {
|
|
z++
|
|
}
|
|
if libc.Xstrcmp(tls, z, ts+22903) == 0 {
|
|
doAutovac = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+22914) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
i++
|
|
cacheSize = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+22948) == 0 {
|
|
doExclusive = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+22958) == 0 {
|
|
g.doCheckpoint = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+22969) == 0 {
|
|
g.bSqlOnly = 1
|
|
g.bExplain = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+22977) == 0 {
|
|
if i >= argc-2 {
|
|
fatal_error(tls, ts+22982, libc.VaList(bp+24, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
nHeap = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+1)*8)))
|
|
mnHeap = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+2)*8)))
|
|
i = i + 2
|
|
} else if libc.Xstrcmp(tls, z, ts+23007) == 0 {
|
|
doIncrvac = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23018) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+32, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
zJMode = *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8))
|
|
} else if libc.Xstrcmp(tls, z, ts+23026) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+40, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
zKey = *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8))
|
|
} else if libc.Xstrcmp(tls, z, ts+23030) == 0 {
|
|
if i >= argc-2 {
|
|
fatal_error(tls, ts+22982, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
nLook = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+1)*8)))
|
|
szLook = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+2)*8)))
|
|
i = i + 2
|
|
} else if libc.Xstrcmp(tls, z, ts+23040) == 0 {
|
|
memDb = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23046) == 0 {
|
|
sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_MULTITHREAD, 0)
|
|
} else if libc.Xstrcmp(tls, z, ts+23058) == 0 {
|
|
sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_MEMSTATUS, libc.VaList(bp+56, 0))
|
|
} else if libc.Xstrcmp(tls, z, ts+23068) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
mmapSize = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+23073) == 0 {
|
|
noSync = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23080) == 0 {
|
|
g.zNN = ts + 23088 /* "NOT NULL" */
|
|
} else if libc.Xstrcmp(tls, z, ts+23097) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+72, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
i++
|
|
if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ts+23104) == 0 {
|
|
g.hashFile = libc.X__stdoutp
|
|
} else {
|
|
g.hashFile = libc.Xfopen(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ts+23106)
|
|
if g.hashFile == uintptr(0) {
|
|
fatal_error(tls, ts+23109, libc.VaList(bp+80, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
}
|
|
} else if libc.Xstrcmp(tls, z, ts+23139) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+88, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
pageSize = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+23148) == 0 {
|
|
if i >= argc-2 {
|
|
fatal_error(tls, ts+22982, libc.VaList(bp+96, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
nPCache = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+1)*8)))
|
|
szPCache = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+2)*8)))
|
|
doPCache = 1
|
|
i = i + 2
|
|
} else if libc.Xstrcmp(tls, z, ts+23155) == 0 {
|
|
g.zPK = ts + 23166 /* "PRIMARY KEY" */
|
|
} else if libc.Xstrcmp(tls, z, ts+23178) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22982, libc.VaList(bp+104, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
g.nRepeat = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i+1)*8)))
|
|
i = i + 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23185) == 0 {
|
|
g.bReprepare = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23195) == 0 {
|
|
sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_SERIALIZED, 0)
|
|
} else if libc.Xstrcmp(tls, z, ts+23206) == 0 {
|
|
sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_SINGLETHREAD, 0)
|
|
} else if libc.Xstrcmp(tls, z, ts+23219) == 0 {
|
|
g.bSqlOnly = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23227) == 0 {
|
|
g.bMemShrink = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23241) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+112, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
g.szTest = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+23246) == 0 {
|
|
showStats = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23252) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+120, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
i++
|
|
if int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))) < '0' || int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))) > '9' || int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)) + 1))) != 0 {
|
|
fatal_error(tls, ts+23257, 0)
|
|
}
|
|
g.eTemp = int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))) - '0'
|
|
} else if libc.Xstrcmp(tls, z, ts+23310) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+128, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
zTSet = *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8))
|
|
} else if libc.Xstrcmp(tls, z, ts+23318) == 0 {
|
|
doTrace = 1
|
|
} else if libc.Xstrcmp(tls, z, ts+23324) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+136, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
nThread = integerValue(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+23332) == 0 {
|
|
zEncoding = ts + 23332 /* "utf16le" */
|
|
} else if libc.Xstrcmp(tls, z, ts+23340) == 0 {
|
|
zEncoding = ts + 23340 /* "utf16be" */
|
|
} else if libc.Xstrcmp(tls, z, ts+23348) == 0 {
|
|
g.bVerify = 1
|
|
HashInit(tls)
|
|
} else if libc.Xstrcmp(tls, z, ts+23355) == 0 {
|
|
if i >= argc-1 {
|
|
fatal_error(tls, ts+22924, libc.VaList(bp+144, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
|
}
|
|
g.nReserve = libc.Xatoi(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PreIncInt32(&i, 1))*8)))
|
|
} else if libc.Xstrcmp(tls, z, ts+23363) == 0 {
|
|
if libc.Xstrstr(tls, g.zWR, ts+23377) != uintptr(0) {
|
|
// no-op
|
|
} else if libc.Xstrstr(tls, g.zWR, ts+23385) != uintptr(0) {
|
|
g.zWR = ts + 23392 /* "WITHOUT ROWID,ST..." */
|
|
} else {
|
|
g.zWR = ts + 6036 /* "WITHOUT ROWID" */
|
|
}
|
|
g.zPK = ts + 23166 /* "PRIMARY KEY" */
|
|
} else if libc.Xstrcmp(tls, z, ts+23413) == 0 {
|
|
if libc.Xstrstr(tls, g.zWR, ts+23385) != uintptr(0) {
|
|
// no-op
|
|
} else if libc.Xstrstr(tls, g.zWR, ts+23377) != uintptr(0) {
|
|
g.zWR = ts + 23392 /* "WITHOUT ROWID,ST..." */
|
|
} else {
|
|
g.zWR = ts + 23385 /* "STRICT" */
|
|
}
|
|
} else if libc.Xstrcmp(tls, z, ts+23420) == 0 || libc.Xstrcmp(tls, z, ts+23425) == 0 {
|
|
libc.Xprintf(tls, uintptr(unsafe.Pointer(&zHelp)), libc.VaList(bp+152, *(*uintptr)(unsafe.Pointer(argv))))
|
|
libc.Xexit(tls, 0)
|
|
} else {
|
|
fatal_error(tls, ts+23427,
|
|
libc.VaList(bp+160, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), *(*uintptr)(unsafe.Pointer(argv))))
|
|
}
|
|
} else if zDbName == uintptr(0) {
|
|
zDbName = *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))
|
|
} else {
|
|
fatal_error(tls, ts+23468,
|
|
libc.VaList(bp+176, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), *(*uintptr)(unsafe.Pointer(argv))))
|
|
}
|
|
}
|
|
if zDbName != uintptr(0) {
|
|
libc.Xunlink(tls, zDbName)
|
|
}
|
|
if nHeap > 0 {
|
|
pHeap = libc.Xmalloc(tls, uint64(nHeap))
|
|
if pHeap == uintptr(0) {
|
|
fatal_error(tls, ts+23511, libc.VaList(bp+192, nHeap))
|
|
}
|
|
rc = sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_HEAP, libc.VaList(bp+200, pHeap, nHeap, mnHeap))
|
|
if rc != 0 {
|
|
fatal_error(tls, ts+23541, libc.VaList(bp+224, rc))
|
|
}
|
|
}
|
|
if doPCache != 0 {
|
|
if nPCache > 0 && szPCache > 0 {
|
|
pPCache = libc.Xmalloc(tls, uint64(sqlite3_int64(nPCache)*sqlite3_int64(szPCache)))
|
|
if pPCache == uintptr(0) {
|
|
fatal_error(tls, ts+23572,
|
|
libc.VaList(bp+232, sqlite3_int64(nPCache)*sqlite3_int64(szPCache)))
|
|
}
|
|
}
|
|
rc = sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_PAGECACHE, libc.VaList(bp+240, pPCache, szPCache, nPCache))
|
|
if rc != 0 {
|
|
fatal_error(tls, ts+23606, libc.VaList(bp+264, rc))
|
|
}
|
|
}
|
|
if nLook >= 0 {
|
|
sqlite3.Xsqlite3_config(tls, SQLITE_CONFIG_LOOKASIDE, libc.VaList(bp+272, 0, 0))
|
|
}
|
|
sqlite3.Xsqlite3_initialize(tls)
|
|
|
|
// Open the database and the input file
|
|
if sqlite3.Xsqlite3_open(tls, func() uintptr {
|
|
if memDb != 0 {
|
|
return ts + 23639
|
|
}
|
|
return zDbName
|
|
}(), uintptr(unsafe.Pointer(&g))) != 0 {
|
|
fatal_error(tls, ts+23648, libc.VaList(bp+288, zDbName))
|
|
}
|
|
if nLook > 0 && szLook > 0 {
|
|
pLook = libc.Xmalloc(tls, uint64(nLook*szLook))
|
|
rc = sqlite3.Xsqlite3_db_config(tls, g.db, SQLITE_DBCONFIG_LOOKASIDE, libc.VaList(bp+296, pLook, szLook, nLook))
|
|
if rc != 0 {
|
|
fatal_error(tls, ts+23679, libc.VaList(bp+320, rc))
|
|
}
|
|
}
|
|
if g.nReserve > 0 {
|
|
sqlite3.Xsqlite3_file_control(tls, g.db, uintptr(0), SQLITE_FCNTL_RESERVE_BYTES, uintptr(unsafe.Pointer(&g))+72)
|
|
}
|
|
|
|
// Set database connection options
|
|
sqlite3.Xsqlite3_create_function(tls, g.db, ts+23715, 0, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
|
|
f func(*libc.TLS, uintptr, int32, uintptr)
|
|
}{randomFunc})), uintptr(0), uintptr(0))
|
|
if doTrace != 0 {
|
|
sqlite3.Xsqlite3_trace(tls, g.db, *(*uintptr)(unsafe.Pointer(&struct {
|
|
f func(*libc.TLS, uintptr, uintptr)
|
|
}{traceCallback})), uintptr(0))
|
|
}
|
|
if memDb > 0 {
|
|
speedtest1_exec(tls, ts+23722, 0)
|
|
}
|
|
if mmapSize > 0 {
|
|
speedtest1_exec(tls, ts+23747, libc.VaList(bp+328, mmapSize))
|
|
}
|
|
speedtest1_exec(tls, ts+23767, libc.VaList(bp+336, nThread))
|
|
if zKey != 0 {
|
|
speedtest1_exec(tls, ts+23785, libc.VaList(bp+344, zKey))
|
|
}
|
|
if zEncoding != 0 {
|
|
speedtest1_exec(tls, ts+23802, libc.VaList(bp+352, zEncoding))
|
|
}
|
|
if doAutovac != 0 {
|
|
speedtest1_exec(tls, ts+23821, 0)
|
|
} else if doIncrvac != 0 {
|
|
speedtest1_exec(tls, ts+23845, 0)
|
|
}
|
|
if pageSize != 0 {
|
|
speedtest1_exec(tls, ts+23876, libc.VaList(bp+360, pageSize))
|
|
}
|
|
if cacheSize != 0 {
|
|
speedtest1_exec(tls, ts+23896, libc.VaList(bp+368, cacheSize))
|
|
}
|
|
if noSync != 0 {
|
|
speedtest1_exec(tls, ts+23917, 0)
|
|
}
|
|
if doExclusive != 0 {
|
|
speedtest1_exec(tls, ts+23940, 0)
|
|
}
|
|
if zJMode != 0 {
|
|
speedtest1_exec(tls, ts+23970, libc.VaList(bp+376, zJMode))
|
|
}
|
|
|
|
if g.bExplain != 0 {
|
|
libc.Xprintf(tls, ts+23993, 0)
|
|
}
|
|
for __ccgo1 := true; __ccgo1; __ccgo1 = *(*int8)(unsafe.Pointer(zTSet)) != 0 {
|
|
var zThisTest uintptr = zTSet
|
|
var zComma uintptr = libc.Xstrchr(tls, zThisTest, ',')
|
|
if zComma != 0 {
|
|
*(*int8)(unsafe.Pointer(zComma)) = int8(0)
|
|
zTSet = zComma + uintptr(1)
|
|
} else {
|
|
zTSet = ts + 2269 /* "" */
|
|
}
|
|
if g.iTotal > int64(0) || zComma != uintptr(0) {
|
|
libc.Xprintf(tls, ts+24012, libc.VaList(bp+384, zThisTest))
|
|
}
|
|
if libc.Xstrcmp(tls, zThisTest, ts+22856) == 0 {
|
|
testset_main(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24039) == 0 {
|
|
testset_debug1(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24046) == 0 {
|
|
testset_orm(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24050) == 0 {
|
|
testset_cte(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24054) == 0 {
|
|
testset_fp(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24057) == 0 {
|
|
testset_trigger(tls)
|
|
} else if libc.Xstrcmp(tls, zThisTest, ts+24065) == 0 {
|
|
testset_rtree(tls, 6, 147)
|
|
} else {
|
|
fatal_error(tls,
|
|
ts+24071,
|
|
libc.VaList(bp+392, zThisTest))
|
|
}
|
|
if *(*int8)(unsafe.Pointer(zTSet)) != 0 {
|
|
var zSql uintptr
|
|
var zObj uintptr
|
|
speedtest1_begin_test(tls, 999, ts+24140, 0)
|
|
for 1 != 0 {
|
|
zObj = speedtest1_once(tls,
|
|
|
|
ts+24159, 0)
|
|
if zObj == uintptr(0) {
|
|
break
|
|
}
|
|
zSql = sqlite3.Xsqlite3_mprintf(tls, ts+24229, libc.VaList(bp+400, zObj))
|
|
speedtest1_exec(tls, zSql, 0)
|
|
sqlite3.Xsqlite3_free(tls, zSql)
|
|
sqlite3.Xsqlite3_free(tls, zObj)
|
|
}
|
|
for 1 != 0 {
|
|
zObj = speedtest1_once(tls,
|
|
|
|
ts+24250, 0)
|
|
if zObj == uintptr(0) {
|
|
break
|
|
}
|
|
zSql = sqlite3.Xsqlite3_mprintf(tls, ts+24229, libc.VaList(bp+408, zObj))
|
|
speedtest1_exec(tls, zSql, 0)
|
|
sqlite3.Xsqlite3_free(tls, zSql)
|
|
sqlite3.Xsqlite3_free(tls, zObj)
|
|
}
|
|
speedtest1_end_test(tls)
|
|
}
|
|
}
|
|
speedtest1_final(tls)
|
|
|
|
if showStats != 0 {
|
|
sqlite3.Xsqlite3_exec(tls, g.db, ts+24320, *(*uintptr)(unsafe.Pointer(&struct {
|
|
f func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32
|
|
}{xCompileOptions})), uintptr(0), uintptr(0))
|
|
}
|
|
|
|
// Database connection statistics printed after both prepared statements
|
|
// have been finalized
|
|
if showStats != 0 {
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_LOOKASIDE_USED, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24343, libc.VaList(bp+416, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */)), *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_LOOKASIDE_HIT, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24388, libc.VaList(bp+432, *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24424, libc.VaList(bp+440, *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24460, libc.VaList(bp+448, *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_CACHE_USED, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24496, libc.VaList(bp+456, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_CACHE_HIT, bp+568, bp+572, 1)
|
|
libc.Xprintf(tls, ts+24538, libc.VaList(bp+464, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_CACHE_MISS, bp+568, bp+572, 1)
|
|
libc.Xprintf(tls, ts+24574, libc.VaList(bp+472, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_CACHE_WRITE, bp+568, bp+572, 1)
|
|
libc.Xprintf(tls, ts+24610, libc.VaList(bp+480, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_SCHEMA_USED, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24646, libc.VaList(bp+488, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
sqlite3.Xsqlite3_db_status(tls, g.db, SQLITE_DBSTATUS_STMT_USED, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24688, libc.VaList(bp+496, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */))))
|
|
}
|
|
|
|
sqlite3.Xsqlite3_close(tls, g.db)
|
|
|
|
// Global memory usage statistics printed after the database connection
|
|
// has closed. Memory usage should be zero at this point.
|
|
if showStats != 0 {
|
|
sqlite3.Xsqlite3_status(tls, SQLITE_STATUS_MEMORY_USED, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24730, libc.VaList(bp+504, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */)), *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_status(tls, SQLITE_STATUS_MALLOC_COUNT, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24775, libc.VaList(bp+520, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */)), *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_status(tls, SQLITE_STATUS_PAGECACHE_OVERFLOW, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24820, libc.VaList(bp+536, *(*int32)(unsafe.Pointer(bp + 568 /* iCur */)), *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_status(tls, SQLITE_STATUS_MALLOC_SIZE, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24865, libc.VaList(bp+552, *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
sqlite3.Xsqlite3_status(tls, SQLITE_STATUS_PAGECACHE_SIZE, bp+568, bp+572, 0)
|
|
libc.Xprintf(tls, ts+24907, libc.VaList(bp+560, *(*int32)(unsafe.Pointer(bp + 572 /* iHi */))))
|
|
}
|
|
|
|
// Release memory
|
|
libc.Xfree(tls, pLook)
|
|
libc.Xfree(tls, pPCache)
|
|
libc.Xfree(tls, pHeap)
|
|
return 0
|
|
}
|
|
|
|
var ts1 = "Usage: %s [--options] DATABASE\nOptions:\n --autovacuum Enable AUTOVACUUM mode\n --cachesize N Set the cache size to N\n --checkpoint Run PRAGMA wal_checkpoint after each test case\n --exclusive Enable locking_mode=EXCLUSIVE\n --explain Like --sqlonly but with added EXPLAIN keywords\n --heap SZ MIN Memory allocator uses SZ bytes & min allocation MIN\n --incrvacuum Enable incremenatal vacuum mode\n --journal M Set the journal_mode to M\n --key KEY Set the encryption key to KEY\n --lookaside N SZ Configure lookaside for N slots of SZ bytes each\n --memdb Use an in-memory database\n --mmap SZ MMAP the first SZ bytes of the database file\n --multithread Set multithreaded mode\n --nomemstat Disable memory statistics\n --nosync Set PRAGMA synchronous=OFF\n --notnull Add NOT NULL constraints to table columns\n --output FILE Store SQL output in FILE\n --pagesize N Set the page size to N\n --pcache N SZ Configure N pages of pagecache each of size SZ bytes\n --primarykey Use PRIMARY KEY instead of UNIQUE where appropriate\n --repeat N Repeat each SELECT N times (default: 1)\n --reprepare Reprepare each statement upon every invocation\n --reserve N Reserve N bytes on each database page\n --serialized Set serialized threading mode\n --singlethread Set single-threaded mode - disables all mutexing\n --sqlonly No-op. Only show the SQL that would have been run.\n --shrink-memory Invoke sqlite3_db_release_memory() frequently.\n --size N Relative test size. Default=100\n --strict Use STRICT table where appropriate\n --stats Show statistics at the end\n --temp N N from 0 to 9. 0: no temp table. 9: all temp tables\n --testset T Run test-set T (main, cte, rtree, orm, fp, debug)\n --trace Turn on SQL tracing\n --threads N Use up to N threads for sorting\n --utf16be Set text encoding to UTF-16BE\n --utf16le Set text encoding to UTF-16LE\n --verify Run additional verification steps.\n --without-rowid Use WITHOUT ROWID where appropriate\n\x00 TEMP\x00\x00parameter too large - max 2147483648\x00KiB\x00MiB\x00GiB\x00KB\x00MB\x00GB\x00K\x00M\x00G\x00 billion\x00 million\x00 thousand\x00%s hundred\x00%s\x00zero\x00one\x00two\x00three\x00four\x00five\x00six\x00seven\x00eight\x00nine\x00ten\x00eleven\x00twelve\x00thirteen\x00fourteen\x00fifteen\x00sixteen\x00seventeen\x00eighteen\x00nineteen\x00twenty\x00thirty\x00forty\x00fifty\x00sixty\x00seventy\x00eighty\x00ninety\x00.......................................................................\x00/* %4d - %s%.*s */\n\x00%4d - %s%.*s \x00PRAGMA wal_checkpoint;\x00%4d.%03ds\n\x00 TOTAL%.*s %4d.%03ds\n\x00Verification Hash: %llu \x00\n\x00%02x\x00EXPLAIN \x00%.*s;\n\x00CREATE *\x00DROP *\x00ALTER *\x00SQL error: %s\n%s\n\x00exec error: %s\n\x00SQL error: %s\n\x00nil\x00-IFTBN\x000123456789abcdef\x00%d INSERTs into table with no index\x00BEGIN\x00CREATE%s TABLE z1(a INTEGER %s, b INTEGER %s, c TEXT %s);\x00INSERT INTO z1 VALUES(?1,?2,?3); -- %d times\x00COMMIT\x00%d ordered INSERTS with one index/PK\x00CREATE%s TABLE z2(a INTEGER %s %s, b INTEGER %s, c TEXT %s) %s\x00INSERT INTO z2 VALUES(?1,?2,?3); -- %d times\x00%d unordered INSERTS with one index/PK\x00CREATE%s TABLE t3(a INTEGER %s %s, b INTEGER %s, c TEXT %s) %s\x00INSERT INTO t3 VALUES(?1,?2,?3); -- %d times\x00%d SELECTS, numeric BETWEEN, unindexed\x00SELECT count(*), avg(b), sum(length(c)), group_concat(c) FROM z1\n WHERE b BETWEEN ?1 AND ?2; -- %d times\x00%d SELECTS, LIKE, unindexed\x00SELECT count(*), avg(b), sum(length(c)), group_concat(c) FROM z1\n WHERE c LIKE ?1; -- %d times\x00%d SELECTS w/ORDER BY, unindexed\x00SELECT a, b, c FROM z1 WHERE c LIKE ?1\n ORDER BY a; -- %d times\x00%d SELECTS w/ORDER BY and LIMIT, unindexed\x00SELECT a, b, c FROM z1 WHERE c LIKE ?1\n ORDER BY a LIMIT 10; -- %d times\x00CREATE INDEX five times\x00BEGIN;\x00CREATE UNIQUE INDEX t1b ON z1(b);\x00CREATE INDEX t1c ON z1(c);\x00CREATE UNIQUE INDEX t2b ON z2(b);\x00CREATE INDEX t2c ON z2(c DESC);\x00CREATE INDEX t3bc ON t3(b,c);\x00COMMIT;\x00%d SELECTS, numeric BETWEEN, indexed\x00SELECT count(*), avg(b), sum(length(c)), group_concat(a) FROM z1\n WHERE b BETWEEN ?1 AND ?2; -- %d times\x00%d SELECTS, numeric BETWEEN, PK\x00SELECT count(*), avg(b), sum(length(c)), group_concat(a) FROM z2\n WHERE a BETWEEN ?1 AND ?2; -- %d times\x00%d SELECTS, text BETWEEN, indexed\x00SELECT count(*), avg(b), sum(length(c)), group_concat(a) FROM z1\n WHERE c BETWEEN ?1 AND (?1||'~'); -- %d times\x00%d INSERTS with three indexes\x00CREATE%s TABLE t4(\n a INTEGER %s %s,\n b INTEGER %s,\n c TEXT %s\n) %s\x00CREATE INDEX t4b ON t4(b)\x00CREATE INDEX t4c ON t4(c)\x00INSERT INTO t4 SELECT * FROM z1\x00DELETE and REFILL one table\x00DELETE FROM z2;\x00INSERT INTO z2 SELECT * FROM z1;\x00VACUUM\x00ALTER TABLE ADD COLUMN, and query\x00ALTER TABLE z2 ADD COLUMN d INT DEFAULT 123\x00SELECT sum(d) FROM z2\x00%d UPDATES, numeric BETWEEN, indexed\x00UPDATE z2 SET d=b*2 WHERE b BETWEEN ?1 AND ?2; -- %d times\x00%d UPDATES of individual rows\x00UPDATE z2 SET d=b*3 WHERE a=?1; -- %d times\x00One big UPDATE of the whole %d-row table\x00UPDATE z2 SET d=b*4\x00Query added column after filling\x00%d DELETEs, numeric BETWEEN, indexed\x00DELETE FROM z2 WHERE b BETWEEN ?1 AND ?2; -- %d times\x00%d DELETEs of individual rows\x00DELETE FROM t3 WHERE a=?1; -- %d times\x00Refill two %d-row tables using REPLACE\x00REPLACE INTO z2(a,b,c) SELECT a,b,c FROM z1\x00REPLACE INTO t3(a,b,c) SELECT a,b,c FROM z1\x00Refill a %d-row table using (b&1)==(a&1)\x00INSERT INTO z2(a,b,c)\n SELECT a,b,c FROM z1 WHERE (b&1)==(a&1);\x00INSERT INTO z2(a,b,c)\n SELECT a,b,c FROM z1 WHERE (b&1)<>(a&1);\x00%d four-ways joins\x00SELECT z1.c FROM z1, z2, t3, t4\n WHERE t4.a BETWEEN ?1 AND ?2\n AND t3.a=t4.b\n AND z2.a=t3.b\n AND z1.c=z2.c\x00subquery in result set\x00SELECT sum(a), max(c),\n avg((SELECT a FROM z2 WHERE 5+z2.b=z1.b) AND rowid<?1), max(c)\n FROM z1 WHERE rowid<?1;\x00%d REPLACE ops on an IPK\x00CREATE%s TABLE t5(a INTEGER PRIMARY KEY, b %s);\x00REPLACE INTO t5 VALUES(?1,?2); -- %d times\x00%d SELECTS on an IPK\x00SELECT b FROM t5 WHERE a=?1; -- %d times\x00%d REPLACE on TEXT PK\x00CREATE%s TABLE t6(a TEXT PRIMARY KEY, b %s)%s;\x00WITHOUT ROWID\x00REPLACE INTO t6 VALUES(?1,?2); -- %d times\x00%d SELECTS on a TEXT PK\x00SELECT b FROM t6 WHERE a=?1; -- %d times\x00%d SELECT DISTINCT\x00SELECT DISTINCT b FROM t5;\x00SELECT DISTINCT b FROM t6;\x00PRAGMA integrity_check\x00ANALYZE\x00Sudoku with recursive 'digits'\x00WITH RECURSIVE\n input(sud) AS (VALUES(?1)),\n digits(z,lp) AS (\n VALUES('1', 1)\n UNION ALL\n SELECT CAST(lp+1 AS TEXT), lp+1 FROM digits WHERE lp<9\n ),\n x(s, ind) AS (\n SELECT sud, instr(sud, '.') FROM input\n UNION ALL\n SELECT\n substr(s, 1, ind-1) || z || substr(s, ind+1),\n instr( substr(s, 1, ind-1) || z || substr(s, ind+1), '.' )\n FROM x, digits AS z\n WHERE ind>0\n AND NOT EXISTS (\n SELECT 1\n FROM digits AS lp\n WHERE z.z = substr(s, ((ind-1)/9)*9 + lp, 1)\n OR z.z = substr(s, ((ind-1)%%9) + (lp-1)*9 + 1, 1)\n OR z.z = substr(s, (((ind-1)/3) %% 3) * 3\n + ((ind-1)/27) * 27 + lp\n + ((lp-1) / 3) * 6, 1)\n )\n )\nSELECT s FROM x WHERE ind=0;\x00Sudoku with VALUES 'digits'\x00WITH RECURSIVE\n input(sud) AS (VALUES(?1)),\n digits(z,lp) AS (VALUES('1',1),('2',2),('3',3),('4',4),('5',5),\n ('6',6),('7',7),('8',8),('9',9)),\n x(s, ind) AS (\n SELECT sud, instr(sud, '.') FROM input\n UNION ALL\n SELECT\n substr(s, 1, ind-1) || z || substr(s, ind+1),\n instr( substr(s, 1, ind-1) || z || substr(s, ind+1), '.' )\n FROM x, digits AS z\n WHERE ind>0\n AND NOT EXISTS (\n SELECT 1\n FROM digits AS lp\n WHERE z.z = substr(s, ((ind-1)/9)*9 + lp, 1)\n OR z.z = substr(s, ((ind-1)%%9) + (lp-1)*9 + 1, 1)\n OR z.z = substr(s, (((ind-1)/3) %% 3) * 3\n + ((ind-1)/27) * 27 + lp\n + ((lp-1) / 3) * 6, 1)\n )\n )\nSELECT s FROM x WHERE ind=0;\x00Mandelbrot Set with spacing=%f\x00WITH RECURSIVE \n xaxis(x) AS (VALUES(-2.0) UNION ALL SELECT x+?1 FROM xaxis WHERE x<1.2),\n yaxis(y) AS (VALUES(-1.0) UNION ALL SELECT y+?2 FROM yaxis WHERE y<1.0),\n m(iter, cx, cy, x, y) AS (\n SELECT 0, x, y, 0.0, 0.0 FROM xaxis, yaxis\n UNION ALL\n SELECT iter+1, cx, cy, x*x-y*y + cx, 2.0*x*y + cy FROM m \n WHERE (x*x + y*y) < 4.0 AND iter<28\n ),\n m2(iter, cx, cy) AS (\n SELECT max(iter), cx, cy FROM m GROUP BY cx, cy\n ),\n a(t) AS (\n SELECT group_concat( substr(' .+*#', 1+min(iter/7,4), 1), '') \n FROM m2 GROUP BY cy\n )\nSELECT group_concat(rtrim(t),x'0a') FROM a;\x00EXCEPT operator on %d-element tables\x00WITH RECURSIVE \n z1(x) AS (VALUES(2) UNION ALL SELECT x+2 FROM z1 WHERE x<%d),\n z2(y) AS (VALUES(3) UNION ALL SELECT y+3 FROM z2 WHERE y<%d)\nSELECT count(x), avg(x) FROM (\n SELECT x FROM z1 EXCEPT SELECT y FROM z2 ORDER BY 1\n);\x00534...9..67.195....98....6.8...6...34..8.3..1....2...6.6....28....419..5...28..79\x0053....9..6..195....98....6.8...6...34..8.3..1....2...6.6....28....419..5....8..79\x0053.......6..195....98....6.8...6...34..8.3..1....2...6.6....28....419..5....8..79\x00%d.%de%d\x00Fill a table with %d FP values\x00CREATE%s TABLE z1(a REAL %s, b REAL %s);\x00INSERT INTO z1 VALUES(?1,?2); -- %d times\x00%d range queries\x00SELECT sum(b) FROM z1 WHERE a BETWEEN ?1 AND ?2\x00CREATE INDEX three times\x00CREATE INDEX t1a ON z1(a);\x00CREATE INDEX t1b ON z1(b);\x00CREATE INDEX t1ab ON z1(a,b);\x00%d indexed range queries\x00%d calls to round()\x00SELECT sum(round(a,2)+round(b,4)) FROM z1;\x00%d printf() calls\x00WITH c(fmt) AS (VALUES('%%g'),('%%e'),('%%!g'),('%%.20f'))SELECT sum(printf(fmt,a)) FROM z1, c\x00%d INSERTs into an r-tree\x00CREATE VIRTUAL TABLE rt1 USING rtree(id,x0,x1,y0,y1,z0,z1)\x00INSERT INTO rt1(id,x0,x1,y0,y1,z0,z1)VALUES(?1,?2,?3,?4,?5,?6,?7)\x00Copy from rtree to a regular table\x00CREATE TABLE z1(id INTEGER PRIMARY KEY,x0,x1,y0,y1,z0,z1)\x00INSERT INTO z1 SELECT * FROM rt1\x00%d one-dimensional intersect slice queries\x00SELECT count(*) FROM rt1 WHERE x0>=?1 AND x1<=?2\x00Verify result from 1-D intersect slice queries\x00SELECT count(*) FROM z1 WHERE x0>=?1 AND x1<=?2\x00Count disagree step %d: %d..%d. %d vs %d\x00%d one-dimensional overlap slice queries\x00SELECT count(*) FROM rt1 WHERE y1>=?1 AND y0<=?2\x00Verify result from 1-D overlap slice queries\x00SELECT count(*) FROM z1 WHERE y1>=?1 AND y0<=?2\x00%d custom geometry callback queries\x00xslice\x00SELECT count(*) FROM rt1 WHERE id MATCH xslice(?1,?2)\x00%d three-dimensional intersect box queries\x00SELECT count(*) FROM rt1 WHERE x1>=?1 AND x0<=?2 AND y1>=?1 AND y0<=?2 AND z1>=?1 AND z0<=?2\x00%d rowid queries\x00SELECT * FROM rt1 WHERE id=?1\x00%d UPDATEs using rowid\x00UPDATE rt1 SET x0=x0+100, x1=x1+100 WHERE id=?1\x00%d UPDATEs using one-dimensional overlap\x00UPDATE rt1 SET x0=x0-100, x1=x1-100 WHERE y1>=?1 AND y0<=?1+5\x00%d DELETEs using rowid\x00DELETE FROM rt1 WHERE id=?1\x00%d DELETEs using one-dimensional overlap\x00DELETE FROM rt1 WHERE y1>=?1 AND y0<=?1+5\x00Restore deleted entries using INSERT OR IGNORE\x00INSERT OR IGNORE INTO rt1 SELECT * FROM z1\x00Fill %d rows\x00BEGIN;CREATE TABLE ZLOOKSLIKECOREDATA ( ZPK INTEGER PRIMARY KEY, ZTERMFITTINGHOUSINGCOMMAND INTEGER, ZBRIEFGOBYDODGERHEIGHT BLOB, ZCAPABLETRIPDOORALMOND BLOB, ZDEPOSITPAIRCOLLEGECOMET INTEGER, ZFRAMEENTERSIMPLEMOUTH INTEGER, ZHOPEFULGATEHOLECHALK INTEGER, ZSLEEPYUSERGRANDBOWL TIMESTAMP, ZDEWPEACHCAREERCELERY INTEGER, ZHANGERLITHIUMDINNERMEET VARCHAR, ZCLUBRELEASELIZARDADVICE VARCHAR, ZCHARGECLICKHUMANEHIRE INTEGER, ZFINGERDUEPIZZAOPTION TIMESTAMP, ZFLYINGDOCTORTABLEMELODY BLOB, ZLONGFINLEAVEIMAGEOIL TIMESTAMP, ZFAMILYVISUALOWNERMATTER BLOB, ZGOLDYOUNGINITIALNOSE FLOAT, ZCAUSESALAMITERMCYAN BLOB, ZSPREADMOTORBISCUITBACON FLOAT, ZGIFTICEFISHGLUEHAIR INTEGER, ZNOTICEPEARPOLICYJUICE TIMESTAMP, ZBANKBUFFALORECOVERORBIT TIMESTAMP, ZLONGDIETESSAYNATURE FLOAT, ZACTIONRANGEELEGANTNEUTRON BLOB, ZCADETBRIGHTPLANETBANK TIMESTAMP, ZAIRFORGIVEHEADFROG BLOB, ZSHARKJUSTFRUITMOVIE VARCHAR, ZFARMERMORNINGMIRRORCONCERN BLOB, ZWOODPOETRYCOBBLERBENCH VARCHAR, ZHAFNIUMSCRIPTSALADMOTOR INTEGER, ZPROBLEMCLUBPOPOVERJELLY FLOAT, ZEIGHTLEADERWORKERMOST TIMESTAMP, ZGLASSRESERVEBARIUMMEAL BLOB, ZCLAMBITARUGULAFAJITA BLOB, ZDECADEJOYOUSWAVEHABIT FLOAT, ZCOMPANYSUMMERFIBERELF INTEGER, ZTREATTESTQUILLCHARGE TIMESTAMP, ZBROWBALANCEKEYCHOWDER FLOAT, ZPEACHCOPPERDINNERLAKE FLOAT, ZDRYWALLBEYONDBROWNBOWL VARCHAR, ZBELLYCRASHITEMLACK BLOB, ZTENNISCYCLEBILLOFFICER INTEGER, ZMALLEQUIPTHANKSGLUE FLOAT, ZMISSREPLYHUMANLIVING INTEGER, ZKIWIVISUALPRIDEAPPLE VARCHAR, ZWISHHITSKINMOTOR BLOB, ZCALMRACCOONPROGRAMDEBIT VARCHAR, ZSHINYASSISTLIVINGCRAB VARCHAR, ZRESOLVEWRISTWRAPAPPLE VARCHAR, ZAPPEALSIMPLESECONDHOUSING BLOB, ZCORNERANCHORTAPEDIVER TIMESTAMP, ZMEMORYREQUESTSOURCEBIG VARCHAR, ZTRYFACTKEEPMILK TIMESTAMP, ZDIVERPAINTLEATHEREASY INTEGER, ZSORTMISTYQUOTECABBAGE BLOB, ZTUNEGASBUFFALOCAPITAL BLOB, ZFILLSTOPLAWJOYFUL FLOAT, ZSTEELCAREFULPLATENUMBER FLOAT, ZGIVEVIVIDDIVINEMEANING INTEGER, ZTREATPACKFUTURECONVERT VARCHAR, ZCALMLYGEMFINISHEFFECT INTEGER, ZCABBAGESOCKEASEMINUTE BLOB, ZPLANETFAMILYPUREMEMORY TIMESTAMP, ZMERRYCRACKTRAINLEADER BLOB, ZMINORWAYPAPERCLASSY TIMESTAMP, ZEAGLELINEMINEMAIL VARCHAR, ZRESORTYARDGREENLET TIMESTAMP, ZYARDOREGANOVIVIDJEWEL TIMESTAMP, ZPURECAKEVIVIDNEATLY FLOAT, ZASKCONTACTMONITORFUN TIMESTAMP, ZMOVEWHOGAMMAINCH VARCHAR, ZLETTUCEBIRDMEETDEBATE TIMESTAMP, ZGENENATURALHEARINGKITE VARCHAR, ZMUFFINDRYERDRAWFORTUNE FLOAT, ZGRAYSURVEYWIRELOVE FLOAT, ZPLIERSPRINTASKOREGANO INTEGER, ZTRAVELDRIVERCONTESTLILY INTEGER, ZHUMORSPICESANDKIDNEY TIMESTAMP, ZARSENICSAMPLEWAITMUON INTEGER, ZLACEADDRESSGROUNDCAREFUL FLOAT, ZBAMBOOMESSWASABIEVENING BLOB, ZONERELEASEAVERAGENURSE INTEGER, ZRADIANTWHENTRYCARD TIMESTAMP, ZREWARDINSIDEMANGOINTENSE FLOAT, ZNEATSTEWPARTIRON TIMESTAMP, ZOUTSIDEPEAHENCOUNTICE TIMESTAMP, ZCREAMEVENINGLIPBRANCH FLOAT, ZWHALEMATHAVOCADOCOPPER FLOAT, ZLIFEUSELEAFYBELL FLOAT, ZWEALTHLINENGLEEFULDAY VARCHAR, ZFACEINVITETALKGOLD BLOB, ZWESTAMOUNTAFFECTHEARING INTEGER, ZDELAYOUTCOMEHORNAGENCY INTEGER, ZBIGTHINKCONVERTECONOMY BLOB, ZBASEGOUDAREGULARFORGIVE TIMESTAMP, ZPATTERNCLORINEGRANDCOLBY TIMESTAMP, ZCYANBASEFEEDADROIT INTEGER, ZCARRYFLOORMINNOWDRAGON TIMESTAMP, ZIMAGEPENCILOTHERBOTTOM FLOAT, ZXENONFLIGHTPALEAPPLE TIMESTAMP, ZHERRINGJOKEFEATUREHOPEFUL FLOAT, ZCAPYEARLYRIVETBRUSH FLOAT, ZAGEREEDFROGBASKET VARCHAR, ZUSUALBODYHALIBUTDIAMOND VARCHAR, ZFOOTTAPWORDENTRY VARCHAR, ZDISHKEEPBLESTMONITOR FLOAT, ZBROADABLESOLIDCASUAL INTEGER, ZSQUAREGLEEFULCHILDLIGHT INTEGER, ZHOLIDAYHEADPONYDETAIL INTEGER, ZGENERALRESORTSKYOPEN TIMESTAMP, ZGLADSPRAYKIDNEYGUPPY VARCHAR, ZSWIMHEAVYMENTIONKIND BLOB, ZMESSYSULFURDREAMFESTIVE BLOB, ZSKYSKYCLASSICBRIEF VARCHAR, ZDILLASKHOKILEMON FLOAT, ZJUNIORSHOWPRESSNOVA FLOAT, ZSIZETOEAWARDFRESH TIMESTAMP, ZKEYFAILAPRICOTMETAL VARCHAR, ZHANDYREPAIRPROTONAIRPORT VARCHAR, ZPOSTPROTEINHANDLEACTOR BLOB);\x00INSERT INTO ZLOOKSLIKECOREDATA(ZPK,ZAIRFORGIVEHEADFROG,ZGIFTICEFISHGLUEHAIR,ZDELAYOUTCOMEHORNAGENCY,ZSLEEPYUSERGRANDBOWL,ZGLASSRESERVEBARIUMMEAL,ZBRIEFGOBYDODGERHEIGHT,ZBAMBOOMESSWASABIEVENING,ZFARMERMORNINGMIRRORCONCERN,ZTREATPACKFUTURECONVERT,ZCAUSESALAMITERMCYAN,ZCALMRACCOONPROGRAMDEBIT,ZHOLIDAYHEADPONYDETAIL,ZWOODPOETRYCOBBLERBENCH,ZHAFNIUMSCRIPTSALADMOTOR,ZUSUALBODYHALIBUTDIAMOND,ZOUTSIDEPEAHENCOUNTICE,ZDIVERPAINTLEATHEREASY,ZWESTAMOUNTAFFECTHEARING,ZSIZETOEAWARDFRESH,ZDEWPEACHCAREERCELERY,ZSTEELCAREFULPLATENUMBER,ZCYANBASEFEEDADROIT,ZCALMLYGEMFINISHEFFECT,ZHANDYREPAIRPROTONAIRPORT,ZGENENATURALHEARINGKITE,ZBROADABLESOLIDCASUAL,ZPOSTPROTEINHANDLEACTOR,ZLACEADDRESSGROUNDCAREFUL,ZIMAGEPENCILOTHERBOTTOM,ZPROBLEMCLUBPOPOVERJELLY,ZPATTERNCLORINEGRANDCOLBY,ZNEATSTEWPARTIRON,ZAPPEALSIMPLESECONDHOUSING,ZMOVEWHOGAMMAINCH,ZTENNISCYCLEBILLOFFICER,ZSHARKJUSTFRUITMOVIE,ZKEYFAILAPRICOTMETAL,ZCOMPANYSUMMERFIBERELF,ZTERMFITTINGHOUSINGCOMMAND,ZRESORTYARDGREENLET,ZCABBAGESOCKEASEMINUTE,ZSQUAREGLEEFULCHILDLIGHT,ZONERELEASEAVERAGENURSE,ZBIGTHINKCONVERTECONOMY,ZPLIERSPRINTASKOREGANO,ZDECADEJOYOUSWAVEHABIT,ZDRYWALLBEYONDBROWNBOWL,ZCLUBRELEASELIZARDADVICE,ZWHALEMATHAVOCADOCOPPER,ZBELLYCRASHITEMLACK,ZLETTUCEBIRDMEETDEBATE,ZCAPABLETRIPDOORALMOND,ZRADIANTWHENTRYCARD,ZCAPYEARLYRIVETBRUSH,ZAGEREEDFROGBASKET,ZSWIMHEAVYMENTIONKIND,ZTRAVELDRIVERCONTESTLILY,ZGLADSPRAYKIDNEYGUPPY,ZBANKBUFFALORECOVERORBIT,ZFINGERDUEPIZZAOPTION,ZCLAMBITARUGULAFAJITA,ZLONGFINLEAVEIMAGEOIL,ZLONGDIETESSAYNATURE,ZJUNIORSHOWPRESSNOVA,ZHOPEFULGATEHOLECHALK,ZDEPOSITPAIRCOLLEGECOMET,ZWEALTHLINENGLEEFULDAY,ZFILLSTOPLAWJOYFUL,ZTUNEGASBUFFALOCAPITAL,ZGRAYSURVEYWIRELOVE,ZCORNERANCHORTAPEDIVER,ZREWARDINSIDEMANGOINTENSE,ZCADETBRIGHTPLANETBANK,ZPLANETFAMILYPUREMEMORY,ZTREATTESTQUILLCHARGE,ZCREAMEVENINGLIPBRANCH,ZSKYSKYCLASSICBRIEF,ZARSENICSAMPLEWAITMUON,ZBROWBALANCEKEYCHOWDER,ZFLYINGDOCTORTABLEMELODY,ZHANGERLITHIUMDINNERMEET,ZNOTICEPEARPOLICYJUICE,ZSHINYASSISTLIVINGCRAB,ZLIFEUSELEAFYBELL,ZFACEINVITETALKGOLD,ZGENERALRESORTSKYOPEN,ZPURECAKEVIVIDNEATLY,ZKIWIVISUALPRIDEAPPLE,ZMESSYSULFURDREAMFESTIVE,ZCHARGECLICKHUMANEHIRE,ZHERRINGJOKEFEATUREHOPEFUL,ZYARDOREGANOVIVIDJEWEL,ZFOOTTAPWORDENTRY,ZWISHHITSKINMOTOR,ZBASEGOUDAREGULARFORGIVE,ZMUFFINDRYERDRAWFORTUNE,ZACTIONRANGEELEGANTNEUTRON,ZTRYFACTKEEPMILK,ZPEACHCOPPERDINNERLAKE,ZFRAMEENTERSIMPLEMOUTH,ZMERRYCRACKTRAINLEADER,ZMEMORYREQUESTSOURCEBIG,ZCARRYFLOORMINNOWDRAGON,ZMINORWAYPAPERCLASSY,ZDILLASKHOKILEMON,ZRESOLVEWRISTWRAPAPPLE,ZASKCONTACTMONITORFUN,ZGIVEVIVIDDIVINEMEANING,ZEIGHTLEADERWORKERMOST,ZMISSREPLYHUMANLIVING,ZXENONFLIGHTPALEAPPLE,ZSORTMISTYQUOTECABBAGE,ZEAGLELINEMINEMAIL,ZFAMILYVISUALOWNERMATTER,ZSPREADMOTORBISCUITBACON,ZDISHKEEPBLESTMONITOR,ZMALLEQUIPTHANKSGLUE,ZGOLDYOUNGINITIALNOSE,ZHUMORSPICESANDKIDNEY)VALUES(?1,?26,?20,?93,?8,?33,?3,?81,?28,?60,?18,?47,?109,?29,?30,?104,?86,?54,?92,?117,?9,?58,?97,?61,?119,?73,?107,?120,?80,?99,?31,?96,?85,?50,?71,?42,?27,?118,?36,?2,?67,?62,?108,?82,?94,?76,?35,?40,?11,?88,?41,?72,?4,?83,?102,?103,?112,?77,?111,?22,?13,?34,?15,?23,?116,?7,?5,?90,?57,?56,?75,?51,?84,?25,?63,?37,?87,?114,?79,?38,?14,?10,?21,?48,?89,?91,?110,?69,?45,?113,?12,?101,?68,?105,?46,?95,?74,?24,?53,?39,?6,?64,?52,?98,?65,?115,?49,?70,?59,?32,?44,?100,?55,?66,?16,?19,?106,?43,?17,?78);\x00Query %d rows by rowid\x00SELECT ZCYANBASEFEEDADROIT,ZJUNIORSHOWPRESSNOVA,ZCAUSESALAMITERMCYAN,ZHOPEFULGATEHOLECHALK,ZHUMORSPICESANDKIDNEY,ZSWIMHEAVYMENTIONKIND,ZMOVEWHOGAMMAINCH,ZAPPEALSIMPLESECONDHOUSING,ZHAFNIUMSCRIPTSALADMOTOR,ZNEATSTEWPARTIRON,ZLONGFINLEAVEIMAGEOIL,ZDEWPEACHCAREERCELERY,ZXENONFLIGHTPALEAPPLE,ZCALMRACCOONPROGRAMDEBIT,ZUSUALBODYHALIBUTDIAMOND,ZTRYFACTKEEPMILK,ZWEALTHLINENGLEEFULDAY,ZLONGDIETESSAYNATURE,ZLIFEUSELEAFYBELL,ZTREATPACKFUTURECONVERT,ZMEMORYREQUESTSOURCEBIG,ZYARDOREGANOVIVIDJEWEL,ZDEPOSITPAIRCOLLEGECOMET,ZSLEEPYUSERGRANDBOWL,ZBRIEFGOBYDODGERHEIGHT,ZCLUBRELEASELIZARDADVICE,ZCAPABLETRIPDOORALMOND,ZDRYWALLBEYONDBROWNBOWL,ZASKCONTACTMONITORFUN,ZKIWIVISUALPRIDEAPPLE,ZNOTICEPEARPOLICYJUICE,ZPEACHCOPPERDINNERLAKE,ZSTEELCAREFULPLATENUMBER,ZGLADSPRAYKIDNEYGUPPY,ZCOMPANYSUMMERFIBERELF,ZTENNISCYCLEBILLOFFICER,ZIMAGEPENCILOTHERBOTTOM,ZWESTAMOUNTAFFECTHEARING,ZDIVERPAINTLEATHEREASY,ZSKYSKYCLASSICBRIEF,ZMESSYSULFURDREAMFESTIVE,ZMERRYCRACKTRAINLEADER,ZBROADABLESOLIDCASUAL,ZGLASSRESERVEBARIUMMEAL,ZTUNEGASBUFFALOCAPITAL,ZBANKBUFFALORECOVERORBIT,ZTREATTESTQUILLCHARGE,ZBAMBOOMESSWASABIEVENING,ZREWARDINSIDEMANGOINTENSE,ZEAGLELINEMINEMAIL,ZCALMLYGEMFINISHEFFECT,ZKEYFAILAPRICOTMETAL,ZFINGERDUEPIZZAOPTION,ZCADETBRIGHTPLANETBANK,ZGOLDYOUNGINITIALNOSE,ZMISSREPLYHUMANLIVING,ZEIGHTLEADERWORKERMOST,ZFRAMEENTERSIMPLEMOUTH,ZBIGTHINKCONVERTECONOMY,ZFACEINVITETALKGOLD,ZPOSTPROTEINHANDLEACTOR,ZHERRINGJOKEFEATUREHOPEFUL,ZCABBAGESOCKEASEMINUTE,ZMUFFINDRYERDRAWFORTUNE,ZPROBLEMCLUBPOPOVERJELLY,ZGIVEVIVIDDIVINEMEANING,ZGENENATURALHEARINGKITE,ZGENERALRESORTSKYOPEN,ZLETTUCEBIRDMEETDEBATE,ZBASEGOUDAREGULARFORGIVE,ZCHARGECLICKHUMANEHIRE,ZPLANETFAMILYPUREMEMORY,ZMINORWAYPAPERCLASSY,ZCAPYEARLYRIVETBRUSH,ZSIZETOEAWARDFRESH,ZARSENICSAMPLEWAITMUON,ZSQUAREGLEEFULCHILDLIGHT,ZSHINYASSISTLIVINGCRAB,ZCORNERANCHORTAPEDIVER,ZDECADEJOYOUSWAVEHABIT,ZTRAVELDRIVERCONTESTLILY,ZFLYINGDOCTORTABLEMELODY,ZSHARKJUSTFRUITMOVIE,ZFAMILYVISUALOWNERMATTER,ZFARMERMORNINGMIRRORCONCERN,ZGIFTICEFISHGLUEHAIR,ZOUTSIDEPEAHENCOUNTICE,ZSPREADMOTORBISCUITBACON,ZWISHHITSKINMOTOR,ZHOLIDAYHEADPONYDETAIL,ZWOODPOETRYCOBBLERBENCH,ZAIRFORGIVEHEADFROG,ZBROWBALANCEKEYCHOWDER,ZDISHKEEPBLESTMONITOR,ZCLAMBITARUGULAFAJITA,ZPLIERSPRINTASKOREGANO,ZRADIANTWHENTRYCARD,ZDELAYOUTCOMEHORNAGENCY,ZPURECAKEVIVIDNEATLY,ZPATTERNCLORINEGRANDCOLBY,ZHANDYREPAIRPROTONAIRPORT,ZAGEREEDFROGBASKET,ZSORTMISTYQUOTECABBAGE,ZFOOTTAPWORDENTRY,ZRESOLVEWRISTWRAPAPPLE,ZDILLASKHOKILEMON,ZFILLSTOPLAWJOYFUL,ZACTIONRANGEELEGANTNEUTRON,ZRESORTYARDGREENLET,ZCREAMEVENINGLIPBRANCH,ZWHALEMATHAVOCADOCOPPER,ZGRAYSURVEYWIRELOVE,ZBELLYCRASHITEMLACK,ZHANGERLITHIUMDINNERMEET,ZCARRYFLOORMINNOWDRAGON,ZMALLEQUIPTHANKSGLUE,ZTERMFITTINGHOUSINGCOMMAND,ZONERELEASEAVERAGENURSE,ZLACEADDRESSGROUNDCAREFUL FROM ZLOOKSLIKECOREDATA WHERE ZPK=?1;\x00IBBIIITIVVITBTBFBFITTFBTBVBVIFTBBFITFFVBIFIVBVVVBTVTIBBFFIVIBTBTVTTFTVTVFFIITIFBITFTTFFFVBIIBTTITFTFFVVVFIIITVBBVFFTVVB\x00BEGIN;CREATE TABLE z1(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);CREATE TABLE z2(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);CREATE TABLE t3(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);CREATE VIEW v1 AS SELECT rowid, i, t FROM z1;CREATE VIEW v2 AS SELECT rowid, i, t FROM z2;CREATE VIEW v3 AS SELECT rowid, i, t FROM t3;\x00INSERT INTO t%d VALUES(NULL,?1,?2)\x00CREATE INDEX i1 ON z1(t);CREATE INDEX i2 ON z2(t);CREATE INDEX i3 ON t3(t);COMMIT;\x00speed4p-join1\x00SELECT * FROM z1, z2, t3 WHERE z1.oid = z2.oid AND z2.oid = t3.oid\x00speed4p-join2\x00SELECT * FROM z1, z2, t3 WHERE z1.t = z2.t AND z2.t = t3.t\x00speed4p-view1\x00SELECT * FROM v%d WHERE rowid = ?\x00speed4p-table1\x00SELECT * FROM t%d WHERE rowid = ?\x00speed4p-subselect1\x00SELECT (SELECT t FROM z1 WHERE rowid = ?1),(SELECT t FROM z2 WHERE rowid = ?1),(SELECT t FROM t3 WHERE rowid = ?1)\x00speed4p-rowid-update\x00UPDATE z1 SET i=i+1 WHERE rowid=?1\x00CREATE TABLE t5(t TEXT PRIMARY KEY, i INTEGER);\x00speed4p-insert-ignore\x00INSERT OR IGNORE INTO t5 SELECT t, i FROM z1\x00CREATE TABLE log(op TEXT, r INTEGER, i INTEGER, t TEXT);CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);CREATE TRIGGER t4_trigger1 AFTER INSERT ON t4 BEGIN INSERT INTO log VALUES('INSERT INTO t4', new.rowid, new.i, new.t);END;CREATE TRIGGER t4_trigger2 AFTER UPDATE ON t4 BEGIN INSERT INTO log VALUES('UPDATE OF t4', new.rowid, new.i, new.t);END;CREATE TRIGGER t4_trigger3 AFTER DELETE ON t4 BEGIN INSERT INTO log VALUES('DELETE OF t4', old.rowid, old.i, old.t);END;BEGIN;\x00speed4p-trigger1\x00INSERT INTO t4 VALUES(NULL, ?1, ?2)\x00speed4p-trigger2\x00UPDATE t4 SET i = ?1, t = ?2 WHERE rowid = ?3\x00speed4p-trigger3\x00DELETE FROM t4 WHERE rowid = ?1\x00DROP TABLE t4;DROP TABLE log;VACUUM;CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);BEGIN;\x00speed4p-notrigger1\x00speed4p-notrigger2\x00speed4p-notrigger3\x00%5d %5d %5d %s\n\x00-- Compile option: %s\n\x00main\x00-- Speedtest1 for SQLite %s %.48s\n\x00UNIQUE\x00autovacuum\x00cachesize\x00missing argument on %s\n\x00exclusive\x00checkpoint\x00explain\x00heap\x00missing arguments on %s\n\x00incrvacuum\x00journal\x00key\x00lookaside\x00memdb\x00multithread\x00nomemstat\x00mmap\x00nosync\x00notnull\x00NOT NULL\x00output\x00-\x00wb\x00cannot open \"%s\" for writing\n\x00pagesize\x00pcache\x00primarykey\x00PRIMARY KEY\x00repeat\x00reprepare\x00serialized\x00singlethread\x00sqlonly\x00shrink-memory\x00size\x00stats\x00temp\x00argument to --temp should be integer between 0 and 9\x00testset\x00trace\x00threads\x00utf16le\x00utf16be\x00verify\x00reserve\x00without-rowid\x00WITHOUT\x00STRICT\x00WITHOUT ROWID,STRICT\x00strict\x00help\x00?\x00unknown option: %s\nUse \"%s -?\" for help\n\x00surplus argument: %s\nUse \"%s -?\" for help\n\x00cannot allocate %d-byte heap\n\x00heap configuration failed: %d\n\x00cannot allocate %lld-byte pcache\n\x00pcache configuration failed: %d\n\x00:memory:\x00Cannot open database file: %s\n\x00lookaside configuration failed: %d\n\x00random\x00PRAGMA temp_store=memory\x00PRAGMA mmap_size=%d\x00PRAGMA threads=%d\x00PRAGMA key('%s')\x00PRAGMA encoding=%s\x00PRAGMA auto_vacuum=FULL\x00PRAGMA auto_vacuum=INCREMENTAL\x00PRAGMA page_size=%d\x00PRAGMA cache_size=%d\x00PRAGMA synchronous=OFF\x00PRAGMA locking_mode=EXCLUSIVE\x00PRAGMA journal_mode=%s\x00.explain\n.echo on\n\x00 Begin testset \"%s\"\n\x00debug1\x00orm\x00cte\x00fp\x00trigger\x00rtree\x00unknown testset: \"%s\"\nChoices: cte debug1 fp main orm rtree trigger\n\x00Reset the database\x00SELECT name FROM main.sqlite_master WHERE sql LIKE 'CREATE %%TABLE%%'\x00DROP TABLE main.\"%w\"\x00SELECT name FROM temp.sqlite_master WHERE sql LIKE 'CREATE %%TABLE%%'\x00PRAGMA compile_options\x00-- Lookaside Slots Used: %d (max %d)\n\x00-- Successful lookasides: %d\n\x00-- Lookaside size faults: %d\n\x00-- Lookaside OOM faults: %d\n\x00-- Pager Heap Usage: %d bytes\n\x00-- Page cache hits: %d\n\x00-- Page cache misses: %d\n\x00-- Page cache writes: %d\n\x00-- Schema Heap Usage: %d bytes\n\x00-- Statement Heap Usage: %d bytes\n\x00-- Memory Used (bytes): %d (max %d)\n\x00-- Outstanding Allocations: %d (max %d)\n\x00-- Pcache Overflow Bytes: %d (max %d)\n\x00-- Largest Allocation: %d bytes\n\x00-- Largest Pcache Allocation: %d bytes\n\x00"
|
|
var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data
|