282 while (*
str && max_len-- > 0)
344 TRACE(
"%#x, %#x\n", ch1, ch2);
395 for (
i = max_len; *
str && (
i > 0);
i--,
str++)
421 for (
i = max_len; *
str && (
i > 0);
i--,
str++)
856 while (*
str ==
' ' || *
str ==
'\t' || *
str ==
'\n')
str++;
863 else if (*
str ==
'+')
884 if (*
str >=
'0' && *
str <=
'9')
886 else if (*
str >=
'A' && *
str <=
'F')
898 if (*
str <
'0' || *
str >
'9')
908 while (*
str >=
'0' && *
str <=
'9')
933 while (*
str ==
' ' || *
str ==
'\t' || *
str ==
'\n')
str++;
940 else if (*
str ==
'+')
961 if (*
str >=
'0' && *
str <=
'9')
963 else if (*
str >=
'A' && *
str <=
'Z')
975 if (*
str <
'0' || *
str >
'9')
985 while (*
str >=
'0' && *
str <=
'9')
1037 if (*
str ==
'-' || (*
str >=
'0' && *
str <=
'9'))
1052 if (*
str ==
'-' || (*
str >=
'0' && *
str <=
'9'))
1063 while ((
len-- > 1) && *
src)
1078 while ((
len-- > 1) && *
src)
1121 if (!
strW)
return 0;
1234 if (!
strW)
return 0;
1271 TRACE(
"instance = %p, id = %04x, buffer = %p, length = %d\n",
instance, resource_id,
buffer, buflen);
1279 TRACE(
"Failed to load string.\n" );
1280 if (buflen > 0)
buffer[0] = 0;
1285 string_num = resource_id & 0x000f;
1286 for (
i = 0;
i < string_num;
i++)
1289 TRACE(
"strlen = %d\n", (
int)*
p );
1299 i =
min(buflen - 1, *
p);
1313 TRACE(
"instance = %p, id = %04x, buffer = %p, length = %d\n",
instance, resource_id,
buffer, buflen);
1315 if (!buflen)
return -1;
1322 unsigned int id = resource_id & 0x000f;
1324 while (
id--)
p += *
p + 1;
1344 else if (*
str >=
'0' && *
str <=
'9')
1348 if (*comp <
'0' || *comp >
'9')
1361 while (*
str >=
'0' && *
str <=
'9')
str++;
1362 while (*comp >=
'0' && *comp <=
'9') comp++;
1364 else if (*comp >=
'0' && *comp <=
'9')
1395 if (!case_sensitive)
1411 if (!case_sensitive)
1464 if (cat && at < max_len)
1467 while (at < max_len - 1 && *cat)
1487 while (
str < last_byte)
1505 WCHAR szExpanded[512];
1524 index_str =
wcschr(dllname,
',');
1526 if(!index_str)
goto end;
1545 FIXME(
"can't handle non-negative indices (%d)\n",
index);
#define DECLSPEC_HOTPATCH
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HINSTANCE instance
INT WINAPI StrToIntW(LPCWSTR lpString)
LPWSTR WINAPI StrChrIW(LPCWSTR lpszStr, WCHAR ch)
LPSTR WINAPI StrRStrIA(LPCSTR lpszStr, LPCSTR lpszEnd, LPCSTR lpszSearch)
int WINAPI StrCSpnIA(LPCSTR lpszStr, LPCSTR lpszMatch)
int WINAPI StrCSpnW(LPCWSTR lpszStr, LPCWSTR lpszMatch)
LPWSTR WINAPI StrChrW(LPCWSTR lpszStr, WCHAR ch)
LPWSTR WINAPI StrRChrW(LPCWSTR str, LPCWSTR end, WORD ch)
LPSTR WINAPI StrStrIA(LPCSTR lpszStr, LPCSTR lpszSearch)
LPSTR WINAPI StrRChrIA(LPCSTR lpszStr, LPCSTR lpszEnd, WORD ch)
INT WINAPI StrCmpNIA(LPCSTR lpszStr, LPCSTR lpszComp, INT iLen)
LPSTR WINAPI StrChrIA(LPCSTR lpszStr, WORD ch)
LPWSTR WINAPI StrRChrIW(LPCWSTR str, LPCWSTR end, WORD ch)
LPWSTR WINAPI StrStrW(LPCWSTR lpszStr, LPCWSTR lpszSearch)
LPSTR WINAPI StrRChrA(LPCSTR lpszStr, LPCSTR lpszEnd, WORD ch)
INT WINAPI StrToIntA(LPCSTR lpszStr)
int WINAPI StrCSpnIW(LPCWSTR lpszStr, LPCWSTR lpszMatch)
LPSTR WINAPI StrChrA(LPCSTR lpszStr, WORD ch)
INT WINAPI StrCmpNIW(LPCWSTR lpszStr, LPCWSTR lpszComp, INT iLen)
LPWSTR WINAPI StrStrIW(LPCWSTR lpszStr, LPCWSTR lpszSearch)
int WINAPI StrCSpnA(LPCSTR lpszStr, LPCSTR lpszMatch)
INT WINAPI StrCmpNW(LPCWSTR lpszStr, LPCWSTR lpszComp, INT iLen)
LPSTR WINAPI StrStrA(LPCSTR lpszStr, LPCSTR lpszSearch)
LPWSTR WINAPI StrRStrIW(LPCWSTR lpszStr, LPCWSTR lpszEnd, LPCWSTR lpszSearch)
INT WINAPI StrCmpNA(LPCSTR lpszStr, LPCSTR lpszComp, INT iLen)
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
#define WideCharToMultiByte
#define MultiByteToWideChar
#define __EXCEPT_PAGE_FAULT
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryExW(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
LCID WINAPI GetThreadLocale(void)
BOOL WINAPI IsDBCSLeadByte(BYTE testchar)
INT WINAPI CompareStringA(LCID lcid, DWORD flags, LPCSTR str1, INT len1, LPCSTR str2, INT len2)
INT WINAPI CompareStringW(LCID lcid, DWORD flags, LPCWSTR str1, INT len1, LPCWSTR str2, INT len2)
BOOL WINAPI IsDBCSLeadByteEx(UINT codepage, BYTE testchar)
INT WINAPI LCMapStringW(LCID lcid, DWORD flags, LPCWSTR src, INT srclen, LPWSTR dst, INT dstlen)
#define IS_INTRESOURCE(x)
BOOL WINAPI ChrCmpIW(WCHAR ch1, WCHAR ch2)
LPWSTR WINAPI CharPrevW(const WCHAR *start, const WCHAR *x)
BOOL WINAPI StrToIntExW(const WCHAR *str, DWORD flags, INT *ret)
LPSTR WINAPI CharNextA(const char *ptr)
BOOL WINAPI ChrCmpIA(WORD ch1, WORD ch2)
WCHAR *WINAPI StrCatBuffW(WCHAR *str, const WCHAR *cat, INT max_len)
INT WINAPI KERNELBASE_lstrlenW(LPCWSTR str)
WCHAR *WINAPI StrChrNW(const WCHAR *str, WCHAR ch, UINT max_len)
DWORD WINAPI StrCmpNICA(const char *str, const char *cmp, DWORD len)
DWORD WINAPI CharLowerBuffA(char *str, DWORD len)
WCHAR *WINAPI StrStrNW(const WCHAR *str, const WCHAR *search, UINT max_len)
BOOL WINAPI StrIsIntlEqualA(BOOL case_sensitive, const char *str, const char *cmp, int len)
WCHAR *WINAPI StrStrNIW(const WCHAR *str, const WCHAR *search, UINT max_len)
int WINAPI StrCmpW(const WCHAR *str, const WCHAR *comp)
LPSTR WINAPI CharLowerA(char *str)
BOOL WINAPI StrTrimA(char *str, const char *trim)
LPWSTR WINAPI CharNextW(const WCHAR *x)
DWORD WINAPI CharUpperBuffA(LPSTR str, DWORD len)
LPSTR WINAPI CharPrevExA(WORD codepage, const char *start, const char *ptr, DWORD flags)
DWORD WINAPI CharLowerBuffW(WCHAR *str, DWORD len)
DWORD WINAPI StrCmpCW(const WCHAR *str, const WCHAR *cmp)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
DWORD WINAPI SHTruncateString(char *str, DWORD size)
LPWSTR WINAPI KERNELBASE_lstrcpynW(LPWSTR dst, LPCWSTR src, INT n)
BOOL WINAPI StrIsIntlEqualW(BOOL case_sensitive, const WCHAR *str, const WCHAR *cmp, int len)
BOOL WINAPI StrTrimW(WCHAR *str, const WCHAR *trim)
BOOL WINAPI StrToIntExA(const char *str, DWORD flags, INT *ret)
DWORD WINAPI StrCmpICA(const char *str, const char *cmp)
DWORD WINAPI StrCmpNICW(const WCHAR *str, const WCHAR *cmp, DWORD len)
char *WINAPI StrCatBuffA(char *str, const char *cat, INT max_len)
DWORD WINAPI StrCmpICW(const WCHAR *str, const WCHAR *cmp)
int WINAPI StrCmpLogicalW(const WCHAR *str, const WCHAR *comp)
char *WINAPI StrCpyNXA(char *dst, const char *src, int len)
DWORD WINAPI StrCmpCA(const char *str, const char *cmp)
static BOOL char_compare(WORD ch1, WORD ch2, DWORD flags)
INT WINAPI KERNELBASE_lstrlenA(LPCSTR str)
char *WINAPI StrPBrkA(const char *str, const char *match)
LPWSTR WINAPI CharLowerW(WCHAR *str)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
WCHAR *WINAPI StrDupW(const WCHAR *str)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
LPWSTR WINAPI CharUpperW(WCHAR *str)
HRESULT WINAPI SHLoadIndirectString(const WCHAR *src, WCHAR *dst, UINT dst_len, void **reserved)
int WINAPI StrSpnW(const WCHAR *str, const WCHAR *match)
LPSTR WINAPI CharPrevA(const char *start, const char *ptr)
DWORD WINAPI StrCmpNCW(const WCHAR *str, const WCHAR *comp, int len)
int WINAPI StrCmpIW(const WCHAR *str, const WCHAR *comp)
DWORD WINAPI StrCatChainW(WCHAR *str, DWORD max_len, DWORD at, const WCHAR *cat)
DWORD WINAPI CharUpperBuffW(WCHAR *str, DWORD len)
char *WINAPI StrDupA(const char *str)
LPSTR WINAPI CharNextExA(WORD codepage, const char *ptr, DWORD flags)
WCHAR *WINAPI StrCpyNXW(WCHAR *dst, const WCHAR *src, int len)
BOOL WINAPI StrToInt64ExA(const char *str, DWORD flags, LONGLONG *ret)
LPSTR WINAPI CharUpperA(LPSTR str)
int WINAPI StrSpnA(const char *str, const char *match)
BOOL WINAPI StrToInt64ExW(const WCHAR *str, DWORD flags, LONGLONG *ret)
WCHAR *WINAPI StrPBrkW(const WCHAR *str, const WCHAR *match)
INT WINAPI DECLSPEC_HOTPATCH LoadStringA(HINSTANCE instance, UINT resource_id, LPSTR buffer, INT buflen)
DWORD WINAPI StrCmpNCA(const char *str, const char *comp, int len)
LPSTR WINAPI KERNELBASE_lstrcpynA(LPSTR dst, LPCSTR src, INT n)
WCHAR *WINAPI StrCpyNW(WCHAR *dst, const WCHAR *src, int count)
_ACRTIMP __msvcrt_long __cdecl wcstol(const wchar_t *, wchar_t **, int)
_ACRTIMP wchar_t *__cdecl wcspbrk(const wchar_t *, const wchar_t *)
_ACRTIMP size_t __cdecl wcsspn(const wchar_t *, const wchar_t *)
_ACRTIMP size_t __cdecl wcslen(const wchar_t *)
_ACRTIMP size_t __cdecl wcscspn(const wchar_t *, const wchar_t *)
_ACRTIMP wchar_t *__cdecl wcsstr(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl wcsncmp(const wchar_t *, const wchar_t *, size_t)
_ACRTIMP size_t __cdecl strlen(const char *)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei count
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
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
static int comp_value(const WCHAR *ptr, int dpc)
char * trim(char *str, char **last_chr, BOOL strip_quotes)
int WINAPI lstrlenA(LPCSTR lpString)
#define memcpy(s1, s2, n)
#define memmove(s1, s2, n)
static NTSTATUS *static PWSTR CURDIR *static HMODULE hmod
#define cmp(status, error)
static short search(int val, const short *table, int size)
unsigned __int3264 UINT_PTR
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteN(_Out_ PCHAR MbString, _In_ ULONG MbSize, _Out_opt_ PULONG ResultSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
#define LOCALE_USER_DEFAULT
static unsigned __int64 next
const char int int int static __inline const char * wine_dbgstr_a(const char *s)
XML_HIDDEN void xmlParserErrors const char const xmlChar const xmlChar * str2
XML_HIDDEN void xmlParserErrors const char const xmlChar * str1
#define LOAD_LIBRARY_AS_DATAFILE
#define LOCALE_USE_CP_ACP
#define MAKEINTRESOURCEW(i)