/external/webrtc/src/common_audio/signal_processing/ |
H A D | spl_version.c | 23 strncpy(version, "1.2.0", length_in_bytes);
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | 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/valgrind/memcheck/tests/ |
H A D | 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( des [all...] |
H A D | overlap.stderr.exp | 9 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 D | mtu.c | 40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
|
/external/elfutils/bionic-fixup/ |
H A D | AndroidFixup.h | 22 #define strndupa(s, n) strncpy(alloca(strnlen(s, n) + 1), s, n)
|
/external/google-breakpad/src/testing/gtest/xcode/Samples/FrameworkSample/ |
H A D | widget.cc | 60 strncpy(buffer, name_.c_str(), max_size-1);
|
/external/parameter-framework/test/test-subsystem/ |
H A D | TESTSubsystemString.cpp | 49 strncpy((char*)pvValue, strValue.c_str(), uiSize);
|
/external/parameter-framework/utility/ |
H A D | NaiveTokenizer.cpp | 51 strncpy(separator, first, sizeof(separator));
|
/external/protobuf/gtest/xcode/Samples/FrameworkSample/ |
H A D | widget.cc | 60 strncpy(buffer, name_.c_str(), max_size-1);
|
/external/iproute2/lib/ |
H A D | 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/ipsec-tools/src/racoon/ |
H A D | var.h | 82 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 D | header.c | 31 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 D | 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/ |
H A D | 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 ( [all...] |
/external/libselinux/src/ |
H A D | canonicalize_context.c | 36 strncpy(buf, con, size); 47 strncpy(buf, con, size);
|
/external/selinux/libselinux/src/ |
H A D | canonicalize_context.c | 36 strncpy(buf, con, size); 47 strncpy(buf, con, size);
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_str_test.cc | 150 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 D | helpline.c | 25 strncpy(ui_helpline__current, msg, sz)[sz - 1] = '\0';
|
/external/webrtc/src/modules/audio_processing/ns/ |
H A D | noise_suppression.c | 30 strncpy(versionStr, version, versionLen);
|
H A D | noise_suppression_x.c | 30 strncpy(versionStr, version, versionLen);
|
/external/e2fsprogs/misc/ |
H A D | e2label.c | 83 strncpy(label, sb.s_volume_name, VOLNAMSZ); 94 strncpy(sb.s_volume_name, label, VOLNAMSZ);
|
/external/jhead/ |
H A D | gpsinfo.c | 230 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 D | if.c | 136 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 D | win_dbghelp.cpp | 49 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);
|