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

1234567891011>>

/external/webrtc/src/common_audio/signal_processing_library/main/source/
H A Dspl_version.c23 strncpy(version, "1.2.0", length_in_bytes);
/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/iproute2/ip/
H A Dtunnel.c72 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
89 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
124 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
141 strncpy(ifr.ifr_name, name, IFNAMSIZ);
143 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
160 strncpy(ifr.ifr_name, name, IFNAMSIZ);
162 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
178 strncpy(ifr.ifr_name, name, IFNAMSIZ);
/external/chromium/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget.cc60 strncpy(buffer, name_.c_str(), max_size-1);
/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.c118 VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
124 VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
138 VG_(strncpy)( executable_name_out, exec, VKI_PATH_MAX-1 );
142 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/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/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/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/llvm/lib/Support/
H A DErrno.cpp61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1);
/external/webkit/Source/WebKit/chromium/src/
H A DWebInputEvent.cpp153 strncpy(keyIdentifier, id, sizeof(keyIdentifier) - 1);
/external/webrtc/src/modules/audio_processing/ns/main/source/
H A Dnoise_suppression.c31 strncpy(versionStr, version, versionLen);
H A Dnoise_suppression_x.c33 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/qemu/telephony/
H A Dsim_card.c45 strncpy( card->pin, "0000", sizeof(card->pin) );
46 strncpy( card->puk, "12345678", sizeof(card->puk) );
91 strncpy( sim->pin, pin, A_SIM_PIN_SIZE );
98 strncpy( sim->puk, puk, A_SIM_PUK_SIZE );
131 strncpy( sim->puk, puk, A_SIM_PUK_SIZE );
132 strncpy( sim->pin, pin, A_SIM_PIN_SIZE );
/external/clang/test/Analysis/
H A Dstring.c459 // strncpy()
467 #define strncpy(a,b,n) __strncpy_chk(a,b,n,(size_t)-1) macro
471 #define strncpy BUILTIN(strncpy) macro
472 char *strncpy(char *restrict s1, const char *restrict s2, size_t n);
478 strncpy(NULL, x, 5); // expected-warning{{Null pointer argument in call to string copy function}}
482 strncpy(x, NULL, 5); // expected-warning{{Null pointer argument in call to string copy function}}
486 strncpy(x, (char*)&strcpy_fn, 5); // expected-warning{{Argument to string copy function is the address of the function 'strcpy_fn', which is not a null-terminated string}}
492 if (strncpy(x, y, 5) != x)
505 strncpy(
[all...]
/external/bluetooth/bluez/network/
H A Dcommon.c175 strncpy(req.device, dev, 16);
186 strncpy(dev, req.device, 16);
198 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1);
223 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1);
254 strncpy(ifr.ifr_name, bridge, IFNAMSIZ - 1);
/external/jhead/
H A Dgpsinfo.c230 strncpy(ImageInfo.GpsLat+2, TempString, 29);
232 strncpy(ImageInfo.GpsLong+2, TempString, 29);
240 strncpy(ImageInfo.GpsLatRaw, TempString, 31);
242 strncpy(ImageInfo.GpsLongRaw, TempString, 31);
268 strncpy(ImageInfo.GpsDateStamp, (char*)ValuePtr, sizeof(ImageInfo.GpsDateStamp));
/external/libpcap/
H A Dfad-gifc.c211 strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name));
378 strncpy(ifrflags.ifr_name, ifrp->ifr_name,
397 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name,
427 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name,
466 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name,
/external/netperf/
H A Dnetserver.c827 strncpy(local_host_name,"0.0.0.0",sizeof(local_host_name));
829 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
845 strncpy(local_host_name,arg1,sizeof(local_host_name));
855 strncpy(local_host_name,"::0",sizeof(local_host_name));
875 strncpy(listen_port,optarg,sizeof(listen_port));
884 strncpy(local_host_name,"::0",sizeof(local_host_name));
987 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
996 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
/external/valgrind/main/coregrind/m_demangle/
H A Dvg_libciface.h63 #define strncpy(_dd,_ss,_sz) VG_(strncpy)((_dd),(_ss),(_sz)) macro

Completed in 529 milliseconds

1234567891011>>