FreeRDP
TestString.c File Reference
#include <stdio.h>
#include <winpr/crt.h>
#include <winpr/windows.h>

Macros

#define testStringW_Length   ((sizeof(testStringW) / sizeof(WCHAR)) - 1)
 
#define testToken1W_Length   ((sizeof(testToken1W) / sizeof(WCHAR)) - 1)
 
#define testToken2W_Length   ((sizeof(testToken2W) / sizeof(WCHAR)) - 1)
 
#define testToken3W_Length   ((sizeof(testToken3W) / sizeof(WCHAR)) - 1)
 
#define testTokensW_Length   ((sizeof(testTokensW) / sizeof(WCHAR)) - 1)
 
#define testDelimiter_Length   ((sizeof(testDelimiter) / sizeof(WCHAR)) - 1)
 

Functions

int TestString (int argc, char *argv[])
 

Variables

static WCHAR testStringW []
 
static WCHAR testToken1W [] = { 'q', 'u', 'i', 'c', 'k', '\0' }
 
static WCHAR testToken2W [] = { 'b', 'r', 'o', 'w', 'n', '\0' }
 
static WCHAR testToken3W [] = { 'f', 'o', 'x', '\0' }
 
static WCHAR testTokensW []
 
static WCHAR testDelimiter [] = { '\r', '\n', '\0' }
 

Macro Definition Documentation

#define testDelimiter_Length   ((sizeof(testDelimiter) / sizeof(WCHAR)) - 1)
#define testStringW_Length   ((sizeof(testStringW) / sizeof(WCHAR)) - 1)
#define testToken1W_Length   ((sizeof(testToken1W) / sizeof(WCHAR)) - 1)
#define testToken2W_Length   ((sizeof(testToken2W) / sizeof(WCHAR)) - 1)
#define testToken3W_Length   ((sizeof(testToken3W) / sizeof(WCHAR)) - 1)
#define testTokensW_Length   ((sizeof(testTokensW) / sizeof(WCHAR)) - 1)

Function Documentation

int TestString ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

WCHAR testDelimiter[] = { '\r', '\n', '\0' }
static
WCHAR testStringW[]
static
Initial value:
=
{
'T', 'h', 'e', ' ', 'q', 'u', 'i', 'c', 'k', ' ', 'b', 'r', 'o', 'w', 'n', ' ',
'f', 'o', 'x', ' ', 'j', 'u', 'm', 'p', 's', ' ', 'o', 'v', 'e', 'r', ' ',
't', 'h', 'e', ' ', 'l', 'a', 'z', 'y', ' ', 'd', 'o', 'g', '\0'
}
WCHAR testToken1W[] = { 'q', 'u', 'i', 'c', 'k', '\0' }
static
WCHAR testToken2W[] = { 'b', 'r', 'o', 'w', 'n', '\0' }
static
WCHAR testToken3W[] = { 'f', 'o', 'x', '\0' }
static
WCHAR testTokensW[]
static
Initial value:
=
{
'q', 'u', 'i', 'c', 'k', '\r', '\n',
'b', 'r', 'o', 'w', 'n', '\r', '\n',
'f', 'o', 'x', '\r', '\n', '\0'
}