cppcheck/cfg/motif.cfg

319 lines
7.4 KiB
INI
Raw Permalink Normal View History

<?xml version="1.0"?>
<def format="2">
2017-06-02 00:59:13 +02:00
<function name="MrmCloseHierarchy">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="MrmOpenHierarchy">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="4"/>
</function>
<function name="MrmOpenHierarchyPerDisplay">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="5"/>
</function>
<function name="XmFontListEntryFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XmFontListCreate,XmFontListAppendEntry">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="XmStringCreateLocalized">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="XmStringCreateSimple">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="XmStringFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XmStringGenerate">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="4"/>
</function>
<function name="XmTextGetString,XmTextGetStringWcs">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
2017-06-02 00:59:13 +02:00
<resource>
<dealloc>MrmCloseHierarchy</dealloc>
<alloc init="true">MrmOpenHierarchy</alloc>
<alloc init="true">MrmOpenHierarchyPerDisplay</alloc>
</resource>
<!-- May cause false positives:
<resource>
<dealloc>XmClipboardUnlock</dealloc>
<alloc>XmClipboardLock</alloc>
</resource>
-->
<resource>
<dealloc>XmStringFree</dealloc>
<alloc init="true">XmStringCreateLocalized</alloc>
<alloc init="true">XmStringCreateSimple</alloc>
<alloc init="true">XmStringGenerate</alloc>
2017-06-02 22:58:39 +02:00
<alloc>XmCvtCTToXmString</alloc>
</resource>
<resource>
<dealloc>XtFree</dealloc>
2017-06-02 22:58:39 +02:00
<alloc>XmFontListEntryGetTag</alloc>
<alloc>XmTextGetString</alloc>
2017-06-02 22:58:39 +02:00
<alloc>XmCvtXmStringToCT</alloc>
<alloc>XmWidgetGetBaselines</alloc>
</resource>
<resource>
<dealloc>XmFontListEntryFree</dealloc>
<alloc init="true">XmFontListCreate</alloc>
<alloc init="true">XmFontListAppendEntry</alloc>
</resource>
<!-- Intrinsics, not Motif... -->
2019-01-27 23:27:46 +01:00
<function name="XtAddCallback">
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="4"/>
</function>
<function name="XtAddCallbacks">
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3"/>
</function>
<function name="XtAsprintf">
2019-01-27 20:27:03 +01:00
<leak-ignore/>
<returnValue type="Cardinal"/>
<arg nr="1"/>
<arg nr="2">
<formatstr/>
<not-null/>
<not-uninit/>
</arg>
</function>
2019-01-27 20:27:03 +01:00
<function name="XtCalloc">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="XtDisplay,XtDisplayOfObject">
<leak-ignore/>
<noreturn>false</noreturn>
<use-retval/>
2019-01-27 20:27:03 +01:00
<returnValue type="Display *"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int XtSetArg(Arg arg, String name, XtArgVal value); -->
<function name="XtSetArg">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"/>
<arg nr="2">
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="XtSetValues,XtGetValues">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="3"/>
</function>
<function name="XtSetSubvalues,XtGetSubvalues">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="5"/>
</function>
<function name="XtMalloc,XtNew,XtNewString">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
2019-01-27 23:27:46 +01:00
<function name="XtRemoveAllCallbacks">
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="XtRemoveCallback">
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="4"/>
</function>
<function name="XtRemoveCallbacks">
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3"/>
</function>
<function name="XtWindow,XtWindowOfObject">
<leak-ignore/>
<use-retval/>
2019-01-27 23:27:46 +01:00
<returnValue type="Window"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtVaGetValues,XtVaSetValues">
<leak-ignore/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<resource>
<dealloc>XtFree</dealloc>
<alloc init="true">XtMalloc</alloc>
<alloc init="true">XtCalloc</alloc>
<alloc init="true">XtRealloc</alloc>
<alloc init="true">XtNew</alloc>
<alloc init="true">XtNewString</alloc>
</resource>
2017-06-02 00:59:13 +02:00
<define name="ClipboardFail" value="0"/>
<define name="ClipboardSuccess" value="1"/>
<define name="True" value="1"/>
<define name="False" value="0"/>
2019-01-27 20:27:03 +01:00
<podtype name="Boolean" sign="u"/>
<podtype name="Cardinal" sign="u"/>
<podtype name="Dimension" sign="u"/>
<podtype name="Pixel" sign="u"/>
<podtype name="Position" sign="u"/>
2017-06-06 23:21:05 +02:00
<podtype name="Widget"/>
2019-01-27 20:27:03 +01:00
<podtype name="XtValueMask" sign="u"/>
<podtype name="XtIntervalId" sign="u"/>
<podtype name="XtInputId" sign="u"/>
<podtype name="XtSignalId" sign="u"/>
<podtype name="XtGeometryMask" sign="u"/>
<podtype name="XtGCMask" sign="u"/>
2017-06-06 23:21:05 +02:00
<!-- X11... -->
<function name="XOpenDisplay">
<use-retval/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
2019-01-27 23:27:46 +01:00
<returnValue type="Display *"/>
2017-06-06 23:21:05 +02:00
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<strz/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
<function name="XCloseDisplay">
<noreturn>false</noreturn>
2019-01-27 23:27:46 +01:00
<returnValue type="int"/>
2017-06-06 23:21:05 +02:00
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#id2656808 -->
<!-- XFree(void *data); -->
<function name="XFree">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-bool/>
</arg>
</function>
2017-06-06 23:21:05 +02:00
<function name="XtDatabase">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
2019-01-27 20:27:03 +01:00
<function name="XtScreen,XtScreenOfObject">
<noreturn>false</noreturn>
<use-retval/>
2019-01-27 20:27:03 +01:00
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
2017-06-06 23:21:05 +02:00
<function name="XtScreenDatabase">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<resource>
<alloc init="true">XOpenDisplay</alloc>
<dealloc>XCloseDisplay</dealloc>
2017-06-06 23:21:05 +02:00
</resource>
<podtype name="XrmDatabase"/>
</def>