modernc.org/libc@v1.24.1/locale/locale_freebsd_arm64.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_amd64.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_LC_LAST          = 7  // locale.h:75:1:
    35  	X_LOCALE_H_        = 0  // locale.h:36:1:
    36  	X_LOCALE_T_DEFINED = 0  // _locale.h:49:1:
    37  	X_LP64             = 1  // <predefined>:1: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  	Unix               = 1  // <predefined>:340:1:
    44  )
    45  
    46  type Ptrdiff_t = int64 /* <builtin>:3:26 */
    47  
    48  type Size_t = uint64 /* <builtin>:9:23 */
    49  
    50  type Wchar_t = int32 /* <builtin>:15:24 */
    51  
    52  type X__int128_t = struct {
    53  	Flo int64
    54  	Fhi int64
    55  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    56  type X__uint128_t = struct {
    57  	Flo uint64
    58  	Fhi uint64
    59  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    60  
    61  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    62  type X__float128 = float64        /* <builtin>:47:21 */
    63  
    64  // -
    65  // SPDX-License-Identifier: BSD-3-Clause
    66  //
    67  // Copyright (c) 1991, 1993
    68  //	The Regents of the University of California.  All rights reserved.
    69  //
    70  // Redistribution and use in source and binary forms, with or without
    71  // modification, are permitted provided that the following conditions
    72  // are met:
    73  // 1. Redistributions of source code must retain the above copyright
    74  //    notice, this list of conditions and the following disclaimer.
    75  // 2. Redistributions in binary form must reproduce the above copyright
    76  //    notice, this list of conditions and the following disclaimer in the
    77  //    documentation and/or other materials provided with the distribution.
    78  // 3. Neither the name of the University nor the names of its contributors
    79  //    may be used to endorse or promote products derived from this software
    80  //    without specific prior written permission.
    81  //
    82  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    83  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    84  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    85  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    86  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    87  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    88  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    89  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    90  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    91  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    92  // SUCH DAMAGE.
    93  //
    94  //	@(#)locale.h	8.1 (Berkeley) 6/2/93
    95  // $FreeBSD$
    96  
    97  // -
    98  // SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    99  //
   100  // Copyright (c) 2003 Marcel Moolenaar
   101  // All rights reserved.
   102  //
   103  // Redistribution and use in source and binary forms, with or without
   104  // modification, are permitted provided that the following conditions
   105  // are met:
   106  //
   107  // 1. Redistributions of source code must retain the above copyright
   108  //    notice, this list of conditions and the following disclaimer.
   109  // 2. Redistributions in binary form must reproduce the above copyright
   110  //    notice, this list of conditions and the following disclaimer in the
   111  //    documentation and/or other materials provided with the distribution.
   112  //
   113  // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   114  // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   115  // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   116  // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   117  // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   118  // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   119  // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   120  // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   121  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   122  // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   123  //
   124  // $FreeBSD$
   125  
   126  type Lconv = struct {
   127  	Fdecimal_point      uintptr
   128  	Fthousands_sep      uintptr
   129  	Fgrouping           uintptr
   130  	Fint_curr_symbol    uintptr
   131  	Fcurrency_symbol    uintptr
   132  	Fmon_decimal_point  uintptr
   133  	Fmon_thousands_sep  uintptr
   134  	Fmon_grouping       uintptr
   135  	Fpositive_sign      uintptr
   136  	Fnegative_sign      uintptr
   137  	Fint_frac_digits    int8
   138  	Ffrac_digits        int8
   139  	Fp_cs_precedes      int8
   140  	Fp_sep_by_space     int8
   141  	Fn_cs_precedes      int8
   142  	Fn_sep_by_space     int8
   143  	Fp_sign_posn        int8
   144  	Fn_sign_posn        int8
   145  	Fint_p_cs_precedes  int8
   146  	Fint_n_cs_precedes  int8
   147  	Fint_p_sep_by_space int8
   148  	Fint_n_sep_by_space int8
   149  	Fint_p_sign_posn    int8
   150  	Fint_n_sign_posn    int8
   151  	F__ccgo_pad1        [2]byte
   152  } /* locale.h:40:1 */
   153  
   154  // -
   155  // SPDX-License-Identifier: BSD-2-Clause-FreeBSD
   156  //
   157  // Copyright (c) 2011, 2012 The FreeBSD Foundation
   158  //
   159  // This software was developed by David Chisnall under sponsorship from
   160  // the FreeBSD Foundation.
   161  //
   162  // Redistribution and use in source and binary forms, with or without
   163  // modification, are permitted provided that the following conditions
   164  // are met:
   165  // 1. Redistributions of source code must retain the above copyright
   166  //    notice, this list of conditions and the following disclaimer.
   167  // 2. Redistributions in binary form must reproduce the above copyright
   168  //    notice, this list of conditions and the following disclaimer in the
   169  //    documentation and/or other materials provided with the distribution.
   170  //
   171  // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   172  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   173  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   174  // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   175  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   176  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   177  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   178  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   179  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   180  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   181  // SUCH DAMAGE.
   182  //
   183  // $FreeBSD$
   184  
   185  // Bit shifting order of LC_*_MASK should match XLC_* and LC_* order.
   186  
   187  type Locale_t = uintptr /* _locale.h:50:25 */
   188  
   189  var _ int8 /* gen.c:2:13: */