Lines Matching refs:function
38 bool ok; /* the success return value from a boolean function */
77 cleaning up are declared at the top of the function, and
83 * If the function is to return a libxl error value, `rc' is
87 * There is only one error cleanup path out of the function. It
96 * Function calls which might fail (ie most function calls) are
102 * If a resource is freed in the main body of the function (for
108 function. Not reusing the out path is fine if the duplicated function
116 applicable _r function parameter (or equivalent). Do not test `rc' in
128 with a function call interface, wherever possible.
138 _dispose function, which must free all resources associated with the
141 Such a struct should also come with an _init function which
155 functions, each subsequent function should be, textually, the next
156 function in the file. This will normally involve predeclaring the
173 - the callback function pointer(s), which
181 cancel function. It should normally also have an _init function for
255 global variables are a must. To call a global function "foo" is a
259 have descriptive names, as do global functions. If you have a function
263 Encoding the type of a function into the name (so-called Hungarian
280 Variables, type names and function names are
282 Type names and function names use the prefix libxl__ when internal to
284 Xl should avoid using libxl_ and libxl__ as prefix for its own function
329 An exception is the opening brace for a function; for reasons of tradition