Searched refs:siz (Results 1 - 25 of 102) sorted by relevance

12345

/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/src/
H A Dstrlcpycat.h18 size_t strlcpy(char *dst, const char *src, size_t siz);
22 size_t strlcat(char *dst, const char *src, size_t siz);
H A Dstrlcpy.c30 * Copy src to string dst of size siz. At most siz-1 characters
31 * will be copied. Always NUL terminates (unless siz == 0).
32 * Returns strlen(src); if retval >= siz, truncation occurred.
35 strlcpy(char *dst, const char *src, size_t siz) argument
39 size_t n = siz;
51 if (siz != 0)
/macosx-10.10.1/sudo-73/src/
H A Dstrlcpy.c26 * Copy src to string dst of size siz. At most siz-1 characters
27 * will be copied. Always NUL terminates (unless siz == 0).
28 * Returns strlen(src); if retval >= siz, truncation occurred.
31 strlcpy(dst, src, siz)
34 size_t siz;
38 size_t n = siz;
50 if (siz != 0)
H A Dstrlcat.c27 * Appends src to string dst of size siz (unlike strncat, siz is the
28 * full size of dst, not space left). At most siz-1 characters
29 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
30 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
31 * If retval >= siz, truncation occurred.
34 strlcat(dst, src, siz)
37 size_t siz;
41 size_t n = siz;
48 n = siz
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/
H A Dstrsearch.c33 * size siz where the first member of each
40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument
43 register char* hi = lo + (num - 1) * siz;
49 mid = lo + (((hi - lo) / siz) / 2) * siz;
53 lo = mid + siz;
54 else hi = mid - siz;
H A Dstrlook.c31 * return pointer to name in tab with element size siz
40 strlook(const void* tab, size_t siz, register const char* name) argument
46 for (; s = *((char**)t); t += siz)
H A Dstrpsearch.c41 * size siz where the first member of each
53 strpsearch(const void* tab, size_t num, size_t siz, const char* name, char** next) argument
56 register char* hi = lo + (num - 1) * siz;
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz);
99 while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1))));
120 lo = mid + siz;
122 hi = mid - siz;
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/path/
H A Dpathnative.c27 * convert path to native fs representation in <buf,siz>
29 * if return length >= siz then buf is indeterminate, but another call
30 * with siz=length+1 would work
41 pathnative(const char* path, char* buf, size_t siz) argument
43 return uwin_path(path, buf, siz);
53 pathnative(const char* path, char* buf, size_t siz) argument
57 if (!buf || siz < PATH_MAX)
62 if ((n = strlen(tmp)) < siz && buf)
75 pathnative(const char* path, char* buf, size_t siz) argument
80 if (!_fullpath(buf, path, siz))
98 pathnative(const char* path, char* buf, size_t siz) argument
111 pathnative(const char* path, char* buf, size_t siz) argument
[all...]
H A Dpathposix.c27 * convert native path to posix fs representation in <buf,siz>
29 * if return length >= siz then buf is indeterminate, but another call
30 * with siz=length+1 would work
41 pathposix(const char* path, char* buf, size_t siz) argument
43 return uwin_unpath(path, buf, siz);
53 pathposix(const char* path, char* buf, size_t siz) argument
57 if (!buf || siz < PATH_MAX)
62 if ((n = strlen(tmp)) < siz && buf)
75 pathposix(const char* path, char* buf, size_t siz) argument
80 if (!_posixpath(buf, path, siz))
98 pathposix(const char* path, char *buf, size_t siz) argument
113 pathposix(const char* path, char* buf, size_t siz) argument
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/astsa/
H A Dast.c50 static unsigned long siz; local
54 siz = CHUNK;
55 if (!(buf = newof(0, char, siz, 0)))
61 e = s + siz;
66 siz += CHUNK;
67 if (!(buf = newof(buf, char, siz, 0)))
69 s = buf + (siz - CHUNK);
70 e = s + siz;
/macosx-10.10.1/remote_cmds-47/telnetd.tproj/
H A Dstrlcpy.c44 * Copy src to string dst of size siz. At most siz-1 characters
45 * will be copied. Always NUL terminates (unless siz == 0).
46 * Returns strlen(src); if retval >= siz, truncation occurred.
48 size_t strlcpy(dst, src, siz)
51 size_t siz;
55 register size_t n = siz;
67 if (siz != 0)
/macosx-10.10.1/ruby-106/ruby/missing/
H A Dstrlcpy.c39 * Copy src to string dst of size siz. At most siz-1 characters
40 * will be copied. Always NUL terminates (unless siz == 0).
41 * Returns strlen(src); if retval >= siz, truncation occurred.
44 strlcpy(dst, src, siz)
47 size_t siz;
51 register size_t n = siz;
63 if (siz != 0)
H A Dstrlcat.c39 * Appends src to string dst of size siz (unlike strncat, siz is the
40 * full size of dst, not space left). At most siz-1 characters
41 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
42 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
43 * If retval >= siz, truncation occurred.
46 strlcat(dst, src, siz)
49 size_t siz;
53 register size_t n = siz;
60 n = siz
[all...]
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dstrlcpy.c28 * Copy src to string dst of size siz. At most siz-1 characters
29 * will be copied. Always NUL terminates (unless siz == 0).
30 * Returns strlen(src); if retval >= siz, truncation occurred.
33 strlcpy(char *dst, const char *src, size_t siz) argument
37 size_t n = siz;
49 if (siz != 0)
H A Dstrlcat.c28 * Appends src to string dst of size siz (unlike strncat, siz is the
29 * full size of dst, not space left). At most siz-1 characters
30 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
31 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
32 * If retval >= siz, truncation occurred.
35 strlcat(char *dst, const char *src, size_t siz) argument
39 size_t n = siz;
46 n = siz - dlen;
/macosx-10.10.1/dcerpc-61/dcerpc/dcelib/
H A Dstrlcpy.c27 * Copy src to string dst of size siz. At most siz-1 characters
28 * will be copied. Always NUL terminates (unless siz == 0).
29 * Returns strlen(src); if retval >= siz, truncation occurred.
32 strlcpy(char * dst, const char * src, size_t siz) argument
36 size_t n = siz;
48 if (siz != 0)
/macosx-10.10.1/file-46/file/src/
H A Dstrlcpy.c26 * Copy src to string dst of size siz. At most siz-1 characters
27 * will be copied. Always NUL terminates (unless siz == 0).
28 * Returns strlen(src); if retval >= siz, truncation occurred.
31 strlcpy(char *dst, const char *src, size_t siz) argument
35 size_t n = siz;
47 if (siz != 0)
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A Dregstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
29 llvm_strlcpy(char *dst, const char *src, size_t siz) argument
33 size_t n = siz;
45 if (siz != 0)
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
29 strlcpy(char *dst, const char *src, size_t siz) argument
33 size_t n = siz;
45 if (siz != 0)
H A Dstrlcat.c24 * Appends src to string dst of size siz (unlike strncat, siz is the
25 * full size of dst, not space left). At most siz-1 characters
26 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
27 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
28 * If retval >= siz, truncation occurred.
31 strlcat(char *dst, const char *src, size_t siz) argument
35 size_t n = siz;
42 n = siz - dlen;
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/
H A Dwcslcpy.c42 * Copy src to string dst of size siz. At most siz-1 characters
43 * will be copied. Always NUL terminates (unless siz == 0).
44 * Returns wcslen(src); if retval >= siz, truncation occurred.
47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) argument
51 size_t n = siz;
63 if (siz != 0)
H A Dwcslcat.c42 * Appends src to string dst of size siz (unlike wcsncat, siz is the
43 * full size of dst, not space left). At most siz-1 characters
44 * will be copied. Always NUL terminates (unless siz == 0).
45 * Returns wcslen(initial dst) + wcslen(src); if retval >= siz,
49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) argument
53 size_t n = siz;
60 n = siz - dlen;
/macosx-10.10.1/tcpdump-61/tcpdump/missing/
H A Dstrlcpy.c45 * Copy src to string dst of size siz. At most siz-1 characters
46 * will be copied. Always NUL terminates (unless siz == 0).
47 * Returns strlen(src); if retval >= siz, truncation occurred.
50 strlcpy(char *dst, const char *src, size_t siz) argument
54 register size_t n = siz;
66 if (siz != 0)
/macosx-10.10.1/Libc-1044.1.2/stdlib/OpenBSD/
H A Decvt.c37 size_t siz; local
51 siz = -ndigit + 1;
53 siz = ndigit + 1;
60 if ((rve = s = (char *)malloc(siz)) == NULL)
77 siz += *decpt;
78 if ((s = (char *)malloc(siz)) == NULL) {
82 (void) strlcpy(s, p, siz);
89 siz -= rve - s;
90 while (--siz)
/macosx-10.10.1/Heimdal-398.1.2/lib/libedit/src/
H A Dstrlcpy.c38 * Copy src to string dst of size siz. At most siz-1 characters
39 * will be copied. Always NUL terminates (unless siz == 0).
40 * Returns strlen(src); if retval >= siz, truncation occurred.
43 strlcpy(char *dst, const char *src, size_t siz)
47 size_t n = siz;
62 if (siz != 0)

Completed in 295 milliseconds

12345