CBMC
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
j
l
m
r
t
w
Functions
a
c
d
f
g
r
t
w
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Related Symbols
b
c
d
e
g
i
j
m
n
o
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
f
g
i
l
m
p
r
s
t
u
v
w
Enumerator
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
ctype.c
Go to the documentation of this file.
1
2
/* FUNCTION: isalnum */
3
4
int
isalnum
(
int
c
)
5
{
return
(
c
>=
'a'
&&
c
<=
'z'
) || (
c
>=
'A'
&&
c
<=
'Z'
) || (
c
>=
'0'
&&
c
<=
'9'
); }
4
int
isalnum
(
int
c
) {
…
}
6
7
/* FUNCTION: isalpha */
8
9
int
isalpha
(
int
c
)
10
{
return
(
c
>=
'a'
&&
c
<=
'z'
) || (
c
>=
'A'
&&
c
<=
'Z'
); }
9
int
isalpha
(
int
c
) {
…
}
11
12
/* FUNCTION: isblank */
13
14
int
isblank
(
int
c
)
15
{
return
c
==
' '
||
c
==
'\t'
; }
14
int
isblank
(
int
c
) {
…
}
16
17
/* FUNCTION: iscntrl */
18
19
int
iscntrl
(
int
c
)
20
{
return
(
c
>=0 &&
c
<=
'\037'
) ||
c
==
'\177'
; }
19
int
iscntrl
(
int
c
) {
…
}
21
22
/* FUNCTION: isdigit */
23
24
int
isdigit
(
int
c
)
25
{
return
c
>=
'0'
&&
c
<=
'9'
; }
24
int
isdigit
(
int
c
) {
…
}
26
27
/* FUNCTION: isgraph */
28
29
int
isgraph
(
int
c
)
30
{
return
c
>=
'!'
&&
c
<=
'~'
; }
29
int
isgraph
(
int
c
) {
…
}
31
32
/* FUNCTION: islower */
33
34
int
islower
(
int
c
)
35
{
return
c
>=
'a'
&&
c
<=
'z'
; }
34
int
islower
(
int
c
) {
…
}
36
37
/* FUNCTION: isprint */
38
39
int
isprint
(
int
c
)
40
{
return
c
>=
' '
&&
c
<=
'~'
; }
39
int
isprint
(
int
c
) {
…
}
41
42
/* FUNCTION: ispunct */
43
44
int
ispunct
(
int
c
)
45
{
return
c
==
'!'
||
46
c
==
'"'
||
47
c
==
'#'
||
48
c
==
'$'
||
49
c
==
'%'
||
50
c
==
'&'
||
51
c
==
'\''
||
52
c
==
'('
||
53
c
==
')'
||
54
c
==
'*'
||
55
c
==
'+'
||
56
c
==
','
||
57
c
==
'-'
||
58
c
==
'.'
||
59
c
==
'/'
||
60
c
==
':'
||
61
c
==
';'
||
62
c
==
'<'
||
63
c
==
'='
||
64
c
==
'>'
||
65
c
==
'?'
||
66
c
==
'@'
||
67
c
==
'['
||
68
c
==
'\\'
||
69
c
==
']'
||
70
c
==
'^'
||
71
c
==
'_'
||
72
c
==
'`'
||
73
c
==
'{'
||
74
c
==
'|'
||
75
c
==
'}'
||
76
c
==
'~'
; }
44
int
ispunct
(
int
c
) {
…
}
77
78
/* FUNCTION: isspace */
79
80
int
isspace
(
int
c
)
81
{
return
c
==
'\t'
||
82
c
==
'\n'
||
83
c
==
'\v'
||
84
c
==
'\f'
||
85
c
==
'\r'
||
86
c
==
' '
; }
80
int
isspace
(
int
c
) {
…
}
87
88
/* FUNCTION: isupper */
89
90
int
isupper
(
int
c
)
91
{
return
c
>=
'A'
&&
c
<=
'Z'
; }
90
int
isupper
(
int
c
) {
…
}
92
93
/* FUNCTION: isxdigit */
94
95
int
isxdigit
(
int
c
)
96
{
return
(
c
>=
'A'
&&
c
<=
'F'
) || (
c
>=
'a'
&&
c
<=
'f'
) || (
c
>=
'0'
&&
c
<=
'9'
); }
95
int
isxdigit
(
int
c
) {
…
}
97
98
/* FUNCTION: __CPROVER_tolower */
99
100
int
__CPROVER_tolower
(
int
c
)
101
{
102
return
(
c
>=
'A'
&&
c
<=
'Z'
) ?
c
+ (
'a'
-
'A'
) :
c
;
103
}
100
int
__CPROVER_tolower
(
int
c
) {
…
}
104
105
/* FUNCTION: tolower */
106
107
int
__CPROVER_tolower
(
int
c
);
108
109
int
tolower
(
int
c
)
110
{
111
return
__CPROVER_tolower
(
c
);
112
}
109
int
tolower
(
int
c
) {
…
}
113
114
/* FUNCTION: __tolower */
115
116
int
__CPROVER_tolower
(
int
c
);
117
118
int
__tolower
(
int
c
)
119
{
120
return
__CPROVER_tolower
(
c
);
121
}
118
int
__tolower
(
int
c
) {
…
}
122
123
/* FUNCTION: __CPROVER_toupper */
124
125
int
__CPROVER_toupper
(
int
c
)
126
{
127
return
(
c
>=
'a'
&&
c
<=
'z'
) ?
c
- (
'a'
-
'A'
) :
c
;
128
}
125
int
__CPROVER_toupper
(
int
c
) {
…
}
129
130
/* FUNCTION: toupper */
131
132
int
__CPROVER_toupper
(
int
c
);
133
134
int
toupper
(
int
c
)
135
{
136
return
__CPROVER_toupper
(
c
);
137
}
134
int
toupper
(
int
c
) {
…
}
138
139
/* FUNCTION: __toupper */
140
141
int
__CPROVER_toupper
(
int
c
);
142
143
int
__toupper
(
int
c
)
144
{
145
return
__CPROVER_toupper
(
c
);
146
}
143
int
__toupper
(
int
c
) {
…
}
ait
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition
ai.h:562
iscntrl
int iscntrl(int c)
Definition
ctype.c:19
isalpha
int isalpha(int c)
Definition
ctype.c:9
isdigit
int isdigit(int c)
Definition
ctype.c:24
__CPROVER_toupper
int __CPROVER_toupper(int c)
Definition
ctype.c:125
isgraph
int isgraph(int c)
Definition
ctype.c:29
isspace
int isspace(int c)
Definition
ctype.c:80
__tolower
int __tolower(int c)
Definition
ctype.c:118
islower
int islower(int c)
Definition
ctype.c:34
__toupper
int __toupper(int c)
Definition
ctype.c:143
isprint
int isprint(int c)
Definition
ctype.c:39
toupper
int toupper(int c)
Definition
ctype.c:134
tolower
int tolower(int c)
Definition
ctype.c:109
__CPROVER_tolower
int __CPROVER_tolower(int c)
Definition
ctype.c:100
isupper
int isupper(int c)
Definition
ctype.c:90
isxdigit
int isxdigit(int c)
Definition
ctype.c:95
isalnum
int isalnum(int c)
Definition
ctype.c:4
isblank
int isblank(int c)
Definition
ctype.c:14
ispunct
int ispunct(int c)
Definition
ctype.c:44
src
ansi-c
library
ctype.c
Generated by
1.9.8