189 lines
7.4 KiB
Go
189 lines
7.4 KiB
Go
// Code generated by 'ccgo locale/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o locale/locale_freebsd_amd64.go -pkgname locale', DO NOT EDIT.
|
|
|
|
package locale
|
|
|
|
import (
|
|
"math"
|
|
"reflect"
|
|
"sync/atomic"
|
|
"unsafe"
|
|
)
|
|
|
|
var _ = math.Pi
|
|
var _ reflect.Kind
|
|
var _ atomic.Value
|
|
var _ unsafe.Pointer
|
|
|
|
const (
|
|
LC_ALL = 0 // locale.h:67:1:
|
|
LC_ALL_MASK = 63 // _locale.h:43:1:
|
|
LC_COLLATE = 1 // locale.h:68:1:
|
|
LC_COLLATE_MASK = 1 // _locale.h:37:1:
|
|
LC_CTYPE = 2 // locale.h:69:1:
|
|
LC_CTYPE_MASK = 2 // _locale.h:38:1:
|
|
LC_MESSAGES = 6 // locale.h:73:1:
|
|
LC_MESSAGES_MASK = 32 // _locale.h:42:1:
|
|
LC_MONETARY = 3 // locale.h:70:1:
|
|
LC_MONETARY_MASK = 4 // _locale.h:39:1:
|
|
LC_NUMERIC = 4 // locale.h:71:1:
|
|
LC_NUMERIC_MASK = 8 // _locale.h:40:1:
|
|
LC_TIME = 5 // locale.h:72:1:
|
|
LC_TIME_MASK = 16 // _locale.h:41:1:
|
|
LC_VERSION_MASK = 64 // _locale.h:45:1:
|
|
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
|
X_LC_LAST = 7 // locale.h:75:1:
|
|
X_LOCALE_H_ = 0 // locale.h:36:1:
|
|
X_LOCALE_T_DEFINED = 0 // _locale.h:49:1:
|
|
X_LP64 = 1 // <predefined>:1:1:
|
|
X_Nonnull = 0 // cdefs.h:790:1:
|
|
X_Null_unspecified = 0 // cdefs.h:792:1:
|
|
X_Nullable = 0 // cdefs.h:791:1:
|
|
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
|
X_XLOCALE_LOCALE_H = 0 // _locale.h:34:1:
|
|
Unix = 1 // <predefined>:340:1:
|
|
)
|
|
|
|
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
|
|
|
type Size_t = uint64 /* <builtin>:9:23 */
|
|
|
|
type Wchar_t = int32 /* <builtin>:15:24 */
|
|
|
|
type X__int128_t = struct {
|
|
Flo int64
|
|
Fhi int64
|
|
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
|
type X__uint128_t = struct {
|
|
Flo uint64
|
|
Fhi uint64
|
|
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
|
|
|
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
|
type X__float128 = float64 /* <builtin>:47:21 */
|
|
|
|
// -
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
//
|
|
// Copyright (c) 1991, 1993
|
|
// The Regents of the University of California. All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
// 3. Neither the name of the University nor the names of its contributors
|
|
// may be used to endorse or promote products derived from this software
|
|
// without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// @(#)locale.h 8.1 (Berkeley) 6/2/93
|
|
// $FreeBSD$
|
|
|
|
// -
|
|
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
|
//
|
|
// Copyright (c) 2003 Marcel Moolenaar
|
|
// All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
//
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
//
|
|
// $FreeBSD$
|
|
|
|
type Lconv = struct {
|
|
Fdecimal_point uintptr
|
|
Fthousands_sep uintptr
|
|
Fgrouping uintptr
|
|
Fint_curr_symbol uintptr
|
|
Fcurrency_symbol uintptr
|
|
Fmon_decimal_point uintptr
|
|
Fmon_thousands_sep uintptr
|
|
Fmon_grouping uintptr
|
|
Fpositive_sign uintptr
|
|
Fnegative_sign uintptr
|
|
Fint_frac_digits int8
|
|
Ffrac_digits int8
|
|
Fp_cs_precedes int8
|
|
Fp_sep_by_space int8
|
|
Fn_cs_precedes int8
|
|
Fn_sep_by_space int8
|
|
Fp_sign_posn int8
|
|
Fn_sign_posn int8
|
|
Fint_p_cs_precedes int8
|
|
Fint_n_cs_precedes int8
|
|
Fint_p_sep_by_space int8
|
|
Fint_n_sep_by_space int8
|
|
Fint_p_sign_posn int8
|
|
Fint_n_sign_posn int8
|
|
F__ccgo_pad1 [2]byte
|
|
} /* locale.h:40:1 */
|
|
|
|
// -
|
|
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
|
//
|
|
// Copyright (c) 2011, 2012 The FreeBSD Foundation
|
|
//
|
|
// This software was developed by David Chisnall under sponsorship from
|
|
// the FreeBSD Foundation.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions
|
|
// are met:
|
|
// 1. Redistributions of source code must retain the above copyright
|
|
// notice, this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
// SUCH DAMAGE.
|
|
//
|
|
// $FreeBSD$
|
|
|
|
// Bit shifting order of LC_*_MASK should match XLC_* and LC_* order.
|
|
|
|
type Locale_t = uintptr /* _locale.h:50:25 */
|
|
|
|
var _ int8 /* gen.c:2:13: */
|