/external/valgrind/main/memcheck/tests/ |
overlap.c | 44 strncpy(x+20, x, 20); // ok 45 strncpy(x+20, x, 21); // overlap 46 strncpy(x, x+20, 20); // ok 47 strncpy(x, x+20, 21); // overlap 65 /* testing strcpy, strncpy() */ 74 strncpy(b, a, 25); 78 strncpy(b, a, 26); 82 strncpy(b, a, 27); 115 /* This is ok, but once gave a warning when strncpy() was wrong, 121 strncpy( dest, src, 20 ) [all...] |
overlap.stderr.exp | 9 Source and destination overlap in strncpy(0x........, 0x........, 21) 10 at 0x........: strncpy (mc_replace_strmem.c:...) 13 Source and destination overlap in strncpy(0x........, 0x........, 21) 14 at 0x........: strncpy (mc_replace_strmem.c:...)
|
/external/llvm/test/Transforms/InstCombine/ |
strncpy-2.ll | 1 ; Test that the strncpy library call simplifier works correctly. 10 declare i16* @strncpy(i8*, i8*, i32) 12 ; Check that 'strncpy' functions with the wrong prototype aren't simplified. 19 call i16* @strncpy(i8* %dst, i8* %src, i32 6) 20 ; CHECK: call i16* @strncpy
|
strncpy-1.ll | 1 ; Test that the strncpy library call simplifier works correctly. 13 declare i8* @strncpy(i8*, i8*, i32) 16 ; Check a bunch of strncpy invocations together. 20 ; CHECK-NOT: call i8* @strncpy 27 %rslt1 = call i8* @strncpy(i8* %arg1, i8* %arg2, i32 6) 30 %rslt2 = call i8* @strncpy(i8* %rslt1, i8* %arg3, i32 42) 33 %rslt3 = call i8* @strncpy(i8* %rslt2, i8* %arg4, i32 42) 39 ; Check strncpy(x, "", y) -> memset(x, '\0', y, 1). 46 call i8* @strncpy(i8* %dst, i8* %src, i32 32) 51 ; Check strncpy(x, y, 0) -> x [all...] |
/external/iproute2/lib/ |
inet_proto.c | 37 strncpy(ncache, pe->p_name, 16); 38 strncpy(buf, pe->p_name, len); 64 strncpy(ncache, pe->p_name, 16);
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
strncpy-overflow.cc | 16 strncpy(short_buffer, hello, 10); // BOOM 18 // CHECK-Linux: {{ #0 0x.* in .*strncpy}} 20 // CHECK: {{ #1 0x.* in main .*strncpy-overflow.cc:}}[[@LINE-4]] 25 // CHECK-Linux: {{ #1 0x.* in main .*strncpy-overflow.cc:}}[[@LINE-10]] 28 // CHECK-Darwin: {{ #1 0x.* in main .*strncpy-overflow.cc:}}[[@LINE-13]]
|
/external/iproute2/ip/ |
tunnel.c | 72 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 91 strncpy(ifr.ifr_name, name, IFNAMSIZ); 93 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 111 strncpy(ifr.ifr_name, name, IFNAMSIZ); 113 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); 132 strncpy(ifr.ifr_name, name, IFNAMSIZ);
|
/external/libexif/libexif/olympus/ |
mnote-olympus-entry.c | 388 strncpy (v, _("No manual focus selection"), maxlen); 417 case 0: strncpy (v, _("AF position: center"), maxlen); break; 418 case 1: strncpy (v, _("AF position: top"), maxlen); break; 419 case 2: strncpy (v, _("AF position: bottom"), maxlen); break; 420 case 3: strncpy (v, _("AF position: left"), maxlen); break; 421 case 4: strncpy (v, _("AF position: right"), maxlen); break; 422 case 5: strncpy (v, _("AF position: upper-left"), maxlen); break; 423 case 6: strncpy (v, _("AF position: upper-right"), maxlen); break; 424 case 7: strncpy (v, _("AF position: lower-left"), maxlen); break; 425 case 8: strncpy (v, _("AF position: lower-right"), maxlen); break [all...] |
/bionic/libc/bionic/ |
__strncpy_chk.cpp | 41 * This strncpy check is called if _FORTIFY_SOURCE is defined and 48 __fortify_chk_fail("strncpy buffer overflow", 52 return strncpy(dest, src, len);
|
/external/webrtc/src/common_audio/signal_processing/ |
spl_version.c | 23 strncpy(version, "1.2.0", length_in_bytes);
|
/art/runtime/verifier/ |
instruction_flags.cc | 27 strncpy(encoding, "XXXXXX", sizeof(encoding)); 29 strncpy(encoding, "------", sizeof(encoding));
|
/external/libselinux/src/ |
canonicalize_context.c | 36 strncpy(buf, con, size); 47 strncpy(buf, con, size);
|
/external/chromium/chrome/common/ |
child_process_logging_linux.cc | 63 strncpy(g_gpu_driver_ver, 67 strncpy(g_gpu_ps_ver, 71 strncpy(g_gpu_vs_ver,
|
/external/oprofile/libop/ |
op_xml_events.c | 87 strncpy(um_type, "bitmask", sizeof(um_type)); 90 strncpy(um_type, "exclusive", sizeof(um_type)); 93 strncpy(um_type, "mandatory", sizeof(um_type));
|
/external/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_stdexcept_base.c | 35 strncpy(_M_name, _STLP_PRIV __get_c_string(__str), __size - 1); 58 strncpy(_M_name, __x._M_name, __size - 1); 81 strncpy(_M_name, __x._M_name, __size - 1);
|
/external/chromium_org/native_client_sdk/src/libraries/gtest/ |
nacl_gtest_dummy_sys.cc | 25 return strncpy(buf, ".", size);
|
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 134 strncpy(to, from, 0); 135 strncpy(to - 1, from - 1, 0); 136 // normal strncpy calls 137 strncpy(to, from, from_size); 138 strncpy(to, from, to_size); 139 strncpy(to, from + from_size - 1, to_size); 140 strncpy(to + to_size - 1, from, 1); 142 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)), 144 EXPECT_DEATH(Ident(strncpy(to - 1, from, from_size)), 146 EXPECT_DEATH(Ident(strncpy(to, from + from_size, 1)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/lib/ |
libutil-2.7.so | |
libutil.so | |