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

1234567891011>>

/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dspl_version.c23 strncpy(version, "1.2.0", length_in_bytes);
/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/test/asan/TestCases/
H A Dstrncpy-overflow.cc15 strncpy(short_buffer, hello, 10); // BOOM
17 // CHECK-Linux: {{ #0 0x.* in .*strncpy}}
19 // CHECK: {{ #1 0x.* in main .*strncpy-overflow.cc:}}[[@LINE-4]]
24 // CHECK-Linux: {{ #1 0x.* in main .*strncpy-overflow.cc:}}[[@LINE-10]]
27 // 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 (vg_replace_strmem.c:...)
13 Source and destination overlap in strncpy(0x........, 0x........, 21)
14 at 0x........: strncpy (vg_replace_strmem.c:...)
/external/chromium_org/third_party/webrtc/modules/audio_device/dummy/
H A Dfile_audio_device_factory.cc40 strncpy(_inputAudioFilename, inputAudioFilename, MAX_FILENAME_LEN);
41 strncpy(_outputAudioFilename, outputAudioFilename, MAX_FILENAME_LEN);
/external/android-clat/
H A Dmtu.c40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
/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_org/third_party/webrtc/tools/
H A Dsimple_command_line_parser_unittest.cc28 strncpy(test_flags_[0], "tools_unittest", flag_size);
29 strncpy(test_flags_[1], "--foo", flag_size);
30 strncpy(test_flags_[2], "--bar=1", flag_size);
/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/linux-tools-perf/perf-3.12.0/tools/perf/arch/x86/util/
H A Dheader.c31 strncpy(&vendor[0], (char *)(&b), 4);
32 strncpy(&vendor[4], (char *)(&d), 4);
33 strncpy(&vendor[8], (char *)(&c), 4);
/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/libexif/libexif/olympus/
H A Dmnote-olympus-entry.c388 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 (
[all...]
/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/bluetooth/bluedroid/gki/ulinux/
H A Ddata_types.h54 #define BCM_STRNCPY_S(x1,x2,x3,x4) strncpy((x1),(x3),(x4))
/external/chromium_org/content/shell/tools/plugin/Tests/
H A DFormValue.cpp26 strncpy(*((char**)value), formValueText, sizeof(formValueText));
/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/qemu/distrib/libselinux/src/
H A Dcanonicalize_context.c36 strncpy(buf, con, size);
47 strncpy(buf, con, size);
/external/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cc150 strncpy(to, from, 0);
151 strncpy(to - 1, from - 1, 0);
152 // normal strncpy calls
153 strncpy(to, from, from_size);
154 strncpy(to, from, to_size);
155 strncpy(to, from + from_size - 1, to_size);
156 strncpy(to + to_size - 1, from, 1);
158 EXPECT_DEATH(Ident(strncpy(to, from - 1, from_size)),
160 EXPECT_DEATH(Ident(strncpy(to - 1, from, from_size)),
162 EXPECT_DEATH(Ident(strncpy(t
[all...]

Completed in 622 milliseconds

1234567891011>>