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

1234567891011>>

/macosx-10.9.5/curl-78.94.1/curl/tests/libtest/
H A Dsethostname.c34 strncpy(name, force_hostname, namelen);
/macosx-10.9.5/cxxfilt-11/cxxfilt/libiberty/
H A Dstpncpy.c38 extern char *strncpy (char *, const char *, size_t);
46 return strncpy (dst, src, len) + n;
/macosx-10.9.5/bless-98/libbless/Misc/
H A DBLGetCommonMountPoint.c56 strncpy(mountp, fsinfo.f_mntonname, MNAMELEN-1);
68 strncpy(f2mount, fsinfo.f_mntonname, MNAMELEN-1);
97 strncpy(mountp, f2mount, MNAMELEN);
H A DBLLoadFile.c61 strncpy(rsrcpath, src, MAXPATHLEN-1);
64 strncpy(rsrcpath, src, MAXPATHLEN-1);
/macosx-10.9.5/Libc-997.90.3/string/
H A Dstrncpy.c27 strncpy(char * restrict dst, const char * restrict src, size_t maxlen) { function
30 // The stpncpy() and strncpy() functions copy at most maxlen
40 // The strcpy() and strncpy() functions return dst.
/macosx-10.9.5/Heimdal-323.92.1/appl/login/
H A Dutmp_login.c66 strncpy (dst, hostname, dst_sz);
75 strncpy (dst, hostname, dst_sz);
92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line));
93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name));
96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user));
121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id));
H A Dutmpx_login.c35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line));
37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id));
39 strncpy(ut->ut_user, user, sizeof(ut->ut_user));
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_ctime.c44 (void)strncpy(time_buf, ctime(tod), CTIME_BUFLEN - 1);
H A Dos_errno.c112 (void)strncpy(buf, strerror(error), len - 1);
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dcurl_gethostname.c69 strncpy(name, force_hostname, namelen);
/macosx-10.9.5/Libc-997.90.3/util/
H A Dlogwtmp.c89 strncpy(utx.ut_user, name, sizeof(utx.ut_user));
90 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
93 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/macosx-10.9.5/remote_cmds-41.90.1/talk.tproj/
H A Dget_names.c120 strncpy(msg.l_name, my_name, NAME_SIZE);
122 strncpy(msg.r_name, his_name, NAME_SIZE);
124 strncpy(msg.r_tty, his_tty, TTY_SIZE);
/macosx-10.9.5/top-89.1.2/
H A Dpid.c67 strncpy(suffix, "*", length);
69 strncpy(suffix, "-", length);
71 strncpy(suffix, " ", length);
/macosx-10.9.5/cctools-845/libstuff/
H A Dguess_short_name.c92 strncpy(*return_suffix, suffix, s);
103 strncpy(guess, name, l);
115 strncpy(guess, b+1, l);
135 strncpy(guess, name, l);
147 strncpy(guess, d+1, l);
183 strncpy(*return_suffix, suffix, s);
193 strncpy(guess, name, l);
207 strncpy(*return_suffix, suffix, s);
217 strncpy(guess, b+1, l);
237 strncpy(gues
[all...]
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-typeencoding.mm281 strncpy(dst, "", dst_len);
287 strncpy(dst, t, MIN(len, dst_len));
307 strncpy(result, t, len);
323 strncpy(dst, "", dst_len);
330 strncpy(dst, "", dst_len);
336 strncpy(dst, t, MIN(len, dst_len));
362 strncpy(result, t, len);
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dlogwtmp.c132 strncpy(ut.ut_line, line, sizeof(ut.ut_line));
133 strncpy(ut.ut_name, name, sizeof(ut.ut_name));
138 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
144 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
145 strncpy(utx.ut_user, name, sizeof(utx.ut_user));
146 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/macosx-10.9.5/man-16/man/catopen/
H A Dcatopen.c167 strncpy(path, name, namesz); path += namesz; break;
169 strncpy(path, lang, langsz); path += langsz; break;
171 strncpy(path, lang_l, lang_l_sz); path += lang_l_sz; break;
173 strncpy(path, lang_t, lang_t_sz); path += lang_t_sz; break;
175 strncpy(path, lang_c, lang_c_sz); path += lang_c_sz; break;
180 strncpy(path, name, namesz); path += namesz;
/macosx-10.9.5/BerkeleyDB-21/db/os_brew/
H A Dgetcwd.c39 (void)strncpy(buf, "fs:/", size - 1);
/macosx-10.9.5/emacs-92/emacs/src/s/
H A Dsol2-3.h71 strncpy (pty_name, ptyname, sizeof (pty_name)); \
H A Dusg5-4-2.h68 strncpy(pty_name, ptyname, sizeof(pty_name)); \
/macosx-10.9.5/ntp-88/libntp/
H A Dnumtohost.c42 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
/macosx-10.9.5/postfix-252/postfix/src/global/
H A Ddsn_util.h42 strncpy((dsn_buf).data, (dsn), (len)); \
H A Ddsn_util.c155 strncpy(dp->dsn.data, cp, len);
159 strncpy(dp->dsn.data, def_dsn, len);
/macosx-10.9.5/uucp-11/uucp/contrib/
H A Dtstout.c144 char *strncpy();
149 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
150 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
151 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
/macosx-10.9.5/libxslt-13/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);
268 strncpy(result, str, 20);
270 strncpy(result+23, str+19, 5);

Completed in 295 milliseconds

1234567891011>>