/systemd-251/src/test/ |
D | test-extract-word.c | 24 assert_se(isempty(p)); in TEST() 28 assert_se(isempty(p)); in TEST() 39 assert_se(isempty(p)); in TEST() 43 assert_se(isempty(p)); in TEST() 54 assert_se(isempty(p)); in TEST() 58 assert_se(isempty(p)); in TEST() 64 assert_se(isempty(p)); in TEST() 74 assert_se(isempty(p)); in TEST() 84 assert_se(isempty(p)); in TEST() 96 assert_se(isempty(p)); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | extension-release.c | 21 assert(!isempty(host_os_release_id)); in extension_release_validate() 52 if (isempty(extension_release_id)) { in extension_release_validate() 65 if (isempty(host_os_release_version_id) && isempty(host_os_release_sysext_level)) { in extension_release_validate() 73 if (!isempty(host_os_release_sysext_level) && !isempty(extension_release_sysext_level)) { in extension_release_validate() 79 } else if (!isempty(host_os_release_version_id)) { in extension_release_validate() 83 if (isempty(extension_release_version_id)) { in extension_release_validate() 94 } else if (isempty(host_os_release_version_id) && isempty(host_os_release_sysext_level)) { in extension_release_validate()
|
D | web-util.c | 11 if (isempty(etag)) in http_etag_is_valid() 26 if (isempty(url)) in http_url_is_valid() 33 if (isempty(p)) in http_url_is_valid() 42 if (isempty(url)) in file_url_is_valid() 46 if (isempty(p)) in file_url_is_valid() 55 if (isempty(url)) in documentation_url_is_valid() 62 if (isempty(p)) in documentation_url_is_valid()
|
D | conf-parser.c | 186 if (isempty(l)) in parse_line() 978 if (isempty(rvalue)) { in config_parse_tristate() 1012 if (isempty(rvalue)) { in config_parse_string() 1057 if (isempty(rvalue)) { in config_parse_dns_name() 1095 if (isempty(rvalue)) { in config_parse_hostname() 1132 if (isempty(rvalue)) in config_parse_path() 1167 if (isempty(rvalue)) { in config_parse_strv() 1337 if (isempty(rvalue)) in config_parse_personality() 1371 if (isempty(rvalue)) { in config_parse_ifname() 1409 if (isempty(rvalue)) { in config_parse_ifnames() [all …]
|
D | bus-unit-util.c | 531 } else if (isempty(eq)) { in bus_append_cgroup_property() 569 if (isempty(eq)) in bus_append_cgroup_property() 603 if (isempty(eq)) in bus_append_cgroup_property() 624 if (isempty(eq)) in bus_append_cgroup_property() 658 if (isempty(eq)) in bus_append_cgroup_property() 689 if (isempty(eq)) in bus_append_cgroup_property() 723 if (isempty(eq)) { in bus_append_cgroup_property() 840 if (isempty(eq)) in bus_append_cgroup_property() 852 if (isempty(eq)) in bus_append_cgroup_property() 873 if (isempty(eq)) in bus_append_cgroup_property() [all …]
|
/systemd-251/coccinelle/ |
D | isempty.cocci | 21 + isempty(s) 24 + isempty(s) 27 + !isempty(s) 30 + !isempty(s) 33 + isempty(s) 36 + isempty(s) 39 + !isempty(s) 42 + !isempty(s)
|
/systemd-251/src/locale/ |
D | keymap-util.c | 87 if (isempty(locale[p]) || streq_ptr(locale[VARIABLE_LANG], locale[p])) in locale_simplify() 291 if (!isempty(c->locale[p])) { in locale_write_data() 358 if (isempty(c->x11_layout) && in x11_write_data() 359 isempty(c->x11_model) && in x11_write_data() 360 isempty(c->x11_variant) && in x11_write_data() 361 isempty(c->x11_options)) { in x11_write_data() 384 if (!isempty(c->x11_layout)) in x11_write_data() 387 if (!isempty(c->x11_model)) in x11_write_data() 390 if (!isempty(c->x11_variant)) in x11_write_data() 393 if (!isempty(c->x11_options)) in x11_write_data() [all …]
|
/systemd-251/src/hostname/ |
D | hostnamectl.c | 105 if (!isempty(i->pretty_hostname) && in print_status_info() 114 if (!isempty(i->hostname) && in print_status_info() 123 if (!isempty(i->icon_name)) { in print_status_info() 131 if (!isempty(i->chassis)) { in print_status_info() 145 if (!isempty(i->deployment)) { in print_status_info() 153 if (!isempty(i->location)) { in print_status_info() 179 if (!isempty(i->virtualization)) { in print_status_info() 187 if (!isempty(i->os_pretty_name)) { in print_status_info() 196 if (!isempty(i->os_cpe_name)) { in print_status_info() 204 if (!isempty(i->kernel_name) && !isempty(i->kernel_release)) { in print_status_info() [all …]
|
/systemd-251/src/core/ |
D | load-fragment.c | 421 if (isempty(rvalue)) { in config_parse_colon_separated_paths() 480 if (isempty(rvalue)) { in config_parse_unit_path_strv_printf() 567 if (isempty(rvalue)) { in config_parse_socket_listen() 688 if (isempty(rvalue)) { in config_parse_exec_nice() 728 if (isempty(rvalue)) { in config_parse_exec_oom_score_adjust() 768 if (isempty(rvalue)) { in config_parse_exec_coredump_filter() 806 if (isempty(rvalue)) { in config_parse_kill_mode() 854 if (isempty(rvalue)) { in config_parse_exec() 924 if (isempty(path)) { in config_parse_exec() 966 while (!isempty(p)) { in config_parse_exec() [all …]
|
D | smack-setup.c | 101 if (isempty(buf) || strchr(COMMENTS, buf[0])) in write_access2_rules() 111 if (write(isempty(acc2) ? load2_fd : change_fd, buf, strlen(buf)) < 0) { in write_access2_rules() 115 … buf, isempty(acc2) ? "/sys/fs/smackfs/load2" : "/sys/fs/smackfs/change-rule", entry->d_name); in write_access2_rules() 166 if (isempty(buf) || strchr(COMMENTS, buf[0])) in write_cipso2_rules() 266 if (isempty(buf) || strchr(COMMENTS, *buf)) in write_onlycap_list()
|
/systemd-251/src/basic/ |
D | path-util.c | 55 if (path_is_absolute(p) || isempty(prefix)) in path_make_absolute() 171 if (isempty(t) && n_parents * 3 > PATH_MAX) in path_make_relative() 175 result = new(char, n_parents * 3 + !isempty(t) + strlen_ptr(t)); in path_make_relative() 182 if (isempty(t)) { in path_make_relative() 339 if (isempty(path)) in path_simplify() 523 if (isempty(p)) in path_extend_internal() 553 if (isempty(p)) in path_extend_internal() 797 for (; !isempty(p); p++) { in skip_slash_or_dot() 851 if (isempty(first)) { in path_find_first_component() 926 if (isempty(path)) { in path_find_last_component() [all …]
|
D | sync-util.c | 92 if (isempty(path)) { in fsync_path_at() 115 if (isempty(path)) { in fsync_parent_at() 136 if (isempty(path)) { in fsync_path_and_parent_at() 152 if (isempty(path)) { in syncfs_path()
|
D | log.c | 581 isempty(file) ? "" : "CODE_FILE=", in log_do_header() 582 isempty(file) ? "" : file, in log_do_header() 583 isempty(file) ? "" : "\n", in log_do_header() 587 isempty(func) ? "" : "CODE_FUNC=", in log_do_header() 588 isempty(func) ? "" : func, in log_do_header() 589 isempty(func) ? "" : "\n", in log_do_header() 593 isempty(object) ? "" : object_field, in log_do_header() 594 isempty(object) ? "" : object, in log_do_header() 595 isempty(object) ? "" : "\n", in log_do_header() 596 isempty(extra) ? "" : extra_field, in log_do_header() [all …]
|
D | cgroup-util.c | 490 if (isempty(path) && isempty(suffix)) in join_path_legacy() 492 else if (isempty(path)) in join_path_legacy() 494 else if (isempty(suffix)) in join_path_legacy() 510 if (isempty(path) && isempty(suffix)) in join_path_unified() 512 else if (isempty(path)) in join_path_unified() 514 else if (isempty(suffix)) in join_path_unified() 536 if (isempty(path) && isempty(suffix)) in cg_get_path() 539 if (isempty(suffix)) in cg_get_path() 541 else if (isempty(path)) in cg_get_path() 797 if (isempty(sc)) { in cg_install_release_agent() [all …]
|
/systemd-251/src/login/ |
D | pam_systemd.c | 114 if (isempty(username)) { in acquire_user_record() 341 if (isempty(limit)) in append_session_memory_max() 379 if (isempty(limit) || streq(limit, "infinity")) in append_session_runtime_max_sec() 398 if (isempty(limit) || streq(limit, "infinity")) in append_session_tasks_max() 416 if (isempty(limit)) in append_session_cg_weight() 445 if (!isempty(v)) in getenv_harder() 453 if (!isempty(v)) in getenv_harder() 467 if (isempty(value)) in update_environment() 771 if (isempty(display)) in pam_sm_open_session() 800 if (!isempty(cvtnr)) in pam_sm_open_session() [all …]
|
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 126 if (isempty(map)) in keyboard_load_and_wait() 165 if (isempty(font) && isempty(map) && isempty(unimap)) in font_load_and_wait() 171 if (!isempty(map)) { in font_load_and_wait() 175 if (!isempty(unimap)) { in font_load_and_wait() 179 if (!isempty(font)) in font_load_and_wait()
|
/systemd-251/src/home/ |
D | homectl.c | 2534 if (isempty(optarg)) { in parse_argv() 2554 if (isempty(optarg)) { in parse_argv() 2577 if (isempty(optarg)) { in parse_argv() 2616 if (isempty(optarg)) { in parse_argv() 2632 if (isempty(optarg)) { in parse_argv() 2651 if (isempty(optarg)) { in parse_argv() 2669 if (isempty(optarg)) { in parse_argv() 2694 if (isempty(optarg)) { in parse_argv() 2718 if (isempty(eq + 1)) { in parse_argv() 2765 if (isempty(optarg)) { in parse_argv() [all …]
|
D | pam_systemd_home.c | 115 if (isempty(username)) { in acquire_user_record() 316 if (isempty(newp)) { in handle_generic_user_record_error() 343 if (isempty(newp)) { in handle_generic_user_record_error() 369 if (isempty(newp)) { in handle_generic_user_record_error() 389 if (isempty(newp)) { in handle_generic_user_record_error() 451 if (isempty(newp)) { in handle_generic_user_record_error() 472 if (isempty(newp)) { in handle_generic_user_record_error() 493 if (isempty(newp)) { in handle_generic_user_record_error() 544 if (isempty(username)) { in acquire_home() 598 if (!isempty(cached_password)) { in acquire_home() [all …]
|
/systemd-251/src/network/tc/ |
D | cake.c | 162 if (isempty(rvalue)) { in config_parse_cake_bandwidth() 217 if (isempty(rvalue)) { in config_parse_cake_overhead() 277 if (isempty(rvalue)) { in config_parse_cake_mpu() 348 if (isempty(rvalue)) { in config_parse_cake_tristate() 409 if (isempty(rvalue)) { in config_parse_cake_compensation_mode() 475 if (isempty(rvalue)) { in config_parse_cake_flow_isolation_mode() 538 if (isempty(rvalue)) { in config_parse_cake_priority_queueing_preset() 591 if (isempty(rvalue)) { in config_parse_cake_fwmark()
|
D | fq.c | 150 if (isempty(rvalue)) { in config_parse_fair_queueing_u32() 212 if (isempty(rvalue)) { in config_parse_fair_queueing_size() 272 if (isempty(rvalue)) { in config_parse_fair_queueing_bool() 327 if (isempty(rvalue)) { in config_parse_fair_queueing_usec() 388 if (isempty(rvalue)) { in config_parse_fair_queueing_max_rate()
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 118 pn = isempty(pretty_name) ? "Linux" : pretty_name; in print_welcome() 119 ac = isempty(ansi_color) ? "0" : ansi_color; in print_welcome() 195 if (isempty(p)) { in prompt_loop() 292 if (isempty(arg_locale)) in prompt_locale() 335 if (!isempty(arg_locale)) in process_locale() 337 if (!isempty(arg_locale_messages) && !streq(arg_locale_messages, arg_locale)) in process_locale() 412 if (isempty(arg_keymap)) in process_keymap() 494 if (isempty(arg_timezone)) in process_timezone() 526 if (isempty(h)) { in prompt_hostname() 557 if (isempty(arg_hostname)) in process_hostname() [all …]
|
/systemd-251/src/udev/ |
D | udev-builtin-usb_id.c | 424 if (!isempty(serial_str)) in builtin_usb_id() 427 if (!isempty(instance_str)) in builtin_usb_id() 438 if (!isempty(serial_str)) in builtin_usb_id() 440 if (!isempty(type_str)) in builtin_usb_id() 442 if (!isempty(instance_str)) in builtin_usb_id() 445 if (!isempty(packed_if_str)) in builtin_usb_id()
|
/systemd-251/src/libsystemd/sd-login/ |
D | sd-login.c | 126 if (isempty(c)) { in sd_pid_get_cgroup() 276 if (isempty(s)) in sd_uid_get_state() 298 if (isempty(s)) in sd_uid_get_display() 350 if (isempty(content)) in sd_uid_is_on_seat() 371 if (r == -ENOENT || (r >= 0 && isempty(s))) { in uid_get_array() 453 if (isempty(s)) in sd_session_is_active() 472 if (isempty(s)) in sd_session_is_remote() 493 if (isempty(s)) in sd_session_get_state() 516 if (isempty(s)) in sd_session_get_uid() 538 if (isempty(s)) in session_get_string() [all …]
|
/systemd-251/src/resolve/ |
D | resolved-conf.c | 149 if (isempty(rvalue)) in config_parse_dns_servers() 192 if (isempty(rvalue)) in config_parse_search_domains() 245 if (isempty(rvalue)) { in config_parse_dnssd_service_name() 287 if (isempty(rvalue)) { in config_parse_dnssd_service_type() 325 if (isempty(rvalue)) { in config_parse_dnssd_txt() 427 if (isempty(rvalue)) { in config_parse_dns_stub_listener_extra()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-convenience.c | 41 if (!isempty(types)) { in sd_bus_emit_signalv() 92 if (!isempty(types)) { in sd_bus_call_method_asyncv() 148 if (!isempty(types)) { in sd_bus_call_methodv() 203 if (!isempty(types)) { in sd_bus_reply_method_returnv() 377 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_get_property() 422 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_get_property_trivial() 467 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_get_property_string() 516 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_get_property_strv() 558 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_set_propertyv()
|