ReactOS
0.4.16-dev-1025-gd3456f5
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
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
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
x
y
z
Enumerations
_
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
Enumerator
_
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
Macros
_
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
Examples
strxspn.h
Go to the documentation of this file.
1
2
#include <limits.h>
3
#include <string.h>
4
5
size_t
__cdecl
_strxspn
(
const
char
*
s1
,
const
char
*
s2
)
6
{
7
unsigned
char
char_map[1 <<
CHAR_BIT
*
sizeof
(
char
)];
8
const
unsigned
char
* us2 = (
const
unsigned
char
*)
s2
;
9
const
unsigned
char
*
str
= (
const
unsigned
char
*)
s1
;
10
11
memset
(char_map, 0,
sizeof
(char_map));
12
13
for
(; *us2; ++ us2)
14
char_map[*us2 /
CHAR_BIT
] |= (1 << (*us2 %
CHAR_BIT
));
15
16
for
(; *
str
; ++
str
)
17
if
(
_x
(char_map[*
str
/
CHAR_BIT
] & (1 << (*
str
%
CHAR_BIT
))))
break
;
18
19
return
(
size_t
)
str
- (
size_t
)
s1
;
20
}
21
22
/* EOF */
__cdecl
#define __cdecl
Definition:
accygwin.h:79
_strxspn
#define _strxspn
Definition:
strcspn.c:3
_x
#define _x(oid)
char
unsigned char
Definition:
typeof.h:29
CHAR_BIT
#define CHAR_BIT
Definition:
urlcache.c:62
size_t
__kernel_size_t size_t
Definition:
linux.h:237
s1
struct S1 s1
str
const WCHAR * str
Definition:
rpc_transport.c:2724
memset
#define memset(x, y, z)
Definition:
compat.h:39
s2
PCWSTR s2
Definition:
shell32_main.h:38
sdk
lib
crt
string
strxspn.h
Generated on Tue Apr 22 2025 06:15:20 for ReactOS by
1.9.6