Searched refs:strncpy (Results 1 - 25 of 453) 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/test/asan/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/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/android-clat/
H A Dmtu.c40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
/external/elfutils/bionic-fixup/
H A DAndroidFixup.h22 #define strndupa(s, n) strncpy(alloca(strnlen(s, n) + 1), s, n)
/external/google-breakpad/src/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/external/parameter-framework/test/test-subsystem/
H A DTESTSubsystemString.cpp49 strncpy((char*)pvValue, strValue.c_str(), uiSize);
/external/parameter-framework/utility/
H A DNaiveTokenizer.cpp51 strncpy(separator, first, sizeof(separator));
/external/protobuf/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/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/src/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/libselinux/src/
H A Dcanonicalize_context.c36 strncpy(buf, con, size);
47 strncpy(buf, con, size);
/external/selinux/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...]
/external/linux-tools-perf/src/tools/perf/ui/tui/
H A Dhelpline.c25 strncpy(ui_helpline__current, msg, sz)[sz - 1] = '\0';
/external/webrtc/src/modules/audio_processing/ns/
H A Dnoise_suppression.c30 strncpy(versionStr, version, versionLen);
H A Dnoise_suppression_x.c30 strncpy(versionStr, version, versionLen);
/external/e2fsprogs/misc/
H A De2label.c83 strncpy(label, sb.s_volume_name, VOLNAMSZ);
94 strncpy(sb.s_volume_name, label, VOLNAMSZ);
/external/jhead/
H A Dgpsinfo.c230 strncpy(ImageInfo.GpsLat+2, TempString, 29);
232 strncpy(ImageInfo.GpsLong+2, TempString, 29);
240 strncpy(ImageInfo.GpsLatRaw, TempString, MAX_BUF_SIZE);
242 strncpy(ImageInfo.GpsLongRaw, TempString, MAX_BUF_SIZE);
268 strncpy(ImageInfo.GpsDateStamp, (char*)ValuePtr, sizeof(ImageInfo.GpsDateStamp));
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c136 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
155 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
169 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
/external/skia/tools/
H A Dwin_dbghelp.cpp49 strncpy(dest, srcOrEmptyString, len);
222 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1);
227 strncpy(binaries_path, vargs0, pos_last_slash);

Completed in 822 milliseconds

1234567891011>>