ReactOS
0.4.15-dev-4569-g032c50f
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winreg.h"
#include "setupapi.h"
#include "wine/test.h"
Go to the source code of this file.
Macros | |
#define | A255 |
#define | A256 "a" A255 |
#define | A400 |
#define | A1200 A400 A400 A400 |
#define | A511 A255 A256 |
#define | A4096 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 |
#define | A4097 "a" A4096 |
#define | STD_HEADER "[Version]\r\nSignature=\"$CHICAGO$\"\r\n" |
#define | STR_SECTION |
Functions | |
static | LPCSTR (WINAPI *pSetupGetFieldA)(PINFCONTEXT |
static | LPCWSTR (WINAPI *pSetupGetFieldW)(PINFCONTEXT |
static | BOOL (WINAPI *pSetupEnumInfSectionsA)(HINF hinf |
static void | init_function_pointers (void) |
static HINF | test_file_contents (const char *data, UINT *err_line) |
static const char * | get_string_field (INFCONTEXT *context, DWORD index) |
static const char * | get_line_text (INFCONTEXT *context) |
static void | test_invalid_files (void) |
Variables | |
static HMODULE | hSetupAPI |
static | DWORD |
static UINT | index |
static UINT PSTR | buffer |
static UINT PSTR DWORD | size |
static UINT PSTR DWORD UINT * | need |
static const char | tmpfilename [] = ".\\tmp.inf" |
struct { | |
const char * data | |
DWORD error | |
UINT err_line | |
BOOL todo | |
} | invalid_files [] |
#define A255 |
#define A400 |
#define STD_HEADER "[Version]\r\nSignature=\"$CHICAGO$\"\r\n" |
#define STR_SECTION |
|
static |
Definition at line 92 of file parser.c.
|
static |
Definition at line 85 of file parser.c.
Definition at line 38 of file parser.c.
Definition at line 74 of file parser.c.
Referenced by test_invalid_files().
Definition at line 151 of file parser.c.
Definition at line 36 of file parser.c.
Referenced by get_line_text(), get_string_field(), parse_buffer(), parse_file(), xmlParseNmtoken(), xmlParseStringName(), and xmlSplitQName().
Definition at line 34 of file parser.c.
Referenced by SetupGetInfFileListW().
UINT err_line |
Definition at line 106 of file parser.c.
Referenced by inf_open_file_content(), test_file_contents(), test_invalid_files(), test_SetupAddInstallSectionToDiskSpaceListA(), and test_SetupAddSectionToDiskSpaceListA().
DWORD error |
Definition at line 105 of file parser.c.
Referenced by add_field_from_token(), LIBXML_ATTR_FORMAT(), ParseFor(), ParseIf(), SetupFindNextLine(), SetupFindNextMatchLineW(), SetupOpenAppendInfFileA(), SetupOpenAppendInfFileW(), SetupOpenInfFileA(), SetupOpenInfFileW(), test_invalid_files(), xmlFatalErr(), xmlParseAttValueComplex(), xmlParseConditionalSections(), and xmlParseEntityValue().
|
static |
Definition at line 33 of file parser.c.
Referenced by init_function_pointers().
Definition at line 36 of file parser.c.
Referenced by SetupGetBinaryField(), SetupGetLineByIndexW(), SetupGetMultiSzFieldA(), and SetupGetMultiSzFieldW().
const { ... } invalid_files[] |
Referenced by test_invalid_files().
Definition at line 36 of file parser.c.
Referenced by buffered_fullread(), mbedtls_ssl_chk_buf_ptr(), ME_StreamInText(), SetupEnumInfSectionsA(), SetupEnumInfSectionsW(), and ZSTD_decodeLiteralsBlock().
Definition at line 191 of file parser.c.
Referenced by add_line(), add_section(), find_line(), get_line(), SetupFindNextLine(), and SetupFindNextMatchLineW().
Definition at line 36 of file parser.c.
Referenced by xmlParseBalancedChunkMemoryInternal().
Definition at line 49 of file parser.c.
Referenced by inf_open_file_content(), test_file_contents(), test_ok(), test_SetupAddInstallSectionToDiskSpaceListA(), and test_SetupAddSectionToDiskSpaceListA().
BOOL todo |
Definition at line 107 of file parser.c.
Referenced by test_invalid_files().