cfg: formatted the cfg files with the runastyle script

This commit is contained in:
Daniel Marjamäki 2014-10-14 06:46:47 +02:00
parent b90ae22734
commit 44420bdbf1
6 changed files with 2489 additions and 864 deletions

View File

@ -22,9 +22,11 @@
<podtype name="uintmax_t" sign="u" size="8"/>
<!-- ctype.h -->
<function name="toascii">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><valid>0:255</valid></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<valid>0:255</valid>
</arg>
</function>
<!-- errno.h -->
<define name="EDOM" value="33"/>
@ -122,15 +124,15 @@
<define name="truncf" value="trunc"/>
<!-- The rest of the trigonometric functions are defined in std.cfg -->
<!-- stdio.h -->
<define name="fdev_set_udata(stream, u)" value="do { (stream)- > udata = u; } while(0)"/>
<define name="fdev_get_udata(stream)" value="((stream)- > udata)"/>
<define name="fdev_setup_stream" value="(stream, put, get, rwflag)" />
<define name="fdev_set_udata(stream, u)" value="do { (stream)- &gt; udata = u; } while(0)"/>
<define name="fdev_get_udata(stream)" value="((stream)- &gt; udata)"/>
<define name="fdev_setup_stream" value="(stream, put, get, rwflag)"/>
<define name="_FDEV_SETUP_READ" value="__SRD"/>
<define name="_FDEV_SETUP_WRITE" value="__SWR"/>
<define name="_FDEV_SETUP_RW" value="(__SRD | __SWR)"/>
<define name="_FDEV_ERR" value="(-1)"/>
<define name="_FDEV_EOF" value="(-2)"/>
<define name="FDEV_SETUP_STREAM" value="(put, get, rwflag)" />
<define name="FDEV_SETUP_STREAM" value="(put, get, rwflag)"/>
<define name="putc(__c, __stream)" value="fputc(__c, __stream)"/>
<define name="putchar(__c)" value="fputc(__c, stdout)"/>
<define name="getc(__stream)" value="fgetc(__stream)"/>
@ -139,135 +141,250 @@
<define name="SEEK_CUR" value="1"/>
<define name="SEEK_END" value="2"/>
<function name="vfprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg><formatstr/>
<arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<formatstr/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="printf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/> <arg nr="1"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="sprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/> <arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
</function>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="snprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/> <arg nr="3"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
</function>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="3">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="vsprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/> <arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="vsnprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/><arg nr="3"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="3">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="fprintf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<formatstr/><arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<formatstr/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="fputs_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="puts_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/><not-bool/><valid>0:</valid></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="scanf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<formatstr scan="true"/><arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<formatstr scan="true"/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="fscanf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<formatstr scan="true"/><arg nr="2"><formatstr/></arg>
<arg nr="any"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<formatstr scan="true"/>
<arg nr="2">
<formatstr/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<function name="sscanf_P">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr scan="true"/> <arg nr="2"><formatstr/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr scan="true"/>
<arg nr="2">
<formatstr/>
</arg>
</function>
<function name="fdevopen">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- stdlib.h -->
<define name="__ptr_t" value="void *"/>
<define name="RAND_MAX" value="0x7FFF"/>
<function name="ltoa">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="utoa">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="ultoa">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="random">
<noreturn>false</noreturn>
<leak-ignore/>
<function name="random">
<noreturn>false</noreturn>
<leak-ignore/>
</function>
<function name="random_r">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<function name="random_r">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
</function>
<function name="srandom">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="dtostre">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><not-null/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<function name="dtostrf">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><not-uninit/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-null/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-null/>
</arg>
</function>
<define name="RANDOM_MAX" value="0x7FFFFFFF"/>
<define name="DTOSTR_ALWAYS_SIGN" value="0x01"/>
@ -275,26 +392,40 @@
<define name="DTOSTR_UPPERCASE" value="0x04"/>
<!-- string.h -->
<function name="ffs">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="ffsl">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="ffsll">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="memccpy">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-uninit/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
</def>

View File

@ -1,130 +1,334 @@
<?xml version="1.0"?>
<def format="1">
<function name="usleep"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><valid>0:999999</valid></arg> </function>
<function name="_exit"> <noreturn>true</noreturn> </function>
<function name="closedir"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-uninit/><not-null/></arg> </function>
<function name="usleep">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<valid>0:999999</valid>
</arg>
</function>
<function name="_exit">
<noreturn>true</noreturn>
</function>
<function name="closedir">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="strdup">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="strdupa">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="strndup">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="strndupa">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="wcsdup">
<noreturn>false</noreturn>
<arg nr="1"><not-null/><not-uninit/></arg>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="mkstemp">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="mkdtemp">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="mktemp">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="mkstemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="mkdtemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="mktemp"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="getcwd">
<noreturn>false</noreturn>
<arg nr="2"><not-uninit/></arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<function name="mkdir">
<noreturn>false</noreturn>
<arg nr="1"><not-uninit/><not-null/></arg>
<arg nr="2"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<function name="rmdir">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="chdir">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="rmdir"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="chdir"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="link">
<noreturn>false</noreturn>
<arg nr="1"><not-uninit/><not-null/></arg>
<arg nr="2"><not-uninit/><not-null/></arg>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="rename"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/><not-null/></arg> <leak-ignore/> </function>
<function name="isatty"> <noreturn>false</noreturn> <arg nr="1"><not-uninit/></arg> <leak-ignore/> </function>
<function name="popen"><noreturn>false</noreturn><arg nr="1"><not-null/><not-uninit/></arg><arg nr="2"><not-null/><not-uninit/></arg></function>
<function name="pclose"><noreturn>false</noreturn><arg nr="1"><not-null/><not-uninit/></arg></function>
<function name="fdopen"><noreturn>false</noreturn><arg nr="1"><not-null/><not-uninit/></arg></function>
<function name="rename">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<function name="isatty">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<function name="popen">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="pclose">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="fdopen">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="rand_r">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
</function>
<function name="memmem">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/><not-null/></arg>
<arg nr="2"><not-uninit/></arg>
<arg nr="3"><not-uninit/><not-null/></arg>
<arg nr="4"><not-uninit/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
<not-null/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="memrchr">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-uninit/><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="rawmemchr">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-uninit/><not-bool/><valid>0:</valid></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="strcasecmp">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/><not-null/></arg>
<arg nr="2"><not-uninit/><not-null/></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="strncasecmp">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-uninit/><not-null/></arg>
<arg nr="2"><not-uninit/><not-null/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-null/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="read">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="write">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="recv">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="recvfrom">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="send">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="sendto">
<arg nr="1"><not-uninit/></arg>
<arg nr="2"><minsize type="argvalue" arg="3"/></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="4"><not-uninit/></arg>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<memory>
<dealloc>free</dealloc>
@ -134,32 +338,26 @@
<alloc init="true">strndupa</alloc>
<alloc init="true">wcsdup</alloc>
</memory>
<resource>
<dealloc>close</dealloc>
<alloc init="true">open</alloc>
<alloc init="true">socket</alloc>
</resource>
<resource>
<dealloc>closedir</dealloc>
<alloc init="true">opendir</alloc>
<alloc init="true">fdopendir</alloc>
</resource>
<resource>
<dealloc>fclose</dealloc>
<alloc init="true">fdopen</alloc>
</resource>
<resource>
<dealloc>pclose</dealloc>
<alloc init="true">popen</alloc>
</resource>
<podtype name="in_port_t" sign="u" size="2"/>
<podtype name="in_addr_t" sign="u" size="4"/>
<podtype name="socklen_t" sign="u" size="4"/>
<podtype name="sa_family_t" sign="u" size="2"/>
</def>
</def>

View File

@ -1,8 +1,6 @@
<?xml version="1.0"?>
<def format="1">
<markup ext=".qml" reporterrors="false" aftercode="true">
<!-- keywords in QML code to ignore -->
<keywords>
<keyword name="if"/>
@ -10,7 +8,6 @@
<keyword name="typeof"/>
<keyword name="for"/>
</keywords>
<!-- code blocks are meta-code/pseudo code placed in the library
that is used/called by the native c/c++ code -->
<codeblocks>
@ -33,7 +30,6 @@
<!-- the start block is '3' tokens after the
name token so we skip them -->
</codeblocks>
<codeblocks>
<block name="function"/>
<!-- code block structure in QML is:
@ -42,30 +38,27 @@
} -->
<structure offset="2" start="{" end="}"/>
</codeblocks>
<!-- Qt Properties have the format :
Q_PROPERTY(<type> <name> READ <func> WRITE <func> NOTIFY <func>)
the READ/WRITE/NOTIFY parts are optional -->
<exported>
<exporter prefix="Q_PROPERTY">
<suffix>READ</suffix> <!-- catch the element before READ if present -->
<suffix>READ</suffix>
<!-- catch the element before READ if present -->
<prefix>READ</prefix>
<prefix>WRITE</prefix>
<prefix>NOTIFY</prefix>
</exporter>
</exported>
<!-- qml files can call connect on the c++ code -->
<imported>
<importer>connect</importer>
</imported>
</markup>
<!-- qt can call methods as strings using invokeMethod -->
<reflection>
<call arg="2">invokeMethod</call>
</reflection>
<!-- the SLOT/SIGNAL methods can be cause false-positives for pure
virtual functions being called in the constructor because it sees
the macro as a function. -->
@ -75,10 +68,8 @@
<function name="SIGNAL">
<ignorefunction>true</ignorefunction>
</function>
<define name="Q_DECL_EXPORT" value=""/>
<define name="Q_DECL_IMPORT" value=""/>
<podtype name="qint8" sign="s" size="1"/>
<podtype name="qint16" sign="s" size="2"/>
<podtype name="qint32" sign="s" size="4"/>

View File

@ -1,12 +1,51 @@
<?xml version="1.0"?>
<def format="1">
<function name="SDL_mutexP"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg> </function>
<function name="SDL_mutexV"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg> </function>
<function name="SDL_RWsize"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg> </function>
<function name="SDL_RWread"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg><arg nr="2"><not-bool/><not-null/></arg> </function>
<function name="IMG_isPNG"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg> </function>
<function name="IMG_isJPG"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><not-null/></arg> </function>
<function name="SDL_mutexP">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_mutexV">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_RWsize">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_RWread">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="IMG_isPNG">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="IMG_isJPG">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<resource>
<dealloc>SDL_FreeSurface</dealloc>
<alloc init="true">SDL_CreateRGBSurface</alloc>
@ -16,30 +55,24 @@
<alloc init="true">IMG_LoadJPG_RW</alloc>
<alloc init="true">IMG_Load</alloc>
</resource>
<resource>
<dealloc>SDL_DestroyMutex</dealloc>
<alloc init="true">SDL_CreateMutex</alloc>
</resource>
<resource>
<dealloc>SDL_WaitThread</dealloc>
<alloc init="true">SDL_CreateThread</alloc>
</resource>
<resource>
<dealloc>SDL_RWclose</dealloc>
<alloc init="true">SDL_RWFromFile</alloc>
</resource>
<resource>
<dealloc>SDL_FreeRW</dealloc>
<alloc init="true">SDL_AllocRW</alloc>
</resource>
<resource>
<dealloc>Mix_FreeMusic</dealloc>
<alloc init="true">Mix_LoadMUSType_RW</alloc>
</resource>
</def>

File diff suppressed because it is too large Load Diff

View File

@ -72,7 +72,6 @@
<alloc init="true">LockServiceDatabase</alloc>
<dealloc>UnlockServiceDatabase</dealloc>
</resource>
<memory>
<alloc>ExAllocatePool</alloc>
<alloc>ExAllocatePoolWithQuota</alloc>
@ -179,135 +178,366 @@
<alloc init="true">_wcsdup_dbg</alloc>
<dealloc>free</dealloc>
</memory>
<function name="RtlCompareMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlCopyBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlCopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlEqualMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlFillBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="RtlFillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="RtlMoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlSecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlZeroBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="RtlZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="CopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="FillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="3"><not-uninit/></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="MoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="SecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="ZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0:</valid></arg>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="KeBugCheck">
<noreturn>true</noreturn>
</function>
<function name="KeBugCheckEx">
<noreturn>true</noreturn>
</function>
<function name="printf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrint"><noreturn>false</noreturn><leak-ignore/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintExWithPrefix"><noreturn>false</noreturn><leak-ignore/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="scanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="sscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="swscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="printf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="1">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="wprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="1">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="fprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="fwprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="_snprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="4">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="_snwprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr secure="true"/>
<arg nr="4">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="DbgPrint">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="DbgPrintEx">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="3">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="vDbgPrintEx">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="3">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="vDbgPrintExWithPrefix">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="4">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="scanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="1">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="wscanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="1">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="sscanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="fscanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="fwscanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<function name="swscanf_s">
<noreturn>false</noreturn>
<formatstr scan="true" secure="true"/>
<arg nr="2">
<formatstr/>
<not-uninit/>
<not-null/>
</arg>
</function>
<podtype name="ACCESS_MASK" sign="u" size="4"/>
<podtype name="ATOM" sign="u" size="2"/>
<podtype name="BOOL" sign="s" size="4"/>
@ -375,5 +605,4 @@
<podtype name="USN" sign="s" size="8"/>
<podtype name="WORD" sign="u" size="2"/>
<podtype name="WPARAM" sign="u"/>
</def>