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