github.com/afumu/libc@v0.0.6/locale/locale_netbsd_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_netbsd_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:68:1:
    19  	LC_COLLATE          = 1  // locale.h:69:1:
    20  	LC_CTYPE            = 2  // locale.h:70:1:
    21  	LC_MESSAGES         = 6  // locale.h:74:1:
    22  	LC_MONETARY         = 3  // locale.h:71:1:
    23  	LC_NUMERIC          = 4  // locale.h:72:1:
    24  	LC_TIME             = 5  // locale.h:73:1:
    25  	X_ARM_ARCH_4T       = 0  // cdefs.h:44:1:
    26  	X_ARM_ARCH_5        = 0  // cdefs.h:40:1:
    27  	X_ARM_ARCH_5T       = 0  // cdefs.h:36:1:
    28  	X_ARM_ARCH_6        = 0  // cdefs.h:31:1:
    29  	X_ARM_ARCH_7        = 0  // cdefs.h:20:1:
    30  	X_ARM_ARCH_DWORD_OK = 0  // cdefs.h:51:1:
    31  	X_ARM_ARCH_T2       = 0  // cdefs.h:24:1:
    32  	X_ARM_CDEFS_H_      = 0  // cdefs.h:4:1:
    33  	X_FILE_OFFSET_BITS  = 64 // <builtin>:25:1:
    34  	X_LC_LAST           = 7  // locale.h:76:1:
    35  	X_LOCALE_H_         = 0  // locale.h:35:1:
    36  	X_NETBSD_SOURCE     = 1  // featuretest.h:70:1:
    37  	X_SYS_CDEFS_ELF_H_  = 0  // cdefs_elf.h:31:1:
    38  	X_SYS_CDEFS_H_      = 0  // cdefs.h:37:1:
    39  	X_SYS_NULL_H_       = 0  // null.h:9:1:
    40  )
    41  
    42  type Ptrdiff_t = int32 /* <builtin>:3:26 */
    43  
    44  type Size_t = uint32 /* <builtin>:9:23 */
    45  
    46  type Wchar_t = int32 /* <builtin>:15:24 */
    47  
    48  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    49  type X__float128 = float64        /* <builtin>:47:21 */
    50  
    51  //	$NetBSD: locale.h,v 1.28 2016/04/29 16:26:48 joerg Exp $
    52  
    53  // Copyright (c) 1991, 1993
    54  //	The Regents of the University of California.  All rights reserved.
    55  //
    56  // Redistribution and use in source and binary forms, with or without
    57  // modification, are permitted provided that the following conditions
    58  // are met:
    59  // 1. Redistributions of source code must retain the above copyright
    60  //    notice, this list of conditions and the following disclaimer.
    61  // 2. Redistributions in binary form must reproduce the above copyright
    62  //    notice, this list of conditions and the following disclaimer in the
    63  //    documentation and/or other materials provided with the distribution.
    64  // 3. Neither the name of the University nor the names of its contributors
    65  //    may be used to endorse or promote products derived from this software
    66  //    without specific prior written permission.
    67  //
    68  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    69  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    70  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    71  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    72  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    73  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    74  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    75  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    76  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    77  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    78  // SUCH DAMAGE.
    79  //
    80  //	@(#)locale.h	8.1 (Berkeley) 6/2/93
    81  
    82  //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    83  
    84  // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    85  // Public domain.
    86  //
    87  // NOTE: Do not protect this header against multiple inclusion.  Doing
    88  // so can have subtle side-effects due to header file inclusion order
    89  // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    90  // protect each CPP macro that we want to supply.
    91  
    92  // Feature-test macros are defined by several standards, and allow an
    93  // application to specify what symbols they want the system headers to
    94  // expose, and hence what standard they want them to conform to.
    95  // There are two classes of feature-test macros.  The first class
    96  // specify complete standards, and if one of these is defined, header
    97  // files will try to conform to the relevant standard.  They are:
    98  //
    99  // ANSI macros:
   100  // _ANSI_SOURCE			ANSI C89
   101  //
   102  // POSIX macros:
   103  // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   104  // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   105  // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   106  // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   107  // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   108  // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   109  // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   110  //
   111  // X/Open macros:
   112  // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   113  // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   114  // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   115  // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   116  // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   117  // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   118  //
   119  // NetBSD macros:
   120  // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   121  //
   122  // If more than one of these "major" feature-test macros is defined,
   123  // then the set of facilities provided (and namespace used) is the
   124  // union of that specified by the relevant standards, and in case of
   125  // conflict, the earlier standard in the above list has precedence (so
   126  // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   127  // of rename() that's used is the POSIX one).  If none of the "major"
   128  // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   129  //
   130  // There are also "minor" feature-test macros, which enable extra
   131  // functionality in addition to some base standard.  They should be
   132  // defined along with one of the "major" macros.  The "minor" macros
   133  // are:
   134  //
   135  // _REENTRANT
   136  // _ISOC99_SOURCE
   137  // _ISOC11_SOURCE
   138  // _LARGEFILE_SOURCE		Large File Support
   139  //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   140  
   141  type Lconv = struct {
   142  	Fdecimal_point      uintptr
   143  	Fthousands_sep      uintptr
   144  	Fgrouping           uintptr
   145  	Fint_curr_symbol    uintptr
   146  	Fcurrency_symbol    uintptr
   147  	Fmon_decimal_point  uintptr
   148  	Fmon_thousands_sep  uintptr
   149  	Fmon_grouping       uintptr
   150  	Fpositive_sign      uintptr
   151  	Fnegative_sign      uintptr
   152  	Fint_frac_digits    uint8
   153  	Ffrac_digits        uint8
   154  	Fp_cs_precedes      uint8
   155  	Fp_sep_by_space     uint8
   156  	Fn_cs_precedes      uint8
   157  	Fn_sep_by_space     uint8
   158  	Fp_sign_posn        uint8
   159  	Fn_sign_posn        uint8
   160  	Fint_p_cs_precedes  uint8
   161  	Fint_n_cs_precedes  uint8
   162  	Fint_p_sep_by_space uint8
   163  	Fint_n_sep_by_space uint8
   164  	Fint_p_sign_posn    uint8
   165  	Fint_n_sign_posn    uint8
   166  	F__ccgo_pad1        [2]byte
   167  } /* locale.h:39:1 */
   168  
   169  // return true if value 'a' fits in type 't'
   170  
   171  type Locale_t = uintptr /* locale.h:83:25 */
   172  
   173  var _ uint8 /* gen.c:2:13: */