Lines Matching refs:ret
59 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
71 ret = mbedtls_vsnprintf(str, DEBUG_BUF_SIZE, format, argp);
74 if (ret < 0) {
75 ret = 0;
77 if (ret >= DEBUG_BUF_SIZE - 1) {
78 ret = DEBUG_BUF_SIZE - 2;
81 str[ret] = '\n';
82 str[ret + 1] = '\0';
89 const char *text, int ret)
105 if (ret == MBEDTLS_ERR_SSL_WANT_READ) {
110 text, ret, (unsigned int) -ret);