github.com/afumu/libc@v0.0.6/locale/locale_freebsd_386.go (about) 1 // 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_386.go -pkgname locale', DO NOT EDIT. 2 3 package locale 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 LC_ALL = 0 // locale.h:67:1: 19 LC_ALL_MASK = 63 // _locale.h:43:1: 20 LC_COLLATE = 1 // locale.h:68:1: 21 LC_COLLATE_MASK = 1 // _locale.h:37:1: 22 LC_CTYPE = 2 // locale.h:69:1: 23 LC_CTYPE_MASK = 2 // _locale.h:38:1: 24 LC_MESSAGES = 6 // locale.h:73:1: 25 LC_MESSAGES_MASK = 32 // _locale.h:42:1: 26 LC_MONETARY = 3 // locale.h:70:1: 27 LC_MONETARY_MASK = 4 // _locale.h:39:1: 28 LC_NUMERIC = 4 // locale.h:71:1: 29 LC_NUMERIC_MASK = 8 // _locale.h:40:1: 30 LC_TIME = 5 // locale.h:72:1: 31 LC_TIME_MASK = 16 // _locale.h:41:1: 32 LC_VERSION_MASK = 64 // _locale.h:45:1: 33 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 34 X_ILP32 = 1 // <predefined>:1:1: 35 X_LC_LAST = 7 // locale.h:75:1: 36 X_LOCALE_H_ = 0 // locale.h:36:1: 37 X_LOCALE_T_DEFINED = 0 // _locale.h:49:1: 38 X_Nonnull = 0 // cdefs.h:790:1: 39 X_Null_unspecified = 0 // cdefs.h:792:1: 40 X_Nullable = 0 // cdefs.h:791:1: 41 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 42 X_XLOCALE_LOCALE_H = 0 // _locale.h:34:1: 43 I386 = 1 // <predefined>:335:1: 44 Unix = 1 // <predefined>:336:1: 45 ) 46 47 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 48 49 type Size_t = uint32 /* <builtin>:9:23 */ 50 51 type Wchar_t = int32 /* <builtin>:15:24 */ 52 53 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 54 type X__float128 = float64 /* <builtin>:47:21 */ 55 56 // - 57 // SPDX-License-Identifier: BSD-3-Clause 58 // 59 // Copyright (c) 1991, 1993 60 // The Regents of the University of California. All rights reserved. 61 // 62 // Redistribution and use in source and binary forms, with or without 63 // modification, are permitted provided that the following conditions 64 // are met: 65 // 1. Redistributions of source code must retain the above copyright 66 // notice, this list of conditions and the following disclaimer. 67 // 2. Redistributions in binary form must reproduce the above copyright 68 // notice, this list of conditions and the following disclaimer in the 69 // documentation and/or other materials provided with the distribution. 70 // 3. Neither the name of the University nor the names of its contributors 71 // may be used to endorse or promote products derived from this software 72 // without specific prior written permission. 73 // 74 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 75 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 76 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 77 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 78 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 79 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 80 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 81 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 82 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 83 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 84 // SUCH DAMAGE. 85 // 86 // @(#)locale.h 8.1 (Berkeley) 6/2/93 87 // $FreeBSD$ 88 89 // - 90 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 91 // 92 // Copyright (c) 2003 Marcel Moolenaar 93 // All rights reserved. 94 // 95 // Redistribution and use in source and binary forms, with or without 96 // modification, are permitted provided that the following conditions 97 // are met: 98 // 99 // 1. Redistributions of source code must retain the above copyright 100 // notice, this list of conditions and the following disclaimer. 101 // 2. Redistributions in binary form must reproduce the above copyright 102 // notice, this list of conditions and the following disclaimer in the 103 // documentation and/or other materials provided with the distribution. 104 // 105 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 106 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 107 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 108 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 109 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 110 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 111 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 112 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 113 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 114 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 115 // 116 // $FreeBSD$ 117 118 type Lconv = struct { 119 Fdecimal_point uintptr 120 Fthousands_sep uintptr 121 Fgrouping uintptr 122 Fint_curr_symbol uintptr 123 Fcurrency_symbol uintptr 124 Fmon_decimal_point uintptr 125 Fmon_thousands_sep uintptr 126 Fmon_grouping uintptr 127 Fpositive_sign uintptr 128 Fnegative_sign uintptr 129 Fint_frac_digits int8 130 Ffrac_digits int8 131 Fp_cs_precedes int8 132 Fp_sep_by_space int8 133 Fn_cs_precedes int8 134 Fn_sep_by_space int8 135 Fp_sign_posn int8 136 Fn_sign_posn int8 137 Fint_p_cs_precedes int8 138 Fint_n_cs_precedes int8 139 Fint_p_sep_by_space int8 140 Fint_n_sep_by_space int8 141 Fint_p_sign_posn int8 142 Fint_n_sign_posn int8 143 F__ccgo_pad1 [2]byte 144 } /* locale.h:40:1 */ 145 146 // - 147 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 148 // 149 // Copyright (c) 2011, 2012 The FreeBSD Foundation 150 // 151 // This software was developed by David Chisnall under sponsorship from 152 // the FreeBSD Foundation. 153 // 154 // Redistribution and use in source and binary forms, with or without 155 // modification, are permitted provided that the following conditions 156 // are met: 157 // 1. Redistributions of source code must retain the above copyright 158 // notice, this list of conditions and the following disclaimer. 159 // 2. Redistributions in binary form must reproduce the above copyright 160 // notice, this list of conditions and the following disclaimer in the 161 // documentation and/or other materials provided with the distribution. 162 // 163 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 164 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 165 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 166 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 167 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 168 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 169 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 170 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 171 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 172 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 173 // SUCH DAMAGE. 174 // 175 // $FreeBSD$ 176 177 // Bit shifting order of LC_*_MASK should match XLC_* and LC_* order. 178 179 type Locale_t = uintptr /* _locale.h:50:25 */ 180 181 var _ int8 /* gen.c:2:13: */