Lines Matching refs:destsz
76 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument
80 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s()
85 if (destsz > RSIZE_MAX) { in memmove_s()
90 if (destsz < n) { in memmove_s()
91 memset(dest, 0, destsz); in memmove_s()
97 memset(dest, 0, destsz); in memmove_s()
118 BCMPOSTTRAPFN(memcpy_s)(void *dest, size_t destsz, const void *src, size_t n) in BCMPOSTTRAPFN()
124 if ((!d) || ((d + destsz) < d)) { in BCMPOSTTRAPFN()
129 if (destsz > RSIZE_MAX) { in BCMPOSTTRAPFN()
134 if (destsz < n) { in BCMPOSTTRAPFN()
135 memset(dest, 0, destsz); in BCMPOSTTRAPFN()
141 memset(dest, 0, destsz); in BCMPOSTTRAPFN()
147 if (!(((d + destsz) <= s) || (d >= (s + n)))) { in BCMPOSTTRAPFN()
148 memset(dest, 0, destsz); in BCMPOSTTRAPFN()
169 BCMPOSTTRAPFN(memset_s)(void *dest, size_t destsz, int c, size_t n) in BCMPOSTTRAPFN()
172 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in BCMPOSTTRAPFN()
177 if (destsz > RSIZE_MAX) { in BCMPOSTTRAPFN()
182 if (destsz < n) { in BCMPOSTTRAPFN()
183 (void)memset(dest, c, destsz); in BCMPOSTTRAPFN()