Lines Matching defs:state

47         UnitFileState state = 0;
58 assert_se((r < 0 && p->state == UNIT_FILE_BAD) ||
59 (p->state == s));
63 unit_file_state_to_string(p->state));
81 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
83 assert_se(state == UNIT_FILE_ENABLED);
96 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
98 assert_se(state == UNIT_FILE_DISABLED);
113 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
115 assert_se(state == UNIT_FILE_MASKED);
130 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
132 assert_se(state == UNIT_FILE_DISABLED);
144 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
146 assert_se(state == UNIT_FILE_MASKED);
161 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
163 assert_se(state == UNIT_FILE_MASKED);
175 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state);
177 assert_se(state == UNIT_FILE_DISABLED);
189 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
191 assert_se(state == UNIT_FILE_ENABLED);
203 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
216 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
218 assert_se(state == UNIT_FILE_LINKED);
230 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
243 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
245 assert_se(state == UNIT_FILE_LINKED);
257 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
259 assert_se(state == UNIT_FILE_ENABLED);
271 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state);
283 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files[0]), &state);
285 assert_se(state == UNIT_FILE_ENABLED);