/external/valgrind/main/memcheck/tests/ |
str_tester.c | 381 it = "strncpy"; 382 check (strncpy (one, "abc", 4) == one, 1); /* Returned value. */ 386 (void) strncpy (one, "xyz", 2); 390 (void) strncpy (one, "xyz", 3); /* Copy cut just before NUL. */ 394 (void) strncpy (one, "xyz", 4); /* Copy just includes NUL. */ 399 (void) strncpy (one, "xyz", 5); /* Copy includes padding. */ 405 (void) strncpy (one, "xyz", 0); /* Zero-length copy. */ 408 (void) strncpy (one, "", 2); /* Zero-length source. */ 414 (void) strncpy (two, one, 9); [all...] |
/external/yaffs2/yaffs2/utils/ |
mkyaffs2image.c | 263 strncpy(oh->name,name,YAFFS_MAX_NAME_LENGTH); 290 strncpy(oh->alias,alias,YAFFS_MAX_ALIAS_LENGTH);
|
/ndk/sources/host-tools/make-3.81/ |
vmsify.c | 311 strncpy (vptr, s, s1-s); /* copy up to but not including ']' */ 422 strncpy (vptr, s1, s-s1+1);
|
/bionic/libc/netbsd/resolv/ |
res_query.c | 396 strncpy(nbuf, name, (size_t)n);
|
/bootable/recovery/minelf/ |
Retouch.c | 223 strncpy(target_fs, binary_name, count);
|
/external/bluetooth/bluez/audio/ |
liba2dp.c | 512 strncpy(open_req->destination, data->address, 18); 899 strncpy(getcaps_req->destination, data->address, 18); 1126 strncpy(data->address, "00:00:00:00:00:00", 18); 1177 strncpy(data->address, address, 18);
|
/external/clang/test/CodeGen/ |
builtins.c | 98 V(strncpy, (s0, s1, n));
|
/external/dbus/dbus/ |
dbus-sysdeps-wince-glue.c | 734 strncpy (fda->cFileName, filename, len); 1016 strncpy (buffer_new, buffer_c, buffer_new_len); 1061 strncpy (lpFilename, filename_c, nSize); 1142 strncpy (lpszPath, path_c, MAX_PATH);
|
/external/dbus/tools/ |
dbus-cleanup-sockets.c | 234 strncpy (saddr.sun_path, se->name, sizeof (saddr.sun_path) - 1);
|
/external/dnsmasq/src/ |
log.c | 218 strncpy(logaddr.sun_path, _PATH_LOG, sizeof(logaddr.sun_path));
|
network.c | 32 strncpy(name, ifr.ifr_name, IF_NAMESIZE); 79 strncpy(name, bridge->iface, IF_NAMESIZE); 751 strncpy(s, servers, sizeof(s)); 965 strncpy(ifr.ifr_name, intr, IF_NAMESIZE);
|
/external/dropbear/ |
svr-authpubkey.c | 280 strncpy(filename, ses.authstate.pw->pw_dir, len+1);
|
/external/e2fsprogs/e2fsck/ |
profile_helpers.c | 291 strncpy(filenames[i], s, ent_len);
|
/external/icu4c/test/iotest/ |
stream.cpp | 84 strncpy(defConvName, ucnv_getDefaultName(), sizeof(defConvName)/sizeof(defConvName[0]));
|
/external/icu4c/tools/pkgdata/ |
pkgtypes.c | 230 strncpy(aBuf, strAlias,(rPtr-strAlias));
|
/external/iproute2/tc/ |
m_mirred.c | 127 strncpy(d, *argv, sizeof(d)-1);
|
tc.c | 201 strncpy(q->id, str, 15);
|
/external/ipsec-tools/src/libipsec/ |
policy_parse.y | 398 strncpy(addr, addrbuf->buf, addrbuf->len); 402 strncpy(serv, portbuf->buf, portbuf->len);
|
/external/iptables/extensions/ |
libxt_recent.c | 78 strncpy(info->name,"DEFAULT", XT_RECENT_NAME_LEN);
|
/external/kernel-headers/original/asm-x86/ |
string_32.h | 12 extern char *strncpy(char *dest, const char *src, size_t count);
|
/external/openssl/crypto/bio/ |
bss_log.c | 207 strncpy(buf, in, inl);
|
/external/openssl/crypto/des/ |
fcrypt.c | 77 strncpy (e_buf, buf, sizeof(e_buf));
|
/external/oprofile/agents/jvmpi/ |
jvmpi_oprofile.cpp | 132 strncpy(buf, class_signature.c_str(), cnt - 1);
|
/external/oprofile/agents/jvmti/ |
libjvmti_oprofile.c | 179 strncpy(buf, class_signature, cnt - 1);
|
/external/oprofile/daemon/ |
opd_anon.c | 117 strncpy(m->name, name, MAX_IMAGE_NAME_SIZE + 1);
|