ReactOS 0.4.15-dev-7788-g1ad9096
regtests2xml.c File Reference
#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>
Include dependency graph for regtests2xml.c:

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_INFOPTEST_RESULT_INFO
 

Functions

static charconvert_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 FILEout
 
static FILEfile_handle = NULL
 
static charfile_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 []
 

Macro Definition Documentation

◆ DIR_SEPARATOR_CHAR

#define DIR_SEPARATOR_CHAR   '/'

Definition at line 28 of file regtests2xml.c.

◆ DIR_SEPARATOR_STRING

#define DIR_SEPARATOR_STRING   "/"

Definition at line 29 of file regtests2xml.c.

◆ MAX_PATH

#define MAX_PATH   260

Definition at line 26 of file regtests2xml.c.

Typedef Documentation

◆ PTEST_RESULT_INFO

◆ TEST_RESULT_INFO

Function Documentation

◆ close_file()

static void close_file ( )
static

Definition at line 133 of file regtests2xml.c.

134{
139 file_pointer = 0;
140}
#define free
Definition: debug_ros.c:5
#define NULL
Definition: types.h:112
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
static FILE * file_handle
Definition: regtests2xml.c:45
static int file_pointer
Definition: regtests2xml.c:48
static char * file_buffer
Definition: regtests2xml.c:46

Referenced by _Dispatch_type_(), and parse_file().

◆ convert_path()

static char * convert_path ( char origpath)
static

Definition at line 53 of file regtests2xml.c.

54{
55 char* newpath;
56 int i;
57
58 newpath = strdup(origpath);
59
60 i = 0;
61 while (newpath[i] != 0)
62 {
63#ifndef WIN32
64 if (newpath[i] == '\\')
65 {
66 newpath[i] = '/';
67 }
68#else
69#ifdef WIN32
70 if (newpath[i] == '/')
71 {
72 newpath[i] = '\\';
73 }
74#endif
75#endif
76 i++;
77 }
78 return(newpath);
79}
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
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)

Referenced by main().

◆ generate_xml()

static void generate_xml ( )
static

Definition at line 337 of file regtests2xml.c.

338{
339 PTEST_RESULT_INFO test_result_info;
340 char buf[200];
341 int success_rate;
342 int succeeded_total;
343 int failed_total;
344
345 succeeded_total = 0;
346 failed_total = 0;
347
348 test_result_info = test_result_info_list;
349 while (test_result_info != NULL)
350 {
351 if (test_result_info->succeeded)
352 {
353 succeeded_total++;
354 }
355 else
356 {
357 failed_total++;
358 }
359 test_result_info = test_result_info->next;
360 }
361
362 if (succeeded_total + failed_total > 0)
363 {
364 success_rate = ((succeeded_total) * 100) / (succeeded_total + failed_total);
365 }
366 else
367 {
368 success_rate = 100;
369 }
370
371 write_line("<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>");
372 write_line("");
373
374 sprintf(buf, "<testresults success_rate=\"%d\" succeeded_total=\"%d\" failed_total=\"%d\">",
375 success_rate, succeeded_total, failed_total);
377
379 {
380 test_result_info = test_result_info_list;
381 while (test_result_info != NULL)
382 {
383 sprintf(buf, "<testresult testname=\"%s\" succeeded=\"%s\" result=\"%s\">",
384 test_result_info->testname,
385 test_result_info->succeeded == 1 ? "true" : "false",
386 test_result_info->result);
388 write_line("</testresult>");
389 test_result_info = test_result_info->next;
390 }
391 }
392
393 write_line("</testresults>");
394}
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define sprintf(buf, format,...)
Definition: sprintf.c:55
static PTEST_RESULT_INFO test_result_info_list
Definition: regtests2xml.c:49
static void write_line(char *line)
Definition: regtests2xml.c:82
char result[200]
Definition: regtests2xml.c:39
struct _TEST_RESULT_INFO * next
Definition: regtests2xml.c:37
char testname[100]
Definition: regtests2xml.c:38

Referenced by main().

◆ is_eol_char()

static int is_eol_char ( char  ch)
static

Definition at line 157 of file regtests2xml.c.

158{
159 if (ch == '\r')
160 {
161 return 1;
162 }
163 if (ch == '\n')
164 {
165 return 1;
166 }
167 return 0;
168}

Referenced by read_until_end(), skip_line(), skip_to_next_test(), and skip_whitespace().

◆ is_whitespace()

static int is_whitespace ( char  ch)
static

Definition at line 143 of file regtests2xml.c.

144{
145 if (ch == ' ')
146 {
147 return 1;
148 }
149 if (ch == '\t')
150 {
151 return 1;
152 }
153 return 0;
154}

Referenced by skip_whitespace().

◆ main()

int main ( int argc  ,
char **  argv 
)

Definition at line 402 of file regtests2xml.c.

403{
404 char *input_file;
405 char *output_file;
406
407 if (argc < 3)
408 {
409 puts(HELP);
410 return 1;
411 }
412
413 input_file = convert_path(argv[1]);
414 if (input_file[0] == 0)
415 {
416 free(input_file);
417 printf("Missing input-filename\n");
418 return 1;
419 }
420
421 output_file = convert_path(argv[2]);
422 if (output_file[0] == 0)
423 {
424 free(output_file);
425 free(input_file);
426 printf("Missing output-filename\n");
427 return 1;
428 }
429
430 out = fopen(output_file, "wb");
431 if (out == NULL)
432 {
433 free(input_file);
434 free(output_file);
435 printf("Cannot open output file");
436 return 1;
437 }
438
439 parse_file(input_file);
440
441 generate_xml();
442
443 free(input_file);
444 free(output_file);
445 fclose(out);
446
447 return 0;
448}
static int argc
Definition: ServiceArgs.c:12
int puts(const char *string)
Definition: crtsupp.c:23
#define printf
Definition: freeldr.h:93
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
#define argv
Definition: mplay32.c:18
static FILE * out
Definition: regtests2xml.c:44
static void parse_file(char *filename)
Definition: regtests2xml.c:271
static void generate_xml()
Definition: regtests2xml.c:337
static char HELP[]
Definition: regtests2xml.c:396
static char * convert_path(char *origpath)
Definition: regtests2xml.c:53

◆ parse_file()

static void parse_file ( char filename)
static

Definition at line 271 of file regtests2xml.c.

272{
273 PTEST_RESULT_INFO test_result_info;
274
276
277 do
278 {
279 if (!skip_to_next_test())
280 {
281 break;
282 }
283
284 /*
285 * FORMAT:
286 * [ROSREGTEST:][space][|][<testname>][|][space][Status:][space][<result of running test>]
287 */
288
289 test_result_info = malloc(sizeof(TEST_RESULT_INFO));
290 if (test_result_info == NULL)
291 {
292 printf("Out of memory\n");
293 exit(1);
294 }
295
296 /* Skip whitespaces */
298
299 /* [|] */
300 file_pointer++;
301
302 /* <testname> */
303 read_until(')', test_result_info->testname);
304
305 /* [|] */
306 file_pointer++;
307
308 /* [space] */
309 file_pointer++;
310
311 /* Status: */
312 file_pointer += 7;
313
314 /* [space] */
315 file_pointer++;
316
317 /* <result of running test> */
318 read_until_end(test_result_info->result);
319
320 if (strncmp(test_result_info->result, "Success", 7) == 0)
321 {
322 test_result_info->succeeded = 1;
323 }
324 else
325 {
326 test_result_info->succeeded = 0;
327 }
328
329 test_result_info->next = test_result_info_list;
330 test_result_info_list = test_result_info;
331 } while (1);
332
333 close_file();
334}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
Definition: utclib.c:534
#define malloc
Definition: debug_ros.c:4
const char * filename
Definition: ioapi.h:137
static int read_until_end(char *buf)
Definition: regtests2xml.c:253
static void close_file()
Definition: regtests2xml.c:133
static int read_until(char ch, char *buf)
Definition: regtests2xml.c:236
static void skip_whitespace()
Definition: regtests2xml.c:188
static int skip_to_next_test()
Definition: regtests2xml.c:198
static void read_file(char *filename)
Definition: regtests2xml.c:97
#define exit(n)
Definition: config.h:202

Referenced by main().

◆ read_file()

static void read_file ( char filename)
static

Definition at line 97 of file regtests2xml.c.

98{
99 file_handle = fopen(filename, "rb");
100 if (file_handle == NULL)
101 {
102 printf("Can't open %s\n", filename);
103 exit(1);
104 }
105
106 // Get the size of the file
109
110 // Load it all into memory
112 if (file_buffer == NULL)
113 {
115 printf("Out of memory\n");
116 exit(1);
117 }
119 if (file_size > 0)
120 {
121 if (fread (file_buffer, 1, file_size, file_handle) < 1)
122 {
124 printf("Read error in file %s\n", filename);
125 exit(1);
126 }
127 }
128
129 file_pointer = 0;
130}
#define SEEK_END
Definition: cabinet.c:29
_Check_return_opt_ _CRTIMP size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fseek(_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
_Check_return_ _CRTIMP long __cdecl ftell(_Inout_ FILE *_File)
#define SEEK_SET
Definition: jmemansi.c:26
static unsigned int file_size
Definition: regtests2xml.c:47

Referenced by parse_file().

◆ read_until()

static int read_until ( char  ch,
char buf 
)
static

Definition at line 236 of file regtests2xml.c.

237{
238 int start = file_pointer;
239 while ((file_pointer < file_size))
240 {
241 if (file_buffer[file_pointer] == ch)
242 {
244 buf[file_pointer - start] = 0;
245 return 1;
246 }
247 file_pointer++;
248 }
249 return 0;
250}
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
Definition: utclib.c:427
GLuint start
Definition: gl.h:1545

Referenced by parse_file().

◆ read_until_end()

static int read_until_end ( char buf)
static

Definition at line 253 of file regtests2xml.c.

254{
255 int start = file_pointer;
256 while ((file_pointer < file_size))
257 {
259 {
261 buf[file_pointer - start] = 0;
262 skip_line();
263 return 1;
264 }
265 file_pointer++;
266 }
267 return 0;
268}
static int is_eol_char(char ch)
Definition: regtests2xml.c:157
static void skip_line()
Definition: regtests2xml.c:171

Referenced by parse_file().

◆ skip_line()

static void skip_line ( )
static

Definition at line 171 of file regtests2xml.c.

172{
174 {
175 file_pointer++;
176 }
178 {
179 file_pointer++;
180 if ((file_pointer < file_size) && (file_buffer[file_pointer] == '\n'))
181 {
182 file_pointer++;
183 }
184 }
185}

Referenced by read_until_end(), and skip_to_next_test().

◆ skip_to_next_test()

static int skip_to_next_test ( )
static

Definition at line 198 of file regtests2xml.c.

199{
200 static char test_marker[] = "ROSREGTEST:";
201 int found_test = 0;
202
203 while ((file_pointer < file_size) && (!found_test))
204 {
206 found_test = 1;
207 int i = 0;
208 while (1)
209 {
210 if (i >= strlen(test_marker))
211 {
212 break;
213 }
215 {
216 found_test = 0;
217 break;
218 }
219 if (file_buffer[file_pointer] != test_marker[i])
220 {
221 found_test = 0;
222 break;
223 }
224 file_pointer++;
225 i++;
226 }
227 if (!found_test)
228 {
229 skip_line();
230 }
231 }
232 return found_test;
233}
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269

Referenced by parse_file().

◆ skip_whitespace()

static void skip_whitespace ( )
static

Definition at line 188 of file regtests2xml.c.

189{
192 {
193 file_pointer++;
194 }
195}
static int is_whitespace(char ch)
Definition: regtests2xml.c:143

Referenced by parse_file(), skip_to_next_test(), and XCOPY_ParseCommandLine().

◆ write_line()

static void write_line ( char line)
static

Definition at line 82 of file regtests2xml.c.

83{
84 char buf[200];
85
86 memset(buf, 0, sizeof(buf));
87 strcpy(buf, line);
88 /* Terminate the line */
89 buf[strlen(buf)] = '\r';
90 buf[strlen(buf)] = '\n';
91
92 (void)fwrite(&buf[0], 1, strlen(buf), out);
93}
char * strcpy(char *DstString, const char *SrcString)
Definition: utclib.c:388
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
#define memset(x, y, z)
Definition: compat.h:39
Definition: parser.c:49

Referenced by generate_xml().

Variable Documentation

◆ file_buffer

◆ file_handle

FILE* file_handle = NULL
static

Definition at line 45 of file regtests2xml.c.

Referenced by close_file(), FileProtocol_StartEx(), read_file(), and VfdOpenImage().

◆ file_pointer

int file_pointer = 0
static

◆ file_size

◆ HELP

char HELP[]
static
Initial value:
=
"REGTESTS2XML input-filename output-filename\n"
"\n"
" input-filename File containing output from running regression tests\n"
" output-filename File to create\n"

Definition at line 396 of file regtests2xml.c.

Referenced by main().

◆ out

FILE* out
static

Definition at line 44 of file regtests2xml.c.

Referenced by __convert_float_buffer(), __crtGetStringTypeW(), __get_floor_digits(), __gluMultMatrixVecd(), __rpc_uaddr2taddr_af(), _Dispatch_type_(), _Getdays(), _Getmonths(), _nfs41_CreateSrvCall(), _rdpdr_check_fds(), _test_readyState(), _WLocale_ctype(), abs_path_link(), acpi_disable_wakeup_device_power(), acpi_enable_wakeup_device_power(), add_calc_job_comp(), add_calc_job_decomp(), asciiToUTF8(), assembly_create(), assembly_from_hmodule(), attr_cache_entry_create(), attr_cache_find_or_create(), attr_cache_init(), authsspi_create_default(), BaseRendererImpl_Run(), bc_give(), bind_callback_QueryInterface(), BindStatusCallback_OnObjectAvailable(), RequestHandler::bindump(), blake2b(), blake2b_final(), btrfs_file_read(), btrfs_read_extent_inline(), btrfs_read_extent_reg(), btrfs_readlink(), buffered_fullread(), bus_query_hardware_ids(), cache_insert(), cancel_lock(), cancel_open(), cb_compound_argop(), cb_compound_resop(), cb_notify_deviceid_change(), cb_notify_deviceid_delete(), charactersDebug(), CharLowerTest(), CharUpperTest(), check_nfs41_create_args(), check_nfs41_getacl_args(), check_nfs41_getreparse_args(), check_nfs41_queryea_args(), check_nfs41_setacl_args(), check_nfs41_setattr_args(), check_nfs41_setea_args(), check_nfs41_setreparse_args(), check_nfs41_write_args(), CheckCircularConnection(), chmc_encint(), chomp(), cl_exid_compare(), class_object_GetMethod(), Subdivider::classify_headonleft_s(), Subdivider::classify_headonleft_t(), Subdivider::classify_headonright_s(), Subdivider::classify_headonright_t(), Subdivider::classify_tailonleft_s(), Subdivider::classify_tailonleft_t(), Subdivider::classify_tailonright_s(), Subdivider::classify_tailonright_t(), clnt_cb_thread(), cnv_unicode(), coclass1_QueryInterface(), coclass2_QueryInterface(), compat_catpath(), compound_encode_send_decode(), computeBracketPairs(), config_init(), config_load(), config_parse_pair(), context_create(), conv_s16_to_f32(), conv_s16_to_s32(), convert_nfs4acl_2_dacl(), copy_remote_record(), CRAM_DecompressBegin(), CRAM_DecompressGetFormat(), CRAM_DecompressQuery(), create_directinput_instance(), create_new_rpc_auth(), create_nls_file(), create_open_state(), create_rpcsec_auth_client(), create_silly_rename(), create_sub_stream(), create_writer_output(), CreateProxyFromTypeInfo(), CreateXmlWriterOutputWithEncodingCodePage(), CreateXmlWriterOutputWithEncodingName(), CredMarshalCredentialA(), CredMarshalCredentialW(), CredUnmarshalCredentialA(), CredUnmarshalCredentialW(), CRYPT_AppendAttribute(), CRYPT_AsnEncodeAltName(), CRYPT_AsnEncodeAuthorityInfoAccess(), CRYPT_AsnEncodeCertPolicies(), CRYPT_AsnEncodeCertPolicyMappings(), CRYPT_AsnEncodeCertPolicyQualifiers(), CRYPT_AsnEncodeConstructed(), CRYPT_AsnEncodeCRLDistPoints(), CRYPT_AsnEncodeCRLEntries(), CRYPT_AsnEncodeCTLEntries(), CRYPT_AsnEncodeEnhancedKeyUsage(), CRYPT_AsnEncodeExtensions(), CRYPT_AsnEncodeName(), CRYPT_AsnEncodeNoticeNumbers(), CRYPT_AsnEncodeSequence(), CRYPT_AsnEncodeSMIMECapabilities(), CRYPT_AsnEncodeUnicodeName(), CRYPT_ConstructAlgorithmId(), CRYPT_ConstructAttribute(), CRYPT_ConstructAttributes(), CRYPT_ConstructBitBlob(), CRYPT_ConstructBlob(), CRYPT_CopyAlgorithmId(), CRYPT_CopyAttributes(), CRYPT_CopyBlob(), CRYPT_CopyCMSSignerInfo(), CRYPT_CopyRecipientInfo(), CRYPT_CopySignerCertInfo(), CRYPT_CopySignerInfo(), CRYPT_GetLen(), CRYPT_GetLengthIndefinite(), custom_uri_QueryInterface(), d3d8_device_QueryInterface(), d3d8_QueryInterface(), d3d8_surface_QueryInterface(), d3d8_swapchain_QueryInterface(), d3d8_texture_2d_QueryInterface(), d3d8_texture_3d_QueryInterface(), d3d8_texture_cube_QueryInterface(), d3d8_volume_QueryInterface(), d3d9_device_QueryInterface(), d3d9_indexbuffer_QueryInterface(), d3d9_pixelshader_QueryInterface(), d3d9_query_QueryInterface(), d3d9_QueryInterface(), d3d9_stateblock_QueryInterface(), d3d9_surface_QueryInterface(), d3d9_swapchain_QueryInterface(), d3d9_texture_2d_QueryInterface(), d3d9_texture_3d_QueryInterface(), d3d9_texture_cube_QueryInterface(), d3d9_vertex_declaration_QueryInterface(), d3d9_vertexbuffer_QueryInterface(), d3d9_vertexshader_QueryInterface(), d3d9_volume_QueryInterface(), d3d_device1_QueryInterface(), d3d_device2_QueryInterface(), d3d_device3_QueryInterface(), d3d_device7_QueryInterface(), d3d_device_inner_QueryInterface(), d3d_execute_buffer_QueryInterface(), d3d_viewport_TransformVertices(), d3drm1_CreateObject(), d3drm1_QueryInterface(), d3drm2_CreateObject(), d3drm2_QueryInterface(), d3drm3_CreateObject(), d3drm3_QueryInterface(), d3drm_animation1_Clone(), d3drm_animation1_QueryInterface(), d3drm_animation2_Clone(), d3drm_animation2_QueryInterface(), d3drm_device1_Clone(), d3drm_device1_QueryInterface(), d3drm_device2_Clone(), d3drm_device2_QueryInterface(), d3drm_device3_Clone(), d3drm_device3_QueryInterface(), d3drm_device_win_Clone(), d3drm_device_win_QueryInterface(), d3drm_face1_Clone(), d3drm_face1_QueryInterface(), d3drm_face2_Clone(), d3drm_face2_QueryInterface(), d3drm_frame1_Clone(), d3drm_frame1_QueryInterface(), d3drm_frame2_Clone(), d3drm_frame2_QueryInterface(), d3drm_frame3_Clone(), d3drm_frame3_QueryInterface(), d3drm_frame_array_QueryInterface(), d3drm_light_array_QueryInterface(), d3drm_light_Clone(), d3drm_light_QueryInterface(), d3drm_material_Clone(), d3drm_material_QueryInterface(), d3drm_mesh_builder2_Clone(), d3drm_mesh_builder2_QueryInterface(), d3drm_mesh_builder3_Clone(), d3drm_mesh_builder3_QueryInterface(), d3drm_mesh_Clone(), d3drm_mesh_QueryInterface(), d3drm_texture1_Clone(), d3drm_texture1_QueryInterface(), d3drm_texture2_Clone(), d3drm_texture2_QueryInterface(), d3drm_texture3_Clone(), d3drm_texture3_QueryInterface(), d3drm_viewport1_Clone(), d3drm_viewport1_QueryInterface(), d3drm_viewport2_Clone(), d3drm_viewport2_QueryInterface(), d3drm_visual_array_QueryInterface(), d3drm_wrap_Clone(), d3drm_wrap_QueryInterface(), d3dx9_animation_controller_QueryInterface(), d3dx9_file_data_QueryInterface(), d3dx9_file_enum_object_QueryInterface(), d3dx9_file_QueryInterface(), d3dx9_fragment_linker_QueryInterface(), d3dx9_line_QueryInterface(), d3dx9_mesh_QueryInterface(), d3dx9_skin_info_QueryInterface(), d3dx9_sprite_QueryInterface(), d3dx9_texture_shader_QueryInterface(), D3DXCreateRenderToEnvMap(), D3DXCreateRenderToSurface(), D3DXMatrixAffineTransformation(), D3DXMatrixAffineTransformation2D(), D3DXMatrixLookAtLH(), D3DXMatrixLookAtRH(), D3DXMatrixMultiply(), D3DXMatrixRotationAxis(), D3DXMatrixRotationYawPitchRoll(), D3DXMatrixTransformation(), D3DXMatrixTransformation2D(), D3DXPlaneNormalize(), D3DXPlaneTransformArray(), D3DXQuaternionExp(), D3DXQuaternionLn(), D3DXQuaternionMultiply(), D3DXQuaternionNormalize(), D3DXQuaternionRotationAxis(), D3DXQuaternionRotationMatrix(), D3DXQuaternionRotationYawPitchRoll(), D3DXQuaternionSlerp(), D3DXRenderToEnvMap_QueryInterface(), D3DXRenderToSurface_QueryInterface(), D3DXSHAdd(), D3DXSHEvalDirection(), D3DXSHMultiply2(), D3DXSHMultiply3(), D3DXSHMultiply4(), D3DXSHRotate(), D3DXSHRotateZ(), D3DXSHScale(), D3DXVec2Transform(), D3DXVec2TransformArray(), D3DXVec2TransformCoordArray(), D3DXVec2TransformNormalArray(), D3DXVec3ProjectArray(), D3DXVec3Transform(), D3DXVec3TransformArray(), D3DXVec3TransformCoord(), D3DXVec3TransformCoordArray(), D3DXVec3TransformNormalArray(), D3DXVec3Unproject(), D3DXVec3UnprojectArray(), D3DXVec4Cross(), D3DXVec4Transform(), D3DXVec4TransformArray(), ddraw7_QueryInterface(), ddraw_class_factory_CreateInstance(), ddraw_class_factory_QueryInterface(), DDSD2_to_DDSD(), DDSD_to_DDSD2(), de_casteljau_surf(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), decode_base64_blob(), decode_inner_content(), decode_streamname(), delegation_create(), delegation_return(), DEVENUM_ICreateDevEnum_CreateClassEnumerator(), device_load_logo(), DirectInput8Create(), disk_query_directory(), disk_query_information(), disk_query_volume_information(), disp_obj_QueryInterface(), dispatch_create_proxy(), dispatch_typelib_ps_CreateProxy(), dispatch_typelib_ps_QueryInterface(), DllGetClassObject(), dns_strcpyX(), DnsRecordCopyEx(), DnsRecordSetCopyEx(), do_authorization(), do_open(), doit(), doitW(), DrawDibRealize(), DriverEntry(), RequestHandler::dump_one_line(), dwarf2_init_zsection(), dwarfpctoline(), dwarfunwind(), encode_streamname(), XMLStorage::EncodeXMLString(), encrypt_block_impl(), enter_shift(), EnumTfLanguageProfiles_Constructor(), event_client(), exception_code_to_gdb(), exec_baselinefont3(), exec_bold(), exec_browsemode(), exec_composesettings(), exec_delete(), exec_editmode(), exec_font(), exec_fontname(), exec_fontsize(), exec_forecolor(), exec_from_table(), exec_horizontalline(), exec_htmleditmode(), exec_hyperlink(), exec_indent(), exec_italic(), exec_justifycenter(), exec_justifyleft(), exec_justifyright(), exec_mshtml_copy(), exec_mshtml_cut(), exec_mshtml_paste(), exec_orderlist(), exec_outdent(), exec_respectvisibility_indesign(), exec_select_all(), exec_setdirty(), exec_underline(), exec_unorderlist(), exit_shift(), expand_input(), ExpandAlias(), Ext2InspectReparseData(), Ext2TruncateSymlink(), Ext2WriteSymlink(), ext4_ext_create_new_leaf(), ext4_ext_get_blocks(), ext4_ext_grow_indepth(), ext4_ext_remove_space(), ext4_ext_rm_leaf(), ext4_split_extent_at(), fcbopen_main(), feed_read(), file_device_create(), file_layout_read_thread(), file_layout_recall(), file_layout_return(), file_layout_write_thread(), fill_cube_positive_x(), fill_DataFormat(), FilterGraph2_Connect(), FilterGraph2_RenderRecurse(), find_next(), find_subvol(), flush_output_data(), for(), format_abs_path(), format_filelist_filename(), format_lex(), format_uuid(), FSE_writeNCount_generic(), ft_bitmap_assure_buffer(), FT_GlyphLoader_CopyPoints(), FT_Outline_EmboldenXY(), fwpolicy2_QueryInterface(), gdf_driver_proc(), GDI_Bezier(), GdipGetMatrixElements(), get_body(), get_client_for_netaddr(), get_constants_desc(), get_dword_from_reg(), get_ea_list(), get_ea_value(), get_name(), get_param_flags(), get_relevant_argb_components(), get_retrieval_pointers(), get_string_from_reg(), get_subvol_path(), get_superblock_attrs(), get_ttf_nametable_entry(), get_volume_size_info(), getdomainname(), GetExpandedNameA(), GetExpandedNameW(), getPath(), GetUserNameExW(), gif_compress(), gluProject(), gluUnProject(), gluUnProject4(), handle_cb_compound(), handle_cb_sequence(), handle_close(), handle_getacl(), handle_getattr(), handle_lock(), handle_mount(), handle_nfs41_set_size(), handle_open(), handle_read(), handle_readdir(), handle_setacl(), handle_setexattr(), handle_symlink(), handle_upcall(), handle_write(), hash_mac_addrs(), horner_bezier_curve(), horner_bezier_surf(), HTTP_DoAuthorization(), HTTP_ProcessHeader(), I_CryptCreateLruCache(), ICCVID_DecompressBegin(), ICCVID_DecompressGetFormat(), ICCVID_DecompressQuery(), ICGetDisplayFormat(), ICLocate(), ID3DXConstantTableImpl_QueryInterface(), ID3DXFontImpl_QueryInterface(), ID3DXMatrixStackImpl_QueryInterface(), idmap_lookup_group(), idmap_lookup_user(), idmap_query_attrs(), IdnToAscii(), IdnToNameprepUnicode(), IdnToUnicode(), IDxDiagContainerImpl_GetChildContainer(), ignorableWhitespaceDebug(), implicit_handle(), inflate(), inflate_fast(), inflateBack(), inflateSync(), info_to_fattr4(), InternetExplorerManager_QueryInterface(), interpolate_aux(), interpolate_aux_color(), interpolate_aux_color_tex2(), interpolate_aux_tex2(), invert_matrix(), invert_matrix_3d(), invert_matrix_general(), is_valid_name(), is_valid_ncname(), is_valid_pubid(), isaxdecl_QueryInterface(), isaxlexical_QueryInterface(), isolat1ToUTF8(), journal_get_superblock(), journal_update_superblock(), JSGlobal_decodeURI(), layout_allocate_copy(), layout_fetch(), layout_state_create(), layout_update(), lookup_entry(), lookup_rpc(), lookup_symlink(), lznt1_decompress(), lzo_do_compress(), main(), make_surrogate(), map_dacl_2_nfs4acl(), map_name_2_sid(), map_nfs4ace_who(), map_user_to_ids(), marshal_nfs41_close(), marshal_nfs41_dirquery(), marshal_nfs41_eaget(), marshal_nfs41_easet(), marshal_nfs41_filequery(), marshal_nfs41_fileset(), marshal_nfs41_getacl(), marshal_nfs41_header(), marshal_nfs41_lock(), marshal_nfs41_mount(), marshal_nfs41_open(), marshal_nfs41_rw(), marshal_nfs41_setacl(), marshal_nfs41_symlink(), marshal_nfs41_unlock(), marshal_nfs41_volume(), marshal_STGMEDIUM(), marshal_WdtpInterfacePointer(), marshall_getacl(), marshall_getattr(), marshall_getexattr(), marshall_mount(), marshall_open(), marshall_rw(), marshall_symlink(), marshall_unicode_as_utf8(), marshall_volume(), matrix_multiply(), MCIQTZ_mciUpdate(), MCIQTZ_mciWhere(), mdbr_GetReaderByIndex(), mdbr_QueryInterface(), mdr_QueryInterface(), mds_commit(), MediaControl_Pause(), MediaControl_Run(), MetadataQueryReader_CreateInstance(), midi_IDirectMusicPort_DeviceIoControl(), MIDIMAP_LoadSettings(), MimeOleObjectFromMoniker(), module_fill_module(), mpg123_read(), msi_copy_outval(), msi_dump_stream_to_file(), msi_get_remote(), MSI_RecordCopyField(), MsiCloseHandle(), msihandle2msiinfo(), name_cache_entry_create(), name_cache_entry_update(), name_cache_find_or_create(), name_cache_lookup(), names_dump(), next_slot(), nfs41_access(), nfs41_bind_conn_to_session(), nfs41_client_create(), nfs41_client_delegation_recovery(), nfs41_client_owner(), nfs41_client_renew(), nfs41_client_state_revoked(), nfs41_close(), nfs41_CloseSrvOpen(), nfs41_commit(), nfs41_create(), nfs41_Create(), nfs41_create_session(), nfs41_CreateConnection(), nfs41_CreateVNetRoot(), nfs41_delegate_open(), nfs41_delegation_getattr(), nfs41_delegation_granted(), nfs41_delegation_recall(), nfs41_delegation_return(), nfs41_delegpurge(), nfs41_delegreturn(), nfs41_DeleteConnection(), nfs41_destroy_clientid(), nfs41_destroy_session(), nfs41_downcall(), nfs41_ea_set(), nfs41_exchange_id(), nfs41_FinalizeNetRoot(), nfs41_FinalizeSrvCall(), nfs41_free_stateid(), nfs41_fs_locations(), nfs41_FsdDispatch(), nfs41_getattr(), nfs41_GetConnectionInfoFromBuffer(), nfs41_GetReparsePoint(), nfs41_handle_callback(), nfs41_idmap_create(), nfs41_idmap_gid_to_group(), nfs41_idmap_group_to_gid(), nfs41_idmap_name_to_ids(), nfs41_idmap_principal_to_ids(), nfs41_idmap_uid_to_name(), nfs41_link(), nfs41_lock(), nfs41_Lock(), nfs41_lookup(), nfs41_mount(), nfs41_name_cache_create(), nfs41_open(), nfs41_open_stateid_arg(), nfs41_QueryDirectory(), nfs41_QueryEaInformation(), nfs41_QueryFileInformation(), nfs41_QuerySecurityInformation(), nfs41_QueryVolumeInformation(), nfs41_read(), nfs41_Read(), nfs41_readdir(), nfs41_readlink(), nfs41_reclaim_complete(), nfs41_remove(), nfs41_rename(), nfs41_root_create(), nfs41_root_mount_addrs(), nfs41_rpc_clnt_create(), nfs41_rpc_openattr(), nfs41_secinfo(), nfs41_secinfo_noname(), nfs41_send_compound(), nfs41_send_sequence(), nfs41_server_resolve(), nfs41_session_bad_slot(), nfs41_session_create(), nfs41_session_set_lease(), nfs41_setattr(), nfs41_SetEaInformation(), nfs41_SetFileInformation(), nfs41_SetReparsePoint(), nfs41_SetSecurityInformation(), nfs41_shutdown_daemon(), nfs41_SrvCallWinnerNotify(), nfs41_Start(), nfs41_superblock_for_fh(), nfs41_superblock_getattr(), nfs41_symlink_follow(), nfs41_symlink_target(), nfs41_test_stateid(), nfs41_unlock(), nfs41_Unlock(), nfs41_unmount(), nfs41_upcall(), nfs41_UpcallCreate(), nfs41_UpcallWaitForReply(), nfs41_want_delegation(), nfs41_write(), nfs41_Write(), np_enum(), NPAddConnection3(), op_cb_getattr_args(), op_cb_getattr_res(), op_cb_layoutrecall_args(), op_cb_layoutrecall_file(), op_cb_layoutrecall_fsid(), op_cb_layoutrecall_res(), op_cb_notify_args(), op_cb_notify_deviceid_args(), op_cb_notify_deviceid_res(), op_cb_notify_lock_args(), op_cb_notify_lock_res(), op_cb_notify_res(), op_cb_push_deleg_args(), op_cb_push_deleg_res(), op_cb_recall_any_args(), op_cb_recall_any_res(), op_cb_recall_args(), op_cb_recall_res(), op_cb_recall_slot_args(), op_cb_recall_slot_res(), op_cb_recallable_obj_avail_args(), op_cb_recallable_obj_avail_res(), op_cb_sequence_args(), op_cb_sequence_ref(), op_cb_sequence_ref_list(), op_cb_sequence_res(), op_cb_sequence_res_ok(), op_cb_wants_cancelled_args(), op_cb_wants_cancelled_res(), open_deleg_cmp(), XMLStorage::XMLNode::original_write_worker(), parse_abs_path(), parse_close(), parse_cmdlineargs(), parse_getacl(), parse_getattr(), parse_getexattr(), parse_lock(), parse_mount(), parse_open(), parse_prop(), parse_readdir(), parse_rw(), parse_setacl(), parse_setattr(), parse_setexattr(), parse_symlink(), parse_unlock(), parse_url_from_outside(), parse_volume(), parseAndPrintFile(), ParseRegExp(), ParseURLFromOutsideSourceA(), ParseURLFromOutsideSourceW(), PathAllocCombine(), PathCchCanonicalize(), PathCchCanonicalizeEx(), PathCchCombine(), PathCchCombineEx(), pattern_fork(), pattern_init(), pattern_threads_init(), pdo_query_device_id(), pdo_query_hardware_ids(), XMLStorage::XMLNode::plain_write_worker(), pnfs_client_init(), pnfs_data_server_client(), pnfs_file_device_get(), pnfs_file_device_list_create(), pnfs_file_device_notify(), pnfs_file_layout_recall(), pnfs_layout_list_create(), pnfs_layout_state_open(), pnfs_layout_state_prepare(), pnfs_read(), pnfs_rpc_getdeviceinfo(), pnfs_rpc_layoutcommit(), pnfs_rpc_layoutget(), pnfs_rpc_layoutreturn(), pnfs_write(), pointer_default(), prepare_for_binding(), pres_bool_from_value(), pres_float_from_bool(), pres_float_from_int(), pres_int_from_bool(), pres_int_from_float(), XMLStorage::XMLNode::pretty_write_worker(), XMLStorage::StyleSheet::print(), XMLStorage::XMLFormat::print_header(), proc_cb_compound_args(), proc_cb_compound_res(), process_compressed_8x8_brush_data(), process_get_owner(), process_plane(), profile_AtoW(), propschema_QueryInterface(), pswitch(), QueryCygwinEA(), QueryCygwinSymlink(), raid6_recover2(), rdpdr_process_irp(), rdpsnd_process_negotiate(), rdpsnd_process_servertick(), rdssl_mod_exp(), read_entire_dir(), read_from_mds(), read_from_pnfs(), read_hex_data(), readdir_add_dots(), readdir_copy_entry(), recover_delegation_open(), recover_delegation_want(), recover_open(), recover_open_no_grace(), referral_resolve(), reg_create_key(), reg_enum_key(), reg_enum_values(), reg_get_stringvalue(), regexp_new(), regstore_set_data(), remove_dot_segments(), replay_cache_read(), CQueryAssociations::ReturnData(), CQueryAssociations::ReturnString(), root_client_create(), rotate_X(), rpc_array_putfh(), rpc_call(), RPC_GetLocalClassObject(), RPCRT4_default_authorize(), rsa_exptmod(), RSAENH_CPDecrypt(), RSAENH_CPEncrypt(), RSAENH_CPSignHash(), run_ex(), File::SaveFromString(), sec_hash_16(), sec_hash_48(), sec_hash_sha1_16(), sec_hash_to_string(), sec_rsa_encrypt(), security_get_sd(), security_set_sd(), SendFurther(), serial_device_control(), server_create(), server_lookup(), server_lookup_loop(), service_pause_service(), service_resume_service(), service_start_service(), service_stop_service(), session_alloc(), session_get_lease(), set(), set_constants(), set_ea_value(), set_rotation_xform(), CGridView::SetFont(), SetFont(), SharedMemoryInit(), SHELL_ArgifyW(), SHEnumClassesOfCategories(), SHGetIniStringW(), XMLStorage::XMLNode::smart_write_worker(), snarf_tokens(), SQLInstallDriverEx(), SQLInstallTranslatorEx(), squash_guid(), src_float_to_int_array(), src_float_to_short_array(), src_int_to_float_array(), src_short_to_float_array(), sspi_wrap(), START_TEST(), stateid_array(), STATUSBAR_GetBorders(), StoreConnectionInfo(), XMLStorage::XMLError::str(), XMLStorage::XMLErrorList::str(), FstreamTest::streambuf_output(), SstreamTest::streambuf_output(), string2intW(), string_enumerator_Clone(), StripQuotes(), super_navigate(), superblock_create(), SystemClockImpl_Unadvise(), SystemFunction004(), SystemFunction005(), SystemFunction012(), SystemFunction013(), SystemFunction024(), SystemFunction025(), test1_QueryInterface(), test__get_doserrno(), test__get_errno(), test_accel2(), test_BreakawayOk(), test_cf_CreateInstance(), test_cf_QueryInterface(), test_crtGetStringTypeW(), test_D3DXFloat_Array(), test_D3DXSHAdd(), test_D3DXSHRotate(), test_D3DXSHRotateZ(), test_data_cache_contents(), test_DateFromUDate(), test_demangle(), test_dos2dt(), test_DuplicateHandle(), test_exec(), test_exec_fontname(), test_fm2_enummatchingfilters(), test_format_message(), test_get_atom_name(), test_GetMouseMovePointsEx(), test_GetTempFileNameA(), test_I10_OUTPUT(), test_IdnToAscii(), test_IdnToNameprepUnicode(), test_IdnToUnicode(), test_ifiltermapper_from_filtergraph(), test_IsProcessInJob(), test_jobInheritance(), test_local_get_atom_name(), test_marshal_array(), test_marshal_bstr(), test_marshal_coclass(), test_marshal_pointer(), test_marshal_safearray(), test_marshal_struct(), test_marshal_variant(), test_message_from_hmodule(), test_message_from_string(), test_message_from_string_wide(), test_message_ignore_inserts(), test_message_ignore_inserts_wide(), test_message_insufficient_buffer(), test_message_insufficient_buffer_wide(), test_message_invalid_flags(), test_message_invalid_flags_wide(), test_message_wrap(), test_parse_filter_data(), test_PathCommonPrefixA(), test_PathSearchAndQualify(), test_persist_QueryInterface(), test_ports_client(), test_proxy_indirect(), test_PSPropertyKeyFromString(), test_PSStringFromPropertyKey(), test_register_filter_with_null_clsMinorType(), test_SetDefaults(), test_setting_arrays_table(), test_setting_basic_table(), test_setting_matrices_table(), test_SetValue(), test_shell_imagelist(), test_SHGetIniString(), test_SHPropertyBag_ReadLONG(), test_st2dt(), test_StdRegProv(), test_swscanf_s(), test_SystemFunction004(), test_SystemFunction005(), test_SystemSecurity(), test_transform(), test_TreatAsClass(), test_UrlEscapeW(), test_VarDateFromStr(), test_VarDecAdd(), test_VarDecCmp(), test_VarDecDiv(), test_VarDecMul(), test_VarDecRound(), test_VarFormat(), test_VarR8Round(), test_VarUI1FromDisp(), test_VarWeekdayName(), test_vswprintf(), test_Win32_ComputerSystem(), test_Win32_Process(), test_Win32_Service(), TestAdviseAndCanonical(), XMLStorage::XMLMessage::toString(), translate15to16(), translate15to24(), translate15to32(), translate16to16(), translate16to24(), translate16to32(), translate24to16(), translate24to24(), translate24to32(), translate8to16(), translate8to24(), translate8to32(), translate8to8(), translate_image(), translate_record(), TranslateColors(), transpose_matrix(), truncate_path(), TTIsEmbeddingEnabledForFacename(), typelib_proxy_init(), uni2char(), unmarshal_nfs41_getacl(), unmarshal_nfs41_open(), unmarshal_record(), unsquash_guid(), upcall_handle(), upcall_marshall(), upcall_parse(), update_server(), UrlApplySchemeA(), RequestHandler::urldec(), RequestHandler::urlenc(), UrlGetPartA(), URLSubRegQueryA(), usage(), utf16_to_utf8(), UTF16BEToUTF8(), UTF16LEToUTF8(), utf8_to_utf16(), UTF8ToUTF8(), VarCat(), VBArray_getItem(), virtqueue_add_buf_packed(), virtqueue_add_buf_split(), virtqueue_kick_prepare_packed(), warning(), wave_out_play(), WdfDeleteKmdfVersionFromRegistry(), WdfWriteKmdfVersionToRegistry(), weightedcapintegrale(), Widget_array(), Widget_bstr(), Widget_Coclass_ptr(), Widget_iface_ptr(), Widget_int_ptr(), Widget_int_ptr_ptr(), Widget_mystruct(), Widget_rect(), Widget_safearray(), Widget_variant(), Widget_variant_array(), FstreamTest::win32_file_format(), win_iconv(), win_time_to_unix(), XMLStorage::XMLNode::write(), XMLStorage::XMLDoc::write(), write_byte(), write_data(), write_default_value(), XMLStorage::XMLDoc::write_file(), XMLStorage::XMLDoc::write_formating(), write_if_change(), write_int_value(), write_lb_ranges(), write_line(), write_string_value(), write_to_mds(), write_to_pnfs(), write_unicode2cp_table(), WsNcEntryInitializeFromRegistry(), XCOPY_ParseCommandLine(), xmlBuildURI(), xmlCharEncFirstLine(), xmlCharEncFirstLineInput(), xmlCharEncFirstLineInt(), xmlCharEncInFunc(), xmlCharEncInput(), xmlCharEncOutFunc(), xmlCopyChar(), xmlCopyCharMultiByte(), xmlEncInputChunk(), xmlEncOutputChunk(), xmlNormalizeURIPath(), xmlParseReference(), xmlPrintURI(), xmlURIEscapeStr(), xmlURIUnescapeString(), xsltGetNamespace(), xsltGetPlainNamespace(), and ZSTD_compressBlock_internal().

◆ test_result_info_list

PTEST_RESULT_INFO test_result_info_list = NULL
static

Definition at line 49 of file regtests2xml.c.

Referenced by generate_xml(), and parse_file().