mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-06 16:26:59 +08:00
linux/386: regenerate
This commit is contained in:
8
go.mod
8
go.mod
@@ -5,9 +5,9 @@ go 1.15
|
||||
require (
|
||||
github.com/mattn/go-sqlite3 v1.14.8
|
||||
golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac
|
||||
modernc.org/ccgo/v3 v3.12.39
|
||||
modernc.org/libc v1.11.40
|
||||
modernc.org/ccgo/v3 v3.12.46
|
||||
modernc.org/libc v1.11.44
|
||||
modernc.org/mathutil v1.4.1
|
||||
modernc.org/tcl v1.8.1
|
||||
modernc.org/z v1.2.7
|
||||
modernc.org/tcl v1.8.2
|
||||
modernc.org/z v1.2.8
|
||||
)
|
||||
|
18
go.sum
18
go.sum
@@ -74,8 +74,9 @@ modernc.org/ccgo/v3 v3.12.25/go.mod h1:UaLyWI26TwyIT4+ZFNjkyTbsPsY3plAEB6E7L/vZV
|
||||
modernc.org/ccgo/v3 v3.12.29/go.mod h1:FXVjG7YLf9FetsS2OOYcwNhcdOLGt8S9bQ48+OP75cE=
|
||||
modernc.org/ccgo/v3 v3.12.36/go.mod h1:uP3/Fiezp/Ga8onfvMLpREq+KUjUmYMxXPO8tETHtA8=
|
||||
modernc.org/ccgo/v3 v3.12.38/go.mod h1:93O0G7baRST1vNj4wnZ49b1kLxt0xCW5Hsa2qRaZPqc=
|
||||
modernc.org/ccgo/v3 v3.12.39 h1:a5VerUVWhtfhVTiLDKIcebmVzXY1U9PeUrKJ71unE9w=
|
||||
modernc.org/ccgo/v3 v3.12.39/go.mod h1:0r9ejJghrz/33dA6cF6m6m6Glk1uWs0pwagU5T4wOf8=
|
||||
modernc.org/ccgo/v3 v3.12.43/go.mod h1:k+DqGXd3o7W+inNujK15S5ZYuPoWYLpF5PYougCmthU=
|
||||
modernc.org/ccgo/v3 v3.12.46 h1:a0ShJzPDI0Q3Ze5M0fxqM7/cOTetWneDZqN92FY4RpI=
|
||||
modernc.org/ccgo/v3 v3.12.46/go.mod h1:UZe6EvMSqOxaJ4sznY7b23/k13R8XNlyWsO5bAmSgOE=
|
||||
modernc.org/httpfs v1.0.6 h1:AAgIpFZRXuYnkjftxTAZwMIiwEqAfk8aVB2/oA6nAeM=
|
||||
modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM=
|
||||
modernc.org/libc v1.9.8/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w=
|
||||
@@ -96,8 +97,9 @@ modernc.org/libc v1.11.31/go.mod h1:FpBncUkEAtopRNJj8aRo29qUiyx5AvAlAxzlx9GNaVM=
|
||||
modernc.org/libc v1.11.34/go.mod h1:+Tzc4hnb1iaX/SKAutJmfzES6awxfU1BPvrrJO0pYLg=
|
||||
modernc.org/libc v1.11.37/go.mod h1:dCQebOwoO1046yTrfUE5nX1f3YpGZQKNcITUYWlrAWo=
|
||||
modernc.org/libc v1.11.39/go.mod h1:mV8lJMo2S5A31uD0k1cMu7vrJbSA3J3waQJxpV4iqx8=
|
||||
modernc.org/libc v1.11.40 h1:kzLVEt6LvBF9KrFgHDVzd597oqgRcBfMN8x5OidNN90=
|
||||
modernc.org/libc v1.11.40/go.mod h1:yzrLDU+sSjLE+D4bIhS7q1L5UwXDOw99PLSX0BlZvSQ=
|
||||
modernc.org/libc v1.11.42/go.mod h1:yzrLDU+sSjLE+D4bIhS7q1L5UwXDOw99PLSX0BlZvSQ=
|
||||
modernc.org/libc v1.11.44 h1:66pBX2D0Z98W89cKB8IUHX5bSQuZ8AxS+oh/zRXdxZw=
|
||||
modernc.org/libc v1.11.44/go.mod h1:KFq33jsma7F5WXiYelU8quMJasCCTnHK0mkri4yPHgA=
|
||||
modernc.org/mathutil v1.1.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||
modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||
modernc.org/mathutil v1.4.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||
@@ -110,9 +112,9 @@ modernc.org/opt v0.1.1 h1:/0RX92k9vwVeDXj+Xn23DKp2VJubL7k8qNffND6qn3A=
|
||||
modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0=
|
||||
modernc.org/strutil v1.1.1 h1:xv+J1BXY3Opl2ALrBwyfEikFAj8pmqcpnfmuwUwcozs=
|
||||
modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw=
|
||||
modernc.org/tcl v1.8.1 h1:siVlE4O6t06k8CFftpJyb5T76O1uWzDus5hWScEF1F4=
|
||||
modernc.org/tcl v1.8.1/go.mod h1:7SlzI6/UneYHe4xn3QCyvbHnj6A//hDZVkAWSGHnowg=
|
||||
modernc.org/tcl v1.8.2 h1:2IIui445QtTt0Yfrgb6iBnoJc3BL34pxSJKxjKiQdIY=
|
||||
modernc.org/tcl v1.8.2/go.mod h1:6qWd2lvIKrQHnwZth5pWtFg2WGfbR2DmBRyAFJxv8dk=
|
||||
modernc.org/token v1.0.0 h1:a0jaWiNMDhDUtqOj09wvjWWAqd3q7WpBulmL9H2egsk=
|
||||
modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
|
||||
modernc.org/z v1.2.7 h1:N0BrQ6wWlEkF+jj1phyav9guASZcWb5j+TuwHcWLWzY=
|
||||
modernc.org/z v1.2.7/go.mod h1:+L7Vxulgf/QRxha9syRObResxBwvPEDs53Cy43g47Ls=
|
||||
modernc.org/z v1.2.8 h1:ZlY3J/5vaLG9Z7+OVOy7mfyVaVP7lmOaTOH2ZFFlTTM=
|
||||
modernc.org/z v1.2.8/go.mod h1:4BiXj2tH0eKPfU4fZD/k/zaB1xa50EG0jjIFGlENH5M=
|
||||
|
@@ -699,6 +699,8 @@ const (
|
||||
X_ASSERT_H = 1
|
||||
X_ATFILE_SOURCE = 1
|
||||
X_BITS_BYTESWAP_H = 1
|
||||
X_BITS_ENDIANNESS_H = 1
|
||||
X_BITS_ENDIAN_H = 1
|
||||
X_BITS_ERRNO_H = 1
|
||||
X_BITS_FLOATN_COMMON_H = 0
|
||||
X_BITS_FLOATN_H = 0
|
||||
@@ -707,6 +709,7 @@ const (
|
||||
X_BITS_PTHREADTYPES_COMMON_H = 1
|
||||
X_BITS_STDINT_INTN_H = 1
|
||||
X_BITS_STDIO_LIM_H = 1
|
||||
X_BITS_TIME64_H = 1
|
||||
X_BITS_TYPESIZES_H = 1
|
||||
X_BITS_TYPES_H = 1
|
||||
X_BITS_TYPES_LOCALE_T_H = 1
|
||||
@@ -725,6 +728,7 @@ const (
|
||||
X_GCC_WCHAR_T = 0
|
||||
X_GETOPT_CORE_H = 1
|
||||
X_GETOPT_POSIX_H = 1
|
||||
X_ILP32 = 1
|
||||
X_IOFBF = 0
|
||||
X_IOLBF = 1
|
||||
X_IONBF = 2
|
||||
@@ -802,6 +806,7 @@ const (
|
||||
X_POSIX_V7_ILP32_OFFBIG = 1
|
||||
X_POSIX_VDISABLE = 0
|
||||
X_POSIX_VERSION = 200809
|
||||
X_RWLOCK_INTERNAL_H = 0
|
||||
X_SIZET_ = 0
|
||||
X_SIZE_T = 0
|
||||
X_SIZE_T_ = 0
|
||||
@@ -820,6 +825,7 @@ const (
|
||||
X_SYS_SELECT_H = 1
|
||||
X_SYS_SIZE_T_H = 0
|
||||
X_SYS_TYPES_H = 1
|
||||
X_THREAD_MUTEX_INTERNAL_H = 1
|
||||
X_THREAD_SHARED_TYPES_H = 1
|
||||
X_T_SIZE = 0
|
||||
X_T_SIZE_ = 0
|
||||
@@ -858,7 +864,7 @@ const (
|
||||
// the `_SC_*' symbols for the NAME argument to `sysconf';
|
||||
// and the `_CS_*' symbols for the NAME argument to `confstr'.
|
||||
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
|
||||
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1993-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -873,7 +879,7 @@ const (
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Values for the NAME argument to `pathconf' and `fpathconf'.
|
||||
const ( /* confname.h:24:1: */
|
||||
@@ -1222,16 +1228,11 @@ const ( /* confname.h:71:1: */
|
||||
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
|
||||
)
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// XPG requires a few symbols from <sys/wait.h> being defined.
|
||||
// Definitions of flag bits for `waitpid' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1246,7 +1247,7 @@ const ( /* confname.h:71:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Bits in the third argument to `waitpid'.
|
||||
|
||||
@@ -1263,7 +1264,7 @@ const ( /* waitflags.h:52:1: */
|
||||
P_PGID = 2
|
||||
)
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1278,11 +1279,11 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// ISO C99 Standard: 7.2 Diagnostics <assert.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1297,7 +1298,7 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// void assert (int expression);
|
||||
//
|
||||
@@ -1310,7 +1311,7 @@ const ( /* waitflags.h:52:1: */
|
||||
// error message with the error text for ERRNUM and abort.
|
||||
// (This is a GNU extension.)
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1325,11 +1326,11 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// ISO C99 Standard 7.4: Character handling <ctype.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1344,10 +1345,10 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1362,7 +1363,7 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -1374,7 +1375,8 @@ const ( /* waitflags.h:52:1: */
|
||||
// endian). We define the bit value interpretations here dependent on the
|
||||
// machine's byte order.
|
||||
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Endian macros for string.h functions
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3502,7 +3504,7 @@ type _G_fpos_t = struct {
|
||||
} /* __fpos_t.h:10:9 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3517,7 +3519,7 @@ type _G_fpos_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3581,7 +3583,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
// If we are compiling with optimizing read this file. It contains
|
||||
// several optimizing inline functions and macros.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3596,11 +3598,11 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3615,7 +3617,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These may be used to determine what facilities are present at compile time.
|
||||
// Their values can be obtained at run time from `sysconf'.
|
||||
@@ -3741,7 +3743,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
|
||||
// Define POSIX options for Linux.
|
||||
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3756,13 +3758,16 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; see the file COPYING.LIB. If
|
||||
// not, see <http://www.gnu.org/licenses/>.
|
||||
// not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Job control is supported.
|
||||
|
||||
// Processes have a saved set-user-ID and a saved set-group-ID.
|
||||
|
||||
// Priority scheduling is supported.
|
||||
// Priority scheduling is not supported with the correct semantics,
|
||||
// but GNU/Linux applications expect that the corresponding interfaces
|
||||
// are available, even though the semantics do not meet the POSIX
|
||||
// requirements. See glibc bug 14829.
|
||||
|
||||
// Synchronizing file data is supported.
|
||||
|
||||
@@ -3865,7 +3870,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
// Typed memory objects are not available.
|
||||
|
||||
// Get the environment definitions from Unix98.
|
||||
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3880,7 +3885,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
@@ -3924,7 +3929,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
// All functions that are not declared anywhere else.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3939,11 +3944,11 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -3975,15 +3980,6 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@@ -4018,11 +4014,6 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// The Single Unix specification says that some more types are
|
||||
@@ -4039,16 +4030,11 @@ type intptr_t = int32 /* unistd.h:267:20 */
|
||||
|
||||
type socklen_t = uint32 /* unistd.h:274:21 */
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// XPG requires a few symbols from <sys/wait.h> being defined.
|
||||
// Definitions of flag bits for `waitpid' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4063,7 +4049,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Bits in the third argument to `waitpid'.
|
||||
|
||||
@@ -4076,7 +4062,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
|
||||
|
||||
type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
// Definitions of status bits for `wait' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4091,7 +4077,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Everything extant so far uses these same bits.
|
||||
|
||||
@@ -4118,7 +4104,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
|
||||
// _FloatN API tests for enablement.
|
||||
// Macros to control TS 18661-3 glibc features on x86.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4133,9 +4119,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4150,7 +4136,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Defined to 1 if the current compiler invocation provides a
|
||||
// floating-point type with the IEEE 754 binary128 format, and this
|
||||
@@ -4194,7 +4180,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
|
||||
// Macros to control TS 18661-3 glibc features where the same
|
||||
// definitions are appropriate for all platforms.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4209,9 +4195,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4226,10 +4212,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Properties of long double type. ldbl-96 version.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4244,7 +4230,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// long double is distinct from double, so there is nothing to
|
||||
// define here.
|
||||
@@ -4313,7 +4299,7 @@ type lldiv_t = struct {
|
||||
rem int64
|
||||
} /* stdlib.h:80:5 */
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4328,11 +4314,11 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4347,10 +4333,10 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4365,7 +4351,7 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4394,7 +4380,7 @@ type caddr_t = uintptr /* types.h:115:19 */
|
||||
type key_t = int32 /* types.h:121:17 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4409,7 +4395,7 @@ type key_t = int32 /* types.h:121:17 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4417,7 +4403,7 @@ type key_t = int32 /* types.h:121:17 */
|
||||
type clock_t = int32 /* clock_t.h:7:19 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4432,7 +4418,7 @@ type clock_t = int32 /* clock_t.h:7:19 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4440,7 +4426,7 @@ type clock_t = int32 /* clock_t.h:7:19 */
|
||||
type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4455,7 +4441,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4463,7 +4449,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
type time_t = int32 /* time_t.h:7:18 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4478,14 +4464,14 @@ type time_t = int32 /* time_t.h:7:18 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Timer ID returned by `timer_create'.
|
||||
type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
|
||||
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -4517,15 +4503,6 @@ type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@@ -4560,11 +4537,6 @@ type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// Old compatibility names for C types.
|
||||
@@ -4575,7 +4547,7 @@ type uint = uint32 /* types.h:150:22 */
|
||||
// These size-specific names are used by some of the inet code.
|
||||
|
||||
// Define intN_t types.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4590,10 +4562,10 @@ type uint = uint32 /* types.h:150:22 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4608,7 +4580,7 @@ type uint = uint32 /* types.h:150:22 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4617,14 +4589,13 @@ type int16_t = int16 /* stdint-intn.h:25:19 */
|
||||
type int32_t = int32 /* stdint-intn.h:26:19 */
|
||||
type int64_t = int64 /* stdint-intn.h:27:19 */
|
||||
|
||||
// For GCC 2.7 and later, we can use specific type-size attributes.
|
||||
// These were defined by ISO C without the first `_'.
|
||||
type u_int8_t = uint8 /* types.h:158:19 */
|
||||
type u_int16_t = uint16 /* types.h:159:20 */
|
||||
type u_int32_t = uint32 /* types.h:160:20 */
|
||||
type u_int64_t = uint64 /* types.h:161:20 */
|
||||
|
||||
type u_int8_t = uint32 /* types.h:177:1 */
|
||||
type u_int16_t = uint32 /* types.h:178:1 */
|
||||
type u_int32_t = uint32 /* types.h:179:1 */
|
||||
type u_int64_t = uint32 /* types.h:180:1 */
|
||||
|
||||
type register_t = int32 /* types.h:182:13 */
|
||||
type register_t = int32 /* types.h:164:13 */
|
||||
|
||||
// A set of signals to be blocked, unblocked, or waited for.
|
||||
type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
@@ -4632,7 +4603,7 @@ type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
// Get definition of timer specification structures.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4647,7 +4618,7 @@ type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4661,7 +4632,27 @@ type timeval = struct {
|
||||
// NB: Include guard matches what <linux/time.h> uses.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Endian macros for string.h functions
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4678,14 +4669,12 @@ type timeval = struct {
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
type timespec = struct {
|
||||
tv_sec int32
|
||||
tv_nsec int32
|
||||
} /* struct_timespec.h:9:1 */
|
||||
} /* struct_timespec.h:10:1 */
|
||||
|
||||
type suseconds_t = int32 /* select.h:43:23 */
|
||||
|
||||
@@ -4702,16 +4691,16 @@ type fd_mask = int32 /* select.h:77:19 */
|
||||
|
||||
// Define some inlines helping to catch common problems.
|
||||
|
||||
type blksize_t = int32 /* types.h:202:21 */
|
||||
type blksize_t = int32 /* types.h:185:21 */
|
||||
|
||||
// Types from the Large File Support interface.
|
||||
type blkcnt_t = int64 /* types.h:222:22 */ // Type to count number of disk blocks.
|
||||
type fsblkcnt_t = uint64 /* types.h:226:24 */ // Type to count file system blocks.
|
||||
type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inodes.
|
||||
type blkcnt_t = int64 /* types.h:205:22 */ // Type to count number of disk blocks.
|
||||
type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks.
|
||||
type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes.
|
||||
|
||||
// Now add the thread types.
|
||||
// Declaration of common pthread types for all architectures.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4726,11 +4715,11 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// For internal mutex and condition variable definitions.
|
||||
// Common threading primitives definitions for both POSIX and C11.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4745,7 +4734,7 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Arch-specific definitions. Each architecture must define the following
|
||||
// macros to define the expected sizes of pthread data types:
|
||||
@@ -4760,36 +4749,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
|
||||
// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
|
||||
//
|
||||
// Also, the following macros must be define for internal pthread_mutex_t
|
||||
// struct definitions (struct __pthread_mutex_s):
|
||||
//
|
||||
// __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind'
|
||||
// and before '__spin' (for 64 bits) or
|
||||
// '__nusers' (for 32 bits).
|
||||
// __PTHREAD_COMPAT_PADDING_END - any additional members at the end of
|
||||
// the internal structure.
|
||||
// __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock
|
||||
// elision or 0 otherwise.
|
||||
// __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The
|
||||
// preferred value for new architectures
|
||||
// is 0.
|
||||
// __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and
|
||||
// __list will be place inside a union for
|
||||
// linuxthreads compatibility.
|
||||
// The preferred value for new architectures
|
||||
// is 0.
|
||||
//
|
||||
// For a new port the preferred values for the required defines are:
|
||||
//
|
||||
// #define __PTHREAD_COMPAT_PADDING_MID
|
||||
// #define __PTHREAD_COMPAT_PADDING_END
|
||||
// #define __PTHREAD_MUTEX_LOCK_ELISION 0
|
||||
// #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
|
||||
// #define __PTHREAD_MUTEX_USE_UNION 0
|
||||
//
|
||||
// __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to
|
||||
// eventually support lock elision using transactional memory.
|
||||
//
|
||||
// The additional macro defines any constraint for the lock alignment
|
||||
// inside the thread structures:
|
||||
//
|
||||
@@ -4798,11 +4757,53 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// Same idea but for the once locking primitive:
|
||||
//
|
||||
// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
|
||||
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t)
|
||||
// must be defined.
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Extra attributes for the cleanup functions.
|
||||
|
||||
// Common definition of pthread_mutex_t.
|
||||
|
||||
type __pthread_internal_list = struct {
|
||||
__prev uintptr
|
||||
__next uintptr
|
||||
} /* thread-shared-types.h:49:9 */
|
||||
|
||||
type __pthread_internal_slist = struct{ __next uintptr } /* thread-shared-types.h:55:9 */
|
||||
|
||||
// Arch-specific mutex definitions. A generic implementation is provided
|
||||
// by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture
|
||||
// can override it by defining:
|
||||
//
|
||||
// 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
|
||||
// definition). It should contains at least the internal members
|
||||
// defined in the generic version.
|
||||
//
|
||||
// 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
|
||||
// atomic operations.
|
||||
//
|
||||
// 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
|
||||
// It should initialize the mutex internal flag.
|
||||
|
||||
// x86 internal mutex struct definitions.
|
||||
// Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4819,32 +4820,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Definitions for internal mutex struct.
|
||||
|
||||
type __pthread_rwlock_arch_t = struct {
|
||||
__readers uint32
|
||||
__writers uint32
|
||||
__wrphase_futex uint32
|
||||
__writers_futex uint32
|
||||
__pad3 uint32
|
||||
__pad4 uint32
|
||||
__flags uint8
|
||||
__shared uint8
|
||||
__rwelision int8
|
||||
__pad2 uint8
|
||||
__cur_writer int32
|
||||
} /* pthreadtypes-arch.h:65:1 */
|
||||
|
||||
// Extra attributes for the cleanup functions.
|
||||
|
||||
// Common definition of pthread_mutex_t.
|
||||
|
||||
type __pthread_internal_slist = struct{ __next uintptr } /* thread-shared-types.h:88:9 */
|
||||
|
||||
// Lock elision support.
|
||||
|
||||
type __pthread_mutex_s = struct {
|
||||
__lock int32
|
||||
__count uint32
|
||||
@@ -4858,7 +4833,51 @@ type __pthread_mutex_s = struct {
|
||||
__eelision int16
|
||||
}
|
||||
}
|
||||
} /* thread-shared-types.h:118:1 */
|
||||
} /* struct_mutex.h:22:1 */
|
||||
|
||||
// Arch-sepecific read-write lock definitions. A generic implementation is
|
||||
// provided by struct_rwlock.h. If required, an architecture can override it
|
||||
// by defining:
|
||||
//
|
||||
// 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
|
||||
// It should contain at least the internal members defined in the
|
||||
// generic version.
|
||||
//
|
||||
// 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
|
||||
// It should initialize the rwlock internal type.
|
||||
|
||||
// x86 internal rwlock struct definitions.
|
||||
// Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
type __pthread_rwlock_arch_t = struct {
|
||||
__readers uint32
|
||||
__writers uint32
|
||||
__wrphase_futex uint32
|
||||
__writers_futex uint32
|
||||
__pad3 uint32
|
||||
__pad4 uint32
|
||||
__flags uint8
|
||||
__shared uint8
|
||||
__rwelision int8
|
||||
__pad2 uint8
|
||||
__cur_writer int32
|
||||
} /* struct_rwlock.h:23:1 */
|
||||
|
||||
// Common definition of pthread_cond_t.
|
||||
|
||||
@@ -4870,7 +4889,7 @@ type __pthread_cond_s = struct {
|
||||
__g1_orig_size uint32
|
||||
__wrefs uint32
|
||||
__g_signals [2]uint32
|
||||
} /* thread-shared-types.h:171:1 */
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
@@ -4958,7 +4977,7 @@ type drand48_data = struct {
|
||||
|
||||
// POSIX.1-2008 extended locale interface (see locale.h).
|
||||
// Definition of locale_t.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4973,10 +4992,10 @@ type drand48_data = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Definition of struct __locale_struct and __locale_t.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
//
|
||||
@@ -4992,7 +5011,7 @@ type drand48_data = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1-2008: the locale_t type, representing a locale context
|
||||
// (implementation-namespace version). This type should be treated
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -107436,7 +107436,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
|
||||
goto __4
|
||||
goto __6
|
||||
__6:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162886,7 +162885,6 @@ __15:
|
||||
goto __14
|
||||
goto __16
|
||||
__16:
|
||||
|
||||
}
|
||||
|
||||
// This is a helper function for rbuObjIterCacheTableInfo(). It populates
|
||||
|
File diff suppressed because one or more lines are too long
@@ -107940,7 +107940,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
|
||||
goto __4
|
||||
goto __6
|
||||
__6:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163839,7 +163838,6 @@ __15:
|
||||
goto __14
|
||||
goto __16
|
||||
__16:
|
||||
|
||||
}
|
||||
|
||||
// This is a helper function for rbuObjIterCacheTableInfo(). It populates
|
||||
|
@@ -562,6 +562,8 @@ const (
|
||||
X_ASSERT_H = 1
|
||||
X_ATFILE_SOURCE = 1
|
||||
X_BITS_BYTESWAP_H = 1
|
||||
X_BITS_ENDIANNESS_H = 1
|
||||
X_BITS_ENDIAN_H = 1
|
||||
X_BITS_FLOATN_COMMON_H = 0
|
||||
X_BITS_FLOATN_H = 0
|
||||
X_BITS_POSIX_OPT_H = 1
|
||||
@@ -569,6 +571,7 @@ const (
|
||||
X_BITS_PTHREADTYPES_COMMON_H = 1
|
||||
X_BITS_STDINT_INTN_H = 1
|
||||
X_BITS_STDIO_LIM_H = 1
|
||||
X_BITS_TIME64_H = 1
|
||||
X_BITS_TYPESIZES_H = 1
|
||||
X_BITS_TYPES_H = 1
|
||||
X_BITS_TYPES_LOCALE_T_H = 1
|
||||
@@ -586,6 +589,7 @@ const (
|
||||
X_GCC_WCHAR_T = 0
|
||||
X_GETOPT_CORE_H = 1
|
||||
X_GETOPT_POSIX_H = 1
|
||||
X_ILP32 = 1
|
||||
X_IOFBF = 0
|
||||
X_IOLBF = 1
|
||||
X_IONBF = 2
|
||||
@@ -663,6 +667,7 @@ const (
|
||||
X_POSIX_V7_ILP32_OFFBIG = 1
|
||||
X_POSIX_VDISABLE = 0
|
||||
X_POSIX_VERSION = 200809
|
||||
X_RWLOCK_INTERNAL_H = 0
|
||||
X_SIZET_ = 0
|
||||
X_SIZE_T = 0
|
||||
X_SIZE_T_ = 0
|
||||
@@ -681,6 +686,7 @@ const (
|
||||
X_SYS_SELECT_H = 1
|
||||
X_SYS_SIZE_T_H = 0
|
||||
X_SYS_TYPES_H = 1
|
||||
X_THREAD_MUTEX_INTERNAL_H = 1
|
||||
X_THREAD_SHARED_TYPES_H = 1
|
||||
X_T_SIZE = 0
|
||||
X_T_SIZE_ = 0
|
||||
@@ -719,7 +725,7 @@ const (
|
||||
// the `_SC_*' symbols for the NAME argument to `sysconf';
|
||||
// and the `_CS_*' symbols for the NAME argument to `confstr'.
|
||||
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
|
||||
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1993-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -734,7 +740,7 @@ const (
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Values for the NAME argument to `pathconf' and `fpathconf'.
|
||||
const ( /* confname.h:24:1: */
|
||||
@@ -1083,16 +1089,11 @@ const ( /* confname.h:71:1: */
|
||||
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
|
||||
)
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// XPG requires a few symbols from <sys/wait.h> being defined.
|
||||
// Definitions of flag bits for `waitpid' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1107,7 +1108,7 @@ const ( /* confname.h:71:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Bits in the third argument to `waitpid'.
|
||||
|
||||
@@ -1124,7 +1125,7 @@ const ( /* waitflags.h:52:1: */
|
||||
P_PGID = 2
|
||||
)
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1139,11 +1140,11 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// ISO C99 Standard 7.4: Character handling <ctype.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1158,10 +1159,10 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -1176,7 +1177,7 @@ const ( /* waitflags.h:52:1: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -1188,7 +1189,8 @@ const ( /* waitflags.h:52:1: */
|
||||
// endian). We define the bit value interpretations here dependent on the
|
||||
// machine's byte order.
|
||||
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Endian macros for string.h functions
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3321,7 +3323,7 @@ type _G_fpos_t = struct {
|
||||
} /* __fpos_t.h:10:9 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3336,7 +3338,7 @@ type _G_fpos_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3397,16 +3399,11 @@ type ssize_t = int32 /* stdio.h:77:19 */
|
||||
// The type of the second argument to `fgetpos' and `fsetpos'.
|
||||
type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// XPG requires a few symbols from <sys/wait.h> being defined.
|
||||
// Definitions of flag bits for `waitpid' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3421,7 +3418,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Bits in the third argument to `waitpid'.
|
||||
|
||||
@@ -3434,7 +3431,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
|
||||
|
||||
type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
// Definitions of status bits for `wait' et al.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3449,7 +3446,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Everything extant so far uses these same bits.
|
||||
|
||||
@@ -3476,7 +3473,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
|
||||
// _FloatN API tests for enablement.
|
||||
// Macros to control TS 18661-3 glibc features on x86.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3491,9 +3488,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3508,7 +3505,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Defined to 1 if the current compiler invocation provides a
|
||||
// floating-point type with the IEEE 754 binary128 format, and this
|
||||
@@ -3552,7 +3549,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
|
||||
// Macros to control TS 18661-3 glibc features where the same
|
||||
// definitions are appropriate for all platforms.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3567,9 +3564,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3584,10 +3581,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Properties of long double type. ldbl-96 version.
|
||||
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3602,7 +3599,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// long double is distinct from double, so there is nothing to
|
||||
// define here.
|
||||
@@ -3671,7 +3668,7 @@ type lldiv_t = struct {
|
||||
rem int64
|
||||
} /* stdlib.h:80:5 */
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3686,11 +3683,11 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3705,10 +3702,10 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3723,7 +3720,7 @@ type lldiv_t = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3758,7 +3755,7 @@ type caddr_t = uintptr /* types.h:115:19 */
|
||||
type key_t = int32 /* types.h:121:17 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3773,7 +3770,7 @@ type key_t = int32 /* types.h:121:17 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3781,7 +3778,7 @@ type key_t = int32 /* types.h:121:17 */
|
||||
type clock_t = int32 /* clock_t.h:7:19 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3796,7 +3793,7 @@ type clock_t = int32 /* clock_t.h:7:19 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3804,7 +3801,7 @@ type clock_t = int32 /* clock_t.h:7:19 */
|
||||
type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3819,7 +3816,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3827,7 +3824,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
|
||||
type time_t = int32 /* time_t.h:7:18 */
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3842,14 +3839,14 @@ type time_t = int32 /* time_t.h:7:18 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Timer ID returned by `timer_create'.
|
||||
type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
|
||||
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -3881,15 +3878,6 @@ type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@@ -3924,11 +3912,6 @@ type timer_t = uintptr /* timer_t.h:7:19 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// Old compatibility names for C types.
|
||||
@@ -3939,7 +3922,7 @@ type uint = uint32 /* types.h:150:22 */
|
||||
// These size-specific names are used by some of the inet code.
|
||||
|
||||
// Define intN_t types.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3954,10 +3937,10 @@ type uint = uint32 /* types.h:150:22 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -3972,7 +3955,7 @@ type uint = uint32 /* types.h:150:22 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -3981,14 +3964,13 @@ type int16_t = int16 /* stdint-intn.h:25:19 */
|
||||
type int32_t = int32 /* stdint-intn.h:26:19 */
|
||||
type int64_t = int64 /* stdint-intn.h:27:19 */
|
||||
|
||||
// For GCC 2.7 and later, we can use specific type-size attributes.
|
||||
// These were defined by ISO C without the first `_'.
|
||||
type u_int8_t = uint8 /* types.h:158:19 */
|
||||
type u_int16_t = uint16 /* types.h:159:20 */
|
||||
type u_int32_t = uint32 /* types.h:160:20 */
|
||||
type u_int64_t = uint64 /* types.h:161:20 */
|
||||
|
||||
type u_int8_t = uint32 /* types.h:177:1 */
|
||||
type u_int16_t = uint32 /* types.h:178:1 */
|
||||
type u_int32_t = uint32 /* types.h:179:1 */
|
||||
type u_int64_t = uint32 /* types.h:180:1 */
|
||||
|
||||
type register_t = int32 /* types.h:182:13 */
|
||||
type register_t = int32 /* types.h:164:13 */
|
||||
|
||||
// A set of signals to be blocked, unblocked, or waited for.
|
||||
type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
@@ -3996,7 +3978,7 @@ type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
// Get definition of timer specification structures.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4011,7 +3993,7 @@ type sigset_t = struct{ __val [32]uint32 } /* sigset_t.h:7:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
@@ -4025,7 +4007,27 @@ type timeval = struct {
|
||||
// NB: Include guard matches what <linux/time.h> uses.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Endian macros for string.h functions
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4042,14 +4044,12 @@ type timeval = struct {
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
type timespec = struct {
|
||||
tv_sec int32
|
||||
tv_nsec int32
|
||||
} /* struct_timespec.h:9:1 */
|
||||
} /* struct_timespec.h:10:1 */
|
||||
|
||||
type suseconds_t = int32 /* select.h:43:23 */
|
||||
|
||||
@@ -4066,16 +4066,16 @@ type fd_mask = int32 /* select.h:77:19 */
|
||||
|
||||
// Define some inlines helping to catch common problems.
|
||||
|
||||
type blksize_t = int32 /* types.h:202:21 */
|
||||
type blksize_t = int32 /* types.h:185:21 */
|
||||
|
||||
// Types from the Large File Support interface.
|
||||
type blkcnt_t = int64 /* types.h:222:22 */ // Type to count number of disk blocks.
|
||||
type fsblkcnt_t = uint64 /* types.h:226:24 */ // Type to count file system blocks.
|
||||
type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inodes.
|
||||
type blkcnt_t = int64 /* types.h:205:22 */ // Type to count number of disk blocks.
|
||||
type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks.
|
||||
type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes.
|
||||
|
||||
// Now add the thread types.
|
||||
// Declaration of common pthread types for all architectures.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4090,11 +4090,11 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// For internal mutex and condition variable definitions.
|
||||
// Common threading primitives definitions for both POSIX and C11.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4109,7 +4109,7 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Arch-specific definitions. Each architecture must define the following
|
||||
// macros to define the expected sizes of pthread data types:
|
||||
@@ -4124,36 +4124,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
|
||||
// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
|
||||
//
|
||||
// Also, the following macros must be define for internal pthread_mutex_t
|
||||
// struct definitions (struct __pthread_mutex_s):
|
||||
//
|
||||
// __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind'
|
||||
// and before '__spin' (for 64 bits) or
|
||||
// '__nusers' (for 32 bits).
|
||||
// __PTHREAD_COMPAT_PADDING_END - any additional members at the end of
|
||||
// the internal structure.
|
||||
// __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock
|
||||
// elision or 0 otherwise.
|
||||
// __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The
|
||||
// preferred value for new architectures
|
||||
// is 0.
|
||||
// __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and
|
||||
// __list will be place inside a union for
|
||||
// linuxthreads compatibility.
|
||||
// The preferred value for new architectures
|
||||
// is 0.
|
||||
//
|
||||
// For a new port the preferred values for the required defines are:
|
||||
//
|
||||
// #define __PTHREAD_COMPAT_PADDING_MID
|
||||
// #define __PTHREAD_COMPAT_PADDING_END
|
||||
// #define __PTHREAD_MUTEX_LOCK_ELISION 0
|
||||
// #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
|
||||
// #define __PTHREAD_MUTEX_USE_UNION 0
|
||||
//
|
||||
// __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to
|
||||
// eventually support lock elision using transactional memory.
|
||||
//
|
||||
// The additional macro defines any constraint for the lock alignment
|
||||
// inside the thread structures:
|
||||
//
|
||||
@@ -4162,11 +4132,53 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// Same idea but for the once locking primitive:
|
||||
//
|
||||
// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
|
||||
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t)
|
||||
// must be defined.
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Extra attributes for the cleanup functions.
|
||||
|
||||
// Common definition of pthread_mutex_t.
|
||||
|
||||
type __pthread_internal_list = struct {
|
||||
__prev uintptr
|
||||
__next uintptr
|
||||
} /* thread-shared-types.h:49:9 */
|
||||
|
||||
type __pthread_internal_slist = struct{ __next uintptr } /* thread-shared-types.h:55:9 */
|
||||
|
||||
// Arch-specific mutex definitions. A generic implementation is provided
|
||||
// by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture
|
||||
// can override it by defining:
|
||||
//
|
||||
// 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
|
||||
// definition). It should contains at least the internal members
|
||||
// defined in the generic version.
|
||||
//
|
||||
// 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
|
||||
// atomic operations.
|
||||
//
|
||||
// 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
|
||||
// It should initialize the mutex internal flag.
|
||||
|
||||
// x86 internal mutex struct definitions.
|
||||
// Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4183,32 +4195,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// Definitions for internal mutex struct.
|
||||
|
||||
type __pthread_rwlock_arch_t = struct {
|
||||
__readers uint32
|
||||
__writers uint32
|
||||
__wrphase_futex uint32
|
||||
__writers_futex uint32
|
||||
__pad3 uint32
|
||||
__pad4 uint32
|
||||
__flags uint8
|
||||
__shared uint8
|
||||
__rwelision int8
|
||||
__pad2 uint8
|
||||
__cur_writer int32
|
||||
} /* pthreadtypes-arch.h:65:1 */
|
||||
|
||||
// Extra attributes for the cleanup functions.
|
||||
|
||||
// Common definition of pthread_mutex_t.
|
||||
|
||||
type __pthread_internal_slist = struct{ __next uintptr } /* thread-shared-types.h:88:9 */
|
||||
|
||||
// Lock elision support.
|
||||
|
||||
type __pthread_mutex_s = struct {
|
||||
__lock int32
|
||||
__count uint32
|
||||
@@ -4222,7 +4208,51 @@ type __pthread_mutex_s = struct {
|
||||
__eelision int16
|
||||
}
|
||||
}
|
||||
} /* thread-shared-types.h:118:1 */
|
||||
} /* struct_mutex.h:22:1 */
|
||||
|
||||
// Arch-sepecific read-write lock definitions. A generic implementation is
|
||||
// provided by struct_rwlock.h. If required, an architecture can override it
|
||||
// by defining:
|
||||
//
|
||||
// 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
|
||||
// It should contain at least the internal members defined in the
|
||||
// generic version.
|
||||
//
|
||||
// 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
|
||||
// It should initialize the rwlock internal type.
|
||||
|
||||
// x86 internal rwlock struct definitions.
|
||||
// Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
type __pthread_rwlock_arch_t = struct {
|
||||
__readers uint32
|
||||
__writers uint32
|
||||
__wrphase_futex uint32
|
||||
__writers_futex uint32
|
||||
__pad3 uint32
|
||||
__pad4 uint32
|
||||
__flags uint8
|
||||
__shared uint8
|
||||
__rwelision int8
|
||||
__pad2 uint8
|
||||
__cur_writer int32
|
||||
} /* struct_rwlock.h:23:1 */
|
||||
|
||||
// Common definition of pthread_cond_t.
|
||||
|
||||
@@ -4234,7 +4264,7 @@ type __pthread_cond_s = struct {
|
||||
__g1_orig_size uint32
|
||||
__wrefs uint32
|
||||
__g_signals [2]uint32
|
||||
} /* thread-shared-types.h:171:1 */
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
@@ -4322,7 +4352,7 @@ type drand48_data = struct {
|
||||
|
||||
// POSIX.1-2008 extended locale interface (see locale.h).
|
||||
// Definition of locale_t.
|
||||
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4337,10 +4367,10 @@ type drand48_data = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Definition of struct __locale_struct and __locale_t.
|
||||
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
//
|
||||
@@ -4356,7 +4386,7 @@ type drand48_data = struct {
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1-2008: the locale_t type, representing a locale context
|
||||
// (implementation-namespace version). This type should be treated
|
||||
@@ -4373,7 +4403,7 @@ type __locale_struct = struct {
|
||||
|
||||
type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4388,11 +4418,11 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4407,7 +4437,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// These may be used to determine what facilities are present at compile time.
|
||||
// Their values can be obtained at run time from `sysconf'.
|
||||
@@ -4533,7 +4563,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
|
||||
// Define POSIX options for Linux.
|
||||
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4548,13 +4578,16 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; see the file COPYING.LIB. If
|
||||
// not, see <http://www.gnu.org/licenses/>.
|
||||
// not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Job control is supported.
|
||||
|
||||
// Processes have a saved set-user-ID and a saved set-group-ID.
|
||||
|
||||
// Priority scheduling is supported.
|
||||
// Priority scheduling is not supported with the correct semantics,
|
||||
// but GNU/Linux applications expect that the corresponding interfaces
|
||||
// are available, even though the semantics do not meet the POSIX
|
||||
// requirements. See glibc bug 14829.
|
||||
|
||||
// Synchronizing file data is supported.
|
||||
|
||||
@@ -4657,7 +4690,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
// Typed memory objects are not available.
|
||||
|
||||
// Get the environment definitions from Unix98.
|
||||
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4672,7 +4705,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
@@ -4716,7 +4749,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
// All functions that are not declared anywhere else.
|
||||
|
||||
// bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -4731,11 +4764,11 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -4767,15 +4800,6 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@@ -4810,11 +4834,6 @@ type locale_t = uintptr /* locale_t.h:24:20 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// The Single Unix specification says that some more types are
|
||||
@@ -4828,6 +4847,25 @@ type socklen_t = uint32 /* unistd.h:274:21 */
|
||||
|
||||
// Define some macros helping to catch buffer overflows.
|
||||
|
||||
// System-specific extensions.
|
||||
// System-specific extensions of <unistd.h>, Linux version.
|
||||
// Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// The GNU C Library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
type u64 = sqlite3_uint64 /* speedtest1.c:67:24 */
|
||||
|
||||
// State structure for a Hash hash in progress
|
||||
@@ -5042,12 +5080,16 @@ func speedtest1_timestamp(tls *libc.TLS) sqlite3_int64 { /* speedtest1.c:257:15:
|
||||
clockVfs = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
|
||||
}
|
||||
if ((*sqlite3_vfs)(unsafe.Pointer(clockVfs)).iVersion >= 2) && ((*sqlite3_vfs)(unsafe.Pointer(clockVfs)).xCurrentTimeInt64 != uintptr(0)) {
|
||||
(*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer((clockVfs + 72 /* &.xCurrentTimeInt64 */))))(tls, clockVfs, bp /* &t */)
|
||||
(*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
|
||||
|
||||
(*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer((clockVfs + 64 /* &.xCurrentTime */))))(tls, clockVfs, bp+8 /* &r */)
|
||||
*(*sqlite3_int64)(unsafe.Pointer(bp /* t */)) = (sqlite3_int64(*(*float64)(unsafe.Pointer(bp + 8 /* r */)) * 86400000.0))
|
||||
(*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 /* r */)) * 86400000.0))
|
||||
}
|
||||
return *(*sqlite3_int64)(unsafe.Pointer(bp /* t */))
|
||||
}
|
||||
@@ -6515,7 +6557,7 @@ func testset_debug1(tls *libc.TLS) { /* speedtest1.c:2083:6: */
|
||||
}
|
||||
}
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -6530,11 +6572,11 @@ func testset_debug1(tls *libc.TLS) { /* speedtest1.c:2083:6: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
||||
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// This file is part of the GNU C Library.
|
||||
//
|
||||
// The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -6549,7 +6591,7 @@ func testset_debug1(tls *libc.TLS) { /* speedtest1.c:2083:6: */
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
|
||||
|
||||
|
Reference in New Issue
Block a user