Searched refs:strncpy (Results 376 - 400 of 603) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/webrtc/modules/media_file/source/
H A Dmedia_file_impl.cc467 strncpy(_fileName, fileName, sizeof(_fileName));
937 strncpy(_fileName, fileName, sizeof(_fileName));
/external/compiler-rt/test/dfsan/
H A Dcustom.c153 char *strd = strncpy(str2, str1, 5);
162 strd = strncpy(str2, str1, 3);
/external/dnsmasq/src/
H A Ddhcp.c314 strncpy(req.arp_dev, ifr.ifr_name, 16);
975 strncpy(hostname, cache_get_name(lookup), 256);
H A Doption.c1467 strncpy(newlist->interface, source, IF_NAMESIZE);
1492 strncpy(newlist->interface, source, IF_NAMESIZE);
1636 strncpy(new->iface, arg, IF_NAMESIZE);
1649 strncpy(b->iface, arg, IF_NAMESIZE);
2825 strncpy(buff, optarg, MAXDNAME);
H A Drfc2131.c804 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1);
2075 strncpy((char *)mess->sname, boot->sname, sizeof(mess->sname)-1);
2085 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1);
2100 strncpy((char *)mess->file, (char *)opt->val, sizeof(mess->file)-1);
2107 strncpy((char *)mess->sname, (char *)opt->val, sizeof(mess->sname)-1);
/external/fio/
H A Dparse.c464 strncpy(tmp, ptr, sizeof(tmp) - 1);
663 strncpy(tmp, ptr, sizeof(tmp) - 1);
/external/icu/icu4c/source/tools/ctestfw/
H A Dctest.c22 3/20/1999 srl - strncpy called w/o setting nulls at the end
161 strncpy(n, name, *nameLen);
180 strncpy( newNode->name, name, nameLen );
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_buffer.c442 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN);
556 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN);
/external/libnfc-nci/src/gki/common/
H A Dgki_buffer.c442 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN);
556 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN);
/external/libpcap/
H A Dpcap-dag.c341 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE);
1018 strncpy(p->errbuf, "setfilter: No filter specified",
H A Dpcap-sita.c519 strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = 0;
520 strncpy(str2, s2, (s2_p1_len > sizeof(str2)) ? s2_p1_len : sizeof(str2)); *(str2 + s2_p1_len) = 0;
/external/lldb/source/Core/
H A DConnectionFileDescriptor.cpp1132 ::strncpy(saddr_un.sun_path, socket_name, sizeof(saddr_un.sun_path) - 1);
1181 ::strncpy(saddr_un.sun_path, socket_name, sizeof(saddr_un.sun_path) - 1);
/external/mesa3d/src/mesa/main/
H A Derrors.c327 (void) strncpy(emptySlot->message, buf, (size_t)len);
390 (void) strncpy(buf, msg->message, (size_t)length);
/external/ppp/pppd/
H A Dutils.c87 * strlcpy - like strcpy/strncpy, doesn't overflow destination buffer,
102 strncpy(dest, src, len - 1);
955 strncpy(lockdev, dev, MAXPATHLEN-1);
/external/svox/pico/tts/
H A Dcom_svox_picottsengine.cpp731 strncpy(&(data[outpos]), &(str[stokstart]), stoklen);
733 strncpy(&(data[outpos]), " ", 1);
/external/tcpdump/
H A Dsmbutil.c466 strncpy(bitfmt, fmt, l);
841 strncpy(s, fmt, p - fmt);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dnmake.mak59 # at least for now since snprintf and strncpy can be used in a safe way
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.c1278 strncpy(dsc->name,dirname,NAME_MAX);
1403 strncpy(buf,alias,bufsiz - 1);
/external/netperf/
H A Dnettest_bsd.c12120 strncpy(local_data_port,"0",sizeof(local_data_port));
12121 strncpy(remote_data_port,"0",sizeof(remote_data_port));
12177 strncpy(remote_data_address,arg1,strlen(arg1));
12188 strncpy(local_data_address,arg1,strlen(arg1));
12248 strncpy(local_data_port,arg1,sizeof(local_data_port));
12250 strncpy(remote_data_port,arg2,sizeof(remote_data_port));
12317 strncpy(remote_data_port,"discard",sizeof(remote_data_port));
12320 strncpy(remote_data_port,"echo",sizeof(remote_data_port));
12323 strncpy(remote_data_port,"chargen",sizeof(remote_data_port));
/external/chromium_org/ppapi/tests/
H A Dtest_file_io.cc1173 strncpy(mapped, "baz", 3);
1190 strncpy(mapped, "baz", 3);
1249 strncpy(mapped, "baz", 3);
/external/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc258 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { // NOLINT
264 char *res = REAL(strncpy)(dest, src, n); // NOLINT
1511 INTERCEPT_FUNCTION(strncpy); // NOLINT
/external/e2fsprogs/misc/
H A Dtune2fs.c2109 strncpy(sb->s_volume_name, new_label,
2115 strncpy(sb->s_last_mounted, new_last_mounted,
2255 strncpy((char *)(fs->super->s_mount_opts), ext_mount_opts,
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_ulinux.c1080 strncpy((char *)pExp->msg, msg, GKI_MAX_EXCEPTION_MSGLEN - 1);
/external/chromium_org/base/debug/
H A Dstack_trace_posix.cc577 strncpy(file_path, region.path.c_str(), file_path_size);
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_alt.c585 strncpy(objtmp, value, objlen);

Completed in 981 milliseconds

<<11121314151617181920>>