/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_buf.h | 53 #define DPAA2_BUF_INIT_TAGOPT(__buf, __tag, __opt) do { \ argument 54 KASSERT((__buf) != NULL, ("%s: buf is NULL", __func__)); \ 56 (__buf)->paddr = 0; \ 57 (__buf)->vaddr = NULL; \ 58 (__buf)->dmat = (__tag); \ 59 (__buf)->dmap = NULL; \ 60 (__buf)->seg.ds_addr = 0; \ 61 (__buf)->seg.ds_len = 0; \ 62 (__buf)->nseg = 0; \ 63 (__buf)->m = NULL; \ [all …]
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_string_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[42]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 179 memcpy(__stack.__buf, src, __len); in ATF_TC_BODY() 187 #define BUF &__stack.__buf in ATF_TC_BODY() 190 unsigned char __buf[42]; in ATF_TC_BODY() member 193 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 198 memcpy(__stack.__buf, src, __len); in ATF_TC_BODY() 206 #define BUF __stack.__buf in ATF_TC_BODY() 209 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_unistd_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[8]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 getcwd(__stack.__buf, __len); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 unsigned char __buf[8]; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 getcwd(__stack.__buf, __len); in ATF_TC_BODY() 204 #define BUF __stack.__buf in ATF_TC_BODY() 207 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_stdio_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[L_ctermid + 1]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 ctermid(__stack.__buf); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 unsigned char __buf[L_ctermid]; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 ctermid(__stack.__buf); in ATF_TC_BODY() 204 #define BUF __stack.__buf in ATF_TC_BODY() 207 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_wchar_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 wchar_t __buf[42]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 179 wmemcpy(__stack.__buf, src, __len); in ATF_TC_BODY() 187 #define BUF &__stack.__buf in ATF_TC_BODY() 190 wchar_t __buf[42]; in ATF_TC_BODY() member 193 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 198 wmemcpy(__stack.__buf, src, __len); in ATF_TC_BODY() 206 #define BUF __stack.__buf in ATF_TC_BODY() 209 wchar_t * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_socket_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 struct sockaddr __buf; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 182 getpeername(sock[0], &__stack.__buf, &socklen); in ATF_TC_BODY() 190 #define BUF &__stack.__buf in ATF_TC_BODY() 193 struct sockaddr __buf; in ATF_TC_BODY() member 196 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 204 getpeername(sock[0], &__stack.__buf, &socklen); in ATF_TC_BODY() 212 #define BUF __stack.__buf in ATF_TC_BODY() 215 struct sockaddr * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_uio_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 struct iovec __buf[2]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 readv(STDIN_FILENO, __stack.__buf, __len); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 struct iovec __buf[2]; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 readv(STDIN_FILENO, __stack.__buf, __len); in ATF_TC_BODY() 204 #define BUF &__stack.__buf in ATF_TC_BODY() 207 struct iovec __buf[2]; in ATF_TC_BODY() member [all …]
|
H A D | fortify_select_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 fd_set __buf; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 FD_SET(__idx, &__stack.__buf); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 fd_set __buf; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 FD_SET(__idx, &__stack.__buf); in ATF_TC_BODY() 204 #define BUF &__stack.__buf in ATF_TC_BODY() 207 fd_set __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_strings_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[42]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 179 bcopy(src, __stack.__buf, __len); in ATF_TC_BODY() 187 #define BUF &__stack.__buf in ATF_TC_BODY() 190 unsigned char __buf[42]; in ATF_TC_BODY() member 193 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 198 bcopy(src, __stack.__buf, __len); in ATF_TC_BODY() 206 #define BUF __stack.__buf in ATF_TC_BODY() 209 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_poll_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 struct pollfd __buf[4]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 179 __stack.__buf[i].fd = -1; in ATF_TC_BODY() 182 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 190 #define BUF &__stack.__buf in ATF_TC_BODY() 193 struct pollfd __buf[4]; in ATF_TC_BODY() member 196 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 201 __stack.__buf[i].fd = -1; in ATF_TC_BODY() 204 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() [all …]
|
H A D | fortify_stdlib_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[42]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 arc4random_buf(__stack.__buf, __len); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 unsigned char __buf[42]; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 arc4random_buf(__stack.__buf, __len); in ATF_TC_BODY() 204 #define BUF __stack.__buf in ATF_TC_BODY() 207 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
H A D | fortify_random_test.c | 168 #define BUF &__stack.__buf in ATF_TC_BODY() 171 unsigned char __buf[42]; in ATF_TC_BODY() member 174 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 178 getrandom(__stack.__buf, __len, 0); in ATF_TC_BODY() 186 #define BUF &__stack.__buf in ATF_TC_BODY() 189 unsigned char __buf[42]; in ATF_TC_BODY() member 192 const size_t __bufsz __unused = sizeof(__stack.__buf); in ATF_TC_BODY() 196 getrandom(__stack.__buf, __len, 0); in ATF_TC_BODY() 204 #define BUF __stack.__buf in ATF_TC_BODY() 207 unsigned char * __buf; in ATF_TC_BODY() member [all …]
|
/freebsd/include/ssp/ |
H A D | unistd.h | 58 (const char *__name, gid_t __base, gid_t *__buf, int *__lenp), 59 (__name, __base, __buf, __lenp), 1, __ssp_gid_bos, *__lenp); 61 __ssp_redirect_raw(int, getgroups, getgroups, (int __len, gid_t *__buf), 62 (__len, __buf), 1, __ssp_gid_bos, __len); 64 __ssp_redirect(int, getloginclass, (char *__buf, size_t __len), 65 (__buf, __len)); 67 __ssp_redirect(ssize_t, _FORTIFY_SOURCE_read, (int __fd, void *__buf, 68 size_t __len), (__fd, __buf, __len)); 69 __ssp_redirect(ssize_t, pread, (int __fd, void *__buf, size_t __len, 70 off_t __offset), (__fd, __buf, __len, __offset)); [all …]
|
H A D | stdio.h | 42 __ssp_redirect_raw(char *, ctermid, ctermid, (char *__buf), (__buf), 43 __buf != NULL, __ssp_bos, L_ctermid); 45 __ssp_redirect_raw(char *, ctermid_r, ctermid_r, (char *__buf), (__buf), 46 __buf != NULL, __ssp_bos, L_ctermid); 49 __ssp_redirect(size_t, fread, (void *__restrict __buf, size_t __len, 50 size_t __nmemb, FILE *__restrict __fp), (__buf, __len, __nmemb, __fp)); 51 __ssp_redirect(size_t, fread_unlocked, (void *__restrict __buf, size_t __len, 52 size_t __nmemb, FILE *__restrict __fp), (__buf, __len, __nmemb, __fp)); 54 __ssp_redirect(char *, gets_s, (char *__buf, rsize_t __len), (__buf, __len)); 56 __ssp_redirect_raw(char *, tmpnam, tmpnam, (char *__buf), (__buf), 1,
|
H A D | random.h | 36 __ssp_redirect(ssize_t, getrandom, (void *__buf, size_t __len, 37 unsigned int __flags), (__buf, __len, __flags));
|
H A D | stdlib.h | 38 __ssp_redirect(void, arc4random_buf, (void *__buf, size_t __len), 39 (__buf, __len));
|
H A D | string.h | 112 __ssp_redirect(void *, memset_explicit, (void *__buf, int __ch, size_t __len), 113 (__buf, __ch, __len)); 118 __ssp_redirect0(int, strerror_r, (int __errnum, char *__buf, size_t __len), 119 (__errnum, __buf, __len));
|
H A D | strings.h | 67 __ssp_redirect(void, explicit_bzero, (void *__buf, size_t __len), 68 (__buf, __len));
|
H A D | socket.h | 73 __ssp_redirect(ssize_t, recv, (int __sock, void *__buf, size_t __len, 74 int __flags), (__sock, __buf, __len, __flags));
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | crypto_scrypt.h | 74 uint32_t __p, uint8_t *__buf, size_t __buflen); 79 uint32_t __p, uint8_t *__buf, size_t __buflen); 84 uint32_t __p, uint8_t *__buf, size_t __buflen); 88 uint8_t *__buf, size_t __buflen); 92 uint8_t *__buf, size_t __buflen);
|
/freebsd/lib/libcrypt/ |
H A D | crypt.c | 127 if (func(passwd, salt, data->__buf) != 0) in crypt_r() 129 return (data->__buf); in crypt_r()
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | stable_sort.h | 244 pair<value_type*, ptrdiff_t> __buf(0, 0); in __stable_sort_impl() 249 __buf = std::get_temporary_buffer<value_type>(__len); in __stable_sort_impl() local 251 __h.reset(__buf.first); in __stable_sort_impl() 254 …_AlgPolicy, __comp_ref_type<_Compare> >(__first, __last, __comp, __len, __buf.first, __buf.second); in __stable_sort_impl()
|
H A D | inplace_merge.h | 216 pair<value_type*, ptrdiff_t> __buf = std::get_temporary_buffer<value_type>(__buf_size); in __inplace_merge() local 218 unique_ptr<value_type, __return_temporary_buffer> __h(__buf.first); in __inplace_merge() 220 …first), std::move(__middle), std::move(__last), __comp, __len1, __len2, __buf.first, __buf.second); in __inplace_merge()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | deque | 1848 __split_buffer<value_type, allocator_type&> __buf(__alloc()); 1849 __buf.__construct_at_end_with_sentinel(std::move(__f), std::move(__l)); 1851 return insert(__p, move_iterator<__bi>(__buf.begin()), move_iterator<__bi>(__buf.end())); 1865 __split_buffer<value_type, allocator_type&> __buf(__n, 0, __alloc()); 1866 __buf.__construct_at_end_with_size(__f, __n); 1868 return insert(__p, move_iterator<__fwd>(__buf.begin()), move_iterator<__fwd>(__buf.end())); 2045 __split_buffer<pointer, __pointer_allocator&> __buf( 2050 __buf.push_back(__hold.get()); 2054 __buf.push_back(*__i); 2055 std::swap(__map_.__first_, __buf.__first_); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | formatter_integral.h | 57 _LIBCPP_HIDE_FROM_ABI inline _Iterator __insert_sign(_Iterator __buf, bool __negative, __format_spe… in __insert_sign() argument 59 *__buf++ = '-'; in __insert_sign() 67 *__buf++ = '+'; in __insert_sign() 70 *__buf++ = ' '; in __insert_sign() 74 return __buf; in __insert_sign()
|