FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void _swapl_buffer
(
int *
s2
,
int *
s1
,
int
n
)
Definition at line
115
of file
swap.c
.
Referenced by
copy_swap_buffer_in()
.
116
{
117
register
char
*p, *q;
118
int
r[2];
119
register
int
*l;
120
121
p = (
char
*) s2;
122
q = (
char
*) s1;
123
if
( p != q ) {
124
p +=
sizeof
(int);
125
for
( n++; --n; p += 2*
sizeof
(int)) {
126
*--p = *q++;
127
*--p = *q++;
128
*--p = *q++;
129
*--p = *q++;
130
}
131
}
else
{
132
for
( l = s2, n++; --n; *l++ = r[0]) {
133
p = (
char
*) &r[1] ;
134
*--p = *q++;
135
*--p = *q++;
136
*--p = *q++;
137
*--p = *q++;
138
}
139
}
140
}
Here is the caller graph for this function:
dim
src
swap.c
Generated on Sun Sep 18 2016 20:50:32 for FACT++ by
1.8.11