Searched refs:buf_ (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/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()
|
| /f-stack/freebsd/contrib/libsodium/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()
|
| /f-stack/app/micro_thread/ |
| H A D | mt_api.cpp | 676 :buf_keeper_(buf_keeper),buf_(0),len_(0),len_watermark_(0),keep_(keep) in ScopedBuf() 701 char* tmp = (char*)realloc(buf_, len_); in Alloc() 707 buf_ = tmp; in Alloc() 715 buf_keeper_ = (void*)buf_; in reset() 716 buf_ = NULL; in reset() 722 if(buf_!=NULL) in ~ScopedBuf() 724 free(buf_); in ~ScopedBuf() 725 buf_ = NULL; in ~ScopedBuf() 731 char* buf_; member in NS_MICRO_THREAD::ScopedBuf 783 rc = check_func(sbuf.buf_, recv_len, true, msg_ctx, msg_len_detected); in mt_tcp_check_recv() [all …]
|
| /f-stack/freebsd/contrib/libsodium/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()
|