OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:from_size
(Results
1 - 4
of
4
) sorted by null
/external/compiler-rt/lib/asan/tests/
asan_str_test.cc
121
size_t
from_size
= Ident(6); // less than to_size
local
123
char *from = Ident((char*)malloc(
from_size
));
127
strcpy(to + to_size -
from_size
, from);
133
EXPECT_DEATH(Ident(strcpy(to, from +
from_size
)), RightOOBReadMessage(0));
136
from[
from_size
- 1] = '!';
144
size_t
from_size
= Ident(6); // less than to_size
local
147
char *from = Ident((char*)malloc(
from_size
));
153
strncpy(to, from,
from_size
);
155
strncpy(to, from +
from_size
- 1, to_size);
158
EXPECT_DEATH(Ident(strncpy(to, from - 1,
from_size
)),
360
size_t
from_size
= Ident(20);
local
398
size_t
from_size
= Ident(20);
local
[
all
...]
/external/chromium_org/sdch/open-vcdiff/src/
headerparser.cc
165
size_t
from_size
,
175
if (*source_segment_length >
from_size
) {
177
<< ") is larger than " << from_name << " (" <<
from_size
185
if ((*source_segment_position >=
from_size
) &&
189
<< " (" <<
from_size
<< ")" << VCD_ENDL;
195
if (source_segment_end >
from_size
) {
198
<< " (" <<
from_size
<< ")" << VCD_ENDL;
headerparser.h
358
//
from_size
: The requested size of the source segment.
367
bool ParseSourceSegmentLengthAndPosition(size_t
from_size
,
/external/compiler-rt/lib/asan/
asan_interceptors.cc
509
uptr
from_size
= REAL(strlen)(from) + 1;
local
510
CHECK_RANGES_OVERLAP("strcpy", to,
from_size
, from,
from_size
);
511
ASAN_READ_RANGE(from,
from_size
);
512
ASAN_WRITE_RANGE(to,
from_size
);
559
uptr
from_size
= Min(size, MaybeRealStrnlen(from, size) + 1);
local
560
CHECK_RANGES_OVERLAP("strncpy", to,
from_size
, from,
from_size
);
561
ASAN_READ_RANGE(from,
from_size
);
Completed in 185 milliseconds