langinfo_netbsd_amd64.go 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. // Code generated by 'ccgo langinfo/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 langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
  2. package langinfo
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. NL_CAT_LOCALE = 1 // nl_types.h:75:1:
  15. NL_SETD = 1 // nl_types.h:74:1:
  16. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  17. X_LANGINFO_H_ = 0 // langinfo.h:9:1:
  18. X_LP64 = 1 // <predefined>:268:1:
  19. X_NL_TYPES_H_ = 0 // nl_types.h:33:1:
  20. X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
  21. X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
  22. X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
  23. )
  24. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  25. type Size_t = uint64 /* <builtin>:9:23 */
  26. type Wchar_t = int32 /* <builtin>:15:24 */
  27. type X__int128_t = struct {
  28. Flo int64
  29. Fhi int64
  30. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  31. type X__uint128_t = struct {
  32. Flo uint64
  33. Fhi uint64
  34. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  35. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  36. type X__float128 = float64 /* <builtin>:47:21 */
  37. // return true if value 'a' fits in type 't'
  38. // $NetBSD: nl_types.h,v 1.13 2013/08/19 08:03:33 joerg Exp $
  39. // -
  40. // Copyright (c) 1996 The NetBSD Foundation, Inc.
  41. // All rights reserved.
  42. //
  43. // This code is derived from software contributed to The NetBSD Foundation
  44. // by J.T. Conklin.
  45. //
  46. // Redistribution and use in source and binary forms, with or without
  47. // modification, are permitted provided that the following conditions
  48. // are met:
  49. // 1. Redistributions of source code must retain the above copyright
  50. // notice, this list of conditions and the following disclaimer.
  51. // 2. Redistributions in binary form must reproduce the above copyright
  52. // notice, this list of conditions and the following disclaimer in the
  53. // documentation and/or other materials provided with the distribution.
  54. //
  55. // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  56. // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  57. // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  58. // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
  59. // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  60. // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  61. // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  62. // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  63. // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  64. // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  65. // POSSIBILITY OF SUCH DAMAGE.
  66. // $NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
  67. // * Copyright (c) 1991, 1993
  68. // The Regents of the University of California. All rights reserved.
  69. //
  70. // This code is derived from software contributed to Berkeley by
  71. // Berkeley Software Design, Inc.
  72. //
  73. // Redistribution and use in source and binary forms, with or without
  74. // modification, are permitted provided that the following conditions
  75. // are met:
  76. // 1. Redistributions of source code must retain the above copyright
  77. // notice, this list of conditions and the following disclaimer.
  78. // 2. Redistributions in binary form must reproduce the above copyright
  79. // notice, this list of conditions and the following disclaimer in the
  80. // documentation and/or other materials provided with the distribution.
  81. // 3. Neither the name of the University nor the names of its contributors
  82. // may be used to endorse or promote products derived from this software
  83. // without specific prior written permission.
  84. //
  85. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  86. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  87. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  88. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  89. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  90. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  91. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  92. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  93. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  94. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  95. // SUCH DAMAGE.
  96. //
  97. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  98. type X__nl_cat_d = struct {
  99. F__data uintptr
  100. F__size int32
  101. F__ccgo_pad1 [4]byte
  102. } /* nl_types.h:77:9 */
  103. // return true if value 'a' fits in type 't'
  104. // $NetBSD: nl_types.h,v 1.13 2013/08/19 08:03:33 joerg Exp $
  105. // -
  106. // Copyright (c) 1996 The NetBSD Foundation, Inc.
  107. // All rights reserved.
  108. //
  109. // This code is derived from software contributed to The NetBSD Foundation
  110. // by J.T. Conklin.
  111. //
  112. // Redistribution and use in source and binary forms, with or without
  113. // modification, are permitted provided that the following conditions
  114. // are met:
  115. // 1. Redistributions of source code must retain the above copyright
  116. // notice, this list of conditions and the following disclaimer.
  117. // 2. Redistributions in binary form must reproduce the above copyright
  118. // notice, this list of conditions and the following disclaimer in the
  119. // documentation and/or other materials provided with the distribution.
  120. //
  121. // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  122. // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  123. // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  124. // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
  125. // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  126. // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  127. // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  128. // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  129. // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  130. // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  131. // POSSIBILITY OF SUCH DAMAGE.
  132. // $NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
  133. // * Copyright (c) 1991, 1993
  134. // The Regents of the University of California. All rights reserved.
  135. //
  136. // This code is derived from software contributed to Berkeley by
  137. // Berkeley Software Design, Inc.
  138. //
  139. // Redistribution and use in source and binary forms, with or without
  140. // modification, are permitted provided that the following conditions
  141. // are met:
  142. // 1. Redistributions of source code must retain the above copyright
  143. // notice, this list of conditions and the following disclaimer.
  144. // 2. Redistributions in binary form must reproduce the above copyright
  145. // notice, this list of conditions and the following disclaimer in the
  146. // documentation and/or other materials provided with the distribution.
  147. // 3. Neither the name of the University nor the names of its contributors
  148. // may be used to endorse or promote products derived from this software
  149. // without specific prior written permission.
  150. //
  151. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  152. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  153. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  154. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  155. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  156. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  157. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  158. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  159. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  160. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  161. // SUCH DAMAGE.
  162. //
  163. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  164. type Nl_catd = uintptr /* nl_types.h:80:3 */
  165. type Nl_item = int64 /* nl_types.h:82:14 */
  166. var _ int8 /* gen.c:2:13: */