ReactOS 0.4.17-dev-301-g9127a53
string.h File Reference
#include <corecrt_malloc.h>
#include <corecrt_wstring.h>
Include dependency graph for string.h:

Go to the source code of this file.

Macros

#define _NLSCMPERROR   ((unsigned int)0x7fffffff)
 
#define _NLSCMP_DEFINED
 

Functions

_ACRTIMP size_t __cdecl __strncnt (const char *, size_t)
 
_ACRTIMP int __cdecl _strcmpi (const char *, const char *)
 
_ACRTIMP int __cdecl _strcoll_l (const char *, const char *, _locale_t)
 
_ACRTIMP char *__cdecl _strdup (const char *) __WINE_DEALLOC(free) __WINE_MALLOC
 
_ACRTIMP char *__cdecl _strerror (const char *)
 
_ACRTIMP errno_t __cdecl strerror_s (char *, size_t, int)
 
_ACRTIMP int __cdecl _stricmp (const char *, const char *)
 
_ACRTIMP int __cdecl _stricoll (const char *, const char *)
 
_ACRTIMP int __cdecl _stricoll_l (const char *, const char *, _locale_t)
 
_ACRTIMP char *__cdecl _strlwr (char *)
 
_ACRTIMP errno_t __cdecl _strlwr_s (char *, size_t)
 
_ACRTIMP int __cdecl _strncoll (const char *, const char *, size_t)
 
_ACRTIMP int __cdecl _strncoll_l (const char *, const char *, size_t, _locale_t)
 
_ACRTIMP int __cdecl _strnicmp (const char *, const char *, size_t)
 
_ACRTIMP int __cdecl _strnicmp_l (const char *, const char *, size_t, _locale_t)
 
_ACRTIMP int __cdecl _strnicoll (const char *, const char *, size_t)
 
_ACRTIMP int __cdecl _strnicoll_l (const char *, const char *, size_t, _locale_t)
 
_ACRTIMP char *__cdecl _strnset (char *, int, size_t)
 
_ACRTIMP char *__cdecl _strrev (char *)
 
_ACRTIMP char *__cdecl _strset (char *, int)
 
_ACRTIMP char *__cdecl _strupr (char *)
 
_ACRTIMP errno_t __cdecl _strupr_s (char *, size_t)
 
_ACRTIMP size_t __cdecl _strxfrm_l (char *, const char *, size_t, _locale_t)
 
_ACRTIMP errno_t __cdecl memmove_s (void *, size_t, const void *, size_t)
 
_ACRTIMP char *__cdecl strcat (char *, const char *)
 
_ACRTIMP errno_t __cdecl strcat_s (char *, size_t, const char *)
 
_ACRTIMP char *__cdecl strchr (const char *, int)
 
_ACRTIMP int __cdecl strcmp (const char *, const char *)
 
_ACRTIMP int __cdecl strcoll (const char *, const char *)
 
_ACRTIMP char *__cdecl strcpy (char *, const char *)
 
_ACRTIMP errno_t __cdecl strcpy_s (char *, size_t, const char *)
 
_ACRTIMP size_t __cdecl strcspn (const char *, const char *)
 
_ACRTIMP char *__cdecl strerror (int)
 
_ACRTIMP size_t __cdecl strlen (const char *)
 
_ACRTIMP char *__cdecl strncat (char *, const char *, size_t)
 
_ACRTIMP errno_t __cdecl strncat_s (char *, size_t, const char *, size_t)
 
_ACRTIMP int __cdecl strncmp (const char *, const char *, size_t)
 
_ACRTIMP char *__cdecl strncpy (char *, const char *, size_t)
 
_ACRTIMP errno_t __cdecl strncpy_s (char *, size_t, const char *, size_t)
 
_ACRTIMP size_t __cdecl strnlen (const char *, size_t)
 
_ACRTIMP char *__cdecl strpbrk (const char *, const char *)
 
_ACRTIMP char *__cdecl strrchr (const char *, int)
 
_ACRTIMP size_t __cdecl strspn (const char *, const char *)
 
_ACRTIMP char *__cdecl strstr (const char *, const char *)
 
_ACRTIMP char *__cdecl strtok (char *, const char *)
 
_ACRTIMP char *__cdecl strtok_s (char *, const char *, char **)
 
_ACRTIMP size_t __cdecl strxfrm (char *, const char *, size_t)
 
static int strcasecmp (const char *s1, const char *s2)
 
static int strcmpi (const char *s1, const char *s2)
 
static charstrdup (const char *buf)
 
static int stricmp (const char *s1, const char *s2)
 
static int stricoll (const char *s1, const char *s2)
 
static charstrlwr (char *str)
 
static int strncasecmp (const char *str1, const char *str2, size_t n)
 
static int strnicmp (const char *s1, const char *s2, size_t n)
 
static charstrnset (char *str, int value, unsigned int len)
 
static charstrrev (char *str)
 
static charstrset (char *str, int value)
 
static charstrupr (char *str)
 
static wchar_twcsdup (const wchar_t *str)
 
static int wcsicoll (const wchar_t *str1, const wchar_t *str2)
 
static wchar_twcslwr (wchar_t *str)
 
static int wcsicmp (const wchar_t *s1, const wchar_t *s2)
 
static int wcsnicmp (const wchar_t *str1, const wchar_t *str2, size_t n)
 
static wchar_twcsnset (wchar_t *str, wchar_t c, size_t n)
 
static wchar_twcsrev (wchar_t *str)
 
static wchar_twcsset (wchar_t *str, wchar_t c)
 
static wchar_twcsupr (wchar_t *str)
 

Macro Definition Documentation

◆ _NLSCMP_DEFINED

#define _NLSCMP_DEFINED

Definition at line 16 of file string.h.

◆ _NLSCMPERROR

#define _NLSCMPERROR   ((unsigned int)0x7fffffff)

Definition at line 15 of file string.h.

Function Documentation

◆ __strncnt()

_ACRTIMP size_t __cdecl __strncnt ( const char str,
size_t  size 
)

Definition at line 3539 of file string.c.

3540{
3541 size_t ret = 0;
3542
3543#if _MSVCR_VER >= 140
3544 while (*str++ && size--)
3545#else
3546 while (size-- && *str++)
3547#endif
3548 {
3549 ret++;
3550 }
3551
3552 return ret;
3553}
return ret
Definition: mutex.c:146
GLsizeiptr size
Definition: glext.h:5919
const WCHAR * str

Referenced by InternalCompareStringA().

◆ _strcmpi()

_ACRTIMP int __cdecl _strcmpi ( const char ,
const char  
)

◆ _strcoll_l()

_ACRTIMP int __cdecl _strcoll_l ( const char str1,
const char str2,
_locale_t  locale 
)

Definition at line 1175 of file string.c.

1176{
1178
1179 if(!locale)
1180 locinfo = get_locinfo();
1181 else
1182 locinfo = locale->locinfo;
1183
1184 if(!locinfo->lc_handle[LC_COLLATE])
1185 return strcmp(str1, str2);
1187 str1, -1, str2, -1)-CSTR_EQUAL;
1188}
Definition: _locale.h:75
INT WINAPI CompareStringA(LCID lcid, DWORD flags, LPCSTR str1, INT len1, LPCSTR str2, INT len2)
Definition: locale.c:4015
#define LC_COLLATE
Definition: locale.h:26
else locinfo
Definition: scanf.h:225
int __cdecl strcmp(const char *str1, const char *str2)
Definition: string.c:3324
XML_HIDDEN void xmlParserErrors const char const xmlChar const xmlChar * str2
Definition: parser.h:35
XML_HIDDEN void xmlParserErrors const char const xmlChar * str1
Definition: parser.h:35
#define get_locinfo()
Definition: winesup.h:25
#define SORT_STRINGSORT
Definition: winnls.h:199
#define CSTR_EQUAL
Definition: winnls.h:510

Referenced by _mbscoll_l(), and strcoll().

◆ _strdup()

_ACRTIMP char *__cdecl _strdup ( const char str)

Definition at line 52 of file string.c.

53{
54 if(str)
55 {
56 char * ret = malloc(strlen(str)+1);
57 if (ret) strcpy( ret, str );
58 return ret;
59 }
60 else return 0;
61}
#define malloc
Definition: debug_ros.c:4
size_t __cdecl strlen(const char *str)
Definition: string.c:1597
strcpy
Definition: string.h:131

◆ _strerror()

_ACRTIMP char *__cdecl _strerror ( const char str)

Definition at line 315 of file errno.c.

316{
318 int err;
319
320 if (!data->strerror_buffer)
321 if (!(data->strerror_buffer = malloc(256))) return NULL;
322
323 err = data->thread_errno;
324 if (err < 0 || err > MSVCRT__sys_nerr) err = MSVCRT__sys_nerr;
325
326 if (str && *str)
327 sprintf( data->strerror_buffer, "%s: %s\n", str, MSVCRT__sys_errlist[err] );
328 else
329 sprintf( data->strerror_buffer, "%s\n", MSVCRT__sys_errlist[err] );
330
331 return data->strerror_buffer;
332}
#define NULL
Definition: types.h:112
char * MSVCRT__sys_errlist[]
Definition: errno.c:79
unsigned int MSVCRT__sys_nerr
Definition: errno.c:127
thread_data_t *CDECL msvcrt_get_thread_data(void)
Definition: ucrt_tls_sup.c:59
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
#define sprintf
Definition: sprintf.c:45
#define err(...)

◆ _stricmp()

_ACRTIMP int __cdecl _stricmp ( const char s1,
const char s2 
)

Definition at line 3412 of file string.c.

3413{
3414 return _strnicmp_l(s1, s2, INT_MAX, NULL);
3415}
#define INT_MAX
Definition: limits.h:26
int __cdecl _strnicmp_l(const char *s1, const char *s2, size_t count, _locale_t locale)
Definition: string.c:3352
struct S1 s1
PCWSTR s2
Definition: shell32_main.h:38

◆ _stricoll()

_ACRTIMP int __cdecl _stricoll ( const char str1,
const char str2 
)

Definition at line 1219 of file string.c.

1220{
1221 return _stricoll_l(str1, str2, NULL);
1222}
int CDECL _stricoll_l(const char *str1, const char *str2, _locale_t locale)
Definition: string.c:1201

Referenced by stricoll().

◆ _stricoll_l()

_ACRTIMP int __cdecl _stricoll_l ( const char str1,
const char str2,
_locale_t  locale 
)

Definition at line 1201 of file string.c.

1202{
1204
1205 if(!locale)
1206 locinfo = get_locinfo();
1207 else
1208 locinfo = locale->locinfo;
1209
1210 if(!locinfo->lc_handle[LC_COLLATE])
1211 return _stricmp(str1, str2);
1213 str1, -1, str2, -1)-CSTR_EQUAL;
1214}
#define _stricmp
Definition: cat.c:22
#define NORM_IGNORECASE
Definition: winnls.h:191

Referenced by _mbsicoll_l(), and _stricoll().

◆ _strlwr()

_ACRTIMP char *__cdecl _strlwr ( char str)

Definition at line 136 of file string.c.

137{
138 _strlwr_s_l(str, -1, NULL);
139 return str;
140}
_strlwr_s_l
Definition: string.h:249

◆ _strlwr_s()

_ACRTIMP errno_t __cdecl _strlwr_s ( char str,
size_t  len 
)

Definition at line 119 of file string.c.

120{
121 return _strlwr_s_l(str, len, NULL);
122}
GLenum GLsizei len
Definition: glext.h:6722

◆ _strncoll()

_ACRTIMP int __cdecl _strncoll ( const char str1,
const char str2,
size_t  count 
)

Definition at line 1246 of file string.c.

1247{
1248 return _strncoll_l(str1, str2, count, NULL);
1249}
int CDECL _strncoll_l(const char *str1, const char *str2, size_t count, _locale_t locale)
Definition: string.c:1227
GLuint GLuint GLsizei count
Definition: gl.h:1545

Referenced by test__tcsncoll().

◆ _strncoll_l()

_ACRTIMP int __cdecl _strncoll_l ( const char str1,
const char str2,
size_t  count,
_locale_t  locale 
)

Definition at line 1227 of file string.c.

1228{
1230
1231 if(!locale)
1232 locinfo = get_locinfo();
1233 else
1234 locinfo = locale->locinfo;
1235
1236 if(!locinfo->lc_handle[LC_COLLATE])
1237 return strncmp(str1, str2, count);
1241}
int __cdecl strncmp(const char *str1, const char *str2, size_t len)
Definition: string.c:3335
size_t CDECL strnlen(const char *s, size_t maxlen)
Definition: string.c:1607

Referenced by _mbsnbcoll_l(), _mbsncoll_l(), and _strncoll().

◆ _strnicmp()

_ACRTIMP int __cdecl _strnicmp ( const char s1,
const char s2,
size_t  count 
)

Definition at line 3404 of file string.c.

3405{
3406 return _strnicmp_l(s1, s2, count, NULL);
3407}

◆ _strnicmp_l()

_ACRTIMP int __cdecl _strnicmp_l ( const char s1,
const char s2,
size_t  count,
_locale_t  locale 
)

Definition at line 3352 of file string.c.

3354{
3356 int c1, c2;
3357
3358 if(!count)
3359 return 0;
3360#if _MSVCR_VER>=80
3361 if(!MSVCRT_CHECK_PMT(s1 && s2 && count <= INT_MAX))
3362#else
3363 /* Old versions of msvcrt.dll didn't have count <= INT_MAX check */
3364 if(!MSVCRT_CHECK_PMT(s1 && s2))
3365#endif /* _MSVCR_VER>=140 */
3366 return _NLSCMPERROR;
3367
3368 if(!locale)
3369 locinfo = get_locinfo();
3370 else
3371 locinfo = locale->locinfo;
3372
3373 if(!locinfo->lc_handle[LC_CTYPE])
3374 {
3375 do {
3376 if ((c1 = *s1++) >= 'A' && c1 <= 'Z')
3377 c1 -= 'A' - 'a';
3378 if ((c2 = *s2++) >= 'A' && c2 <= 'Z')
3379 c2 -= 'A' - 'a';
3380 }while(--count && c1 && c1==c2);
3381
3382 return (unsigned char)c1 - (unsigned char)c2;
3383 }
3384
3385 do {
3386 c1 = _tolower_l((unsigned char)*s1++, locale);
3387 c2 = _tolower_l((unsigned char)*s2++, locale);
3388 }while(--count && c1 && c1==c2);
3389
3390 return c1-c2;
3391}
int CDECL _tolower_l(int c, _locale_t locale)
Definition: ctype.c:532
#define LC_CTYPE
Definition: locale.h:27
#define _NLSCMPERROR
Definition: mbstring.h:28
#define MSVCRT_CHECK_PMT(x)
Definition: msvcrt.h:378
unsigned char
Definition: typeof.h:29

Referenced by _stricmp(), _stricmp_l(), _strnicmp(), and _strnicoll_l().

◆ _strnicoll()

_ACRTIMP int __cdecl _strnicoll ( const char str1,
const char str2,
size_t  count 
)

Definition at line 1273 of file string.c.

1274{
1275 return _strnicoll_l(str1, str2, count, NULL);
1276}
int CDECL _strnicoll_l(const char *str1, const char *str2, size_t count, _locale_t locale)
Definition: string.c:1254

Referenced by test__tcsnicoll().

◆ _strnicoll_l()

_ACRTIMP int __cdecl _strnicoll_l ( const char str1,
const char str2,
size_t  count,
_locale_t  locale 
)

Definition at line 1254 of file string.c.

1255{
1257
1258 if(!locale)
1259 locinfo = get_locinfo();
1260 else
1261 locinfo = locale->locinfo;
1262
1263 if(!locinfo->lc_handle[LC_COLLATE])
1264 return _strnicmp(str1, str2, count);
1268}
#define _strnicmp(_String1, _String2, _MaxCount)
Definition: compat.h:23

Referenced by _mbsnbicoll_l(), _mbsnicoll_l(), and _strnicoll().

◆ _strnset()

_ACRTIMP char *__cdecl _strnset ( char str,
int  value,
size_t  len 
)

Definition at line 248 of file string.c.

249{
250 if (len > 0 && str)
251 while (*str && len--)
252 *str++ = value;
253 return str;
254}
Definition: pdh_main.c:96

◆ _strrev()

_ACRTIMP char *__cdecl _strrev ( char str)

Definition at line 259 of file string.c.

260{
261 char * p1;
262 char * p2;
263
264 if (str && *str)
265 for (p1 = str, p2 = str + strlen(str) - 1; p2 > p1; ++p1, --p2)
266 {
267 *p1 ^= *p2;
268 *p2 ^= *p1;
269 *p1 ^= *p2;
270 }
271
272 return str;
273}

Referenced by _mbsrev_l(), strrev(), and u__strrev().

◆ _strset()

_ACRTIMP char *__cdecl _strset ( char str,
int  value 
)

Definition at line 278 of file string.c.

279{
280 char *ptr = str;
281 while (*ptr)
282 *ptr++ = value;
283
284 return str;
285}
static PVOID ptr
Definition: dispmode.c:27

◆ _strupr()

_ACRTIMP char *__cdecl _strupr ( char str)

Definition at line 215 of file string.c.

216{
217 _strupr_s_l(str, -1, NULL);
218 return str;
219}
_strupr_s_l
Definition: string.h:471

◆ _strupr_s()

_ACRTIMP errno_t __cdecl _strupr_s ( char str,
size_t  len 
)

Definition at line 198 of file string.c.

199{
200 return _strupr_s_l(str, len, NULL);
201}

◆ _strxfrm_l()

_ACRTIMP size_t __cdecl _strxfrm_l ( char dest,
const char src,
size_t  len,
_locale_t  locale 
)

Definition at line 1471 of file string.c.

1473{
1475 int ret;
1476
1477 if(!MSVCRT_CHECK_PMT(src)) return INT_MAX;
1478 if(!MSVCRT_CHECK_PMT(dest || !len)) return INT_MAX;
1479
1480 if(len > INT_MAX) {
1481 FIXME("len > INT_MAX not supported\n");
1482 len = INT_MAX;
1483 }
1484
1485 if(!locale)
1486 locinfo = get_locinfo();
1487 else
1488 locinfo = locale->locinfo;
1489
1490 if(!locinfo->lc_handle[LC_COLLATE]) {
1491 strncpy(dest, src, len);
1492 return strlen(src);
1493 }
1494
1495 ret = LCMapStringA(locinfo->lc_handle[LC_COLLATE],
1496 LCMAP_SORTKEY, src, -1, NULL, 0);
1497 if(!ret) {
1498 if(len) dest[0] = 0;
1499 *_errno() = EILSEQ;
1500 return INT_MAX;
1501 }
1502 if(!len) return ret-1;
1503
1504 if(ret > len) {
1505 dest[0] = 0;
1506 *_errno() = ERANGE;
1507 return ret-1;
1508 }
1509
1510 return LCMapStringA(locinfo->lc_handle[LC_COLLATE],
1511 LCMAP_SORTKEY, src, -1, dest, len) - 1;
1512}
#define FIXME(fmt,...)
Definition: precomp.h:53
INT WINAPI LCMapStringA(LCID lcid, DWORD flags, LPCSTR src, INT srclen, LPSTR dst, INT dstlen)
Definition: locale.c:3834
int *CDECL _errno(void)
Definition: errno.c:215
#define ERANGE
Definition: errno.h:55
#define EILSEQ
Definition: errno.h:62
GLenum src
Definition: glext.h:6340
static char * dest
Definition: rtl.c:149
strncpy
Definition: string.h:335
#define LCMAP_SORTKEY
Definition: winnls.h:204

Referenced by strxfrm().

◆ memmove_s()

_ACRTIMP errno_t __cdecl memmove_s ( void dest,
size_t  numberOfElements,
const void src,
size_t  count 
)

Definition at line 736 of file heap.c.

737{
738 TRACE("(%p %Iu %p %Iu)\n", dest, numberOfElements, src, count);
739
740 if(!count)
741 return 0;
742
743 if (!MSVCRT_CHECK_PMT(dest != NULL)) return EINVAL;
744 if (!MSVCRT_CHECK_PMT(src != NULL)) return EINVAL;
746
748 return 0;
749}
#define EINVAL
Definition: errno.h:44
#define MSVCRT_CHECK_PMT_ERR(x, err)
Definition: msvcrt.h:377
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
static size_t numberOfElements
Definition: string.c:98
#define TRACE(s)
Definition: solgame.cpp:4

◆ strcasecmp()

static int strcasecmp ( const char s1,
const char s2 
)
inlinestatic

Definition at line 81 of file string.h.

81{ return _stricmp(s1, s2); }

◆ strcat()

_ACRTIMP char *__cdecl strcat ( char dst,
const char src 
)

Definition at line 1403 of file string.c.

1404{
1405 char *d = dst;
1406 while (*d) d++;
1407 while ((*d++ = *src++));
1408 return dst;
1409}
GLenum GLenum dst
Definition: glext.h:6340
#define d
Definition: ke_i.h:81

◆ strcat_s()

_ACRTIMP errno_t __cdecl strcat_s ( char dst,
size_t  elem,
const char src 
)

Definition at line 1373 of file string.c.

1374{
1375 size_t i, j;
1376 if (!MSVCRT_CHECK_PMT(dst != 0)) return EINVAL;
1377 if (!MSVCRT_CHECK_PMT(elem != 0)) return EINVAL;
1378 if (!MSVCRT_CHECK_PMT(src != NULL))
1379 {
1380 dst[0] = '\0';
1381 return EINVAL;
1382 }
1383
1384 for(i = 0; i < elem; i++)
1385 {
1386 if(dst[i] == '\0')
1387 {
1388 for(j = 0; (j + i) < elem; j++)
1389 {
1390 if((dst[j + i] = src[j]) == '\0') return 0;
1391 }
1392 }
1393 }
1394 /* Set the first element to 0, not the first element after the skipped part */
1395 MSVCRT_INVALID_PMT("dst[elem] is too small", ERANGE);
1396 dst[0] = '\0';
1397 return ERANGE;
1398}
#define MSVCRT_INVALID_PMT(x, err)
Definition: msvcrt.h:376
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
Definition: glfuncs.h:248
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 GLint GLint j
Definition: glfuncs.h:250
static size_t elem
Definition: string.c:71

Referenced by _mbscat_s_l(), _VCrtDbgReportA(), LoadModuleWithSymbols(), and main().

◆ strchr()

_ACRTIMP char *__cdecl strchr ( const char str,
int  c 
)

Definition at line 3291 of file string.c.

3292{
3293 do
3294 {
3295 if (*str == (char)c) return (char*)str;
3296 } while (*str++);
3297 return NULL;
3298}
const GLubyte * c
Definition: glext.h:8905

Referenced by __Extract_locale_name(), __get_floor_digits(), __getpublickey_real(), _fmtarglist(), _get_next_token(), _getopt_internal_r(), _IRQL_requires_max_(), _mbschr_l(), _putenv(), _tiffStreamOpen(), _tmain(), add_param(), add_widl_version_define(), AddrStrToAddr(), adns_submit(), ArcGetNextTokenA(), bad_name(), BiosInitialize(), CabinetFindNext(), cache_entry_create(), ccf_sortlist(), cert_mgr_advanced_dlg_proc(), change_section_attribs(), check_in_programs_list(), cleanup(), config_parse_pair(), convert_to_unix_filename(), convert_usages_str_to_usage(), create_locinfo(), create_sic(), CsrParseServerCommandLine(), ctype_822special(), ctype_domainunquoted(), debugstr_ok(), decode_html(), DecodeDirectoryURL(), DecodeServEntFromString(), detect_autoproxyconfig_url_dns(), detect_proxy_autoconfig_url_dns(), DissectArcPath(), DoCommand(), DoDESCRIPTIONS(), DoKEYNAME(), DoLANGUAGENAMES(), DoOpen(), DosBuildSysEnvBlock(), DosChangeDirectory(), dosflags(), DosKRNLInitialize(), doWinMain(), dup_ncp(), enum_gac_assembly_dirs(), env_set(), errflags(), EscapeString(), expect_layeronly_imp(), ext_in_list(), fdom_split(), file_add(), file_cvt(), find_default_printer(), find_input_file(), findend(), findgequal(), fnmatch1(), for(), FTP_ParseNextFile(), FTPChdirAndGetCWD(), FTPDecodeURL(), FTPFtw(), FTPFtwL2(), FTPGetCWD(), FTPListToMemory2(), FTPMkdir2(), FTPRemoteGlob(), generate_xa_rr_attributes(), get_attr(), get_constant_element_by_name(), get_graft(), get_hdrguardtext(), get_key(), get_parameter_element_by_name(), get_session_start(), get_username_and_hostname(), GetBookmark(), tinyxml2::XMLUtil::GetCharacterRef(), getenv_helper(), GetExpandedNameA(), GetFunctionFromForwarder(), File::getline(), getline(), GetLineExtentA(), CWineTest::GetNextTest(), getopt(), getopt_internal(), getopt_long(), GetOurHostName(), GetPreviousParamString(), GetProtoGetNextEnt(), GetProtoPatternMatch(), getSection(), GetStartSpoolDate(), gl_do_tab_completion(), gl_histadd(), handle_address_cmd(), handle_child_line(), handle_escape_cmd(), handle_readdir(), has_env_variables(), has_extension(), HLPFILE_AddHotSpotLinks(), import_file(), inf_process_content(), inf_section_parse(), inf_value_parse(), init(), init_argv0_target(), init_content_type(), init_logger_addr(), initialize_purpose_selection(), InitIgnoreFreeLibrary(), InputChar(), isOffset(), kbd_rc(), KdbpGetCommandLineSettings(), KdpGetTerminalSettings(), LdrpSnapThunk(), LlbEnvRead(), load_persistent_cookie(), LoadFirewallPrefs(), LoadModuleWithSymbols(), locale_to_sname(), MACRO_JumpID(), main(), MakeArgv(), MakeSureDirectoryPathExists(), MayUseFirewall(), menu_ownerdraw_wnd_proc(), MiSnapThunk(), MMDRV_Init(), myTokenize(), NeedCurrentDirectoryForExePathA(), netname2host(), netname2user(), next_arg(), NextLine(), NextOption(), nFTPChdirAndGetCWD(), NSP_GetServiceByNameHeapAllocW(), Output(), parse_date(), parse_env_overrides(), parse_list_response(), parse_msi_version_string(), parse_options(), parse_rr(), parse_server_and_port(), parse_stat_response(), parse_target(), parse_uidl_response(), ParseInputFile(), PathParseIconLocationA(), PeLdrpBindImportName(), pf_fill(), pf_output_special_fp(), pf_printf(), pfopen(), PopupError(), PostInit(), pp_add_define(), prepare_rpn_result_2(), print_insn(), print_something(), print_status(), PrintMenu(), PrintStartupBanner(), process_long_option(), processRequest(), read_merging_directory(), read_oid_info(), read_password(), read_prop(), read_reply(), read_stdin(), readSection(), RemoteGlobCollapse(), rename_file(), retrieve_cached_basic_authorization(), RtlSplayTreeTest(), scan_directory_tree(), scan_sparc_boot(), scan_sunx86_boot(), seamless_get_token(), search_tree_file(), searchfileinpath(), SetDllDirectoryA(), skipsemi(), sort_n_finish(), stabs_parse(), stabs_parse_type(), stabs_parse_typedef(), stabs_pts_read_aggregate(), stabs_pts_read_method_info(), stime_arg1(), StoreNameInSft(), str_handle_lines(), streamout(), Strntok(), strpbrk(), Strtok(), SymFromName(), test_appsearch_reglocator(), test_currentworkingdir(), test_dde(), test_EM_AUTOURLDETECT(), test_EnumDateFormatsA(), test_EnumTimeFormatsA(), test_environment_manipulation(), test_filename(), test_find_executable(), test_FoldStringA(), test_GetDiskInfoA(), test_GetFileInformationByHandleEx(), test_GetLongPathNameA(), test_Idn(), test_listbox_dlgdir(), test_longstrings(), test_mbs_help(), test_PrintDlgA(), test_put_hash(), test_setlocale(), test_tmpnam(), testWriteNotWrappedProcessed(), TIFFPrintDirectory(), translate_line(), TranslateFunctionName(), TranslateParameters(), TuiDrawMenuTimeout(), u_strchr(), ui_clip_handle_data(), UnMlsD(), UrlGetLocationA(), UserLoginThread(), ValidChar(), vsyslog(), WinMain(), wpp_add_cmdline_define(), write_com_interface_end(), WriteDefaultFirewallPrefs(), WriteLine(), WriteToPipeThread(), WspiapiLegacyGetNameInfo(), and xkeymap_read().

◆ strcmp()

_ACRTIMP int __cdecl strcmp ( const char str1,
const char str2 
)

Definition at line 3324 of file string.c.

3325{
3326 while (*str1 && *str1 == *str2) { str1++; str2++; }
3327 if ((unsigned char)*str1 > (unsigned char)*str2) return 1;
3328 if ((unsigned char)*str1 < (unsigned char)*str2) return -1;
3329 return 0;
3330}

Referenced by __rpc_getconf(), __rpc_getconfip(), __rpc_nconf2sockinfo(), __rpc_sockinfo2netid(), __rpcb_findaddr_timed(), __rpcbind_is_up(), __RTDynamicCast(), _BSTR_CY(), _BSTR_DATE(), _BSTR_DEC(), _check_enum_value(), _check_paste(), _clipboard_range_contains(), _des_crypt_call(), _dwarfnametounit(), _entry_cmp(), _getgroups(), _getopt_internal_r(), _ILHACKCompareSimpleIds(), _Locale_strcmp(), _lzx_get_bytes(), _main(), _mbscmp_l(), _server_read_data(), _server_read_request(), _Stl_loc_combine_names(), _strcoll_l(), _test_name_blob(), _test_reg_key(), _test_request_url(), _test_status_code(), _TIFFVGetField(), _TIFFVSetField(), AbsoluteToRelative(), acpi_button_add(), AcpiEvaluateObject(), AcpiExInterpreterTraceEnabled(), AcpiGetHandle(), AcpiNsGetDeviceCallback(), AcpiNsRootInitialize(), AcpiUtGetInterface(), AcpiUtIsPciRootBridge(), AcpiUtRemoveInterface(), add_declaration(), add_importlib(), add_interface_typeinfo(), add_loadconfig(), add_option(), add_typedef_typeinfo(), adns_inet_aton(), alloc_importinfo(), append_type_signature(), assign_file_addresses(), AtaDeviceIsXboxDrive(), basic_tests(), BinsertTest::binsert1(), BinsertTest::binsert2(), BreadthFirstCmp(), broken(), RopeTest::bug_report(), Bus_PDO_QueryDeviceId(), Bus_PlugInDevice(), BusLogic_ReadHostAdapterConfiguration(), BusLogic_TargetDeviceInquiry(), StringTest::c_str(), cache_containers_enum(), can_skip_message(), ccf_options(), CDecodeMsg_DecodeContent(), CDecodeMsg_FinalizeSignedContent(), CDecodeSignedMsg_GetParam(), CertAddEnhancedKeyUsageIdentifier(), CertCreateCTLContext(), CertFindAttribute(), CertFindExtension(), CertFindRDNAttr(), CertGetPublicKeyLength(), CertGetValidUsages(), CertRemoveEnhancedKeyUsageIdentifier(), cfgets(), BoundTest::char_str_less(), ChdirCmd(), Chdirs(), check(), check_cache(), check_cache_entry_infoA(), check_class(), check_class_(), check_dirid(), check_env_var_(), check_expected_method_(), check_expected_method_fmt(), check_generated_effects_(), check_key(), check_lnk_(), check_materials_(), check_mount(), check_prev_session(), check_profile_string_(), check_prop(), check_record(), check_record_(), check_reg_entries(), check_reg_str(), check_registry_value_(), check_storage_contents(), check_url_canonicalize(), check_url_combine(), check_version(), check_vertical_font(), CheckCdrwFilter(), checkToken(), chmc_init(), chmc_section_create(), chmc_section_destroy(), chmc_uncompressed_done(), ciffile_FindComponent(), ciffile_FindGroup(), cleanable(), client(), clnt_tli_create(), cmdMatch(), cmp_name(), cmpr(), CNG_ImportECCPubKey(), CNG_ImportPubKey(), CNG_PrepareSignature(), codeview_add_type_struct(), command(), CommandCls(), CommandDumpSector(), CommandExactSearchCmp(), CommandExit(), CommandHelp(), CommandPartInfo(), CommandSortCmp(), comp_FindSubFile(), compare_addrinfo(), compare_api_order(), compare_dirs(), compare_expr(), compare_function_rb(), compare_hash_broken_todo(), compare_hlsl_types(), compare_hlsl_types_rb(), compare_items(), compare_menu_data(), compare_metadata(), compare_param_hlsl_types(), compare_paths(), compare_query_(), compare_sig(), IncludesTest::compare_strings(), compare_subject_with_email_constraints(), compare_type(), compareAuthorityInfoAccess(), compareCTLInfo(), comparePublicKeyInfo(), compareRDNAttrs(), compareSMimeCapabilities(), CompareStorageDuids(), ComputeLNames(), ComputeRNames(), construct_lc_all(), context_handle_registered(), create_advanced_filter(), create_nsuri(), create_sic(), CRT_Tests(), CRYPT_CheckPolicies(), CRYPT_CheckUsages(), CRYPT_CriticalExtensionsSupported(), CRYPT_FormatAuthorityInfoAccess(), CRYPT_GetBuiltinDecoder(), CRYPT_GetBuiltinEncoder(), CRYPT_GetBuiltinFormatFunction(), CRYPT_GetUrlFromCertificateIssuer(), CryptCATEnumerateMember(), CSignedEncodeMsg_GetParam(), d3dcompiler_shader_reflection_constant_buffer_GetVariableByName(), d3dcompiler_shader_reflection_GetConstantBufferByName(), d3dcompiler_shader_reflection_GetResourceBindingDescByName(), d3dcompiler_shader_reflection_GetVariableByName(), d3dcompiler_shader_reflection_type_GetMemberTypeByName(), d3dx_effect_GetPassByName(), D3DXCreateKeyframedAnimationSetTest(), D3DXFrameFind(), d3dxinclude_open(), D3DXLoadMeshTest(), StringTest::data(), DbgHelpAddStringToTable(), debug_init(), decodeBase64WithLenFmt(), delete_dir(), delete_hash_entry(), DetermineCpuVendor(), device_disabled_registry(), DisplayArpEntries(), DisplayFilter(), DliFailHook(), DliHook(), DliNotifyHook(), Dns_Ip4StringToAddress_A(), doChild(), doChildren(), DoLAYOUT(), DoOpen(), draw_text_2(), DriverEnumProc(), drop_window_proc(), dump_extension(), dwarflookupnameinunit(), dwarflookupsubname(), elf_find_section(), elf_find_section_type(), elf_hash_symtab(), elf_lookup_symtab(), CHttpParser::EntityHeader(), enum_all_fonts_proc(), enum_components_Next(), enum_gac_assemblies(), enum_gac_assembly_dirs(), enum_ms_shell_dlg2_proc(), enum_ms_shell_dlg_proc(), enumerate_gl_extensions(), EnumJoysticks(), ept_map(), ET2_check_change(), ExceptionFilter(), expect_band_content_(), expect_err_(), expect_event(), expect_files(), expect_LayerValue_imp(), expect_Sdb_imp(), expect_str_(), ext3_is_dir_empty(), failuredllhook(), failuresyshook(), fdi_mem_notify(), fdi_mem_open(), file_has_content(), file_write_http_header(), FileToURL(), find_arg(), find_caught_type(), find_counter_value(), find_ept_entry(), find_font_proc(), find_identifier(), find_importinfo(), find_matching_domain_component(), find_matching_rdn_attr(), find_name(), find_nls(), find_or_create_directory(), find_policy_qualifier(), find_ps_factory(), find_registry_key(), find_rossym_section(), FindAdapterKey(), FindOrAddString(), findSupportedOID(), CWebService::Finish(), fix_filename_for_c(), format_parameterized_type_c_name(), FormatVerisignExtension(), fs_open(), FTPChdir(), FTPChdir3(), FTPChdirAndGetCWD(), FTPChmod(), FTPCloseHost(), FTPCmd(), FTPCmdNoResponse(), FTPDecodeURL(), FTPDelete(), FTPEndDataCmd(), FTPFileExistsNlst(), FTPFileExistsStat(), FTPFileModificationTime(), FTPFileSize(), FTPFileSizeAndModificationTime(), FTPFileType(), FTPGetCWD(), FTPGetFiles3(), FTPGetOneFile3(), FTPInitConnectionInfo(), FTPInitializeAnonPassword(), FTPInitializeOurHostName(), FTPIsDir(), FTPIsRegularFile(), FTPList(), FTPListToMemory2(), FTPLocalGlob(), FTPLocalRecursiveFileList2(), FTPLoginHost(), FTPMkdir2(), FTPOpenHost(), FTPOpenHostNoLogin(), FTPPutFiles3(), FTPPutOneFile3(), FTPQueryFeatures(), FTPRemoteGlob(), FTPRemoteHelp(), FTPRename(), FTPRmdir(), FTPSetTransferType(), FTPShutdownHost(), FTPStartDataCmd(), FTPSymlink(), FTPUmask(), FTPUtime(), generate_one_joliet_directory(), generate_xa_rr_attributes(), CHttpParser::GenerelHeader(), generic_handle_registered(), get_annotation_by_name(), get_assembly_directory(), get_basename_search_flags(), get_callas_source(), get_char_width_proc(), get_constants_desc(), get_context_handle_offset(), get_epm_handle_client(), get_file_rev(), get_generic_handle_offset(), get_glyph_indices(), get_locale(), get_mono_path(), get_number_of_folders(), get_parameter_by_name(), get_proc_address64(), get_stgdef(), get_target_info(), get_technique_by_name(), get_test_source_file(), get_variable(), getclnthandle(), GetDeviceName(), getdlgitem_test_dialog_proc(), GetImportFunctionNamesByModule(), getkeyserv_handle(), getnetconfigent(), getnetid(), getopt(), GetOurHostName(), getpublicandprivatekey(), GetSectionHdrByName(), GetSystemName(), gettext_msg_thread(), getVKNum(), getwhoisserver(), gl_fixup(), gl_local_filename_completion_proc(), gluCheckExtension(), group_cmp(), HalpPrepareStallExecution(), handle_escape_cmd(), handle_gdb_query(), handle_gdb_set_thread(), handle_ocsp_response(), handle_seh_pragma(), handle_switch(), handle_switch_str(), HasSeenOneTimeMessage(), HelpCmd(), hide_reloc_dir(), HLPFILE_AddHotSpotLinks(), HLPFILE_BrowseParagraph(), HLPFILE_ReadHlpFile(), HashTest::hmap1(), HttpHeaders_test(), i8042ParseSMBiosTables(), IAssemblyCacheImpl_InstallAssembly(), IDirectXFileDataImpl_GetData(), import_certs_from_dir(), init_leases_list(), init_output_registers(), InitDeviceList(), InitTermcap(), InsertTest::insert1(), InsertTest::insert2(), insert_boot_cat(), insert_file_entry(), InternetCanonicalizeUrl_test(), InternetCrackUrl_test(), InternetCreateUrlA_test(), InternetReadFile_chunked_test(), InternetReadFile_test(), IntGdiLoadFontsFromMemory(), IntVideoPortGetProcAddress(), CDefViewBckgrndMenu::InvokeCommand(), CNetConUiObject::InvokeCommand(), BtrfsContextMenu::InvokeCommand(), CZipFolder::InvokeCommand(), IopCreateArcNamesCd(), is_epm_destination_local(), is_font_installed_fullname_proc(), is_in_strarray(), is_inherited_method(), is_interpreted_func(), is_local_machineA(), is_override_method(), is_postscript_printer(), is_same_parameter(), is_ssi_file(), is_supported_doc_mime(), isKeyWord(), iso9660_check(), iso9660_file_length(), IsReconnectHackNeeded(), IStreamIteratorTest::istmit1(), IterTest::iter1(), IterTest::iter3(), ITypeLib2_Constructor_SLTG(), joliet_compare_dirs(), joliet_sort_n_finish(), KdbpCmdBackTrace(), KdbpCmdBreakPoint(), KdbpCmdDisassembleX(), KdbpCmdSet(), KdbpCommandHistoryAppend(), KdbpDoCommand(), KiGetCpuVendor(), kw_cmp_func(), ldap_parse_sort_controlW(), ldap_parse_vlv_controlW(), LdrpNameToOrdinal(), LdrpSnapThunk(), LlbLoadOsLoader(), load_mono(), load_secondary_signatures(), CJournaledTestList::LoadJournalFile(), local_rpcb(), locale::locale(), locale_to_sname(), login(), Lookup(), LookupAddressForName(), ls(), LsCacheLookup(), lspci_process_line(), macho_find_segment_section(), macho_finish_stabs(), macho_load_section_info(), MACRO_Lookup(), MACRO_RegisterRoutine(), main(), make_sun_label(), match(), match_cert_id(), match_dns_to_subject_dn(), matherr_callback(), MaxTest::max2(), MaxTest::maxelem2(), MayUseFirewall(), merge_old_directory_into_tree(), merge_previous_session(), merge_remaining_entries(), messages_equal(), MinTest::min2(), MinTest::minelem2(), MiSnapThunk(), mixer_test_deviceA(), mls(), MMDRV_Install(), monitor_enum_proc(), msgbox_hook_proc(), MsgConversionProcW(), name_to_codepage(), NameCmp(), NameToOrdinal(), netname2host(), netname2user(), new_key_container(), nFTPChdirAndGetCWD(), no_stop_main(), NotifyInfo(), nsDirectoryServiceProvider2_GetFile(), nsDirectoryServiceProvider2_GetFiles(), NSP_GetServiceByNameHeapAllocW(), object_load_callback_frame(), oc_long(), odbc_absent(), odbc_present(), of_cancel_id(), of_type(), ok_method_sequence_(), ok_seq_(), ok_sequence_(), Open(), open_typelib(), option_callback(), outputdebugstring_new_model_vectored_handler(), outputdebugstring_vectored_handler(), page_dlg_proc(), param_rb_compare(), parent_wnd_proc(), parse_arguments(), parse_ncp(), parse_object_parts(), parse_options(), parse_parameters(), parse_target(), parse_template_members_list(), parseargs(), PartialTest::parsrt2(), PartialTest::parsrtc2(), path_name(), PathFindSuffixArrayA(), pdb_get_stream_by_name(), pdb_parse_cmd_string(), pe_locate_with_coff_symbol_table(), PeLdrpBindImportName(), PerformLookup(), pev_get_val(), pev_set_value(), png_read_text(), pointer_tests(), pplookup(), prepare_test(), principal_cmp(), print_something(), PrintAdapterDescription(), PRINTDLG_CreateDevNames(), PRINTF_ATTR(), process2(), process_directory(), process_sub(), ProcessCommandLine(), ProcessLpcRequest(), ProtocolSink_ReportData(), proxtrans(), PwdCmd(), QueryConfig2A(), r_verify_inifile(), rangematch(), RCmd(), read_rcfile(), recvrequest(), Release(), remove_sic(), CHttpParser::RequestHeader(), CHttpParser::RequestLine(), ReverseNameCmp(), rpc_call(), rpc_reg(), rpcrt4_get_conn_protseq_ops(), RPCRT4_get_or_create_serverprotseq(), rpcrt4_get_protseq_ops(), RPCRT4_GetAssociation(), RPCRT4_protseq_is_endpoint_registered(), RpcServerAssoc_GetAssociation(), rstr(), run_in_temp_desktop_thread_func(), run_test(), RunBookmarkEditor(), ruserpass(), s_authinfo_test(), SaveUnsavedBookmark(), scan_directory_tree(), scan_sparc_boot(), seamless_process_line(), search_tree_file(), SeiCompareFunctionName(), SeiPatchImportsByName(), SendCommand(), sendrequest(), SError(), server_thread(), service_main(), service_mainA(), set_fs_defaults(), set_LogFile(), set_policy_text(), settype(), setup_dinput_options(), setup_dsound_options(), setup_tables(), SetupLdrScanBootDrivers(), SetXtermTitle(), sha_check(), shader_arb_generate_pshader(), shader_arb_get_register_name(), shader_arb_request_a0(), shader_glsl_setup_vs3_output(), shader_match_semantic(), shader_usage_from_semantic_name(), sheet_callback(), shell(), TestCase::shouldRunThis(), show_store_certs(), ShowInfo(), sic_open(), simple_callbackA(), simple_mixed_client(), SlistTest::slist1(), SOFTPUB_VerifyImageHash(), sort_n_finish(), source_rb_compare(), SpoolGetCmd(), SpoolPutCmd(), SpoolX(), spy_init(), stabs_find_include(), stabs_pts_read_type_def(), START_TEST(), statusclb_OnDataAvailable(), SortTest::stblsrt1(), BsearchTest::str_compare(), MaxTest::str_compare(), MinTest::str_compare(), PartialTest::str_compare(), str_equal(), SearchTest::str_equal(), strarray_exists(), strCmp(), strendswith(), SortTest::string_less(), CWebService::Submit(), subtest_InsertObject(), subtest_undo(), subtest_undo_control(), sunboot_write(), svc_create(), svc_find(), svc_tli_create(), sw_GetProcAddress(), SwapTest::swprnge1(), symt_add_udt_element(), symt_find_type_by_name(), tagNameCompare(), terminate_string(), test(), test___getmainargs(), test___non_rtti_object(), test___std_type_info(), test___unDName(), test__get_output_format(), test__Gettnames(), test__lcreat(), test__popen(), test__popen_read_child(), Test__sys_errlist(), test__wfopen_s(), test_actctx_classes(), test_AlgIDToOID(), test_AppendMenu(), test_argify(), test_asciimode(), Test_asctime(), test_asctime(), test_async_read(), test_asyncWAVE(), test_asyncWaveTypeMpegvideo(), test_AutoOpenWAVE(), test_aw_conversion_dlgproc2(), test_aw_conversion_dlgprocA(), test_aw_conversion_dlgprocW(), test_aw_conversion_wndproc(), test_bad_cast(), test_bad_typeid(), test_basetypes(), test_basic_auth_credentials_different(), test_basic_auth_credentials_end_session(), test_basic_auth_credentials_reuse(), test_BcryptHash(), test_bitmap_font_metrics(), test_bogus_accept_types_array(), test_button_class(), test_callback(), test_canceleditlabel(), test_case_insensitive(), test_cert_struct(), test_cert_struct_string(), test_CertRDNValueToStrA(), test_charset(), test_CharToOem_OemToChar(), test_ChooseFontA(), test_class_name(), test_class_name_(), test_classesroot(), test_classesroot_enum(), test_ClassIDs(), test_click_make_new_folder_button(), test_ClipCursor_dirty(), test_combo_editselection(), test_combo_editselection_focus(), test_comboex(), test_communication(), test_Console(), test_constant_table(), test_convert(), test_ConvertGuidToString(), test_ConvertStringSidToSid(), test_cookie_attrs(), test_cookie_url(), test_copy(), test_copy_key_class(), test_copyto(), test_costs(), test_counter_values(), test_crack_url(), test_create(), test_create_delete_svc(), test_create_env(), test_create_skin_info(), test_CreateBody(), test_createconfigstream(), test_CreateMessage(), test_CreateMetadataWriterFromReader(), test_CreateWellKnownSid(), test_cryptunprotectdata(), test_CurrentDirectoryA(), test_data_handles(), test_db(), test_dbcs_WM_CHAR(), test_dbg_print_except_handler(), test_DceErrorInqTextA(), test_dde(), test_dde_default_app(), test_ddeml_client(), test_debug_heap(), test_debug_loop_wow64(), test_decodeAltName(), test_decodeCertPolicies(), test_decodeCertPolicyMappings(), test_decodeCertToBeSigned(), test_decodeCMSSignerInfo(), test_decodeEnhancedKeyUsage(), test_decodeExtensions(), test_decodeOCSPBasicResponseInfo(), test_decodeOCSPBasicSignedResponseInfo(), test_decodeOCSPResponseInfo(), test_decodePKCSAttribute(), test_decodePKCSAttributes(), test_decodePKCSContentInfo(), test_decodePKCSSignerInfo(), test_decodePolicyQualifierUserNotice(), test_decodeSPCIndirectDataContent(), test_default_service_port(), test_defwinproc(), test_demangle(), test_demangle_datatype(), test_desktop_winproc(), test_device_info(), test_device_interface_key(), test_devnode(), Test_Dim(), test_domain_password(), test_dos_devices(), test_DrawDib_sizeimage(), test_dtm_set_format(), test_edit_control_2(), test_edit_control_6(), test_editbox(), test_editselection(), test_editselection_focus(), test_effect_find_next_valid_technique(), test_effect_parameter_value(), test_effect_setvalue_object(), test_EM_EXLIMITTEXT(), test_EM_EXSETSEL(), test_EM_GETLINE(), test_EM_GETMODIFY(), test_EM_GETSELTEXT(), test_EM_GETTEXTLENGTHEX(), test_EM_GETTEXTRANGE(), test_EM_SETSEL(), test_EM_SETTEXTEX(), test_EM_STREAMIN(), test_EM_STREAMOUT(), test_enter(), test_enum_container(), test_enum_provider_types(), test_enum_providers(), test_enum_svc(), test_enum_value(), test_enumdisplaydevices_monitor(), test_EnumFontFamilies(), test_EnumFonts(), test_EnumFonts_subst(), test_EnumProcessModules(), test_environment_manipulation(), test_espassword(), test_EventLog(), test_eventlog_start(), test_exception(), test_ExpandEnvironmentStringsA(), test_extension_helper(), test_extra_block(), test_ExtractAssociatedIcon(), test_fcvt(), test_file_put_get(), test_fillroot(), test_filter_graph(), test_find_executable(), test_find_url_cache_entriesA(), test_FindFirstFileA(), test_FindFirstFileExA(), test_FindMimeFromData(), test_findOIDInfo(), test_FoldStringA(), test_font_caps(), test_fontsize(), test_fopen_s(), test_format_record(), test_formatrecord(), test_formatrecord2(), test_formatrecord_package(), test_fprintf(), test_freed_hglobal(), test_fscanf(), test_fullpath(), test_fwprintf(), test_generic(), test_get_current_dir(), test_get_default_provider(), test_get_device_instance_id(), test_get_file_info(), test_get_profiles_dir(), test_get_servicekeyname(), test_get_set(), test_get_set_item(), test_get_set_text(), test_get_shader_constant_table_ex(), test_get_shader_constant_variables(), test_get_shader_samplers(), test_get_value(), test_GetConsoleOriginalTitleA(), test_GetConsoleTitleA(), test_GetDateFormatA(), test_GetDlgItemText(), test_GetFullPathNameA(), test_getgenerics(), test_GetGeoInfo(), test_gethostbyname(), test_getitemtext(), test_GetLocaleInfoA(), test_GetMappedFileName(), test_GetModuleBaseName(), test_getname(), test_GetNetworkParams(), test_GetNumberFormatA(), test_GetProcessImageFileName(), test_gettext(), test_GetTimeFormatA(), test_getuserobjectinformation(), test_GetVolumePathNameA(), test_GetVolumePathNamesForVolumeNameA(), test_GetWindowModuleFileName(), test_handle_list_attribute(), test_handles(), test_handles_process(), test_handles_thread2(), test_hdm_index_messages(), test_help_values(), test_http_cache(), test_http_info(), test_http_status(), test_I10_OUTPUT(), test_ICInfo(), test_ID3DXFont(), test_ifd_content(), test_image_load(), test_ImmDefaultHwnd(), test_import_resolution(), test_inputdesktop(), test_install_remove_odbc(), test_instances(), test_interface_identifier_conversion(), test_InternetCanonicalizeUrlA(), test_InternetQueryOptionA(), test_invalid_response_headers(), test_invariant(), test_invisible_winstation_child(), test_IStream_Clone(), test_itemedit(), test_ITEMIDLIST_format(), test_ITextDocument_Open(), test_key_names(), test_listbox_dlgdir(), test_listbox_LB_DIR(), test_locale_info(), test_long_url(), test_LookupAccountName(), test_LsaLookupNames2(), test_makepath(), test_makepath_s(), test_mciParser(), test_md5(), test_menu_add_string(), test_menu_resource_layout(), test_menu_search_bycommand(), test_MeshBuilder(), test_message_allocate_buffer(), test_message_from_64bit_number(), test_message_from_string(), test_message_ignore_inserts(), test_message_insufficient_buffer(), test_message_invalid_flags(), test_message_wrap(), test_MessageSetProp(), test_metadata_GIF_comment(), test_metadata_tEXt(), test_midi_mci(), test_midi_outfns(), test_mixed_package(), test_mounted_folder(), test_mru(), test_MRUListA(), test_msidecomposedesc(), test_MsiEnumComponents(), test_MsiEnumComponentsEx(), test_MsiEnumProducts(), test_MsiEnumProductsEx(), test_MsiGetFeatureInfo(), test_msiinsert(), test_msirecord(), test_multistring_termination(), test_namespaces_as_attributes(), test_NameToStrConversionA_(), test_nt_wow64(), test_null_enum(), test_null_provider(), test_object_name_(), Test_ofuncs(), test_one_sxs_and_one_local_1(), test_one_sxs_and_one_local_2(), test_openCloseWAVE(), test_OpenFileById(), test_original_file_name(), Test_Overread(), test_patch_registration(), test_PathMakePretty(), test_PathNameA(), test_PathRemoveBlanks(), test_PathStripPathA(), test_PathUndecorate(), test_PathUnExpandEnvStrings(), test_PathUnquoteSpaces(), test_PdhMakeCounterPathA(), test_PFXImportCertStore(), test_pipes(), test_play(), test_playWAVE(), test_playWaveTypeMpegvideo(), test_ports_client(), test_ports_server(), test_Predefined(), test_primary_keys(), test_printf_c99(), test_printf_fp(), test_printf_legacy_msvcrt(), test_printf_legacy_three_digit_exp(), test_printf_legacy_wide(), test_printf_natural_string(), test_printf_width_specification(), test_process_security(), test_profile_sections(), test_profile_sections_names(), test_profile_string(), test_profile_struct(), test_props(), test_proxy_direct(), test_proxy_indirect(), test_publish(), test_query_dos_deviceA(), test_queryconfig2(), test_readboundary(), test_readvirtualmemory(), Test_RealGetWindowClass(), test_recordWAVE(), test_reflection_bound_resources(), test_reflection_constant_buffer(), test_reflection_desc_ps(), test_reflection_desc_ps_output(), test_reflection_desc_vs(), test_reg_copy_tree(), test_reg_load_key(), test_register_typelib(), test_registerOIDInfo(), test_registerset(), test_registry_property_a(), test_relative_path(), test_render_filter_priority(), test_ReOpenFile(), test_response_without_headers(), test_RpcServerInqDefaultPrincName(), test_RpcStringBindingFromBinding(), test_RpcStringBindingParseA(), test_RtlInitString(), test_RtlIpv4AddressToStringEx(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), test_rtti(), test_rw_order(), test_SafeArrayChangeTypeEx(), test_save(), test_ScCopyRelocProps(), test_search_path(), test_searchenv(), test_SearchPathA(), test_secure_connection(), test_select(), test_sequence(), test_set_getsockopt(), test_set_provider_ex(), test_set_text(), test_setlocale(), test_SetupCopyOEMInf(), test_SetupDiClassNameFromGuidA(), test_SetupPromptForDiskA(), test_sha1(), test_sha256(), test_sha384(), test_sha512(), test_SHGetRegPath(), test_SHGetValue(), Test_ShortTests(), test_SHQueryValueEx(), test_SHRegGetValue(), test_simple_patch(), test_sip(), test_sip_create_indirect_data(), test_SnmpUtilOidToA(), test_sorting(), test_SPI_SETICONMETRICS(), test_splitpath(), test_sprintf(), test_SQLGetInstalledDrivers(), test_SQLGetPrivateProfileString(), test_SQLInstallDriverEx(), test_SQLInstallTranslatorEx(), test_sscanf(), test_sscanf_s(), test_state_image(), test_states(), test_status_control(), test_stdout_handle(), test_stock_fonts(), test_strftime(), test_string_conversion(), test_string_data(), test_string_termination(), test_suminfo(), test_suminfo_import(), test_system_tables(), test_tab(), test_targetpath(), test_thread_setlocale_func(), test_topmost(), test_towers(), test_try_transform(), test_TVM_SORTCHILDREN(), test_two_dlls_at_same_time(), test_type_info(), test_UiaNodeFromHandle(), test_undo(), test_undo_coalescing(), test_UrlApplyScheme(), test_urlcacheA(), test_UrlCombine(), test_UrlEscapeA(), test_UrlGetPart(), test_UrlUnescape(), test_user_agent(), test_user_agent_header(), test_utf8(), test_VarFormat(), test_verify_ecc_signature(), test_VerQueryValueA(), test_vertical_order(), test_view_get_error(), test_viewmodify(), test_vsnprintf_s(), test_vsnwprintf(), test_window_classes(), test_WM_CREATE(), test_WM_GETTEXT(), test_wm_set_get_text(), test_WM_SETFONT(), test_WM_SETTEXT(), test_wndproc_forwards(), test_write_registry_values(), test_xcvt(), test_XPath(), test_XSLPattern(), testAcquireSecurityContext(), testCodepage(), TestControlStyleDlgProc(), testD3DInclude_open(), testD3DXInclude_open(), testExportPublicKey(), testGetAdaptersInfo(), testGetDllDirectory(), testGetIfTable(), TestHostName(), testImportPublicKey(), testing_status_routine(), testInit(), testKeyUsage(), testQuery(), TestReturnValues(), TestSetCurrentDirectoryA(), TIFFGetClientInfo(), TIFFPrintDirectory(), TIFFSetClientInfo(), tls_thread_fn(), token(), toolbarcheck(), translate_line(), translateinfstring_test(), translateinfstringex_test(), twain_add_onedriver(), TWAIN_OpenDS(), type_info_before(), type_info_opequals_equals(), type_info_opnot_equals(), type_is_equal(), u_strcmp(), UDFLoadPartDesc(), UDFUpdatePartDesc(), UDFVerifyPartDesc(), universal(), unzStringFileNameCompare(), UrlCompareA(), use_raw_address(), user_type_offset(), user_type_registered(), username_cmp(), valid_protect_data(), verify_cert_revocation_from_aia_ext(), VfdCheckDriverFile(), VirtualChannelOpen(), wctrans(), wctype(), Win32_Tests(), wined3d_dll_init(), winetest_win_skip(), WINHELP_GetWindowInfo(), winproc_convA(), WINTRUST_GetTimeFromCounterSigner(), WINTRUST_GetTimeFromSigner(), wpp_add_define(), wpp_del_define(), wpp_lookup(), wpp_open(), write_conf_or_var_desc(), write_header_stmts(), write_locals(), write_packet(), write_progid(), write_proxy(), write_widl_using_macros(), WspiapiLookupNode(), wsprintfATest(), xkeymap_init(), xmlAddEncodingAlias(), xmlDelEncodingAlias(), xmlFastStrEqual(), xmlFindCharEncodingHandler(), xmlGetEncodingAlias(), xmlHashFindEntry(), xmlHashScanFull3(), xmlIsID(), xmlParseCharEncoding(), xmlStrcmp(), xmlStrEqual(), and XStringToKeysym().

◆ strcmpi()

static int strcmpi ( const char s1,
const char s2 
)
inlinestatic

Definition at line 82 of file string.h.

82{ return _strcmpi(s1, s2); }
_ACRTIMP int __cdecl _strcmpi(const char *, const char *)

Referenced by test_EventLog().

◆ strcoll()

_ACRTIMP int __cdecl strcoll ( const char str1,
const char str2 
)

Definition at line 1193 of file string.c.

1194{
1195 return _strcoll_l(str1, str2, NULL);
1196}
int CDECL _strcoll_l(const char *str1, const char *str2, _locale_t locale)
Definition: string.c:1175

◆ strcpy()

_ACRTIMP char *__cdecl strcpy ( char dst,
const char src 
)

Definition at line 1340 of file string.c.

1341{
1342 char *ret = dst;
1343 while ((*dst++ = *src++));
1344 return ret;
1345}

◆ strcpy_s()

_ACRTIMP errno_t __cdecl strcpy_s ( char dst,
size_t  elem,
const char src 
)

Definition at line 1350 of file string.c.

1351{
1352 size_t i;
1353 if (!MSVCRT_CHECK_PMT(dst != 0)) return EINVAL;
1354 if (!MSVCRT_CHECK_PMT(elem != 0)) return EINVAL;
1355 if (!MSVCRT_CHECK_PMT(src != NULL))
1356 {
1357 dst[0] = '\0';
1358 return EINVAL;
1359 }
1360
1361 for(i = 0; i < elem; i++)
1362 {
1363 if((dst[i] = src[i]) == '\0') return 0;
1364 }
1365 MSVCRT_INVALID_PMT("dst[elem] is too small", ERANGE);
1366 dst[0] = '\0';
1367 return ERANGE;
1368}

Referenced by __acrt_fltout(), _get_tzname(), _Getdays_l(), _Getmonths_l(), _In_range_(), _mbscpy_s_l(), _strdup(), _strlwr_s_l_stat(), _strupr_s_l_stat(), _VCrtDbgReportA(), _VCrtDbgReportW(), GetFunctionFromForwarder(), LoadModuleWithSymbols(), main(), and throw().

◆ strcspn()

_ACRTIMP size_t __cdecl strcspn ( const char str,
const char reject 
)

Definition at line 3498 of file string.c.

3499{
3500 BOOL rejects[256];
3501 const char *p;
3502
3503 memset(rejects, 0, sizeof(rejects));
3504
3505 p = reject;
3506 while(*p)
3507 {
3508 rejects[(unsigned char)*p] = TRUE;
3509 p++;
3510 }
3511
3512 p = str;
3513 while(*p && !rejects[(unsigned char)*p]) p++;
3514 return p - str;
3515}
#define TRUE
Definition: types.h:120
unsigned int BOOL
Definition: ntddk_ex.h:94
GLfloat GLfloat p
Definition: glext.h:8902
#define memset(x, y, z)
Definition: compat.h:39

Referenced by __Extract_locale_name(), __ParseLocaleString(), _mbscspn_l(), add_sequence(), CmdLineParse(), ConvertStabs(), debugstr_ok(), get_annotation_by_name(), get_constant_by_name(), get_parameter_by_name(), gl_text(), KdbpCliInterpretInitFile(), KdbpCmdFilter(), KdbpDoCommand(), KdbpPagerInternal(), LoadWindowsCore(), NtLdrGetNextOption(), parse_options(), PcVideoSetDisplayMode(), RpnpParseExpression(), ATL::ChTraitsCRT< char >::StringSpanExcluding(), test_strcspn(), and WinLdrInitializePhase1().

◆ strdup()

◆ strerror()

_ACRTIMP char *__cdecl strerror ( int  err)

Definition at line 273 of file errno.c.

274{
276
277 if (!data->strerror_buffer)
278 if (!(data->strerror_buffer = malloc(256))) return NULL;
279
280 if (err < 0 || err > MSVCRT__sys_nerr) err = MSVCRT__sys_nerr;
281 strcpy( data->strerror_buffer, MSVCRT__sys_errlist[err] );
282 return data->strerror_buffer;
283}

◆ strerror_s()

_ACRTIMP errno_t __cdecl strerror_s ( char buffer,
size_t  numberOfElements,
int  errnum 
)

Definition at line 288 of file errno.c.

289{
290 char *ptr;
291
292 if (!buffer || !numberOfElements)
293 {
294 *_errno() = EINVAL;
295 return EINVAL;
296 }
297
298 if (errnum < 0 || errnum > MSVCRT__sys_nerr)
299 errnum = MSVCRT__sys_nerr;
300
301 ptr = MSVCRT__sys_errlist[errnum];
302 while (*ptr && numberOfElements > 1)
303 {
304 *buffer++ = *ptr++;
306 }
307
308 *buffer = '\0';
309 return 0;
310}
GLuint buffer
Definition: glext.h:5915

◆ stricmp()

static int stricmp ( const char s1,
const char s2 
)
inlinestatic

Definition at line 84 of file string.h.

84{ return _stricmp(s1, s2); }

◆ stricoll()

static int stricoll ( const char s1,
const char s2 
)
inlinestatic

Definition at line 85 of file string.h.

85{ return _stricoll(s1, s2); }
_ACRTIMP int __cdecl _stricoll(const char *, const char *)
Definition: string.c:1219

◆ strlen()

_ACRTIMP size_t __cdecl strlen ( const char str)

Definition at line 1597 of file string.c.

1598{
1599 const char *s = str;
1600 while (*s) s++;
1601 return s - str;
1602}
GLdouble s
Definition: gl.h:2039

Referenced by ___savestr(), __acrt_fp_strflt_to_string(), __acrt_OutputDebugStringA(), __crt_stdio_path_requires_backslash(), __MultiByteToWideChar(), __Named_exception::__Named_exception(), __report_error(), __SHCloneStrA(), __unDNameEx(), __WINE_PRINTF_ATTR(), _assert(), _check_paste(), _cputs(), _dbg_ILGetSTextPointer(), _Dispatch_type_(), _errptr(), _FindPESectionByName(), _fputs_internal(), _get_tzname(), _Getdays(), _Getdays_l(), _Getmonths(), _Getmonths_l(), _Gettnames(), _ILGetSTextPointer(), _In_range_(), FxDriver::_InitializeTag(), _Locale_time_create(), strstreambuf::_M_setup(), ios_base::_M_throw_failure(), _makepath(), _makepath_s(), _mbslen_l(), _mbsstr_l(), _mbstowcs_l(), _mbstowcs_l_helper(), _mbstrlen(), _mbstrlen_l(), LocaleTest::_money_put_get2(), LocaleTest::_money_put_X_bug(), _perror_internal(), _puts_internal(), _read_expect_sync_data(), _read_request_data(), _readex_expect_async(), _readex_expect_sync_data(), _searchenv_s(), _send_response_and_wait(), _send_response_ex_and_wait(), _server_read_data(), _set_input_string(), _splitpath_s(), _strdup(), _strncnt(), _strrev(), _strxfrm_l(), _Success_(), _svcauth_des(), _test_alg_name(), _test_request_url(), _test_status_code(), _test_stream_read(), _TIFFprintAscii(), _TIFFVSetField(), _tmain(), _VCrtDbgReportA(), AbbrevStr(), account(), acmDriverOpen(), acpi_bus_add(), AcpiDsInitObjectFromOp(), AcpiExConvertToObjectTypeString(), AcpiInstallInterface(), AcpiNsBuildPrefixedPathname(), AcpiNsNormalizePathname(), AcpiNsRootInitialize(), AcpiRemoveInterface(), AcpiRsCreatePciRoutingTable(), AcpiRsGetResourceSource(), AcpiTbFindTable(), AcpiUtInstallInterface(), AdapterFindName(), add_cert_extension_detail(), add_dir_item(), add_entry(), add_file(), add_files_to_folder(), add_hash(), add_index(), add_inode_ref(), add_line_to_buffer(), add_local_oid_text_to_control(), add_message_(), add_name(), add_option(), add_output_to_resources(), add_param_to_tree(), add_reglocator_entry(), add_sxs_dll_manifest(), add_typeinfo_block(), AddConsoleAliasA(), Addhost(), adns__makefinal_str(), adns__procdgram(), adns__vbuf_appendstr(), adns_rr_info(), adns_submit(), adns_submit_reverse_any(), announcedata_size(), AnsiToUnicode(), append_file(), append_message(), append_namespaces(), append_str(), ArcOpen(), array_compute_and_size_conformance(), array_compute_and_write_conformance(), array_tests(), assemble_shader(), assembleshader_test(), assign_file_addresses(), ata_str_to_mode(), AtaPdoQueryDeviceText(), AtaPdoQueryId(), AtaPdoQueryStorageDeviceProperty(), AtapiStartIo(), authdes_destroy(), authdes_pk_seccreate(), authdes_refresh(), authdes_seccreate(), authgss_create_default(), authsspi_create_default(), Base64WithHeaderAndTrailerToBinaryA(), basic_tests(), BinaryToBase64A(), BiosInitialize(), BookmarkCompletionFunction(), buf_to_string(), build_relative_path(), build_wpad_url(), BuildArgvForOsLoader(), BytesInHostent(), BytesInProtoent(), BytesInServent(), cabinet_next_cabinet(), cache_containers_add(), cache_containers_find(), cache_entry_create(), cache_spot(), calc_url_length(), CZipEnumerator::CalculateCRC32(), CalculateNameCRC32(), callback(), cb(), cb_KWBTree(), CbOfEncoded(), CC_CheckDigitsInEdit(), cd(), CDecodeMsg_DecodeHashedContent(), CDecodeMsg_SaveAlgorithmID(), CDecodeSignedMsg_GetParam(), CertAddEnhancedKeyUsageIdentifier(), CertGetEnhancedKeyUsage(), CertNameToStrA(), cfgets(), ChangeServiceConfigA(), CharLowerA(), CharToOemA(), CharUpperA(), check_4_special_identifiers(), check_backup_boot(), check_EM_FINDTEXTEX(), check_env_var_(), check_file_matches(), check_format(), check_generated_effects_(), check_in_programs_list(), check_option(), check_output(), check_path(), check_profile_string_(), check_prop(), check_reg_entries(), check_reg_multi(), CheckCdrwFilter(), CheckCDType(), CheckStringBuffer(), CheckStringBufferA(), CheckTerminalDeviceType(), chmc_namelist_create(), chmc_pmgi_add_entry(), chmc_pmgl_add_entry(), chmc_section_create(), chmc_sections_done(), chmc_strings_add(), chmc_system_done(), Chr2Str(), CHString::CHString(), ClassNametoClassID(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspMyStringMatches(), cleanup(), ClearCommandLine(), clnt_create_timed(), clnt_dg_destroy(), clnt_spcreateerror(), clnt_sperror(), clnt_vc_destroy(), clone_sig(), cmdMatch(), CmdStartExternalCommand(), CmdStartProcess(), cmpEnvironment(), CmpInitializeMachineDependentConfiguration(), cmpr(), CobbleDeviceName(), codeview_add_type_enum_field_list(), codeview_add_type_struct_field_list(), codeview_snarf(), combine_url(), COMCTL32_StrStrHelperA(), CommandCompletionFunction(), CommandHelp(), CommitUrlCacheEntryW(), comp_FindSubFile(), compare_menu_data(), compare_metadata(), compare_query_(), compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), CompareStringA(), compat_catpath(), compat_strdup(), compile_pixel_shader9(), compile_shader(), compound_init(), CompressPath(), compute_interface_signature_uuid(), compute_text_mesh(), ComputeStringSize(), config_parse_pair(), ConMgrProcessInputLine(), consistsof(), CONSOLE_ConOutPrintfV(), CONSOLE_ConOutPuts(), CONSOLE_PrintTextXY(), CONSOLE_PrintTextXYN(), CONSOLE_SetHighlightedTextXY(), CONSOLE_SetInvertedTextXY(), CONSOLE_SetStatusTextAutoFitX(), CONSOLE_SetStyledText(), CONSOLE_SetTextXY(), CONSOLE_SetUnderlinedTextXY(), ConsolePager(), context_create(), convert_file_list(), convert_input_data(), convert_str_to_blob(), ConvertCoffs(), ConvertDbgHelp(), ConvertPathCase(), ConvertStabs(), ConvertToUnicodeString(), ConvertToWideChar(), copy_file(), copy_name(), CopyAsciizToUnicodeString(), CopyHostentToBuffer(), CopyProtoentToBuffer(), CopyQuerySetIndirectA(), CopyServentToBuffer(), CopyString(), crash_and_debug(), crash_and_winedbg(), CCFDATAStorage::Create(), create_body_offset_list(), create_cache(), create_doc_with_string(), create_emf(), create_file(), create_file_data(), create_inf_file(), create_library_block(), create_locinfo(), create_manifest_file(), create_menuitem_from_data(), create_metafile(), create_mf(), create_open_state(), create_process_params(), create_stream_from_string(), create_temp_manifest_file(), create_test_association(), create_test_entries(), create_test_file(), create_test_stream(), create_test_verb_dde(), create_websocket_accept(), create_wide_manifest(), CreateColorSpaceA(), CreateEnhMetaFileA(), CreateOutputFile(), CreatePropertySheetPageA(), CreateServiceA(), createTestFile(), CreateTestFile(), CRYPT_AddPrefixA(), CRYPT_AddPrefixAToW(), CRYPT_AsnDecodeOidIgnoreTag(), CRYPT_AsnEncodeStringCoerce(), CRYPT_ConstructAlgorithmId(), CRYPT_ConstructAttribute(), CRYPT_CopyAlgorithmId(), CRYPT_CopyAttributes(), CRYPT_CopyCMSSignerInfo(), CRYPT_CopySignerInfo(), CRYPT_ExportPublicKeyInfoEx(), CRYPT_FixUpAlgorithmID(), CRYPT_FormatAuthorityInfoAccess(), CRYPT_FormatEnhancedKeyUsage(), CRYPT_FormatUserNotice(), CRYPT_SizeOfAttributes(), CryptInitOIDFunctionSet(), CryptInstallOIDFunctionAddress(), CryptRegisterOIDInfo(), CryptStringToBinaryA(), CryptUnregisterOIDInfo(), CSignedEncodeMsg_Open(), csp_hostaddr(), ctl2_encode_name(), ctl2_encode_string(), CurrentURL(), d3dcompiler_strdup(), d3dpreprocess_test(), d3drm3_Load(), d3drm_mesh_builder3_Load(), d3drm_object_get_class_name(), d3drm_object_get_name(), d3drm_object_set_name(), d3dx9_effect_init(), d3dx9_skin_info_SetBoneName(), d3dx_include_from_file_open(), D3DXCreateKeyframedAnimationSet(), d3dxinclude_open(), D3DXLoadMeshFromXInMemory(), D3DXLoadSkinMeshFromXof(), DataObjectImpl_CreateComplex(), DataObjectImpl_CreateText(), DbgCommandString(), DbgHelpAddLineNumber(), DbgHelpAddStringToTable(), DbgPrompt(), dde_execute(), debug_printf(), debug_target_return_string(), debuglvcolumn_t(), debuglvitem_t(), debugscrollinfo(), debugstr_PROC_PF(), decodeA(), decodeAndCompareBase64_A(), DecodeServEntFromString(), decodeW(), default_dbgstr_an(), delete(), delete_cab_files(), delete_dir(), delete_hash_entry(), delete_pfmsitest_files(), deleteDriverFiles(), detect_autoproxyconfig_url_dns(), detect_proxy_autoconfig_url_dns(), DetectSerialPointerPeripheral(), DeviceCapabilitiesA(), disk_create(), disk_enum_devices(), disk_query_directory(), disk_query_volume_information(), DiskDetermineMediaTypes(), DiskGenerateDeviceName(), display_dhcp_packet(), DisplayScreen(), DlgMainProc(), DllRegisterServer(), Dns_GetBufferLengthForStringCopy(), dns_strdup_u(), Dns_StringCopy(), do_chmod(), _Messages::do_get(), doc_load_string(), doChild(), doChildren(), DoCommand(), DocumentPropertiesA(), domacro(), doproxy(), DosBuildSysEnvBlock(), DosChangeDirectory(), DosCopyEnvironmentBlock(), DosCreateProcess(), DosInitialize(), DosKRNLInitialize(), DosLoadExecutableInternal(), DoTestEntry(), doWinMain(), DP_CopyDPNAMEStruct(), DP_IF_GetGroupName(), DP_IF_GetPlayerName(), DPLAYX_CopyConnStructA(), DPLAYX_SizeOfLobbyDataA(), dprintf(), DragQueryFileA(), draw_text_2(), DrawListEntries(), DrawProgressBar(), DrawTextExA(), DriveMapIsValidDriveString(), DriverEntry(), drop_window_proc(), dump_sortkeys(), dump_system_info(), dump_TypeDesc(), dump_types(), DuplicateStringA(), DuplicateStringAEx(), dwarf2_get_cpp_name(), dwarf2_parse_line_numbers(), dwarf2_swallow_attribute(), dwarfgetparams(), dwarfpctoline(), dwFlags2str(), Dynscat(), EDIT_WM_GetText(), editor_handle_message(), elf_hash_symtab(), encode_compare_base64_W(), encode_file_attrs(), encodeA(), encodeAndCompareBase64_A(), encodeBase64A(), EndLog(), enter_dns_host(), enum_gac_assemblies(), enum_gac_assembly_dirs(), enum_password_proc(), EnumerateNt4ServiceSoundDevices(), EnumGroups_cb(), EnumPlayers_cb(), EnumPrintersA(), env_get_index(), env_init(), epm_register(), AdjTest::equal_length(), errflags(), Error(), eto_emf_enum_proc(), ewmh_set_wm_name(), exec_tests(), expand_variables_buffer(), ExpandEnvironmentStringsForUserA(), ExpCreateSystemRootLink(), expect_layeronly_imp(), expect_str_(), export_record(), ext2_add_entry(), Ext2IsWearingCloak(), ext4_extract_xattr_name(), ext4_get_xattr_name_prefix(), ext_in_list(), ExtOpenFile(), Extract(), CCabinet::ExtractFile(), ExtractIP(), ExtSearchDirectoryBufferForFile(), failure_test(), FatLookupFile(), FatXSearchDirectoryBufferForFile(), fci_flush_cabinet(), fci_flush_folder(), FCIAddFile(), FD31_MapStringPairsToW(), fdi_decomp(), fdi_notify_extract(), FDI_read_string(), FDICopy(), FGets(), file_existsA(), file_matches_data(), file_nameA(), file_regex(), file_write_http_header(), FILEDLG95_OnOpen(), FilenameA2W_N(), FilenameExtensionIndicatesASCII(), FileToURL(), fill_file_node(), fill_url_components(), FillBookmarkInfo(), find_counter_value(), find_default_subvol(), find_layer(), find_ne_resource(), find_send_dir(), find_str(), FindAdapterKey(), FindDfltProvRegVals(), findend(), CCabinet::FindNext(), FindOrAddString(), FindProvTypesRegVals(), fix_filename_for_c(), FlatBuf_Arg_WriteString(), flatten_cmdline(), FldrSetIdentifier(), flush_extents(), flush_refs(), FONT_mbtowc(), format_apicontract_macro(), format_parameterized_type_c_name(), format_test_result(), FormatVerisignExtension(), found_path(), fprintfSocket(), fputs(), fputsSocket(), FsGetFirstNameFromPath(), FsGetNumPathParts(), FsOpenFile(), FsRegisterDevice(), ftoes(), ftofs(), FTP_Connect(), FTP_ParseNextFile(), FTP_SendCommandA(), FtpCommandW(), FTPDecodeURL(), FTPFtw(), FTPList(), FTPLoginHost(), FTPMkdir2(), FTPRequestMlsOptions(), gen_add_list(), gen_forward_chain_testdll(), Generate(), generate_effects(), generate_rr_extension_record(), generate_xa_rr_attributes(), GenericListKeyPress(), get_annotation_by_name(), get_args(), get_assembly_search_flags(), get_attr(), get_base_name(), get_basename_search_flags(), get_cert_usages(), get_class_string(), get_constant_by_name(), get_cpu_from_name(), get_default_domain(), get_env(), get_events(), get_file_nameW(), get_filename_without_base(), get_graft(), get_header_size(), get_info_log_line(), get_line(), get_lineA(), get_long_path_name(), get_parameter_by_name(), get_platform_from_name(), get_pnames(), get_special_folder(), get_substitution(), get_temp_file(), get_torito_desc(), get_url(), get_winpos_flags(), GetAdapterFriendlyName(), GetAnsiEnvironmentSize(), ATL::ChTraitsCRT< char >::GetBaseTypeLength(), GetBookmark(), getCharacterInfo(), getChildString(), getChildStringW(), GetConsoleAliasA(), GetContentsOfDialog(), GetContentsOfMenu(), GetDeviceDriverBaseNameA(), GetDeviceDriverFileNameA(), getdomainname(), GetDriverName(), getenv_s(), GetExpandedNameA(), GetExportFunctionNames(), GetImportFunctionNamesByModule(), GetImportModuleNames(), getit(), File::getline(), getline(), GetLineExtentA(), getLongComment(), GetMenuStringA(), GetMIMETypeSubKeyA(), GetModuleFileNameExA(), getnetconfigent(), getnetid(), getnetpath(), GetNextArgumentValue(), CRegistryKey::GetNextSubkeyName(), GetNlsSectionName(), getopt_long(), GetOSLoadingMethod(), GetOurHostName(), getpass(), GetPrinterDataExA(), GetPrinterDriverA(), GetPrintProcessorDirectoryA(), GetProtoOpenNetworkDatabase(), getpublicandprivatekey(), GetRequestAndWait(), getrpcent(), GetSectionNames(), getservbyname(), getservbyport(), GetStringTypeA(), GetSubkeyNames(), GetSystemName(), GetTextFaceA(), GetUnicodeAdapterName(), getVKNum(), GetWindowTextA(), gl_check_inputrc_for_vi(), gl_display_matches(), gl_do_tab_completion(), gl_error(), gl_extension_supported(), gl_fixup(), gl_histadd(), gl_local_filename_completion_proc(), gl_newline(), gl_puts(), gl_set_home_dir(), gl_strlen(), gl_tab(), gl_yank(), gluCheckExtension(), graftcp(), gz_error(), gz_open(), gzprintf(), gzputs(), HalpDebugPciDumpBus(), handle_cb_compound(), handle_child_line(), handle_mount(), handle_readdir(), HandleDumpAttributes(), has_extension(), hash_lookup(), heap_strdupA(), HEAP_strdupA2W_buf(), heap_strndupAtoW(), help(), HelpCmd(), hex_str(), hist_save(), HLPFILE_AddHotSpotLinks(), HLPFILE_AddPage(), HLPFILE_AllocLink(), HLPFILE_BrowseParagraph(), HLPFILE_FindSubFile(), HLPFILE_ReadHlpFile(), HLPFILE_RtfAddControl(), HLPFILE_SystemCommands(), host2netname(), HTTP_ResolveName(), HttpHeaders_test(), I10_OUTPUT(), ICInfo(), ICInstall(), ICO_ExtractIconExW(), icy2utf8(), IDirectPlayLobby3AImpl_RunApplication(), IDirectXFileDataImpl_GetName(), IDirectXFileDataReferenceImpl_GetName(), image_check_alternate(), IMAGEHLP_GetSectionOffset(), import_base64_certs_from_fp(), import_certs_from_dir(), import_file(), import_reg(), InbvDisplayString(), inf_open_file_content(), InfGetMultiSzField(), InfGetStringField(), InfoTdiQueryGetInterfaceMIB(), InfpAddFieldToLine(), InfpAddKeyToLine(), InfpCacheAddSection(), IniAddSection(), IniAddSettingValueToSection(), TConfig::inifile_init(), IniGetSectionSettingNameSize(), IniGetSectionSettingValueSize(), IniModifySettingValue(), IniParseFile(), init(), TConfig::init_aliases(), init_boot_catalog(), init_d3d9(), init_filedlg_infoA(), init_format_base_info(), init_key(), init_logger_addr(), init_typeinfo(), CCabinet::InitCabinetHeader(), InitDeviceList(), InitDirComponents(), InitFunctionPtrs(), install_from_unix_file(), InstallEngine_EnumDownloadIDs(), InstallService(), instream_Read(), IntAddConsoleAlias(), InteractiveConsole(), InternalExplicitAccessAToW(), InternalTrusteeAToW(), INTERNET_SendCallback(), InternetCheckConnectionW(), InternetCreateUrlA_test(), InternetGetLastResponseInfoA(), InternetGetProxyInfo(), InternetReadFile_test(), InternetTransport_DoCommand(), IntExpungeConsoleCommandHistory(), IntGetConsoleAlias(), IntGetConsoleAliases(), IntGetConsoleAliasesLength(), IntGetConsoleCommandHistory(), IntGetConsoleCommandHistoryLength(), IntSetConsoleNumberOfCommands(), IntSetConsoleTitle(), INVLPG_Fixup(), IoiterTest::ioiter_test(), IopCreateArcNames(), IopReassignSystemRoot(), is_domain_suffix(), is_gecko_special_uri(), is_in_strarray(), is_keyword(), is_metadata_sym(), is_path_made_of(), is_ssi_file(), is_valid_file(), is_well_known_sid(), IsaPdoQueryDeviceText(), IsBadBoundedStringPtr(), iso9660_file_length(), iso_dump_types(), iso_send_connection_request(), IsoLookupFile(), IsOpt(), IsValidIP(), IsVesaBiosOk(), joliet_sort_n_finish(), joliet_strlen(), jpeg_open_backing_store(), kbd_rc(), KdbpCmdBackTrace(), KdbpCmdBreakPoint(), KdbpCmdDisassembleX(), KdbpCmdEvalExpression(), KdbpCmdFilter(), KdbpCmdMod(), KdbpCommandHistoryAppend(), KdbpInsertBreakPoint(), KdIoPuts(), KdIoReadLine(), KdpFilterEscapes(), KeGetBugMessageText(), KERNELBASE_lstrlenA(), TConfig::keyfile_init(), KmtFltSendStringToDriver(), KmtRunKernelTest(), KmtSendStringToDriver(), ldap_bind_sW(), ldap_bindW(), ldap_compare_ext_sW(), ldap_compare_extW(), ldap_compare_sW(), ldap_compareW(), ldap_simple_bind_sW(), ldap_simple_bindW(), char_traits< char >::length(), licence_send_new_licence_request(), licence_send_request(), list_to_string(), ListTests(), LlbEnvRead(), TMapLoader::Load(), load_licence(), load_string(), LoadAndBootWindows(), TMapLoader::LoadCharMap(), TMapLoader::LoadKeyMap(), LoadLibraryList(), LoadReactOSSetup(), locale_to_sname(), LogErrorConsole(), login(), LogInfoConsole(), LogMessage(), LogWarningConsole(), LookupAddressForName(), lspci_send(), lstrcpyA(), lstrlenA(), lwip_strnistr(), lwip_strnstr(), macdef(), MACRO_ChangeButtonBinding(), MACRO_CreateButton(), MACRO_JumpID(), MACRO_SetHelpOnFile(), main(), MainWndProc(), make_csconv(), make_file_orphan(), makedir(), makeFile(), map_dacl_2_nfs4acl(), map_nfs4ace_who(), MapAndLoad(), match_broken_arb_fog(), match_broken_nv_clip(), mbstowcs(), MBToWCSEx(), mdelete(), ME_StreamInRTFString(), ME_StreamOutRTFCharProps(), memcpy_max(), MENU_mnu2mnuii(), merge_path(), merge_previous_session(), mget(), MIME_GetExtensionA(), MimeBody_GetParameters(), MimeBody_GetProp(), MimeInternat_ConvertString(), MiSnapThunk(), mkstemps(), mls(), MMDRV_Install(), modtime(), mono_log_handler_fn(), mono_print_handler_fn(), mpg123_add_string(), mput(), MSCMS_basenameA(), MsgConversionProcW(), MsgiUnicodeToAnsiReply(), MsiEnumPatchesA(), msvcrt_argvtos_aw(), msvcrt_wstrdupa(), mswBufferAppendStrA(), mswBufferAppendStrLstA(), MUIClearPage(), MUIClearStyledText(), MUIClearText(), MultiByteToWideChar(), my_mbstowcs(), myGetToken(), myLower(), myPathRemoveBackslashA(), myUpper(), ncacn_pipe_name(), ncalrpc_pipe_name(), NcFTPConfirmResumeDownloadProc(), NcFTPConfirmResumeUploadProc(), NdrDllRegisterProxy(), NetBTNameEncode(), netfinger(), next_arg(), nfs41_client_owner(), nfs41_create(), nfs41_symlink_target(), nFTPChdirAndGetCWD(), node_to_string(), NotifyInfo(), NoUiDrawText2(), NSP_GetServiceByNameHeapAllocW(), NtfsFindMftRecord(), NtfsLookupFile(), NtLdrAddOptions(), NtLdrGetHigherPriorityOptions(), NtLdrGetOptionEx(), NtLdrUpdateOptions(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextA(), oappend(), oc_short(), odbc_absent(), odbc_present(), OemToCharA(), OemToCharW(), of_reverse(), OLECONVERT_CreateCompObjStream(), OLECONVERT_GetOle20PresData(), OleMetafilePictFromIconAndLabel(), CDFParser::OnCabinetName(), CDFParser::OnDiskLabel(), OP_0fae(), OP_3DNowSuffix(), OP_SIMD_Suffix(), open_http_connection(), open_read_test_request(), open_typelib(), OpenDevice(), openlog(), OpenMsg(), OpenPrinterA(), TKeyDef::operator=(), __Named_exception::operator=(), CHString::operator=(), std::out_of_range_error::out_of_range_error(), Output(), OUTPUT_Line(), OutputDebugStringA(), OutputDebugStringW(), pa_ptr(), Pad(), parallel_enum_devices(), tinyxml2::XMLDocument::Parse(), parse_cie_details(), parse_date(), parse_env_overrides(), parse_errctl(), parse_extension_string(), parse_file(), parse_ncp(), parse_new_id3(), parse_object_members_list(), parse_options(), parse_response(), parse_retr_response(), parse_rr(), parse_script_result(), parse_server_and_port(), parse_texture_filename(), parse_top_response(), parse_uint(), ParseCommand(), ParseCommandLine(), TANSIParser::ParseEscape(), TANSIParser::ParseEscapeANSI(), ParseField(), ParseFile(), ParseHelpTopic(), ParseHostLine(), TTelnetHandler::ParseIAC(), tinyxml2::StrPair::ParseText(), ParseURLA(), PartitionDescription(), Tnclip::Paste(), path_name(), PathAddBackslashA(), PathAddExtensionA(), PathCleanupSpec(), pathcp(), PathFindNextComponentA(), PathFindSuffixArrayA(), PathIsPrefixA(), PathProcessCommandA(), PathQuoteSpacesA(), PathRemoveBackslashA(), PathRenameExtensionA(), PathStripPathA(), PathUndecorateA(), PathUnquoteSpacesA(), pbuf_strstr(), pdb_process_internal(), pdb_process_symbol_imports(), PdoHandleQueryDeviceText(), PdoHandleQueryHardwareId(), PeLdrAllocateDataTableEntry(), PeLdrpBindImportName(), PeLdrpCompareDllName(), PerfDataRefresh(), CDFParser::PerformFileCopy(), PerformInternalLookup(), PerformLookup(), perror(), PersistFile_Save(), PersistStreamInit_Save(), pf_output_format_str(), pipe_thread(), PNI_Fixup(), pool_strdup(), POP3Transport_CallbackProcessUSERResp(), POP3Transport_CallbackSendUSERCmd(), POP3Transport_CommandPASS(), POP3Transport_CommandUSER(), PopupError(), pp_add_define(), pp_xstrdup(), prbuf(), PrefOptCompletionFunction(), preprocess_shader(), pretty_print_option(), TConfig::print_aliases(), TConfig::print_groups(), print_insn(), print_something(), TConfig::print_value(), PrintDiskData(), PRINTDLG_CreateDevNames(), printer_enum_devices(), printercache_load_blob(), printercache_mkdir(), printercache_rename_blob(), printercache_save_blob(), printercache_unlink_blob(), printit(), PrintMenu(), PrintMessageAnsi(), PrintName(), PrintPartitionData(), printusage(), process_file(), process_inf(), process_long_option(), process_pending_renames(), process_preprocessor(), process_sub(), CHttpClient::ProcessRequest(), processRequest(), ProgressSetStep(), PropertyStorage_DictionaryWriter(), PropertyStorage_StoreNameWithId(), PropertyStorage_StringCopy(), propvariant_size(), PropVariantCopy(), ProviderSimple_GetPropertyValue(), PrSizeAndRateMeter(), PrStatBar(), pswitch(), put(), PutBookmark(), putenv_helper(), puts(), pvd_write(), PxeGetFileInformation(), PxeOpen(), QSI_DEF(), QueryFullProcessImageNameA(), quote(), RChangeServiceConfig2A(), RChangeServiceConfigA(), RCreateServiceA(), rdp_out_unistr(), rdp_send_logon_info(), rdpdr_send_available(), rdpdr_send_name(), read_client_conf(), read_expect_async(), read_file_test(), read_input_file(), read_merging_directory(), read_oid_info(), read_rcfile(), ReadCommand(), readconfiggeneric(), ReadConversion(), Readline(), readline(), RecycleBin5_Create(), referral_resolve(), reg_unreg_wine_test_class(), register_coclasses(), register_converters(), register_decoders(), register_encoders(), register_interfaces(), register_metadatareaders(), register_pixelformats(), register_progid(), register_server(), register_service(), RegisterBlueScreenMachineInformation(), RegisterExtensionForMIMETypeA(), RegisterMIMETypeForExtensionA(), RegisterString(), RegReadString(), RegSetValueA(), RegSetValueExA(), Release(), RemoteCompletionFunction(), remove_dir(), removedir(), renamefile(), RenderFILENAMEA(), Renew(), REnumDependentServicesA(), REnumServicesStatusExA(), replace_extension(), replacetextwithname(), CHttpClient::Report(), RequestHandleQueryPropertyRetrieveCachedData(), reset_adapter(), RetrieveModuleName(), RetrieveUrlCacheEntryStreamA(), ReverseIP(), RGetServiceDisplayNameA(), RGetServiceKeyNameA(), RosSymAggregate(), RosSymCreateFromMem(), RosSymGetAddressInformation(), rpc_call(), RpcNetworkInqProtseqsA(), RpcNetworkInqProtseqsW(), RPCRT4_BuildBindAckHeader(), rpcrt4_http_internet_connect(), rpcrt4_ncacn_http_open(), rpcrt4_ncacn_np_get_top_of_tower(), rpcrt4_ncalrpc_get_top_of_tower(), RPCRT4_strconcatA(), RpcStringBindingComposeA(), RpcStringBindingParseA(), RpcTransport_ParseTopOfTower(), RpnpParseExpression(), RQueryServiceConfig2A(), RQueryServiceConfigA(), RSAENH_CPGetProvParam(), rstr(), rstrncpy(), RtlAppendAsciizToString(), RtlInitAnsiString(), RtlInitAnsiStringEx(), RtlInitLargeAnsiString(), RtlInt64ToUnicodeString(), RtlIntegerToUnicodeString(), RtlIpv6AddressToStringA(), RtlSplayTreeTest(), run_script(), run_simple_script(), RunApplicationA_EnumLocalApplications(), runcmd(), ruserpass(), s_get_filename(), s_str_length(), s_str_t_length(), SafeAppendString(), save_av0(), save_blackbox(), save_cert_mgr_usages(), save_licence(), save_persistent_cookie(), save_sys_colors(), scan_directory_tree(), Scramble(), SdbCreateDatabase(), SdbGetFileAttributes(), search_tree_file(), searchfileinpath(), sec_out_mcs_data(), secure_proxy_connect(), send_chmod_command(), send_chown_command(), send_inode(), send_msg(), send_truncate_command(), send_utimes_command(), send_xattr(), SendCommand(), sendmail_extended_mapi(), SendQuote(), CServerClientSocket::SendText(), SendTime(), serial_enum_devices(), server_end_to_end_callback(), server_send_reply(), server_send_string(), server_thread(), service_mainA(), set_curr_dir_path(), set_de_path(), set_name_servers(), set_progname(), set_string(), SetBinaryClassId(), SetClassId(), SetDefaultPrinterA(), SetDifferenceTest::setdiff2(), SetEnvironmentStringsA(), SetIntersectionTest::setintr2(), setLayerValue(), TNetwork::SetLocalAddress(), setnetpath(), setnmap(), setpeer(), SetPrinterDataExA(), tinyxml2::StrPair::SetStr(), SetDifferenceTest::setsymd2(), SetUnionTest::setunon2(), setup_adapter(), SetupIterateCabinetA(), shader_arb_compile(), shader_signature_calculate_strings_length(), shader_signature_copy(), shader_sm4_read_instruction(), shader_trace_init(), shell(), shift_bytes(), SHLWAPI_StrStrHelperA(), TestCase::shouldRunThis(), ShowPartitionSizeInputBox(), SHStringFromGUIDA(), SHStripMneumonicA(), sic_base(), SIMD_Fixup(), simple_write_console(), site(), sizecmd(), skip_to_next_test(), skipsemi(), SLTG_DoRefs(), SMTPTransport_CallbackMessageSendTo(), SMTPTransport_CallbackSendHello(), SMTPTransport_CommandAUTH(), SMTPTransport_CommandMAIL(), SMTPTransport_CommandRCPT(), SMTPTransport_SendMessage(), SnmpUtilIdsToA(), sort_n_finish(), source_new(), sources_entry_create(), CHttpClient::SplitResource(), CHttpClient::SplitUri(), SpoolX(), SQLGetPrivateProfileString(), SQLValidDSN(), stabbuf_append(), stabs_new_include(), stabs_parse(), stabs_pts_read_type_def(), START_TEST(), StartDocPrinterA(), state_panic(), stime_arg1(), StoreNameInSft(), str2mac(), str_array_push(), str_dbg_pfd_flags(), Str_GetPtrA(), str_handle_lines(), str_printf(), Str_SetPtrA(), str_startswith(), str_to_uni(), StrA2WHeapAlloc(), strarray_tostring(), StrAryCpyHeapAllocA(), strcat_param(), StrCatBuffA(), StrCpyHeapAllocA(), StrDup(), strdupA(), StrDupA(), StrDupShortenPath(), strdupU(), stream_out_para_props(), stream_out_table_props(), strendswith(), strfmt(), string_to_hex(), string_width(), StringHashTableInit(), ATL::CSimpleStringT< BaseType, t_bMFCDLL >::StringLength(), dbgrpt_char_traits< char >::StringLength(), strip_path(), strip_quotes_and_unescape_envvars(), strip_spaces(), strlcat(), strlcpy(), Strncat(), StrNCatA(), Strnpcat(), strrstr(), strstr(), StrStrA(), StrStrIA(), StrTrimA(), subtest_InsertObject(), subtest_undo(), svcauth_gss_import_name(), SwapTest::swprnge1(), symbol_demangle(), SymEnumSourceFilesW(), SymEnumTypes(), SymMatchFileName(), symt_fill_sym_info(), SystemFunction006(), tcp_connect(), telProcessConsole(), test_3des(), test_3des112(), test___getmainargs(), test__get_narrow_winmain_command_line(), test__Gettnames(), test__hread(), test__lclose(), test__lcreat(), test__llopen(), test__llseek(), test__lread(), test__snprintf(), test__strtoi64(), test__wcstombs_s_l(), test_aes(), test_amh_corruption(), test_AppendMenu(), test_appsearch(), test_arb_vs_offset_limit(), test_argify(), test_ash1_corruption(), test_ash1_corruption2(), test_async_file_errors(), test_async_HttpSendRequestEx(), test_asyncWAVE(), test_authentication(), test_BodyDeleteProp(), test_builtin_sxs(), test_button_class(), test_cert_struct_string(), test_CertRDNValueToStrA(), test_cf_dataobject(), test_character_movement(), test_class_name_(), test_click_make_new_folder_button(), test_CoGetPSClsid(), test_complicated_cookie(), test_Console(), test_cookie_url(), test_copy_key_class(), test_counter_values(), test_crack_url(), test_create_effect_from_file(), test_createconfigstream(), test_CreateFile(), test_CreateFileA(), Test_CreateFontA(), test_CreateGroup(), test_CreateMultiProfileTransform(), test_createtext(), test_cred_multiple_use(), test_cryptprotectdata(), test_cryptunprotectdata(), test_ctrlz(), test_d3drm_load(), test_db(), test_dbg_print_except_handler(), test_dde(), test_dde_aw_transaction(), test_debug_children(), test_debug_heap(), test_debug_loop(), test_debugger(), test_decode_msg_get_param(), test_decodeInt(), test_def_itoa(), test_default_data(), test_delete(), test_des(), test_device_iface_detail(), test_device_info(), test_directory_filename(), test_domdoc(), test_DragQueryFile(), test_DrawState(), test_drive_letter_case(), test_edit_control_6(), test_EM_AUTOURLDETECT(), test_EM_EXLIMITTEXT(), test_EM_GETLINE(), test_EM_GETMODIFY_esCallback(), test_EM_GETTEXTLENGTHEX(), test_EM_GETTEXTRANGE(), test_EM_STREAMIN(), test_EM_STREAMIN_esCallback(), test_EM_STREAMOUT(), test_encodeInt(), test_enum_vols(), test_enumdisplaydevices_adapter(), test_enumdisplaydevices_monitor(), test_Environment(), test_espassword(), test_eventlog_start(), test_ExpandEnvironmentStringsA(), test_ExtractAssociatedIcon(), test_Face(), test_fail(), test_fgetwc(), test_fgetwc_locale(), test_file_contents(), test_file_put_get(), test_file_write_read(), test_FileContents1(), test_FileContents2(), test_FileDescriptor(), test_FileDescriptor_Folder(), test_fileops(), test_fileurls(), test_find_executable(), test_find_file(), test_FindFirstFile_wildcards(), test_FindFirstVolume(), test_formatrecord_tables(), test_FPropContainsProp(), test_frame_mesh_materials(), test_freed_hglobal(), test_FunnyChars(), test_GdiGetCharDimensions(), test_get_atom_name(), test_get_displayname(), test_get_servicekeyname(), test_get_value(), test_GetAdaptersAddresses(), test_GetCharWidthI(), test_GetColorProfileElement(), test_GetColorProfileElementTag(), test_GetColorProfileFromHandle(), test_GetColorProfileHeader(), test_GetComputerName(), test_GetConsoleOriginalTitleA(), test_GetConsoleTitleA(), test_GetCountColorProfileElements(), Test_GetEnvironmentVariableA(), test_GetFileInformationByHandleEx(), test_GetFileVersionInfoEx(), test_GetFinalPathNameByHandleA(), test_GetLongPathNameA(), test_GetMappedFileName(), test_GetModuleBaseName(), test_GetModuleFileNameEx(), test_GetNumberFormatA(), test_GetPrinterDriver(), test_GetProcessImageFileName(), test_GetPtrAW(), test_GetRawInputDeviceList(), test_GetSetEnvironmentVariableA(), test_GetSystemDirectoryA(), test_GetTempFileNameA(), test_GetTempPath(), test_GetTempPathA(), test_GetTempPathW(), test_GetVolumeInformationA(), test_GetWindowsDirectoryA(), test_handles_process_open(), test_help_values(), test_http_info(), test_I10_OUTPUT(), test_Idn(), test_inffilelist(), test_inffilelistA(), test_install_remove_odbc(), test_InternetGetConnectedStateExA(), test_InternetQueryOptionA(), test_invariant(), test_IsColorProfileTagPresent(), test_ITEMIDLIST_format(), test_its_protocol_info(), test_IUriBuilder_GetFragment(), test_IUriBuilder_GetHost(), test_IUriBuilder_GetPassword(), test_IUriBuilder_GetPath(), test_IUriBuilder_GetQuery(), test_IUriBuilder_GetSchemeName(), test_IUriBuilder_GetUserName(), test_key_names(), test_kill_on_exit(), test_listbox_dlgdir(), test_listbox_LB_DIR(), test_load(), test_LoadLibraryEx_search_flags(), test_local_get_atom_name(), test_LocalizedNames(), test_LockFile(), test_long_url(), test_LookupAccountName(), test_lookupPrivilegeName(), test_machine_guid(), test_mbs_help(), test_menu_resource_layout(), test_MeshBuilder(), test_MeshBuilder3(), test_message_allocate_buffer(), test_message_conversion(), test_MessageGetPropInfo(), test_MessageOptions(), test_MessageSetProp(), test_metadata_tEXt(), test_mhtml_protocol_binding(), test_midiOut_device(), test_midiStream(), test_mounted_folder(), test_msidecomposedesc(), test_MsiEnumComponentsEx(), test_MsiEnumProductsEx(), test_msiexport(), test_mxattr_addAttribute(), test_mxnamespacemanager(), test_mxwriter_characters(), test_mxwriter_dtd(), test_mxwriter_encoding(), test_mxwriter_flush(), test_mxwriter_startendelement_batch(), test_NameToStrConversionA_(), test_nodeTypedValue(), test_nonconformant_string(), test_NonExistentPath(), test_NtQueryDirectoryFile(), test_NtQueryDirectoryFile_case(), test_null(), test_null_provider(), test_object_name_(), test_OleRegGetUserType(), test_openclose(), test_OpenColorProfileA(), test_OpenFile(), test_OpenFileById(), test_ParseURL(), test_paste(), test_PathCreateFromUrl(), test_PathNameA(), test_pe_os_version(), test_perflib_key(), test_persiststream(), test_pipes(), test_pipes_child(), test_PlayerData(), test_ports_client(), test_printf_format(), test_printf_fp(), test_profile_existing(), test_profile_sections(), test_profile_sections_names(), test_profile_string(), test_PropVariantChangeType_LPWSTR(), test_PropVariantToStringAlloc(), test_proxy_direct(), test_put_nodeTypedValue(), test_query_dos_deviceA(), test_query_recyclebin(), test_query_value_ex(), test_read_attribute(), test_read_element(), test_read_pi(), test_readfileex_pending(), test_readmode(), test_readonlyfile(), test_readonlyfile_cab(), test_Receive(), test_reg_query_info(), test_RegLoadMUIString(), test_remote_data_replication(), test_rsa_round_trip(), test_RtlDetermineDosPathNameType_U(), test_RtlFindCharInUnicodeString(), test_RtlGetFullPathName_U(), test_RtlIpv4AddressToString(), test_RtlIpv4AddressToStringEx(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), test_RtlIsDosDeviceName_U(), test_RtlIsNameLegalDOS8Dot3(), test_RtlMoveMemory(), test_RtlUnicodeToUTF8N(), test_RtlUTF8ToUnicodeN(), test_SafeArrayChangeTypeEx(), test_save(), test_saxstr(), test_ScriptGetFontProperties(), test_SearchPathA(), test_secure_connection(), test_security_flags(), test_Send(), test_set_provider_ex(), test_SetColorProfileElement(), test_SetColorProfileHeader(), test_setlocale(), test_SetupCopyOEMInf(), test_SetupPromptForDiskA(), test_SHGetFolderPathAndSubDirA(), test_ShortPathCase(), test_SHQueryValueEx(), test_simpleroundtrip(), test_SIPRetrieveSubjectGUID(), test_snprintf(), test_sprintf(), test_SQLGetInstalledDrivers(), test_SQLGetPrivateProfileString(), test_SQLInstallDriverEx(), test_SQLInstallTranslatorEx(), test_SQLValidDSN(), test_sscanf(), test_status_control(), test_storage_refcount(), test_strdate(), test_strerror_s(), test_strftime(), Test_strlen(), test_strtime(), test_system_menu(), test_SystemFunction005(), test_tab(), test_targetpath(), test_tmpnam(), test_TransformWithLoadingLocalFile(), Test_Truncate(), test_undo(), test_UrlApplyScheme(), test_urlcacheA(), test_UrlCanonicalizeA(), test_UrlCombine(), test_UrlCreateFromPath(), test_UrlGetPart(), test_user_agent(), test_VerQueryValueA(), test_vsnprintf_s(), test_WM_GETTEXT(), test_WNetCachePassword(), test_WSAEnumProtocolsA(), Test_WSARecv(), testAcquireCredentialsHandle(), testAcquireCredentialsHandleW(), testAuth(), TestCrossProcessEncrypt(), testD3DInclude_open(), testD3DXInclude_open(), testExpand(), testFileExistenceA(), testFileExistenceW(), testGetDllDirectory(), testGetModuleFileName(), TestHostName(), testInitializeSecurityContextFlags(), testIsRDNAttrsInCertificateName(), testQuery(), testSignSeal(), testWriteNotWrappedNotProcessed(), testWriteNotWrappedProcessed(), testWriteSimple(), testWriteWrappedNotProcessed(), testWriteWrappedProcessed(), TIFFClientOpenExt(), TIFFFetchNormalTag(), TIFFRegisterCODEC(), TIFFSetClientInfo(), TIFFWriteDirectorySec(), TKeyDef::TKeyDef(), tokenizeCommand(), TOOLBAR_AddStringA(), TOOLBAR_GetButtonInfo(), translateinfstringex_test(), TranslateParameters(), Traverse(), trim(), TransformTest::trnsfrm2(), try_clone_edr(), TuiCalcMenuBoxSize(), TuiDrawBackdrop(), TuiDrawCenteredText(), TuiDrawMenuItem(), TuiDrawMenuTimeout(), TuiDrawMsgBoxCommon(), TuiDrawStatusText(), TuiEditBox(), TuiTruncateStringEllipsis(), TuiUpdateDateTime(), twain_add_onedriver(), __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::type_case_a(), __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::type_case_Z(), type_info_name(), TypeNametoTypeID(), u_strlen(), UDFGetDiskInfo(), UDFLoadLogicalVol(), UiEscapeString(), UiInfoBox(), UiShowMessageBoxesInArgv(), UnDecorateSymbolName(), UnDosLine(), unescape_string_binding_component(), UnLslR(), UnMlsD(), UnMlsT(), unquote_string(), unzLocateFile(), urlcache_copy_entry(), urlcache_create_file_pathA(), urlcache_entry_commit(), UrlCompareA(), UrlHashA(), UrlHashW(), UrlIsA(), usage(), USBSTOR_ConvertToUnicodeString(), USBSTOR_PdoHandleQueryDeviceId(), USBSTOR_PdoHandleQueryHardwareId(), use_connection_pre_set_accessnameA(), user(), user2netname(), UserLoginThread(), UuidFromStringA(), valid_protect_data(), ValidatePixelShader(), ValidateShim(), ValidateVertexShader(), vbuf__append_quoted1035(), vDbgPrintExWithPrefixInternal(), VddDbgMsg(), VerFindFileA(), VerInstallFileA(), vers_write(), VfdInstallDriver(), VfdOpenImage(), VfdRegisterHandlers(), VfdToolTip(), VideoPortScanRom(), VirtualChannelInit(), VirtualTest(), vsyslog(), VTUTF8ChannelAnsiDispatch(), widl_getline(), wine_dbgstr_an(), wine_get_dos_file_name(), wined3d_dll_init(), wined3d_get_adapter_identifier(), WINHELP_ButtonBoxWndProc(), WINHELP_GetOpenFileName(), WINHELP_HistoryWndProc(), WINHELP_IndexDlgProc(), WinHelpA(), WinLdrInitializeHeadlessPort(), WinMain(), WlanConnect(), WMSFT_compile_impfile(), wpp_add_include_path(), wpp_lookup(), write_cabinet(), write_files(), Write_GlobalComment(), write_hrefmap(), write_if_change(), write_label(), write_line(), Write_LocalFileHeader(), write_manifest(), write_new_procformatstring_type(), write_reg_file(), write_runtimeclass(), write_str_dir(), write_string(), write_string_value(), write_to_file(), WriteBmLine(), CCabinet::WriteCabinetHeader(), WriteConsoleOutputCharAndAttribute(), CDFParser::WriteInfLine(), WritePrivateProfileSectionA(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetServByName(), WSAStringToAddressA(), WSNoteSuccessfulHostentLookup(), WspiapiLegacyGetNameInfo(), WspiapiLookupNode(), WspiapiStrdup(), wsprintfATest(), XboxSetLED(), xdr_string(), xHalIoAssignDriveLetters(), xkeymap_read(), xmlAddDefAttrs(), xmlAttrNormalizeSpace2(), xmlBuildURI(), xmlMemStrdupLoc(), xmlSnprintfElementContent(), xmlStrlen(), xmlURIUnescapeString(), xsltGenerateIdFunction(), xstrdup(), xstrsave(), and zipOpenNewFileInZip4_64().

◆ strlwr()

static char * strlwr ( char str)
inlinestatic

Definition at line 86 of file string.h.

86{ return _strlwr(str); }
_strlwr
Definition: string.h:231

Referenced by is_libc_include(), and telCommandLine().

◆ strncasecmp()

static int strncasecmp ( const char str1,
const char str2,
size_t  n 
)
inlinestatic

Definition at line 87 of file string.h.

87{ return _strnicmp(str1, str2, n); }
GLdouble n
Definition: glext.h:7729

◆ strncat()

_ACRTIMP char *__cdecl strncat ( char dst,
const char src,
size_t  len 
)

Definition at line 1459 of file string.c.

1460{
1461 char *d = dst;
1462 while (*d) d++;
1463 for ( ; len && *src; d++, src++, len--) *d = *src;
1464 *d = 0;
1465 return dst;
1466}

◆ strncat_s()

_ACRTIMP errno_t __cdecl strncat_s ( char dst,
size_t  elem,
const char src,
size_t  count 
)

Definition at line 1414 of file string.c.

1415{
1416 size_t i, j;
1417
1418 if (!MSVCRT_CHECK_PMT(dst != 0)) return EINVAL;
1419 if (!MSVCRT_CHECK_PMT(elem != 0)) return EINVAL;
1420 if (count == 0) return 0;
1421
1422 if (!MSVCRT_CHECK_PMT(src != NULL))
1423 {
1424 *dst = 0;
1425 return EINVAL;
1426 }
1427
1428 for (i = 0; i < elem; i++) if (!dst[i]) break;
1429
1430 if (i == elem)
1431 {
1432 MSVCRT_INVALID_PMT("dst[elem] is not NULL terminated\n", EINVAL);
1433 *dst = 0;
1434 return EINVAL;
1435 }
1436
1437 for (j = 0; (j + i) < elem; j++)
1438 {
1439 if(count == _TRUNCATE && j + i == elem - 1)
1440 {
1441 dst[j + i] = '\0';
1442 return STRUNCATE;
1443 }
1444 if(j == count || (dst[j + i] = src[j]) == '\0')
1445 {
1446 dst[j + i] = '\0';
1447 return 0;
1448 }
1449 }
1450
1451 MSVCRT_INVALID_PMT("dst[elem] is too small", ERANGE);
1452 dst[0] = '\0';
1453 return ERANGE;
1454}
#define STRUNCATE
Definition: errno.h:64
#define _TRUNCATE
Definition: stdlib.h:45

◆ strncmp()

_ACRTIMP int __cdecl strncmp ( const char str1,
const char str2,
size_t  len 
)

Definition at line 3335 of file string.c.

3336{
3337 if (!len) return 0;
3338 while (--len && *str1 && *str1 == *str2) { str1++; str2++; }
3339
3340#if defined(_WIN64) || defined(_UCRT) || _MSVCR_VER == 70 || _MSVCR_VER == 71 || _MSVCR_VER >= 110
3341 if ((unsigned char)*str1 > (unsigned char)*str2) return 1;
3342 if ((unsigned char)*str1 < (unsigned char)*str2) return -1;
3343 return 0;
3344#else
3345 return (unsigned char)*str1 - (unsigned char)*str2;
3346#endif
3347}

Referenced by _FindPESectionByName(), _mbsnbcmp_l(), _mbsncmp_l(), _strncoll(), _strncoll_l(), _tmain(), AbsoluteToRelative(), add_file(), alloc_rootdir_entry(), ArcOpen(), ata_bblk(), auto_rename(), bad_name(), cache_containers_find(), change_section_attribs(), check_4_special_identifiers(), check_atari(), check_dir(), check_file(), check_in_programs_list(), check_menu_item_info(), check_output(), check_rr_dates(), check_rr_relocation(), CheckForNewV3User(), cl_exid_compare(), ClassNametoClassID(), ClasspMyStringMatches(), cmpEnvironment(), compare_query_(), ConMgrProcessInputLine(), ConvertPathCase(), CopyTest::copy_array(), create_sic(), CreateOutputFile(), D3DXGetImageInfoFromFileInMemory(), d3dxinclude_open(), default_init(), Deletehost(), DetectPnpBios(), DiskDetermineMediaTypes(), DoCommand(), domacro(), doWinMain(), driver_fixup(), editor_handle_message(), encodeAndCompareBase64_A(), enum_password_proc(), errflags(), ext_in_list(), externalui_message_callback(), FATAddEntry(), FatDetermineFatType(), file_add(), file_cd(), file_find(), file_name(), FileToURL(), find_html_symbol(), find_matching_rdn_attr(), find_rr_attribute(), FindDefine(), findend(), FsRecIsUdfsVolume(), FTPDecodeURL(), FTPFileModificationTime(), FxVerifyLogHeader(), get_annotation_by_name(), get_constant_by_name(), get_cpu_from_name(), get_drive_connection(), get_fileinfo(), get_parameter_by_name(), get_platform_from_name(), get_valid_parameter(), get_valid_parameter_block(), getInterfaceInfoByName(), getnetconfigent(), getopt_long(), GetResponse(), GetSOFTplg(), GetStabInfo(), tinyxml2::StrPair::GetStr(), GetSystemName(), gl_histadd(), HaliMPBusInfo(), handle_apetag(), handle_dot(), handle_gdb_query(), handle_gdb_set_thread(), handle_gdb_v(), handle_setexattr(), has_extension(), HttpHeaders_test(), HttpSendRequestEx_test(), id3_link(), import_base64_certs_from_fp(), InternalIsOS2OrOldWin(), is_cygwin_ea(), is_valid_file(), iso2022jp_mbtowc(), iso2022jp_wctomb(), IsVesaBiosOk(), joliet_compare_dirs(), KdbpCliInterpretInitFile(), KdInitSystem(), lwip_strnstr(), mac_cmp(), macho_load_section_info(), main(), map_nfs4ace_who(), match_line(), ME_StreamIn(), merge_isofs(), MiFindInitializationCode(), mkstemps(), MPEGSplitter_pre_connect(), multi_addr_find(), name_cmp(), netname2host(), netname2user(), nfs41_abs_path_compare(), nsIOService_NewURI(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextW(), OmNavigator_get_appVersion(), parse_arguments(), parse_file(), parse_new_id3(), parse_options(), parse_rr(), parse_rrflags(), parse_xml_decl(), ParseCommandLine(), ParseFile(), ParseHostLine(), ParseInputFile(), tinyxml2::StrPair::ParseText(), Phase1InitializationDiscard(), pipe_thread(), print_insn(), PrintNameTable(), PrintStrangeMenu(), process_long_option(), process_optarg(), promote_framename(), PutBookmark(), read_merging_directory(), ReadStyleSheet(), RemoteCompletionFunction(), RemoteGlobCollapse(), RichEditWndProc_common(), RpcStringBindingParseA(), run_helper(), SendCommand(), server_compare(), server_ddeml_callback(), setpeer(), setup_dinput_options(), TestCase::shouldRunThis(), START_TEST(), str_startswith(), StrDupShortenPath(), tinyxml2::XMLUtil::StringEqual(), StringExpands(), strrstr(), strstr(), subdirs(), test_asciimode2(), test_cache_read_gzipped(), test_CertRDNValueToStrA(), test_ConvertINetUnicodeToMultiByte(), test_CryptCATOpen(), test_destination_buffer(), test_DEVMODEA(), test_EM_GETLINE(), test_Environment(), test_filter_graph(), test_find_executable(), test_GetModuleFileNameEx(), test_GetProcessImageFileNameA(), test_GetVolumeNameForVolumeMountPointA(), test_I10_OUTPUT(), test_IMultiLanguage2_ConvertStringFromUnicode(), test_ip_pktinfo(), test_midiOut_device(), test_midiStream(), test_MsiEnumPatchesEx_usermanaged(), test_MsiGetFileVersion(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_msirecord(), test_mxwriter_encoding(), test_navigator(), test_OpenFile(), test_PathUnExpandEnvStrings(), test_RtlCopyString(), test_setlocale(), test_SHGetFolderPathAndSubDirA(), test_sscanf(), test_strcmp(), test_strncpy(), test_WM_GETTEXT(), test_wndproc_forwards(), test_WNetCachePassword(), test_xcvt(), testD3DInclude_open(), testD3DXInclude_open(), translate_files(), TypeNametoTypeID(), u_strncmp(), UDFFindVRS(), UDFGetDiskInfo(), UDFLoadLogicalVol(), UnLslR(), UnMDTMDate(), urlcache_entry_commit(), UrlCompareA(), UrlGetLocationA(), VfdGetDriverConfig(), VfdGetImageInfo(), WinLdrSetupEms(), write_dlldata(), xmlDictFindEntry(), and xmlStrncmp().

◆ strncpy()

_ACRTIMP char *__cdecl strncpy ( char dst,
const char src,
size_t  len 
)

Definition at line 1281 of file string.c.

1282{
1283 size_t i;
1284
1285 for(i=0; i<len; i++)
1286 if((dst[i] = src[i]) == '\0') break;
1287
1288 while (i < len) dst[i++] = 0;
1289
1290 return dst;
1291}

◆ strncpy_s()

_ACRTIMP errno_t __cdecl strncpy_s ( char dst,
size_t  elem,
const char src,
size_t  count 
)

Definition at line 1296 of file string.c.

1297{
1298 char *p = dst;
1299 BOOL truncate = (count == _TRUNCATE);
1300
1301 TRACE("(%p %Iu %s %Iu)\n", dst, elem, debugstr_a(src), count);
1302
1303 if (!count)
1304 {
1305 if (dst && elem) *dst = 0;
1306 return 0;
1307 }
1308
1309 if (!MSVCRT_CHECK_PMT(dst != NULL)) return EINVAL;
1310 if (!MSVCRT_CHECK_PMT(elem != 0)) return EINVAL;
1311 if (!MSVCRT_CHECK_PMT(src != NULL))
1312 {
1313 *dst = 0;
1314 return EINVAL;
1315 }
1316
1317 while (elem && count && *src)
1318 {
1319 *p++ = *src++;
1320 elem--;
1321 count--;
1322 }
1323 if (!elem && truncate)
1324 {
1325 *(p-1) = 0;
1326 return STRUNCATE;
1327 }
1328 else if (!elem)
1329 {
1330 *dst = 0;
1331 return ERANGE;
1332 }
1333 *p = 0;
1334 return 0;
1335}
#define debugstr_a
Definition: kernel32.h:31

◆ strnicmp()

◆ strnlen()

◆ strnset()

static char * strnset ( char str,
int  value,
unsigned int  len 
)
inlinestatic

Definition at line 89 of file string.h.

89{ return _strnset(str, value, len); }
_strnset
Definition: string.h:393

◆ strpbrk()

_ACRTIMP char *__cdecl strpbrk ( const char str,
const char accept 
)

Definition at line 3530 of file string.c.

3531{
3532 for (; *str; str++) if (strchr( accept, *str )) return (char*)str;
3533 return NULL;
3534}
char *__cdecl strchr(const char *str, int c)
Definition: string.c:3291
SOCKET WSAAPI accept(IN SOCKET s, OUT LPSOCKADDR addr, OUT INT FAR *addrlen)
Definition: socklife.c:23

Referenced by _mbscspn_l(), Fatalv(), get_lineA(), GetExpandedNameA(), File::getline(), getnetconfigent(), gl_do_tab_completion(), HalpDebugPciDumpBus(), hist_save(), interpret(), process_preprocessor(), SQLValidDSN(), strarray_trace(), and u_strpbrk().

◆ strrchr()

_ACRTIMP char *__cdecl strrchr ( const char str,
int  c 
)

Definition at line 3303 of file string.c.

3304{
3305 char *ret = NULL;
3306 do { if (*str == (char)c) ret = (char*)str; } while (*str++);
3307 return ret;
3308}

Referenced by __rpc_uaddr2taddr_af(), _mbsrchr_l(), _module_name_from_addr(), appName(), ArcOpen(), AssertFail(), basename(), check_directory(), CLRRuntimeHost_ExecuteInDefaultAppDomain(), ComputeLNames(), ComputeRNames(), ConvertCoffs(), create_full_path(), create_monodata(), CWebServiceLibCurl::CWebServiceLibCurl(), d3dx_include_from_file_open(), DbgHelpAddLineNumber(), DecodeDirectoryURL(), disk_query_directory(), disk_query_information(), doChildren(), download_url(), Extract(), extract_rev_infos(), fdi_notify_extract(), find_or_create_directory(), FsOpenFile(), FTPChdirAndGetCWD(), FTPDecodeURL(), FTPFtw(), FTPFtwL2(), FTPGetCWD(), FTPMkdir2(), FTPPutOneF(), gen_forward_chain_testdll(), generate_joliet_path_tables(), generate_path_tables(), get_app_key(), get_application_directory(), get_assembly_search_flags(), get_basename(), get_basename_noext(), get_dirname(), get_events(), get_graft(), get_temp_filename(), getDirectory(), getFilename(), getopt(), if(), init(), init_event(), init_logger_addr(), InitDirComponents(), InitOurDirectory(), InitUserInfo(), insert_boot_cat(), iso9660_check(), iso9660_file_length(), KdpFilterEscapes(), TConfig::keyfile_init(), LdrQueryProcessModuleInformationEx(), load_hook_dll(), LoadAndBootWindows(), LoadReactOSSetup(), main(), mkPath(), MLLoadLibraryA(), MMIO_ParseExtA(), nFTPChdirAndGetCWD(), OnImage(), path_name(), pathcp(), PeLdrpBindImportName(), PRINTDLG_CreateDevNames(), PxeGetFileInformation(), read_rcfile(), reg_unreg_wine_test_class(), RemoteCompletionFunction(), rename_file(), RtlpQueryRemoteProcessModules(), run_script(), RuntimeHost_GetDefaultDomain(), save_av0(), searchfileinpath(), SearchPathA(), set_progname(), setup_dsound_options(), ShellCmd(), sort_n_finish(), SpoolGetCmd(), SpoolPutCmd(), START_TEST(), StoreNameInSft(), strip_path(), StrRemoveTrailingSlashes(), test__lcreat(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_CommandLine(), test_CreateScalableFontResource(), test_CryptCATAdminAddRemoveCatalog(), test_dde(), test_debug_children(), test_debug_heap(), test_EnumPrinterDrivers(), test_filenames(), test_find_file(), test_GetMappedFileName(), test_GetModuleBaseName(), test_GetPrivateProfileString(), test_GetSetConsoleInputExeName(), test_internet_features_registry(), test_load_save(), test_LoadImage_working_directory(), test_MoveFileA(), test_PlaySound(), test_PrintDlgA(), test_reg_load_app_key(), test_reg_load_key(), test_RegLoadMUIString(), test_SearchPathA(), test_SetupCopyOEMInf(), test_SetupDecompressOrCopyFile(), test_utf8(), test_wow64_redirection_for_dll(), u_strrchr(), UDFGetDeviceName(), VerInstallFileA(), Win32DbgPrint(), wined3d_dll_init(), winetest_set_location(), WINHELP_HistoryWndProc(), WINHELP_LookupHelpFile(), WinLdrInitializePhase1(), WinLdrLoadDeviceDriver(), xHalIoAssignDriveLetters(), and xkeymap_from_locale().

◆ strrev()

static char * strrev ( char str)
inlinestatic

Definition at line 90 of file string.h.

90{ return _strrev(str); }
_ACRTIMP char *__cdecl _strrev(char *)
Definition: string.c:259

◆ strset()

static char * strset ( char str,
int  value 
)
inlinestatic

Definition at line 91 of file string.h.

91{ return _strset(str, value); }
_strset
Definition: string.h:424

◆ strspn()

_ACRTIMP size_t __cdecl strspn ( const char str,
const char accept 
)

◆ strstr()

_ACRTIMP char *__cdecl strstr ( const char haystack,
const char needle 
)

Definition at line 3420 of file string.c.

3421{
3422 size_t i, j, len, needle_len, lps_len;
3423 BYTE lps[256];
3424
3425 needle_len = strlen(needle);
3426 if (!needle_len) return (char*)haystack;
3427 lps_len = needle_len > ARRAY_SIZE(lps) ? ARRAY_SIZE(lps) : needle_len;
3428
3429 lps[0] = 0;
3430 len = 0;
3431 i = 1;
3432 while (i < lps_len)
3433 {
3434 if (needle[i] == needle[len]) lps[i++] = ++len;
3435 else if (len) len = lps[len-1];
3436 else lps[i++] = 0;
3437 }
3438
3439 i = j = 0;
3440 while (haystack[i])
3441 {
3442 while (j < lps_len && haystack[i] && haystack[i] == needle[j])
3443 {
3444 i++;
3445 j++;
3446 }
3447
3448 if (j == needle_len) return (char*)haystack + i - j;
3449 else if (j)
3450 {
3451 if (j == ARRAY_SIZE(lps) && !strncmp(haystack + i, needle + j, needle_len - j))
3452 return (char*)haystack + i - j;
3453 j = lps[j-1];
3454 }
3455 else if (haystack[i]) i++;
3456 }
3457 return NULL;
3458}
#define ARRAY_SIZE(A)
Definition: main.h:20
static const char haystack[]
Definition: editor.c:190
unsigned char BYTE
Definition: xxhash.c:193

Referenced by __Extract_locale_name(), _mbsstr(), _mbsstr_l(), _server_read_request(), acpi_bus_match(), assign_file_addresses(), AtaDeviceIsSuperFloppy(), Base64WithHeaderAndTrailerToBinaryA(), Bus_PDO_PnP(), Bus_PDO_QueryDeviceCaps(), ButtonWaitThread(), CmdLineParse(), CmpGetBiosVersion(), copy_headers_to_buf(), count_pars(), crash_and_debug(), create_body_offset_list(), CRTDLL__mbsstr(), D3DXCompileShader(), DiskOpen(), doDebugger(), DoDESCRIPTIONS(), DoKEYNAME(), DoLANGUAGENAMES(), DoTestEntry(), DriverEntry(), EnumSymbolsProc(), ExpInitializeExecutive(), extract_test(), extract_test_proc(), file_write_http_header(), FilenameExtensionIndicatesASCII(), find_str(), findend(), format_parameterized_type_c_name(), FsVolumeInfo(), FTPFileExistsNlst(), FTPFileExistsStat(), FTPQueryFeatures(), get_attr(), get_info_log_line(), get_line(), get_subtests(), getline(), getSection(), GetSystemName(), gl_check_inputrc_for_vi(), HalpDebugPciDumpBus(), HalpGetParameters(), handle_gdb_query(), handle_gdb_read_mem(), handle_gdb_set_thread(), handle_gdb_thread_alive(), handle_gdb_write_mem(), header_cb(), InbvDriverInitialize(), init_debug(), InitPrefs(), InitTermcap(), InternetCreateUrlA_test(), IopCreateArcNames(), IopStartRamdisk(), is_ssi_file(), KdDebuggerInitialize0(), KdInitSystem(), KiInitializeKernel(), KiInitializeKernelMachineDependent(), LlbEnvRead(), Load_CP2Unicode_Table(), LoadReactOSSetup(), main(), Main_DirectDraw_GetDeviceIdentifier7(), MayUseFirewall(), NextLine(), NtLdrDetectBootVid(), ntlm_InitializeSecurityContextW(), OpenControlConnection(), openSection(), parse_obj_node_param(), ParseField(), CDFParser::PerformFileCopy(), Phase1InitializationDiscard(), PoInitSystem(), process_pending_renames(), process_preprocessor(), processRequest(), read_dependencies(), read_value(), regdump(), RegInitializeRegistry(), run_child_process(), run_child_process_two_dll(), run_tests(), search_addchar(), search_back(), search_forw(), SearchCHM_File(), select_card_handler(), send_file(), server_thread(), shader_hw_sgn(), shader_trace_init(), TestCase::shouldRunThis(), SMTPTransport_CallbackSendHello(), CHttpClient::SplitUri(), spy_init(), START_TEST(), strip_comments(), test_accept_encoding(), test_argify(), test_BuildCommDCB(), test_complicated_cookie(), test_cookie_header(), test_EM_STREAMOUT_empty_para(), test_EM_STREAMOUT_FONTTBL(), test_ExitCode(), test_ExtractAssociatedIcon(), test_FindFirstFile_wildcards(), test_getstring_no_extra(), test_header(), test_hittest(), test_long_url(), test_MsiGetFileVersion(), test_query_dos_deviceA(), test_SHGetFolderPathA(), test_strstr(), TrimNonPrintableProd(), unfold_header(), UnLslRLine(), wined3d_guess_card_vendor(), wined3d_guess_gl_vendor(), WinMain(), wstr_contains(), xHalIoAssignDriveLetters(), XIPInit(), and xkeymap_read().

◆ strtok()

_ACRTIMP char *__cdecl strtok ( char str,
const char delim 
)

Definition at line 290 of file string.c.

291{
293 char *ret;
294
295 if (!str)
296 if (!(str = data->strtok_next)) return NULL;
297
298 while (*str && strchr( delim, *str )) str++;
299 if (!*str)
300 {
301 data->strtok_next = str;
302 return NULL;
303 }
304 ret = str++;
305 while (*str && !strchr( delim, *str )) str++;
306 if (*str) *str++ = 0;
307 data->strtok_next = str;
308 return ret;
309}

Referenced by DefaultBookmarkName(), FTP_ParseNextFile(), FTPDecodeURL(), FTPExamineMlstFeatures(), get_subtests(), GetOurHostName(), GetPortNumber(), gluCheckExtension(), HasSeenOneTimeMessage(), InitDeviceList(), ipv4addrs(), TMapLoader::Load(), TMapLoader::LoadCharMap(), TMapLoader::LoadGlobal(), MayUseFirewall(), TMapLoader::ParseKeyDef(), ProcessFirewallPrefFile(), ProcessPrefsFile(), SetDomainAndUsername(), setup_dinput_options(), strarray_fromstring(), test_Idn(), and WinMain().

◆ strtok_s()

_ACRTIMP char *__cdecl strtok_s ( char str,
const char delim,
char **  ctx 
)

Definition at line 314 of file string.c.

315{
316 if (!MSVCRT_CHECK_PMT(delim != NULL)) return NULL;
317 if (!MSVCRT_CHECK_PMT(ctx != NULL)) return NULL;
318 if (!MSVCRT_CHECK_PMT(str != NULL || *ctx != NULL)) return NULL;
319
320 if(!str)
321 str = *ctx;
322
323 while(*str && strchr(delim, *str))
324 str++;
325 if(!*str)
326 {
327 *ctx = str;
328 return NULL;
329 }
330
331 *ctx = str+1;
332 while(**ctx && !strchr(delim, **ctx))
333 (*ctx)++;
334 if(**ctx)
335 *(*ctx)++ = 0;
336
337 return str;
338}

Referenced by _mbstok_s_l().

◆ strupr()

static char * strupr ( char str)
inlinestatic

Definition at line 92 of file string.h.

92{ return _strupr(str); }
_strupr
Definition: string.h:453

Referenced by get_hdrguardtext(), and InitDeviceList().

◆ strxfrm()

_ACRTIMP size_t __cdecl strxfrm ( char dest,
const char src,
size_t  len 
)

Definition at line 1517 of file string.c.

1518{
1519 return _strxfrm_l(dest, src, len, NULL);
1520}
size_t CDECL _strxfrm_l(char *dest, const char *src, size_t len, _locale_t locale)
Definition: string.c:1471

Referenced by test_strxfrm().

◆ wcsdup()

static wchar_t * wcsdup ( const wchar_t str)
inlinestatic

Definition at line 94 of file string.h.

94{ return _wcsdup(str); }
_ACRTIMP wchar_t *__cdecl _wcsdup(const wchar_t *) __WINE_DEALLOC(free) __WINE_MALLOC
Definition: wcs.c:86

Referenced by ACTION_ResolveSource(), add_cookie(), add_domain(), add_wildcard(), alloc_prop(), AllocADsStr(), apply_patch_package(), assembly_create(), cabinet_copy_file(), cache_script(), check_directory(), combobox_add_item(), copy_install_file(), create_async_resolve(), create_errorinfo_SetDescription(), create_errorinfo_SetHelpFile(), create_errorinfo_SetSource(), create_locinfo(), create_temp_binary(), create_temp_dir(), deformat_component(), deformat_file(), deformat_string_internal(), delete_key(), dialog_checkbox_control(), dialog_create(), dialog_create_radiobutton(), dialog_create_window(), dialog_dup_property(), dialog_edit_control(), dialog_get_uitext(), dialog_maskedit_control(), dialog_oncreate(), dialog_radiogroup_control(), do_msidbCustomActionTypeDll(), do_msidbCustomActionTypeScript(), enum_store_callback(), env_init(), event_new_dialog(), event_subscribe(), file_running_action(), get_base_url(), get_binary_name(), get_deferred_action(), get_duplicate_filename(), get_ini_field(), get_ini_file_name(), get_library_for_classid(), get_merge_table(), get_property(), get_query_columns(), get_query_types(), get_table_labels(), get_user_notice_from_qualifier(), handle_redirect(), insert_header(), installfiles_cb(), ITERATE_InstallODBCDriver(), ITERATE_InstallODBCTranslator(), ITERATE_MoveFiles(), ITERATE_RegisterFonts(), ITERATE_RegisterTypeLibraries(), ITERATE_RemoveFiles(), ITERATE_UnregisterFonts(), ITERATE_WriteEnvironmentString(), JScript_AddNamedItem(), listbox_add_item(), load_class(), load_file(), load_folder(), load_mime(), load_ttf_name_id(), marshal_record(), maskedit_set_text(), media_get_disk_info(), MetadataQueryReader_CreateInstance(), MetadataQueryWriter_CreateInstance(), MimeHtmlProtocol_Start(), msi_apply_registered_patch(), msi_create_temp_file(), MSI_CreatePackage(), MSI_GetProductInfo(), MSI_InstallPackage(), msi_load_assembly(), msi_load_media_info(), MSI_OpenDatabaseW(), MSI_OpenPackageW(), msi_package_add_info(), msi_package_add_media_disk(), MSI_ProcessMessage(), msi_register_unique_action(), msi_resolve_source_folder(), msi_schedule_action(), msi_table_apply_transform(), MsiEnableLogW(), MsiGetPatchInfoExW(), MsiGetProductInfoExW(), MsiSourceListAddSourceExW(), open_connection(), open_key(), parse_languages(), parse_probing(), parse_supported_runtime(), patchfiles_cb(), pending_event_end_dialog(), pending_event_new_dialog(), pending_event_spawn_dialog(), ready_media(), reg_get_value(), resolve_keypath(), RpcAssoc_Alloc(), RpcBindingCopy(), RpcBindingInqAuthInfoExW(), RpcBindingSetAuthInfoExW(), RPCRT4_CompleteBindingW(), RPCRT4_CreateConnection(), RPCRT4_default_inquire_auth_client(), RpcServerRegisterAuthInfoW(), s_remote_GetActionInfo(), search_components(), search_file(), set_cookies(), set_credentials(), set_server_for_hostname(), split_multi_string_values(), STORAGES_set_row(), test_wcsdup(), Typelib_EnumResNameProc(), winhttp_request_Open(), winhttp_request_SetProxy(), WinHttpConnect(), WinHttpOpen(), WinHttpOpenRequest(), WinHttpSendRequest(), WINTRUST_RegisterHttpsProv(), WINTRUST_SIPPAddProvider(), and wputenv_helper().

◆ wcsicmp()

static int wcsicmp ( const wchar_t s1,
const wchar_t s2 
)
inlinestatic

Definition at line 97 of file string.h.

97{ return _wcsicmp(s1, s2); }
_ACRTIMP int __cdecl _wcsicmp(const wchar_t *, const wchar_t *)
Definition: wcs.c:164

◆ wcsicoll()

static int wcsicoll ( const wchar_t str1,
const wchar_t str2 
)
inlinestatic

Definition at line 95 of file string.h.

95{ return _wcsicoll(str1, str2); }
_ACRTIMP int __cdecl _wcsicoll(const wchar_t *, const wchar_t *)
Definition: wcs.c:241

◆ wcslwr()

static wchar_t * wcslwr ( wchar_t str)
inlinestatic

Definition at line 96 of file string.h.

96{ return _wcslwr(str); }
_wcslwr

Referenced by run_script().

◆ wcsnicmp()

static int wcsnicmp ( const wchar_t str1,
const wchar_t str2,
size_t  n 
)
inlinestatic

Definition at line 98 of file string.h.

98{ return _wcsnicmp(str1, str2, n); }
_ACRTIMP int __cdecl _wcsnicmp(const wchar_t *, const wchar_t *, size_t)
Definition: wcs.c:200

◆ wcsnset()

static wchar_t * wcsnset ( wchar_t str,
wchar_t  c,
size_t  n 
)
inlinestatic

Definition at line 99 of file string.h.

99{ return _wcsnset(str, c, n); }
_wcsnset

◆ wcsrev()

static wchar_t * wcsrev ( wchar_t str)
inlinestatic

Definition at line 100 of file string.h.

100{ return _wcsrev(str); }
_ACRTIMP wchar_t *__cdecl _wcsrev(wchar_t *)
Definition: wcs.c:329

◆ wcsset()

static wchar_t * wcsset ( wchar_t str,
wchar_t  c 
)
inlinestatic

Definition at line 101 of file string.h.

101{ return _wcsset(str, c); }
_wcsset

◆ wcsupr()

static wchar_t * wcsupr ( wchar_t str)
inlinestatic

Definition at line 102 of file string.h.

102{ return _wcsupr(str); }
_wcsupr

Referenced by msi_parse_command_line().