Home
last modified time | relevance | path

Searched refs:__buf (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/dev/dpaa2/
H A Ddpaa2_buf.h53 #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 Dfortify_string_test.c168 #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 Dfortify_unistd_test.c168 #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 Dfortify_stdio_test.c168 #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 Dfortify_wchar_test.c168 #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 Dfortify_socket_test.c168 #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 Dfortify_uio_test.c168 #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 Dfortify_select_test.c168 #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 Dfortify_strings_test.c168 #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 Dfortify_poll_test.c168 #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 Dfortify_stdlib_test.c168 #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 Dfortify_random_test.c168 #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 Dunistd.h58 (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 Dstdio.h42 __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 Drandom.h36 __ssp_redirect(ssize_t, getrandom, (void *__buf, size_t __len,
37 unsigned int __flags), (__buf, __len, __flags));
H A Dstdlib.h38 __ssp_redirect(void, arc4random_buf, (void *__buf, size_t __len),
39 (__buf, __len));
H A Dstring.h112 __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 Dstrings.h67 __ssp_redirect(void, explicit_bzero, (void *__buf, size_t __len),
68 (__buf, __len));
H A Dsocket.h73 __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 Dcrypto_scrypt.h74 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 Dcrypt.c127 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 Dstable_sort.h244 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 Dinplace_merge.h216 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 Ddeque1848 __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 Dformatter_integral.h57 _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()

12