#include <precomp.h>
#include <assert.h>
#include <internal/wine/msvcrt.h>
#include "wine/unicode.h"
Go to the source code of this file.
|
wchar_t *CDECL | _wcsdup (const wchar_t *str) |
|
INT CDECL | _wcsicoll (const wchar_t *str1, const wchar_t *str2) |
|
wchar_t *CDECL | _wcsnset (wchar_t *str, wchar_t c, size_t n) |
|
wchar_t *CDECL | _wcsrev (wchar_t *str) |
|
wchar_t *CDECL | _wcsset (wchar_t *str, wchar_t c) |
|
INT CDECL | _wcsupr_s (wchar_t *str, size_t n) |
|
double CDECL | wcstod (const wchar_t *lpszStr, wchar_t **end) |
|
int CDECL | wcscoll (const wchar_t *str1, const wchar_t *str2) |
|
wchar_t *CDECL | wcspbrk (const wchar_t *str, const wchar_t *accept) |
|
INT CDECL | wctomb (char *dst, wchar_t ch) |
|
static size_t CDECL | wcsrtombs_l (char *mbstr, const wchar_t **wcstr, size_t count, _locale_t locale) |
|
size_t CDECL | _wcstombs_l (char *mbstr, const wchar_t *wcstr, size_t count, _locale_t locale) |
|
size_t CDECL | wcstombs (char *mbstr, const wchar_t *wcstr, size_t count) |
|
INT CDECL | wcscpy_s (wchar_t *wcDest, size_t numElement, const wchar_t *wcSrc) |
|
INT CDECL | wcsncpy_s (wchar_t *wcDest, size_t numElement, const wchar_t *wcSrc, size_t count) |
|
INT CDECL | wcscat_s (wchar_t *dst, size_t elem, const wchar_t *src) |
|
INT CDECL | wcsncat_s (wchar_t *dst, size_t elem, const wchar_t *src, size_t count) |
|
◆ _wcsdup()
Definition at line 53 of file wcs.c.
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
#define memcpy(s1, s2, n)
◆ _wcsicoll()
Definition at line 67 of file wcs.c.
◆ _wcsnset()
Definition at line 77 of file wcs.c.
80 while ((
n-- > 0) && *
str) *
str++ =
c;
◆ _wcsrev()
Definition at line 87 of file wcs.c.
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
◆ _wcsset()
◆ _wcstombs_l()
Definition at line 328 of file wcs.c.
GLuint GLuint GLsizei count
static size_t CDECL wcsrtombs_l(char *mbstr, const wchar_t **wcstr, size_t count, _locale_t locale)
◆ _wcsupr_s()
Definition at line 115 of file wcs.c.
errno_t __cdecl _set_errno(_In_ int _Value)
WINE_UNICODE_INLINE WCHAR toupperW(WCHAR ch)
◆ wcscat_s()
Definition at line 406 of file wcs.c.
421 if ((*
ptr++ = *
src++) ==
'\0')
return 0;
◆ wcscoll()
Definition at line 216 of file wcs.c.
WINE_UNICODE_INLINE int strcmpW(const WCHAR *str1, const WCHAR *str2)
◆ wcscpy_s()
Definition at line 345 of file wcs.c.
349 if(!wcDest || !numElement)
361 if(
size > numElement)
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
static const unsigned char *static size_t const wchar_t * wcSrc
#define memcpy(s1, s2, n)
◆ wcsncat_s()
Definition at line 432 of file wcs.c.
451 for (dststart = 0; dststart <
elem; dststart++)
453 if (
dst[dststart] ==
'\0')
456 if (dststart ==
elem)
errno_t __cdecl _set_errno(_In_ int _Value)
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
GLuint GLuint GLsizei count
#define MSVCRT_INVALID_PMT(x)
static DWORD LPDWORD LPCSTR DWORD srclen
#define MSVCRT_CHECK_PMT(x)
#define memcpy(s1, s2, n)
◆ wcsncpy_s()
Definition at line 374 of file wcs.c.
379 if (!wcDest || !numElement)
391 if (
size >= numElement)
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
GLuint GLuint GLsizei count
static const unsigned char *static size_t const wchar_t * wcSrc
#define memcpy(s1, s2, n)
◆ wcspbrk()
Definition at line 225 of file wcs.c.
SOCKET WSAAPI accept(IN SOCKET s, OUT LPSOCKADDR addr, OUT INT FAR *addrlen)
◆ wcsrtombs_l()
Definition at line 260 of file wcs.c.
279 if((*wcstr)[
i] > 255) {
284 mbstr[
i] = (*wcstr)[
i];
285 if(!(*wcstr)[
i])
break;
292 *wcstr, -1,
NULL, 0,
NULL, &used_default);
293 if(!tmp || used_default) {
305 *wcstr, 1,
buf, 3,
NULL, &used_default);
306 if(!
size || used_default) {
314 mbstr[tmp++] =
buf[
i];
errno_t __cdecl _set_errno(_In_ int _Value)
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
struct MSVCRT_localeinfo_struct * MSVCRT__locale_t
#define WideCharToMultiByte
GLuint GLuint GLsizei count
GLenum GLuint GLenum GLsizei const GLchar * buf
#define WC_NO_BEST_FIT_CHARS
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by _wcstombs_l(), and wcstombs().
◆ wcstod()
Definition at line 143 of file wcs.c.
145 const wchar_t*
str = lpszStr;
179 if (*
str ==
'E' || *
str ==
'e' || *
str ==
'D' || *
str ==
'd')
181 int negativeExponent = 0;
185 negativeExponent = 1;
190 exponent = exponent * 10 + (*
str -
'0');
195 if (negativeExponent)
double pow(double x, double y)
WINE_UNICODE_INLINE int isspaceW(WCHAR wc)
WINE_UNICODE_INLINE int isdigitW(WCHAR wc)
◆ wcstombs()
Definition at line 336 of file wcs.c.
GLuint GLuint GLsizei count
static size_t CDECL wcsrtombs_l(char *mbstr, const wchar_t **wcstr, size_t count, _locale_t locale)
◆ wctomb()
Definition at line 244 of file wcs.c.
#define WideCharToMultiByte
_CRTIMP int *__cdecl _errno(void)