Lines Matching refs:cur
519 static inline int mbedtls_ssl_chk_buf_ptr(const uint8_t *cur, in mbedtls_ssl_chk_buf_ptr() argument
522 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr()
526 const uint8_t *cur; member
532 const uint8_t *cur, const uint8_t *end, size_t need);
538 static inline int mbedtls_ssl_chk_buf_ptr(const uint8_t *cur, in mbedtls_ssl_chk_buf_ptr() argument
541 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr()
542 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr()
559 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument
561 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \
581 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument
583 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \