/external/ltp/testcases/network/nfsv4/locks/ |
netsync.c | 27 strncpy(message + s, tmp, r); 172 strncpy(message + s, tmp, r); 189 strncpy(fname, p, i);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
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/ |
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);
|
/external/skqp/tools/ |
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);
|
/external/clang/test/CodeGen/ |
libcalls-fno-builtin.c | 5 // RUN: -fno-builtin-strcpy -fno-builtin-stpcpy -fno-builtin-strncpy -fno-builtin-strlen \ 26 char *strncpy(char *s1, const char *s2, size_t n); 90 char *t14(char *x) { return strncpy(x, "foo", 3); } 92 // CHECK: strncpy
|
/external/curl/lib/ |
strerror.c | 620 strncpy(buf, p, len); 676 strncpy(buf, strerror(err), max); 707 strncpy(buf, msg, max); 719 strncpy(buf, buffer, max); 727 strncpy(buf, msg, max); 1030 strncpy(outbuf, txt, outmax); 1077 strncpy(outbuf, str, outmax); 1087 strncpy(outbuf, txt, outmax);
|
/external/libxcam/plugins/smart/dvs/libdvs/ |
test-image-stabilization.cpp | 70 strncpy (inputPath, optarg, XCAM_MAX_STR_SIZE); 73 strncpy (outputPath, optarg, XCAM_MAX_STR_SIZE);
|
/external/webrtc/webrtc/voice_engine/ |
voe_codec_unittest.cc | 109 strncpy(codec1.plname, "isac", 4); 127 strncpy(codec2.plname, "ISAC", 4);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue6506.go | 26 C.strncpy(nil, nil, x)
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue6506.go | 26 C.strncpy(nil, nil, x)
|
/system/extras/boot_control_copy/ |
bootinfo.cpp | 94 strncpy(path, record->blk_device, trimmed_len); 95 strncpy(path + trimmed_len, name, name_len);
|
/external/clang/test/Analysis/ |
string.c | 443 // strncpy() 451 #define strncpy(a,b,n) __strncpy_chk(a,b,n,(size_t)-1) macro 455 #define strncpy BUILTIN(strncpy) macro 456 char *strncpy(char *restrict s1, const char *restrict s2, size_t n); 462 strncpy(NULL, x, 5); // expected-warning{{Null pointer argument in call to string copy function}} 466 strncpy(x, NULL, 5); // expected-warning{{Null pointer argument in call to string copy function}} 470 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}} 476 clang_analyzer_eval(strncpy(x, y, 5) == x); // expected-warning{{TRUE}} 484 strncpy(x, y, 5); // expected-warning{{Size argument is greater than the length of the destination buffer} [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
getcwd.c | 45 strncpy(buf, localbuf, size);
|
/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
Copying.c | 79 /** The strncpy function copies not more than n characters (characters that
88 @return The strncpy function returns the value of s1.
90 char *strncpy(char * __restrict s1, const char * __restrict s2, size_t n)
function 112 strncpyX exists because normal strncpy does not indicate if the copy was
|
/external/android-clat/ |
tun.c | 55 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
|
/external/autotest/client/cros/crash/crasher/ |
crasher.cc | 60 strncpy(address.sun_path, socket_path, sizeof(address.sun_path) - 1);
|
/external/compiler-rt/lib/asan/ |
asan_interceptors.h | 86 DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size)
|
/external/dtc/tests/ |
parent_offset.c | 49 strncpy(parentpath, path, pathparentlen);
|
/external/freetype/include/freetype/config/ |
ftstdlib.h | 90 #define ft_strncpy strncpy
|
/external/ipsec-tools/src/racoon/ |
misc.h | 63 #define strlcpy(d,s,l) (strncpy(d,s,l), (d)[(l)-1] = '\0')
|
/external/libdrm/ |
libsync.h | 92 strncpy(data.name, name, sizeof(data.name));
|
/external/libpcap/ |
fad-gifc.c | 253 strncpy(ifrflags.ifr_name, ifrp->ifr_name, 270 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name, 300 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name, 339 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name,
|
fad-glifc.c | 197 strncpy(ifrflags.lifr_name, ifrp->lifr_name, 214 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name, 241 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name, 276 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name,
|
portability.h | 60 (strncpy((x), (y), (z)), \
|
/external/libxcam/xcore/ |
xcam_common.cpp | 117 strncpy (log_file_name, file_name, XCAM_MAX_STR_SIZE);
|