Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 52) sorted by relevance

123

/systemd-251/src/shared/
Dbus-get-properties.h54 #define BUS_DEFINE_PROPERTY_GET_GLOBAL(function, bus_type, val) \ argument
55 int function(sd_bus *bus, \
69 #define BUS_DEFINE_PROPERTY_GET2(function, bus_type, data_type, get1, get2) \ argument
70 int function(sd_bus *bus, \
89 #define BUS_DEFINE_PROPERTY_GET(function, bus_type, data_type, get1) \ argument
90 BUS_DEFINE_PROPERTY_GET2(function, bus_type, data_type, get1, ident)
93 #define BUS_DEFINE_PROPERTY_GET_REF(function, bus_type, data_type, get) \ argument
94 BUS_DEFINE_PROPERTY_GET2(function, bus_type, data_type, ref, get)
96 #define BUS_DEFINE_PROPERTY_GET_ENUM(function, name, type) \ argument
97 BUS_DEFINE_PROPERTY_GET_REF(function, "s", type, name##_to_string)
Dconf-parser.h223 #define DEFINE_CONFIG_PARSE(function, parser, msg) \ argument
224 CONFIG_PARSER_PROTOTYPE(function) { \
243 #define DEFINE_CONFIG_PARSE_PTR(function, parser, type, msg) \ argument
244 CONFIG_PARSER_PROTOTYPE(function) { \
261 #define DEFINE_CONFIG_PARSE_ENUM_FULL(function, from_string, type, msg) \ argument
262 CONFIG_PARSER_PROTOTYPE(function) { \
281 #define DEFINE_CONFIG_PARSE_ENUM(function, name, type, msg) \ argument
282 DEFINE_CONFIG_PARSE_ENUM_FULL(function, name##_from_string, type, msg)
284 #define DEFINE_CONFIG_PARSE_ENUM_WITH_DEFAULT(function, name, type, default_value, msg) \ argument
285 CONFIG_PARSER_PROTOTYPE(function) { \
[all …]
/systemd-251/src/core/
Ddbus-util.h11 #define BUS_DEFINE_SET_TRANSIENT(function, bus_type, type, cast_type, fmt) \ argument
12 int bus_set_transient_##function( \
38 #define BUS_DEFINE_SET_TRANSIENT_IS_VALID(function, bus_type, type, cast_type, fmt, check) \ argument
39 int bus_set_transient_##function( \
69 #define BUS_DEFINE_SET_TRANSIENT_TO_STRING(function, bus_type, type, cast_type, fmt, to_string) \ argument
70 int bus_set_transient_##function( \
102 #define BUS_DEFINE_SET_TRANSIENT_TO_STRING_ALLOC(function, bus_type, type, cast_type, fmt, to_strin… argument
103 int bus_set_transient_##function( \
138 #define BUS_DEFINE_SET_TRANSIENT_PARSE(function, type, parse) \ argument
139 int bus_set_transient_##function( \
[all …]
Dselinux-access.c34 const char *function; member
66 … audit->function ? " function=\"" : "", strempty(audit->function), audit->function ? "\"" : ""); in audit_callback()
184 const char *function, in mac_selinux_access_check_internal() argument
197 assert(function); in mac_selinux_access_check_internal()
270 .function = function, in mac_selinux_access_check_internal()
283 …scon, fcon, tclass, permission, enforce ? "enforcing" : "permissive", function, strna(path), isemp… in mac_selinux_access_check_internal()
293 const char *function, in mac_selinux_access_check_internal() argument
Dselinux-access.h11 const char *function,
/systemd-251/docs/
DCODING_STYLE.md29 - If you break a function declaration over multiple lines, do it like this:
154 - Typically, function parameters fit into three categories: input parameters,
157 indicate they are input-only and not changed by the function. Return
210 lists at the top of the function.
213 almost always be declared as the last variable at the top of the function.
235 - Do not mix multiple variable definitions with function invocations or
257 to the end of a function, and little else. Never jump backwards!
337 Be strict with this. When you write a function that can fail due to more than
394 When returning from a `void` function, you may also want to shorten the error
395 path boilerplate by returning a function invocation cast to `(void)` like so:
[all …]
/systemd-251/src/boot/efi/
Dassert.c8 void efi_assert(const char *expr, const char *file, unsigned line, const char *function) { in efi_assert() argument
9 …systemd-boot assertion '%a' failed at %a:%u, function %a(). Halting.", expr, file, line, function); in efi_assert()
/systemd-251/src/home/
Dhomed-gperf.gperf14 %define hash-function-name homed_gperf_hash
15 %define lookup-function-name homed_gperf_lookup
/systemd-251/src/resolve/
Dresolved-dnssd-gperf.gperf12 %define hash-function-name resolved_dnssd_gperf_hash
13 %define lookup-function-name resolved_dnssd_gperf_lookup
Dresolved-gperf.gperf15 %define hash-function-name resolved_gperf_hash
16 %define lookup-function-name resolved_gperf_lookup
/systemd-251/src/timesync/
Dtimesyncd-gperf.gperf14 %define hash-function-name timesyncd_gperf_hash
15 %define lookup-function-name timesyncd_gperf_lookup
/systemd-251/src/network/
Dnetworkd-gperf.gperf17 %define hash-function-name networkd_gperf_hash
18 %define lookup-function-name networkd_gperf_lookup
Dsystemd-networkd.rules6 polkit.addRule(function(action, subject) {
/systemd-251/.lgtm/cpp-queries/
DUninitializedVariableWithCleanup.ql35 /* Check if the cleanup function is not on a deny list */
46 * it's passed to the function.
73 * is not a valid initialization, since we might return from the function
DPotentiallyDangerousFunction.ql7 * @name Use of potentially dangerous function
9 * @id cpp/potentially-dangerous-function
/systemd-251/coccinelle/
Dstrempty.cocci3 /* Avoid running this transformation on the strempty function itself and
10 * introduce a function called "something_else"...
Dempty-to-null.cocci3 /* Avoid running this transformation on the empty_to_null function itself */
Dmfree_return.cocci3 /* Avoid running this transformation on the mfree function itself */
/systemd-251/src/login/
Dlogind-gperf.gperf14 %define hash-function-name logind_gperf_hash
15 %define lookup-function-name logind_gperf_lookup
/systemd-251/src/journal/
Djournald-gperf.gperf15 %define hash-function-name journald_gperf_hash
16 %define lookup-function-name journald_gperf_lookup
/systemd-251/src/nspawn/
Dnspawn-gperf.gperf15 %define hash-function-name nspawn_gperf_hash
16 %define lookup-function-name nspawn_gperf_lookup
/systemd-251/src/basic/
Dfilesystems-gperf.gperf16 %define hash-function-name filesystems_gperf_hash
17 %define lookup-function-name filesystems_gperf_lookup
/systemd-251/hwdb.d/
D80-ieee1394-unit-function.hwdb27 # The entry should have some of IEEE1394_UNIT_FUNCTION_XXX environment variables to express function
1312 # Apple iSight: unit 0: IIDC v1.30 function.
1319 # Apple iSight: unit 1: audio function.
1326 # Apple iSight: unit 2: factory function.
1333 # Apple iSight: unit 3: iris diaphragm function.
1340 # MOTU V4HD: unit 0: unknown function.
1347 # MOTU V4HD: unit 1: unknown function.
1354 # MOTU V4HD: unit 2: unknown function.
1361 # MOTU V4HD: unit 3: unknown function.
/systemd-251/
D.lgtm.yml10 - include: cpp/mistyped-function-arguments
/systemd-251/src/udev/net/
Dlink-config-gperf.gperf18 %define hash-function-name link_config_gperf_hash
19 %define lookup-function-name link_config_gperf_lookup

123