/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 105 size_t from_size = Ident(6); // less than to_size local 107 char *from = Ident((char*)malloc(from_size)); 111 strcpy(to + to_size - from_size, from); 117 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBReadMessage(0)); 120 from[from_size - 1] = '!'; 128 size_t from_size = Ident(6); // less than to_size local 131 char *from = Ident((char*)malloc(from_size)); 137 strncpy(to, from, from_size); 139 strncpy(to, from + from_size - 1, to_size); 142 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)), 335 size_t from_size = Ident(20); local 373 size_t from_size = Ident(20); local [all...] |
/external/compiler-rt/lib/asan/ |
asan_interceptors.cc | 446 uptr from_size = REAL(strlen)(from) + 1; local 447 CHECK_RANGES_OVERLAP("strcpy", to, from_size, from, from_size); 448 ASAN_READ_RANGE(from, from_size); 449 ASAN_WRITE_RANGE(to, from_size); 487 uptr from_size = Min(size, MaybeRealStrnlen(from, size) + 1); local 488 CHECK_RANGES_OVERLAP("strncpy", to, from_size, from, from_size); 489 ASAN_READ_RANGE(from, from_size);
|
/external/stlport/src/c_locale_win32/ |
c_locale_win32.c | 1719 int from_size, to_size, wbuf_size; local [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_locale_win32.c | 1719 int from_size, to_size, wbuf_size; local [all...] |