ReactOS 0.4.16-dev-981-g80eb313
|
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>
#include <errno.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <ctype.h>
Go to the source code of this file.
Classes | |
struct | _TEST_RESULT_INFO |
Macros | |
#define | MAX_PATH 260 |
#define | DIR_SEPARATOR_CHAR '/' |
#define | DIR_SEPARATOR_STRING "/" |
Typedefs | |
typedef struct _TEST_RESULT_INFO | TEST_RESULT_INFO |
typedef struct _TEST_RESULT_INFO * | PTEST_RESULT_INFO |
Functions | |
static char * | convert_path (char *origpath) |
static void | write_line (char *line) |
static void | read_file (char *filename) |
static void | close_file () |
static int | is_whitespace (char ch) |
static int | is_eol_char (char ch) |
static void | skip_line () |
static void | skip_whitespace () |
static int | skip_to_next_test () |
static int | read_until (char ch, char *buf) |
static int | read_until_end (char *buf) |
static void | parse_file (char *filename) |
static void | generate_xml () |
int | main (int argc, char **argv) |
Variables | |
static FILE * | out |
static FILE * | file_handle = NULL |
static char * | file_buffer = NULL |
static unsigned int | file_size = 0 |
static int | file_pointer = 0 |
static PTEST_RESULT_INFO | test_result_info_list = NULL |
static char | HELP [] |
#define DIR_SEPARATOR_CHAR '/' |
Definition at line 28 of file regtests2xml.c.
#define DIR_SEPARATOR_STRING "/" |
Definition at line 29 of file regtests2xml.c.
#define MAX_PATH 260 |
Definition at line 26 of file regtests2xml.c.
typedef struct _TEST_RESULT_INFO * PTEST_RESULT_INFO |
typedef struct _TEST_RESULT_INFO TEST_RESULT_INFO |
|
static |
Definition at line 133 of file regtests2xml.c.
Referenced by _Dispatch_type_(), and parse_file().
Definition at line 53 of file regtests2xml.c.
Referenced by main().
|
static |
Definition at line 337 of file regtests2xml.c.
Referenced by main().
Definition at line 157 of file regtests2xml.c.
Referenced by read_until_end(), skip_line(), skip_to_next_test(), and skip_whitespace().
Definition at line 143 of file regtests2xml.c.
Referenced by skip_whitespace().
Definition at line 402 of file regtests2xml.c.
Definition at line 271 of file regtests2xml.c.
Referenced by main().
Definition at line 97 of file regtests2xml.c.
Referenced by parse_file().
Definition at line 236 of file regtests2xml.c.
Referenced by parse_file().
Definition at line 253 of file regtests2xml.c.
Referenced by parse_file().
|
static |
Definition at line 171 of file regtests2xml.c.
Referenced by read_until_end(), and skip_to_next_test().
|
static |
Definition at line 198 of file regtests2xml.c.
Referenced by parse_file().
|
static |
Definition at line 188 of file regtests2xml.c.
Referenced by parse_file(), __crt_stdio_input::input_processor< Character, InputAdapter >::process_whitespace(), skip_to_next_test(), and XCOPY_ParseCommandLine().
Definition at line 82 of file regtests2xml.c.
Referenced by generate_xml().
Definition at line 46 of file regtests2xml.c.
Referenced by close_file(), common_spawnvp(), IDirectXFileImpl_CreateEnumObject(), read_file(), read_until(), read_until_end(), skip_line(), skip_to_next_test(), and skip_whitespace().
Definition at line 45 of file regtests2xml.c.
Referenced by close_file(), common_stat(), FileProtocol_StartEx(), read_file(), and VfdOpenImage().
|
static |
Definition at line 48 of file regtests2xml.c.
Referenced by close_file(), parse_file(), read_file(), read_until(), read_until_end(), skip_line(), skip_to_next_test(), and skip_whitespace().
Definition at line 47 of file regtests2xml.c.
Referenced by build_exe(), cache_container_is_valid(), cache_container_open_index(), cache_container_set_size(), calculate_dds_file_size(), calculate_file_cost(), compare_export_(), create_stream_on_file(), D3DXCreateCubeTextureFromFileInMemoryEx(), debugcontrol_GetLogFile(), debugsymbols_GetLineByOffset(), debugsymbols_GetLineByOffsetWide(), DECLARE_INTERFACE_(), CVfdShExt::DoVfdDrop(), file_write_http_header(), FileProtocol_StartEx(), FT_New_Memory_Face(), generate_xa_rr_attributes(), get_file_data(), IDirectXFileImpl_CreateEnumObject(), inf_load(), load_file(), map_image_section(), OnTarget(), process_file(), process_file_data(), query_image_section(), read_file(), read_file_to_bstr(), read_until(), read_until_end(), save_dds_surface_to_memory(), skip_line(), skip_to_next_test(), skip_whitespace(), SOFTPUB_HashPEFile(), START_TEST(), test_dds_header_handling(), test_http_cache(), test_Loader(), test_ResolveDelayLoadedAPI(), urlcache_entry_commit(), VfdCreateImageFile(), write_checksums(), and write_files().
|
static |
Definition at line 396 of file regtests2xml.c.
Referenced by main().
|
static |
Definition at line 44 of file regtests2xml.c.
Referenced by main(), and write_line().
|
static |
Definition at line 49 of file regtests2xml.c.
Referenced by generate_xml(), and parse_file().