Searched refs:slen (Results 1 - 25 of 267) sorted by relevance

1234567891011

/netbsd-6-1-5-RELEASE/lib/libc/ssp/
H A Dstrcat_chk.c40 __strcat_chk(char * __restrict dst, const char * __restrict src, size_t slen) argument
45 if (slen-- == 0)
50 if (slen-- == 0)
55 if (slen-- == 0)
H A Dstrncat_chk.c42 size_t slen)
49 if (len > slen)
53 if (slen-- == 0)
60 if (slen-- == 0)
65 if (slen-- == 0)
41 __strncat_chk(char * __restrict dst, const char * __restrict src, size_t len, size_t slen) argument
H A Dsprintf_chk.c47 __sprintf_chk(char * __restrict buf, int flags, size_t slen, argument
54 if (slen > (size_t)INT_MAX)
57 if ((rv = vsnprintf(buf, slen, fmt, ap)) >= 0 && (size_t)rv >= slen)
H A Dvsprintf_chk.c47 __vsprintf_chk(char * __restrict buf, int flags, size_t slen, argument
52 if (slen > (size_t)INT_MAX)
55 if ((rv = vsnprintf(buf, slen, fmt, ap)) >= 0 && (size_t)rv >= slen)
H A Dmemcpy_chk.c43 size_t slen)
45 if (len > slen)
42 __memcpy_chk(void * __restrict dst, const void * __restrict src, size_t len, size_t slen) argument
H A Dmemmove_chk.c43 size_t slen)
45 if (len > slen)
42 __memmove_chk(void *dst, void *src, size_t len, size_t slen) argument
H A Dmemset_chk.c42 __memset_chk(void * __restrict dst, int val, size_t len, size_t slen) argument
44 if (len > slen)
H A Dstrcpy_chk.c42 __strcpy_chk(char * __restrict dst, const char * __restrict src, size_t slen) argument
46 if (len >= slen)
H A Dstrncpy_chk.c43 size_t slen)
45 if (len > slen)
42 __strncpy_chk(char * __restrict dst, const char * __restrict src, size_t len, size_t slen) argument
H A Dgets_chk.c46 __gets_chk(char * __restrict buf, size_t slen) argument
51 if (slen >= (size_t)INT_MAX)
54 if ((abuf = malloc(slen + 1)) == NULL)
57 if (fgets(abuf, (int)(slen + 1), stdin) == NULL) {
66 if (len >= slen)
H A Dfgets_chk.c46 __fgets_chk(char * __restrict buf, int len, size_t slen, FILE *fp) argument
48 if (slen >= (size_t)INT_MAX)
51 if (len >= 0 && (size_t)len > slen)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libssp/
H A Dgets-chk.c57 __gets_chk (char *s, size_t slen) argument
61 if (slen >= (size_t) INT_MAX)
64 if (slen <= 8192)
65 buf = alloca (slen + 1);
67 buf = malloc (slen + 1);
71 ret = fgets (buf, (int) (slen + 1), stdin);
77 if (len == slen)
84 if (slen > 8192)
H A Dstrcat-chk.c45 size_t slen)
53 if (slen-- == 0)
59 ++slen;
64 if (slen-- == 0)
44 __strcat_chk(char *__restrict__ dest, const char *__restrict__ src, size_t slen) argument
H A Dstrncat-chk.c45 size_t n, size_t slen)
52 if (slen-- == 0)
58 ++slen;
66 if (slen-- == 0)
72 if (slen-- == 0)
78 if (slen-- == 0)
84 if (slen-- == 0)
90 if (slen-- == 0)
102 if (slen-- == 0)
113 if (slen
44 __strncat_chk(char *__restrict__ dest, const char *__restrict__ src, size_t n, size_t slen) argument
[all...]
H A Dsprintf-chk.c50 size_t slen, const char *format, ...)
56 if (slen > (size_t) INT_MAX)
60 done = vsnprintf (s, slen, format, arg);
61 if (done >= 0 && (size_t) done >= slen)
49 __sprintf_chk(char *s, int flags __attribute__((unused)), size_t slen, const char *format, ...) argument
H A Dvsprintf-chk.c49 size_t slen, const char *format, va_list arg)
53 if (slen > (size_t) INT_MAX)
57 done = vsnprintf (s, slen, format, arg);
58 if (done >= 0 && (size_t) done >= slen)
48 __vsprintf_chk(char *s, int flags __attribute__((unused)), size_t slen, const char *format, va_list arg) argument
H A Dmemcpy-chk.c45 size_t len, size_t slen)
47 if (len > slen)
44 __memcpy_chk(void *__restrict__ dest, const void *__restrict__ src, size_t len, size_t slen) argument
H A Dmemmove-chk.c45 __memmove_chk (void *dest, const void *src, size_t len, size_t slen) argument
47 if (len > slen)
H A Dmempcpy-chk.c46 size_t len, size_t slen)
48 if (len > slen)
45 __mempcpy_chk(void *__restrict__ dest, const void *__restrict__ src, size_t len, size_t slen) argument
H A Dmemset-chk.c44 __memset_chk (void *dest, int val, size_t len, size_t slen) argument
46 if (len > slen)
H A Dstpcpy-chk.c45 size_t slen)
48 if (len >= slen)
44 __stpcpy_chk(char *__restrict__ dest, const char *__restrict__ src, size_t slen) argument
H A Dstrcpy-chk.c45 size_t slen)
48 if (len >= slen)
44 __strcpy_chk(char *__restrict__ dest, const char *__restrict__ src, size_t slen) argument
H A Dstrncpy-chk.c45 size_t len, size_t slen)
47 if (len > slen)
44 __strncpy_chk(char *__restrict__ dest, const char *__restrict__ src, size_t len, size_t slen) argument
H A Dvsnprintf-chk.c46 size_t slen, const char *format, va_list arg)
48 if (n > slen)
45 __vsnprintf_chk(char *s, size_t n, int flags __attribute__((unused)), size_t slen, const char *format, va_list arg) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Daddext.c59 size_t slen = strlen (s), extlen = strlen (ext); local
63 if (slen + extlen <= _POSIX_NAME_MAX && ! HAVE_DOS_FILE_NAMES)
85 slen -= dot + 1 - s;
94 if (slen + extlen <= slen_max)
95 strcpy (s + slen, ext);
98 if (slen_max <= slen)
99 slen = slen_max - 1;
100 s[slen] = e;
101 s[slen + 1] = 0;

Completed in 92 milliseconds

1234567891011