| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_flag_parser.cc | 74 while (is_space(buf_[pos_])) ++pos_; in skip_whitespace() 79 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_; in parse_flag() 80 if (buf_[pos_] != '=') fatal_error("expected '='"); in parse_flag() 81 char *name = ll_strndup(buf_ + name_start, pos_ - name_start); in parse_flag() 85 if (buf_[pos_] == '\'' || buf_[pos_] == '"') { in parse_flag() 86 char quote = buf_[pos_++]; in parse_flag() 87 while (buf_[pos_] != 0 && buf_[pos_] != quote) ++pos_; in parse_flag() 88 if (buf_[pos_] == 0) fatal_error("unterminated string"); in parse_flag() 89 value = ll_strndup(buf_ + value_start + 1, pos_ - value_start - 1); in parse_flag() 92 while (buf_[pos_] != 0 && !is_space(buf_[pos_])) ++pos_; in parse_flag() [all …]
|
| H A D | sanitizer_syscalls_netbsd.inc | 110 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 D | sanitizer_flag_parser.h | 107 const char *buf_; variable
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_flag_parser.cc | 76 while (is_space(buf_[pos_])) ++pos_; in skip_whitespace() 81 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_; in parse_flag() 82 if (buf_[pos_] != '=') fatal_error("expected '='"); in parse_flag() 83 char *name = ll_strndup(buf_ + name_start, pos_ - name_start); in parse_flag() 87 if (buf_[pos_] == '\'' || buf_[pos_] == '"') { in parse_flag() 88 char quote = buf_[pos_++]; in parse_flag() 89 while (buf_[pos_] != 0 && buf_[pos_] != quote) ++pos_; in parse_flag() 90 if (buf_[pos_] == 0) fatal_error("unterminated string"); in parse_flag() 91 value = ll_strndup(buf_ + value_start + 1, pos_ - value_start - 1); in parse_flag() 94 while (buf_[pos_] != 0 && !is_space(buf_[pos_])) ++pos_; in parse_flag() [all …]
|
| H A D | sanitizer_syscalls_netbsd.inc | 111 PRE_SYSCALL(read)(long long fd_, void *buf_, long long nbyte_) { 112 if (buf_) { 113 PRE_WRITE(buf_, nbyte_); 116 POST_SYSCALL(read)(long long res, long long fd_, void *buf_, long long nbyte_) { 118 POST_WRITE(buf_, res); 121 PRE_SYSCALL(write)(long long fd_, void *buf_, long long nbyte_) { 122 if (buf_) { 123 PRE_READ(buf_, nbyte_); 127 (long long res, long long fd_, void *buf_, long long nbyte_) { 129 POST_READ(buf_, res); [all …]
|
| H A D | sanitizer_flag_parser.h | 109 const char *buf_; variable
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_flag_parser.cpp | 82 while (is_space(buf_[pos_])) ++pos_; in skip_whitespace() 87 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_; in parse_flag() 88 if (buf_[pos_] != '=') { in parse_flag() 97 char *name = ll_strndup(buf_ + name_start, pos_ - name_start); in parse_flag() 101 if (buf_[pos_] == '\'' || buf_[pos_] == '"') { in parse_flag() 102 char quote = buf_[pos_++]; in parse_flag() 103 while (buf_[pos_] != 0 && buf_[pos_] != quote) ++pos_; in parse_flag() 104 if (buf_[pos_] == 0) fatal_error("unterminated string"); in parse_flag() 105 value = ll_strndup(buf_ + value_start + 1, pos_ - value_start - 1); in parse_flag() 108 while (buf_[pos_] != 0 && !is_space(buf_[pos_])) ++pos_; in parse_flag() [all …]
|
| H A D | sanitizer_syscalls_netbsd.inc | 110 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 D | sanitizer_flag_parser.h | 169 const char *buf_; variable
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/src/include/ |
| H A D | sso_allocator.h | 37 typename aligned_storage<sizeof(_Tp) * _Np>::type buf_; variable 56 return (pointer)&buf_; 62 if (__p == (pointer)&buf_) in deallocate() 70 bool operator==(const __sso_allocator& __a) const {return &buf_ == &__a.buf_;} 72 bool operator!=(const __sso_allocator& __a) const {return &buf_ != &__a.buf_;}
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/nativeclient/ |
| H A D | randombytes_nativeclient.c | 17 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()
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/ |
| H A D | randombytes_sysrandom.c | 107 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()
|
| /netbsd-src/external/bsd/libevent/dist/test/ |
| H A D | regress.gen.c | 435 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_msg() local 436 assert(buf_ != NULL); in evtag_marshal_msg() 437 msg_marshal(buf_, msg); in evtag_marshal_msg() 438 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_msg() 439 evbuffer_free(buf_); in evtag_marshal_msg() 723 struct evbuffer *buf_ = evbuffer_new(); in evtag_marshal_kill() local 724 assert(buf_ != NULL); in evtag_marshal_kill() 725 kill_marshal(buf_, msg); in evtag_marshal_kill() 726 evtag_marshal_buffer(evbuf, tag, buf_); in evtag_marshal_kill() 727 evbuffer_free(buf_); in evtag_marshal_kill() [all …]
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/ |
| H A D | randombytes_salsa20_random.c | 157 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()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
| H A D | d1_msg.c | 12 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 D | ssl_local.h | 504 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,
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/ |
| H A D | d1_msg.c | 12 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len, in dtls1_write_app_data_bytes() argument 33 return dtls1_write_bytes(s, type, buf_, len, written); in dtls1_write_app_data_bytes()
|
| H A D | ssl_local.h | 456 int (*ssl_write_bytes) (SSL *s, int type, const void *buf_, size_t len, 2412 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len,
|
| /netbsd-src/external/gpl2/groff/dist/src/utils/hpftodit/ |
| H A D | hpftodit.cpp | 153 unsigned char *buf_; member in File 416 buf_ = new unsigned char[sb.st_size]; in File() 417 long nread = read(fd, buf_, sb.st_size); in File() 422 ptr_ = buf_; in File() 423 end_ = buf_ + sb.st_size; in File() 437 if (uint32(end_ - buf_) < n) in seek() 439 ptr_ = buf_ + n; in seek()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | arc4random.c | 489 arc4random_buf(void *buf_, size_t n) in arc4random_buf() argument 491 unsigned char *buf = buf_; in arc4random_buf()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/ |
| H A D | demangle.d | 57 this( return scope const(char)[] buf_, return scope char[] dst_ = null ) 59 this( buf_, AddType.yes, dst_ ); 63 this( return scope const(char)[] buf_, AddType addType_, return scope char[] dst_ = null ) 65 buf = buf_;
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/record/ |
| H A D | rec_layer_s3.c | 350 int ssl3_write_bytes(SSL *s, int type, const void *buf_, size_t len, in ssl3_write_bytes() argument 353 const unsigned char *buf = buf_; in ssl3_write_bytes()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/record/ |
| H A D | rec_layer_s3.c | 363 int ssl3_write_bytes(SSL *s, int type, const void *buf_, size_t len, in ssl3_write_bytes() argument 366 const unsigned char *buf = buf_; in ssl3_write_bytes()
|