Searched refs:strncpy (Results 1 - 25 of 524) sorted by relevance

1234567891011>>

/external/webrtc/src/common_audio/signal_processing/
H A Dspl_version.c23 strncpy(version, "1.2.0", length_in_bytes);
/external/compiler-rt/SDKs/linux/usr/include/
H A Dstring.h29 char *strncpy(char *, const char *, size_t);
/external/compiler-rt/lib/asan/lit_tests/TestCases/
H A Dstrncpy-overflow.cc16 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/valgrind/main/memcheck/tests/
H A Doverlap.c44 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( des
[all...]
H A Doverlap.stderr.exp9 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/android-clat/
H A Dmtu.c40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
/external/chromium/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/external/chromium_org/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/external/compiler-rt/SDKs/darwin/usr/include/
H A Dstring.h29 char *strncpy(char *, const char *, size_t);
/external/protobuf/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-pathscan.c117 VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
123 VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
137 VG_(strncpy)( executable_name_out, exec, VKI_PATH_MAX-1 );
141 VG_(strncpy)( executable_name_in, exec, VKI_PATH_MAX-1 );
/external/chromium/chrome/common/
H A Dchild_process_logging_linux.cc63 strncpy(g_gpu_driver_ver,
67 strncpy(g_gpu_ps_ver,
71 strncpy(g_gpu_vs_ver,
/external/iproute2/lib/
H A Dinet_proto.c37 strncpy(ncache, pe->p_name, 16);
38 strncpy(buf, pe->p_name, len);
64 strncpy(ncache, pe->p_name, 16);
/external/ipsec-tools/src/racoon/
H A Dvar.h82 strncpy((y), "(invalid)", sizeof(y)); \
84 strncpy((z), "(invalid)", sizeof(z)); \
93 strncpy((y), "(invalid)", sizeof(y)); \
/external/iproute2/ip/
H A Dtunnel.c72 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/stlport/stlport/stl/
H A D_stdexcept_base.c35 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/
H A Dnacl_gtest_dummy_sys.cc25 return strncpy(buf, ".", size);
/external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/
H A DFormValue.cpp47 strncpy(*((char**)value), formValueText, sizeof(formValueText));
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.h25 DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size)
/external/chromium_org/third_party/libxslt/libxslt/
H A Dextra.c203 strncpy(digits, str+7, 4);
208 strncpy(digits, str+12, 2);
213 strncpy(digits, str+15, 2);
218 strncpy(digits, str+18, 2);
223 strncpy(digits, str+21, 2);
228 strncpy(digits, str+24, 2);
265 strncpy(result, str, 20);
267 strncpy(result+23, str+19, 5);
/external/libselinux/src/
H A Dcanonicalize_context.c36 strncpy(buf, con, size);
47 strncpy(buf, con, size);
/external/libxslt/libxslt/
H A Dextra.c203 strncpy(digits, str+7, 4);
208 strncpy(digits, str+12, 2);
213 strncpy(digits, str+15, 2);
218 strncpy(digits, str+18, 2);
223 strncpy(digits, str+21, 2);
228 strncpy(digits, str+24, 2);
265 strncpy(result, str, 20);
267 strncpy(result+23, str+19, 5);
/external/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cc134 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(t
[all...]
/external/oprofile/libop/
H A Dop_xml_events.c87 strncpy(um_type, "bitmask", sizeof(um_type));
90 strncpy(um_type, "exclusive", sizeof(um_type));
93 strncpy(um_type, "mandatory", sizeof(um_type));
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_ci.c63 strncpy(p_data_area, p_data, len);

Completed in 936 milliseconds

1234567891011>>