linux/s390x: regenerate

This commit is contained in:
Jan Mercl
2021-11-03 14:50:37 +00:00
parent 6e9b1d510f
commit da7d46b478
9 changed files with 7972 additions and 5991 deletions

8
go.mod
View File

@@ -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.51
modernc.org/libc v1.11.49
modernc.org/ccgo/v3 v3.12.53
modernc.org/libc v1.11.52
modernc.org/mathutil v1.4.1
modernc.org/tcl v1.8.6
modernc.org/z v1.2.12
modernc.org/tcl v1.8.7
modernc.org/z v1.2.13
)

15
go.sum
View File

@@ -79,8 +79,9 @@ modernc.org/ccgo/v3 v3.12.43/go.mod h1:k+DqGXd3o7W+inNujK15S5ZYuPoWYLpF5PYougCmt
modernc.org/ccgo/v3 v3.12.46/go.mod h1:UZe6EvMSqOxaJ4sznY7b23/k13R8XNlyWsO5bAmSgOE=
modernc.org/ccgo/v3 v3.12.47/go.mod h1:m8d6p0zNps187fhBwzY/ii6gxfjob1VxWb919Nk1HUk=
modernc.org/ccgo/v3 v3.12.50/go.mod h1:bu9YIwtg+HXQxBhsRDE+cJjQRuINuT9PUK4orOco/JI=
modernc.org/ccgo/v3 v3.12.51 h1:ZrofxqfJ6RRXIBNULm8pLtjWuARmxpq+ShcbRQOdE0Q=
modernc.org/ccgo/v3 v3.12.51/go.mod h1:gaIIlx4YpmGO2bLye04/yeblmvWEmE4BBBls4aJXFiE=
modernc.org/ccgo/v3 v3.12.53 h1:I74lSqj3EE2nQdLFXHkV5qKSJ4fu80gBPqniUQZHaOM=
modernc.org/ccgo/v3 v3.12.53/go.mod h1:8xWGGTFkdFEWBEsUmi+DBjwu/WLy3SSOrqEmKUjMeEg=
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=
@@ -105,8 +106,10 @@ modernc.org/libc v1.11.42/go.mod h1:yzrLDU+sSjLE+D4bIhS7q1L5UwXDOw99PLSX0BlZvSQ=
modernc.org/libc v1.11.44/go.mod h1:KFq33jsma7F5WXiYelU8quMJasCCTnHK0mkri4yPHgA=
modernc.org/libc v1.11.45/go.mod h1:Y192orvfVQQYFzCNsn+Xt0Hxt4DiO4USpLNXBlXg/tM=
modernc.org/libc v1.11.47/go.mod h1:tPkE4PzCTW27E6AIKIR5IwHAQKCAtudEIeAV1/SiyBg=
modernc.org/libc v1.11.49 h1:mWYY+wTwCgus3aiGCdY3Q0/BljKk9Tpy1K6vCfVkDXQ=
modernc.org/libc v1.11.49/go.mod h1:9JrJuK5WTtoTWIFQ7QjX2Mb/bagYdZdscI3xrvHbXjE=
modernc.org/libc v1.11.51/go.mod h1:R9I8u9TS+meaWLdbfQhq2kFknTW0O3aw3kEMqDDxMaM=
modernc.org/libc v1.11.52 h1:FJ/yRwXD+iQa7ydlSN6RSkd30GjLvnm4t+YvwasK+h8=
modernc.org/libc v1.11.52/go.mod h1:5ip5vWYPAoMulkQ5XlSJTy12Sz5U6blOQiYasilVPsU=
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=
@@ -119,9 +122,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.6 h1:NHD9mUh1ONb0fz5TiPeA4Sir1wgV25pIVPWmnMhzdjc=
modernc.org/tcl v1.8.6/go.mod h1:87x6dbQqC0fWlZjBz3sU+4zRYezPS6YB5HH3A+xSWe8=
modernc.org/tcl v1.8.7 h1:zR9cu3uHJnwfsFe6VTvwICfZvbqRwg4Piv9dkPVf7/Q=
modernc.org/tcl v1.8.7/go.mod h1:gRG492KrTpGj4P7O/6Vb3Ia2X4mvyR2J1rDQO1VD8ZI=
modernc.org/token v1.0.0 h1:a0jaWiNMDhDUtqOj09wvjWWAqd3q7WpBulmL9H2egsk=
modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
modernc.org/z v1.2.12 h1:VxHQQnybxeT1aXJ9YVHGTouv56B1SVsv4reMsiykzCQ=
modernc.org/z v1.2.12/go.mod h1:U51qD/cPav/5yckF8xNeMPj8nrSdxO0s5J0mOGRox3Y=
modernc.org/z v1.2.13 h1:tvFaClI3x9ezfh7A7IDpWJdjWSamrqKztePeNnnBKRg=
modernc.org/z v1.2.13/go.mod h1:4NXnmQuCJMl/VoaDlpGk41KsnvPfgraE4JVx7Mjf0t8=

View File

@@ -859,6 +859,150 @@ const (
Unix = 1
)
// 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
// 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/>.
// ISO C99 Standard: 7.2 Diagnostics <assert.h>
// 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
// 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/>.
// void assert (int expression);
//
// If NDEBUG is defined, do nothing.
// If not, and EXPRESSION is zero, print an error message and abort.
// void assert_perror (int errnum);
//
// If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an
// error message with the error text for ERRNUM and abort.
// (This is a GNU extension.)
// 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
// 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/>.
// ISO C99 Standard 7.4: Character handling <ctype.h>
// 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
// 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/>.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// 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.
// These are all the characteristics of characters.
// If there get to be more than 16 distinct characteristics,
// many things must be changed that use `unsigned short int's.
//
// The characteristics are stored always in network byte order (big
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
// 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
// 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/>.
const ( /* ctype.h:46:1: */
_ISupper = 1 // UPPERCASE.
_ISlower = 2 // lowercase.
_ISalpha = 4 // Alphabetic.
_ISdigit = 8 // Numeric.
_ISxdigit = 16 // Hexadecimal numeric.
_ISspace = 32 // Whitespace.
_ISprint = 64 // Printing.
_ISgraph = 128 // Graphical.
_ISblank = 256 // Blank (usually SPC and TAB).
_IScntrl = 512 // Control character.
_ISpunct = 1024 // Punctuation.
_ISalnum = 2048
)
// Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
@@ -1227,118 +1371,10 @@ const ( /* confname.h:71:1: */
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
)
// 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
// 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/>.
// A null pointer constant.
// ISO C99 Standard: 7.2 Diagnostics <assert.h>
// 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
// 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/>.
// void assert (int expression);
//
// If NDEBUG is defined, do nothing.
// If not, and EXPRESSION is zero, print an error message and abort.
// void assert_perror (int errnum);
//
// If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an
// error message with the error text for ERRNUM and abort.
// (This is a GNU extension.)
// 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
// 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/>.
// ISO C99 Standard 7.4: Character handling <ctype.h>
// 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
// 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/>.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// 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.
// These are all the characteristics of characters.
// If there get to be more than 16 distinct characteristics,
// many things must be changed that use `unsigned short int's.
//
// The characteristics are stored always in network byte order (big
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
// Endian macros for string.h functions
// XPG requires a few symbols from <sys/wait.h> being defined.
// Definitions of flag bits for `waitpid' et al.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
@@ -1354,21 +1390,21 @@ 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/>.
const ( /* ctype.h:46:1: */
_ISupper = 1 // UPPERCASE.
_ISlower = 2 // lowercase.
_ISalpha = 4 // Alphabetic.
_ISdigit = 8 // Numeric.
_ISxdigit = 16 // Hexadecimal numeric.
_ISspace = 32 // Whitespace.
_ISprint = 64 // Printing.
_ISgraph = 128 // Graphical.
_ISblank = 256 // Blank (usually SPC and TAB).
_IScntrl = 512 // Control character.
_ISpunct = 1024 // Punctuation.
_ISalnum = 2048
// Bits in the third argument to `waitpid'.
// Bits in the fourth argument to `waitid'.
// The following values are used by the `waitid' function.
// The Linux kernel defines these bare, rather than an enum,
// which causes a conflict if the include order is reversed.
const ( /* waitflags.h:52:1: */
P_ALL = 0 // Wait for any child.
P_PID = 1 // Wait for specified process.
P_PGID = 2
)
type ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -3924,7 +3960,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2019 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -3956,15 +3992,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.
@@ -3999,11 +4026,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
@@ -4020,11 +4042,6 @@ type intptr_t = int64 /* 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.
@@ -4050,6 +4067,12 @@ type socklen_t = uint32 /* unistd.h:274:21 */
// Bits in the fourth argument to `waitid'.
// The following values are used by the `waitid' function.
// The Linux kernel defines these bare, rather than an enum,
// which causes a conflict if the include order is reversed.
type idtype_t = uint32 /* waitflags.h:57:3 */
// Definitions of status bits for `wait' et al.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
@@ -4462,7 +4485,7 @@ type time_t = int64 /* time_t.h:7:18 */
// Timer ID returned by `timer_create'.
type timer_t = uintptr /* timer_t.h:7:19 */
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2019 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4494,15 +4517,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.
@@ -4537,11 +4551,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.

File diff suppressed because one or more lines are too long

View File

@@ -106103,7 +106103,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
goto __4
goto __6
__6:
}
}
@@ -161553,7 +161552,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

View File

@@ -106616,7 +106616,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
goto __4
goto __6
__6:
}
}
@@ -162515,7 +162514,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

View File

@@ -720,6 +720,103 @@ const (
Unix = 1
)
// 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
// 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/>.
// ISO C99 Standard 7.4: Character handling <ctype.h>
// 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
// 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/>.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// 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.
// These are all the characteristics of characters.
// If there get to be more than 16 distinct characteristics,
// many things must be changed that use `unsigned short int's.
//
// The characteristics are stored always in network byte order (big
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
// 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
// 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/>.
const ( /* ctype.h:46:1: */
_ISupper = 1 // UPPERCASE.
_ISlower = 2 // lowercase.
_ISalpha = 4 // Alphabetic.
_ISdigit = 8 // Numeric.
_ISxdigit = 16 // Hexadecimal numeric.
_ISspace = 32 // Whitespace.
_ISprint = 64 // Printing.
_ISgraph = 128 // Graphical.
_ISblank = 256 // Blank (usually SPC and TAB).
_IScntrl = 512 // Control character.
_ISpunct = 1024 // Punctuation.
_ISalnum = 2048
)
// Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
@@ -1088,71 +1185,10 @@ const ( /* confname.h:71:1: */
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
)
// 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
// 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/>.
// A null pointer constant.
// ISO C99 Standard 7.4: Character handling <ctype.h>
// 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
// 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/>.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// 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.
// These are all the characteristics of characters.
// If there get to be more than 16 distinct characteristics,
// many things must be changed that use `unsigned short int's.
//
// The characteristics are stored always in network byte order (big
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
// Endian macros for string.h functions
// XPG requires a few symbols from <sys/wait.h> being defined.
// Definitions of flag bits for `waitpid' et al.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
@@ -1168,21 +1204,21 @@ 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/>.
const ( /* ctype.h:46:1: */
_ISupper = 1 // UPPERCASE.
_ISlower = 2 // lowercase.
_ISalpha = 4 // Alphabetic.
_ISdigit = 8 // Numeric.
_ISxdigit = 16 // Hexadecimal numeric.
_ISspace = 32 // Whitespace.
_ISprint = 64 // Printing.
_ISgraph = 128 // Graphical.
_ISblank = 256 // Blank (usually SPC and TAB).
_IScntrl = 512 // Control character.
_ISpunct = 1024 // Punctuation.
_ISalnum = 2048
// Bits in the third argument to `waitpid'.
// Bits in the fourth argument to `waitid'.
// The following values are used by the `waitid' function.
// The Linux kernel defines these bare, rather than an enum,
// which causes a conflict if the include order is reversed.
const ( /* waitflags.h:52:1: */
P_ALL = 0 // Wait for any child.
P_PID = 1 // Wait for specified process.
P_PGID = 2
)
type ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -3378,11 +3414,6 @@ type ssize_t = int64 /* 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.
@@ -3408,6 +3439,12 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// Bits in the fourth argument to `waitid'.
// The following values are used by the `waitid' function.
// The Linux kernel defines these bare, rather than an enum,
// which causes a conflict if the include order is reversed.
type idtype_t = uint32 /* waitflags.h:57:3 */
// Definitions of status bits for `wait' et al.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
@@ -3826,7 +3863,7 @@ type time_t = int64 /* time_t.h:7:18 */
// Timer ID returned by `timer_create'.
type timer_t = uintptr /* timer_t.h:7:19 */
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2019 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -3858,15 +3895,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.
@@ -3901,11 +3929,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.
@@ -4760,7 +4783,7 @@ type locale_t = uintptr /* locale_t.h:24:20 */
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2019 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4792,15 +4815,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.
@@ -4835,11 +4849,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
@@ -5090,12 +5099,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 + 136 /* &.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 + 120 /* &.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 */))
}