Lines Matching refs:s
70 int mbedtls_platform_win32_snprintf(char *s, size_t n, const char *fmt, ...) in mbedtls_platform_win32_snprintf() argument
76 ret = mbedtls_vsnprintf(s, n, fmt, argp); in mbedtls_platform_win32_snprintf()
88 static int platform_snprintf_uninit(char *s, size_t n, in platform_snprintf_uninit() argument
91 ((void) s); in platform_snprintf_uninit()
100 int (*mbedtls_snprintf)(char *s, size_t n,
104 int mbedtls_platform_set_snprintf(int (*snprintf_func)(char *s, size_t n, in mbedtls_platform_set_snprintf() argument
115 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg) in mbedtls_platform_win32_vsnprintf() argument
120 if (s == NULL || n == 0 || fmt == NULL) { in mbedtls_platform_win32_vsnprintf()
125 ret = vsnprintf_s(s, n, _TRUNCATE, fmt, arg); in mbedtls_platform_win32_vsnprintf()
127 ret = vsnprintf(s, n, fmt, arg); in mbedtls_platform_win32_vsnprintf()
129 s[n-1] = '\0'; in mbedtls_platform_win32_vsnprintf()
143 static int platform_vsnprintf_uninit(char *s, size_t n, in platform_vsnprintf_uninit() argument
146 ((void) s); in platform_vsnprintf_uninit()
156 int (*mbedtls_vsnprintf)(char *s, size_t n,
160 int mbedtls_platform_set_vsnprintf(int (*vsnprintf_func)(char *s, size_t n, in mbedtls_platform_set_vsnprintf() argument