Home
last modified time | relevance | path

Searched refs:buf_ (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flag_parser.cpp80 while (is_space(buf_[pos_])) ++pos_;
85 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_; in parse_flag()
86 if (buf_[pos_] != '=') { in parse_flag()
95 char *name = ll_strndup(buf_ + name_start, pos_ - name_start); in parse_flag()
99 if (buf_[pos_] == '\'' || buf_[pos_] == '"') { in parse_flag()
100 char quote = buf_[pos_++]; in parse_flag()
101 while (buf_[pos in parse_flag()
[all...]
H A Dsanitizer_syscalls_netbsd.inc110 PRE_SYSCALL(read)(long long fd_, void *buf_, long long nbyte_) {
111 if (buf_) {
112 PRE_WRITE(buf_, nbyte_);
115 POST_SYSCALL(read)(long long res, long long fd_, void *buf_, long long nbyte_) {
117 POST_WRITE(buf_, res);
120 PRE_SYSCALL(write)(long long fd_, void *buf_, long long nbyte_) {
121 if (buf_) {
122 PRE_READ(buf_, nbyte_);
126 (long long res, long long fd_, void *buf_, long long nbyte_) {
128 POST_READ(buf_, res);
[all …]
H A Dsanitizer_flag_parser.h169 const char *buf_; variable
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dsso_allocator.h37 alignas(_Tp) std::byte buf_[sizeof(_Tp) * _Np]; variable
62 return (pointer)&buf_;
67 if (__p == (pointer)&buf_) in deallocate()
74 _LIBCPP_HIDE_FROM_ABI bool operator==(const __sso_allocator& __a) const { return &buf_ == &__a.buf_; }
75 _LIBCPP_HIDE_FROM_ABI bool operator!=(const __sso_allocator& __a) const { return &buf_ != &__a.buf_; }
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/nativeclient/
H A Drandombytes_nativeclient.c17 unsigned char *buf_ = (unsigned char *) buf; in randombytes_nativeclient_buf() local
27 if (rand_intf.get_random_bytes(buf_, size, &readnb) != 0 || in randombytes_nativeclient_buf()
32 buf_ += readnb; in randombytes_nativeclient_buf()
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c107 safe_read(const int fd, void * const buf_, size_t size) in safe_read() argument
109 unsigned char *buf = (unsigned char *) buf_; in safe_read()
127 return (ssize_t) (buf - (unsigned char *) buf_); in safe_read()
226 randombytes_linux_getrandom(void * const buf_, size_t size) in randombytes_linux_getrandom() argument
228 unsigned char *buf = (unsigned char *) buf_; in randombytes_linux_getrandom()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.c434 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_msg() local
435 assert(buf_ != NULL); in evtag_marshal_msg()
436 msg_marshal(buf_, msg); in evtag_marshal_msg()
437 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_msg()
438 evbuffer_free(buf_); in evtag_marshal_msg()
722 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_kill() local
723 assert(buf_ != NULL); in evtag_marshal_kill()
724 kill_marshal(buf_, msg); in evtag_marshal_kill()
725 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_kill()
726 evbuffer_free(buf_); in evtag_marshal_kill()
[all …]
/freebsd/contrib/libevent/test/
H A Dregress.gen.c434 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_msg() local
435 assert(buf_ != NULL); in evtag_marshal_msg()
436 msg_marshal(buf_, msg); in evtag_marshal_msg()
437 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_msg()
438 evbuffer_free(buf_); in evtag_marshal_msg()
722 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_kill() local
723 assert(buf_ != NULL); in evtag_marshal_kill()
724 kill_marshal(buf_, msg); in evtag_marshal_kill()
725 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_kill()
726 evbuffer_free(buf_); in evtag_marshal_kill()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c157 safe_read(const int fd, void * const buf_, size_t size) in safe_read() argument
159 unsigned char *buf = (unsigned char *) buf_; in safe_read()
177 return (ssize_t) (buf - (unsigned char *) buf_); in safe_read()
268 randombytes_linux_getrandom(void * const buf_, size_t size) in randombytes_linux_getrandom() argument
270 unsigned char *buf = (unsigned char *) buf_; in randombytes_linux_getrandom()
/freebsd/crypto/openssl/ssl/
H A Dd1_msg.c12 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len, in dtls1_write_app_data_bytes() argument
32 return dtls1_write_bytes(s, type, buf_, len, written); in dtls1_write_app_data_bytes()
H A Dssl_local.h504 int (*ssl_write_bytes) (SSL *s, int type, const void *buf_, size_t len,
2554 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len,
/freebsd/contrib/ntp/sntp/libevent/
H A Darc4random.c488 arc4random_buf(void *buf_, size_t n) in arc4random_buf() argument
490 unsigned char *buf = buf_; in arc4random_buf()
/freebsd/contrib/libevent/
H A Darc4random.c488 arc4random_buf(void *buf_, size_t n) in arc4random_buf() argument
490 unsigned char *buf = buf_; in arc4random_buf()
/freebsd/crypto/openssl/ssl/record/
H A Drec_layer_s3.c363 int ssl3_write_bytes(SSL *s, int type, const void *buf_, size_t len, in ssl3_write_bytes()
366 const unsigned char *buf = buf_; in ssl3_write_bytes()
348 ssl3_write_bytes(SSL * s,int type,const void * buf_,size_t len,size_t * written) ssl3_write_bytes() argument