Home
last modified time | relevance | path

Searched refs:from_size (Results 1 – 6 of 6) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Dheaderparser.cc165 size_t from_size, in ParseSourceSegmentLengthAndPosition() argument
175 if (*source_segment_length > from_size) { in ParseSourceSegmentLengthAndPosition()
177 << ") is larger than " << from_name << " (" << from_size in ParseSourceSegmentLengthAndPosition()
185 if ((*source_segment_position >= from_size) && in ParseSourceSegmentLengthAndPosition()
189 << " (" << from_size << ")" << LOG_ENDL; in ParseSourceSegmentLengthAndPosition()
195 if (source_segment_end > from_size) { in ParseSourceSegmentLengthAndPosition()
198 << " (" << from_size << ")" << LOG_ENDL; in ParseSourceSegmentLengthAndPosition()
Dheaderparser.h367 bool ParseSourceSegmentLengthAndPosition(size_t from_size,
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc997 size_t from_size = Ident(6); // less than to_size in TEST() local
999 char *from = Ident((char*)malloc(from_size)); in TEST()
1003 strcpy(to + to_size - from_size, from); in TEST()
1009 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBErrorMessage(0)); in TEST()
1012 from[from_size - 1] = '!'; in TEST()
1020 size_t from_size = Ident(6); // less than to_size in TEST() local
1023 char *from = Ident((char*)malloc(from_size)); in TEST()
1029 strncpy(to, from, from_size); in TEST()
1031 strncpy(to, from + from_size - 1, to_size); in TEST()
1034 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)), in TEST()
[all …]
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc563 size_t from_size = REAL(strlen)(from) + 1; in INTERCEPTOR() local
564 CHECK_RANGES_OVERLAP("strcpy", to, from_size, from, from_size); in INTERCEPTOR()
565 ASAN_READ_RANGE(from, from_size); in INTERCEPTOR()
566 ASAN_WRITE_RANGE(to, from_size); in INTERCEPTOR()
629 size_t from_size = Min(size, internal_strnlen(from, size) + 1); in INTERCEPTOR() local
630 CHECK_RANGES_OVERLAP("strncpy", to, from_size, from, from_size); in INTERCEPTOR()
631 ASAN_READ_RANGE(from, from_size); in INTERCEPTOR()
/external/stlport/src/c_locale_win32/
Dc_locale_win32.c1719 int from_size, to_size, wbuf_size; in __ConvertToCP() local
1728 from_size = trim_size_t_to_int(size); in __ConvertToCP()
1730 from + from_offset, from_size, NULL, 0); in __ConvertToCP()
1731 from_offset += from_size; in __ConvertToCP()
1732 size -= from_size; in __ConvertToCP()
1741 from_size = trim_size_t_to_int(size); in __ConvertToCP()
1744 … from + from_offset, from_size, wbuffer + wbuf_offset, wbuf_size); in __ConvertToCP()
1745 from_offset += from_size; in __ConvertToCP()
1746 size -= from_size; in __ConvertToCP()
/external/valgrind/main/VEX/priv/
Dhost_s390_defs.c5556 s390_widen_emit(UChar *buf, const s390_insn *insn, UInt from_size, in s390_widen_emit() argument
5566 switch (from_size) { in s390_widen_emit()
5620 switch (from_size) { in s390_widen_emit()
5678 switch (from_size) { in s390_widen_emit()