~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to conform/data/stdint.h-data

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
 
2
// The requirements for some types and corresponding macros are from POSIX.
2
3
type int8_t
3
4
type int16_t
4
5
type int32_t
32
33
type intmax_t
33
34
type uintmax_t
34
35
 
35
 
constant INT8_MIN == -128
36
 
constant INT8_MAX == 127
37
 
constant INT16_MIN == -32768
38
 
constant INT16_MAX == 32767
39
 
constant INT32_MIN == -2147483647-1
40
 
constant INT32_MAX == 2147483647
41
 
constant INT64_MIN == -9223372036854775807LL-1
42
 
constant INT64_MAX == 9223372036854775807LL
43
 
 
44
 
constant UINT8_MAX == 255
45
 
constant UINT16_MAX == 65535
46
 
constant UINT32_MAX == 4294967295U
47
 
constant UINT64_MAX == 18446744073709551615ULL
48
 
 
49
 
constant INT_LEAST8_MIN <= -128
50
 
constant INT_LEAST8_MAX >= 127
51
 
constant INT_LEAST16_MIN <= -32768
52
 
constant INT_LEAST16_MAX >= 32767
53
 
constant INT_LEAST32_MIN <= -2147483647-1
54
 
constant INT_LEAST32_MAX >= 2147483647
55
 
constant INT_LEAST64_MIN <= -9223372036854775807LL-1
56
 
constant INT_LEAST64_MAX >= 9223372036854775807LL
57
 
 
58
 
constant UINT_LEAST8_MAX >= 255
59
 
constant UINT_LEAST16_MAX >= 65535
60
 
constant UINT_LEAST32_MAX >= 4294967295U
61
 
constant UINT_LEAST64_MAX >= 18446744073709551615ULL
62
 
 
63
 
constant INT_FAST8_MIN <= -128
64
 
constant INT_FAST8_MAX >= 127
65
 
constant INT_FAST16_MIN <= -32768
66
 
constant INT_FAST16_MAX >= 32767
67
 
constant INT_FAST32_MIN <= -2147483647-1
68
 
constant INT_FAST32_MAX >= 2147483647
69
 
constant INT_FAST64_MIN <= -9223372036854775807LL-1
70
 
constant INT_FAST64_MAX >= 9223372036854775807LL
71
 
 
72
 
constant UINT_FAST8_MAX >= 255
73
 
constant UINT_FAST16_MAX >= 65535
74
 
constant UINT_FAST32_MAX >= 4294967295U
75
 
constant UINT_FAST64_MAX >= 18446744073709551615ULL
76
 
 
77
 
constant INTPTR_MIN <= -32768
78
 
constant INTPTR_MAX >= 32767
79
 
 
80
 
constant UINTPTR_MAX >= 65535
81
 
 
82
 
constant INTMAX_MIN <= -9223372036854775807LL-1
83
 
constant INTMAX_MAX >= 9223372036854775807LL
84
 
 
85
 
constant UINTMAX_MAX >= 18446744073709551615ULL
86
 
 
87
 
constant PTRDIFF_MIN <= -65535
88
 
constant PTRDIFF_MAX >= 65535
89
 
 
90
 
constant SIG_ATOMIC_MIN <= -127
91
 
constant SIG_ATOMIC_MAX >= 127
92
 
 
93
 
constant SIZE_MAX >= 65535
94
 
 
95
 
constant WCHAR_MIN <= -127
96
 
constant WCHAR_MAX >= 127
97
 
 
98
 
constant WINT_MIN <= -127
99
 
constant WINT_MAX >= 127
 
36
macro-int-constant INT8_MIN {promoted:int8_t} == -128
 
37
macro-int-constant INT8_MAX {promoted:int8_t} == 127
 
38
macro-int-constant INT16_MIN {promoted:int16_t} == -32768
 
39
macro-int-constant INT16_MAX {promoted:int16_t} == 32767
 
40
macro-int-constant INT32_MIN {promoted:int32_t} == -2147483647-1
 
41
macro-int-constant INT32_MAX {promoted:int32_t} == 2147483647
 
42
macro-int-constant INT64_MIN {promoted:int64_t} == -9223372036854775807LL-1
 
43
macro-int-constant INT64_MAX {promoted:int64_t} == 9223372036854775807LL
 
44
 
 
45
macro-int-constant UINT8_MAX {promoted:uint8_t} == 255
 
46
macro-int-constant UINT16_MAX {promoted:uint16_t} == 65535
 
47
macro-int-constant UINT32_MAX {promoted:uint32_t} == 4294967295U
 
48
macro-int-constant UINT64_MAX {promoted:uint64_t} == 18446744073709551615ULL
 
49
 
 
50
macro-int-constant INT_LEAST8_MIN {promoted:int_least8_t} <= -128
 
51
macro-int-constant INT_LEAST8_MAX {promoted:int_least8_t} >= 127
 
52
macro-int-constant INT_LEAST16_MIN {promoted:int_least16_t} <= -32768
 
53
macro-int-constant INT_LEAST16_MAX {promoted:int_least16_t} >= 32767
 
54
macro-int-constant INT_LEAST32_MIN {promoted:int_least32_t} <= -2147483647-1
 
55
macro-int-constant INT_LEAST32_MAX {promoted:int_least32_t} >= 2147483647
 
56
macro-int-constant INT_LEAST64_MIN {promoted:int_least64_t} <= -9223372036854775807LL-1
 
57
macro-int-constant INT_LEAST64_MAX {promoted:int_least64_t} >= 9223372036854775807LL
 
58
 
 
59
macro-int-constant UINT_LEAST8_MAX {promoted:uint_least8_t} >= 255
 
60
macro-int-constant UINT_LEAST16_MAX {promoted:uint_least16_t} >= 65535
 
61
macro-int-constant UINT_LEAST32_MAX {promoted:uint_least32_t} >= 4294967295U
 
62
macro-int-constant UINT_LEAST64_MAX {promoted:uint_least64_t} >= 18446744073709551615ULL
 
63
 
 
64
macro-int-constant INT_FAST8_MIN {promoted:int_fast8_t} <= -128
 
65
macro-int-constant INT_FAST8_MAX {promoted:int_fast8_t} >= 127
 
66
macro-int-constant INT_FAST16_MIN {promoted:int_fast16_t} <= -32768
 
67
macro-int-constant INT_FAST16_MAX {promoted:int_fast16_t} >= 32767
 
68
macro-int-constant INT_FAST32_MIN {promoted:int_fast32_t} <= -2147483647-1
 
69
macro-int-constant INT_FAST32_MAX {promoted:int_fast32_t} >= 2147483647
 
70
macro-int-constant INT_FAST64_MIN {promoted:int_fast64_t} <= -9223372036854775807LL-1
 
71
macro-int-constant INT_FAST64_MAX {promoted:int_fast64_t} >= 9223372036854775807LL
 
72
 
 
73
macro-int-constant UINT_FAST8_MAX {promoted:uint_fast8_t} >= 255
 
74
macro-int-constant UINT_FAST16_MAX {promoted:uint_fast16_t} >= 65535
 
75
macro-int-constant UINT_FAST32_MAX {promoted:uint_fast32_t} >= 4294967295U
 
76
macro-int-constant UINT_FAST64_MAX {promoted:uint_fast64_t} >= 18446744073709551615ULL
 
77
 
 
78
macro-int-constant INTPTR_MIN {promoted:intptr_t} <= -32768
 
79
macro-int-constant INTPTR_MAX {promoted:intptr_t} >= 32767
 
80
 
 
81
macro-int-constant UINTPTR_MAX {promoted:uintptr_t} >= 65535
 
82
 
 
83
macro-int-constant INTMAX_MIN {promoted:intmax_t} <= -9223372036854775807LL-1
 
84
macro-int-constant INTMAX_MAX {promoted:intmax_t} >= 9223372036854775807LL
 
85
 
 
86
macro-int-constant UINTMAX_MAX {promoted:uintmax_t} >= 18446744073709551615ULL
 
87
 
 
88
macro-int-constant PTRDIFF_MIN {promoted:__PTRDIFF_TYPE__} <= -65535
 
89
macro-int-constant PTRDIFF_MAX {promoted:__PTRDIFF_TYPE__} >= 65535
 
90
 
 
91
macro-int-constant SIG_ATOMIC_MIN {promoted:__SIG_ATOMIC_TYPE__}
 
92
macro-int-constant SIG_ATOMIC_MAX {promoted:__SIG_ATOMIC_TYPE__} >= 127
 
93
 
 
94
macro-int-constant SIZE_MAX {promoted:__SIZE_TYPE__} >= 65535
 
95
 
 
96
macro-int-constant WCHAR_MIN {promoted:__WCHAR_TYPE__}
 
97
macro-int-constant WCHAR_MAX {promoted:__WCHAR_TYPE__} >= 127
 
98
 
 
99
macro-int-constant WINT_MIN {promoted:__WINT_TYPE__}
 
100
macro-int-constant WINT_MAX {promoted:__WINT_TYPE__} >= 127
100
101
 
101
102
macro INT8_C
102
103
macro INT16_C
110
111
macro UINTMAX_C
111
112
 
112
113
// The following expressions are not entirely correct but the current
113
 
// fnamtch implementation doesn't grok the right form.
 
114
// poorfnmatch implementation doesn't grok the right forms (INT*_MAX,
 
115
// INT*_MIN, INT*_C, UINT*_MAX, UINT*_MIN, UINT*_C, int*_t, uint*_t).
114
116
allow INT*
115
117
allow UINT*
 
118
allow *_t
116
119
#endif