Lines Matching refs:cur
503 static inline int mbedtls_ssl_chk_buf_ptr(const uint8_t *cur, in mbedtls_ssl_chk_buf_ptr() argument
506 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr()
510 const uint8_t *cur; member
516 const uint8_t *cur, const uint8_t *end, size_t need);
522 static inline int mbedtls_ssl_chk_buf_ptr(const uint8_t *cur, in mbedtls_ssl_chk_buf_ptr() argument
525 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr()
526 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr()
543 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument
545 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \
565 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument
567 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \