Home
last modified time | relevance | path

Searched refs:condition_new (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-condition.c44 condition = condition_new(CONDITION_PATH_EXISTS, "/bin/sh", false, false); in TEST()
49 condition = condition_new(CONDITION_PATH_EXISTS, "/bin/s?", false, false); in TEST()
54 condition = condition_new(CONDITION_PATH_EXISTS_GLOB, "/bin/s?", false, false); in TEST()
59 condition = condition_new(CONDITION_PATH_EXISTS_GLOB, "/bin/s?", false, true); in TEST()
64 condition = condition_new(CONDITION_PATH_EXISTS, "/thiscertainlywontexist", false, false); in TEST()
69 condition = condition_new(CONDITION_PATH_EXISTS, "/thiscertainlywontexist", false, true); in TEST()
74 condition = condition_new(CONDITION_PATH_IS_DIRECTORY, "/bin", false, false); in TEST()
79 condition = condition_new(CONDITION_DIRECTORY_NOT_EMPTY, "/bin", false, false); in TEST()
84 condition = condition_new(CONDITION_FILE_NOT_EMPTY, "/bin/sh", false, false); in TEST()
89 condition = condition_new(CONDITION_FILE_IS_EXECUTABLE, "/bin/sh", false, false); in TEST()
[all …]
/systemd-251/src/shared/
Dcondition.h74 Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate);
Dnet-condition.c213 c = condition_new(cond, rvalue, false, negate); in config_parse_net_condition()
Dcondition.c59 Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate) { in condition_new() function
/systemd-251/src/core/
Ddbus-unit.c2088 c = condition_new(t, param, trigger, negate); in bus_set_transient_conditions()
Dload-fragment.c3139 c = condition_new(t, p, trigger, negate); in config_parse_unit_condition_path()
3192 c = condition_new(t, s, trigger, negate); in config_parse_unit_condition_string()