History log of /systemd/src/test/test-hashmap.c
Revision Date Author Comments Expand
cf0fbc49e67b55f8d346fc94de28c90113505297 16-Nov-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

tree-wide: sort includes Sort the includes accoding to the new coding style.

/systemd/src/backlight/backlight.c /systemd/src/basic/af-list.c /systemd/src/basic/arphrd-list.c /systemd/src/basic/calendarspec.c /systemd/src/basic/cap-list.c /systemd/src/basic/errno-list.c /systemd/src/basic/exit-status.c /systemd/src/basic/fdset.c /systemd/src/basic/fileio-label.c /systemd/src/basic/json.c /systemd/src/basic/label.c /systemd/src/basic/lockfile-util.c /systemd/src/basic/login-util.c /systemd/src/basic/mempool.c /systemd/src/basic/mkdir-label.c /systemd/src/basic/mkdir.c /systemd/src/basic/selinux-util.c /systemd/src/basic/sigbus.c /systemd/src/basic/siphash24.c /systemd/src/basic/strv.c /systemd/src/basic/strxcpyx.c /systemd/src/basic/user-util.c /systemd/src/basic/utf8.c /systemd/src/basic/util.c /systemd/src/boot/efi/boot.c /systemd/src/boot/efi/console.c /systemd/src/boot/efi/graphics.c /systemd/src/boot/efi/linux.c /systemd/src/boot/efi/pefile.c /systemd/src/boot/efi/splash.c /systemd/src/boot/efi/stub.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/core/audit-fd.c /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-device.c /systemd/src/core/dbus-kill.c /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-path.c /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-target.c /systemd/src/core/device.c /systemd/src/core/hostname-setup.c /systemd/src/core/ima-setup.c /systemd/src/core/kmod-setup.c /systemd/src/core/load-dropin.c /systemd/src/core/load-fragment.c /systemd/src/core/locale-setup.c /systemd/src/core/main.c /systemd/src/core/mount-setup.c /systemd/src/core/selinux-access.c /systemd/src/core/selinux-setup.c /systemd/src/core/slice.c /systemd/src/core/swap.c /systemd/src/core/transaction.c /systemd/src/core/umount.c /systemd/src/fsck/fsck.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamed.c /systemd/src/import/aufs-util.c /systemd/src/import/export-raw.c /systemd/src/import/pull-tar.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-upload-journal.c /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal/audit-type.c /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-qrcode.c /systemd/src/journal/journal-verify.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-server.c /systemd/src/journal/journald-wall.c /systemd/src/journal/journald.c /systemd/src/journal/lookup3.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-option.c /systemd/src/libsystemd-network/dhcp-packet.c /systemd/src/libsystemd-network/dhcp6-option.c /systemd/src/libsystemd-network/lldp-port.c /systemd/src/libsystemd-network/lldp-tlv.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/test-acd.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd/sd-bus/bus-bloom.c /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-error.c /systemd/src/libsystemd/sd-bus/test-bus-introspect.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-match.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-netlink/local-addresses.c /systemd/src/libsystemd/sd-netlink/netlink-util.c /systemd/src/libsystemd/sd-netlink/test-local-addresses.c /systemd/src/libsystemd/sd-utf8/sd-utf8.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-device.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c /systemd/src/login/logind-core.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session.c /systemd/src/login/logind-utmp.c /systemd/src/login/logind.c /systemd/src/login/sysfs-show.c /systemd/src/login/test-login-shared.c /systemd/src/login/test-login-tables.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/machine.c /systemd/src/machine/test-machine-tables.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-ipv4ll.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/test-network-tables.c /systemd/src/network/test-network.c /systemd/src/nspawn/nspawn-network.c /systemd/src/quotacheck/quotacheck.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-llmnr.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/acl-util.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/architecture.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/efivars.c /systemd/src/shared/firewall-util.c /systemd/src/shared/path-lookup.c /systemd/src/shared/ptyfwd.c /systemd/src/shared/seccomp-util.c /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/sysctl-util.c /systemd/src/shared/watchdog.c test-architecture.c test-boot-timestamps.c test-cgroup-mask.c test-engine.c test-fileio.c test-firewall-util.c test-hashmap.c test-install.c test-job-type.c test-libudev.c test-locale-util.c test-log.c test-loopback.c test-ns.c test-ratelimit.c test-sched-prio.c test-siphash24.c test-sleep.c test-tables.c test-terminal-util.c test-time.c test-unaligned.c test-utf8.c test-watchdog.c /systemd/src/udev/ata_id/ata_id.c /systemd/src/udev/cdrom_id/cdrom_id.c /systemd/src/udev/mtd_probe/mtd_probe.c /systemd/src/udev/mtd_probe/probe_smartmedia.c /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/v4l_id/v4l_id.c
8f8a5213a9ad89f1ebab6efb19377ed9df512ee6 17-Jun-2015 Michal Schmidt <mschmidt@redhat.com>

hashmap: allow NULL key in ordered_hashmap_next() There is no reason to require key to be non-NULL. Change test_ordered_hashmap_next() to use trivial_hash_ops in order to test NULL key too.

4b3eff61640672bf0b19cb8cdd88ce5e84dcda1c 24-Feb-2015 Daniel Mack <daniel@zonque.org>

test-hashmap: fix gcc5 warning gcc5 spits out a warning about test-hashmap.c: CC src/test/test-hashmap.o src/test/test-hashmap.c: In function ‘test_string_compare_func’: src/test/test-hashmap.c:76:79: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]

2eec67acbb00593e414549a7e5b35eb7dd776b1b 23-Feb-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.

/systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/ask-password/ask-password.c /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/bootchart.h /systemd/src/bootchart/store.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/bus-xml-policy.h /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/console/consoled-display.c /systemd/src/console/consoled-manager.c /systemd/src/console/consoled-session.c /systemd/src/console/consoled-terminal.c /systemd/src/console/consoled-workspace.c /systemd/src/console/consoled.c /systemd/src/console/consoled.h /systemd/src/core/automount.c /systemd/src/core/busname.h /systemd/src/core/cgroup.h /systemd/src/core/dbus-automount.c /systemd/src/core/dbus-automount.h /systemd/src/core/dbus-busname.c /systemd/src/core/dbus-busname.h /systemd/src/core/dbus-device.c /systemd/src/core/dbus-device.h /systemd/src/core/dbus-manager.h /systemd/src/core/dbus-mount.c /systemd/src/core/dbus-path.c /systemd/src/core/dbus-path.h /systemd/src/core/dbus-service.c /systemd/src/core/dbus-slice.c /systemd/src/core/dbus-snapshot.c /systemd/src/core/dbus-socket.c /systemd/src/core/dbus-swap.c /systemd/src/core/dbus-target.c /systemd/src/core/dbus-target.h /systemd/src/core/dbus-timer.c /systemd/src/core/dbus-unit.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/device.h /systemd/src/core/execute.c /systemd/src/core/execute.h /systemd/src/core/failure-action.c /systemd/src/core/hostname-setup.c /systemd/src/core/ima-setup.c /systemd/src/core/job.c /systemd/src/core/job.h /systemd/src/core/kill.c /systemd/src/core/killall.c /systemd/src/core/kmod-setup.c /systemd/src/core/load-dropin.c /systemd/src/core/load-fragment.c /systemd/src/core/locale-setup.c /systemd/src/core/loopback-setup.c /systemd/src/core/machine-id-setup.c /systemd/src/core/main.c /systemd/src/core/manager.c /systemd/src/core/manager.h /systemd/src/core/mount-setup.c /systemd/src/core/mount.c /systemd/src/core/mount.h /systemd/src/core/namespace.c /systemd/src/core/path.c /systemd/src/core/path.h /systemd/src/core/scope.c /systemd/src/core/scope.h /systemd/src/core/selinux-access.c /systemd/src/core/selinux-access.h /systemd/src/core/selinux-setup.c /systemd/src/core/service.c /systemd/src/core/service.h /systemd/src/core/shutdown.c /systemd/src/core/slice.c /systemd/src/core/slice.h /systemd/src/core/smack-setup.c /systemd/src/core/snapshot.h /systemd/src/core/socket.c /systemd/src/core/socket.h /systemd/src/core/swap.c /systemd/src/core/swap.h /systemd/src/core/target.c /systemd/src/core/target.h /systemd/src/core/timer.c /systemd/src/core/timer.h /systemd/src/core/transaction.c /systemd/src/core/umount.c /systemd/src/core/unit-printf.c /systemd/src/core/unit.c /systemd/src/core/unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/delta/delta.c /systemd/src/detect-virt/detect-virt.c /systemd/src/efi-boot-generator/efi-boot-generator.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/gudev/gudevclient.c /systemd/src/gudev/gudevdevice.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/hwdb/hwdb.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-remote-write.h /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-remote.h /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/fsprg.c /systemd/src/journal/journal-authenticate.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-vacuum.h /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-rate-limit.h /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-stream.c /systemd/src/journal/journald.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/mmap-cache.h /systemd/src/journal/test-catalog.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-identifier.h /systemd/src/libsystemd-network/dhcp-network.c /systemd/src/libsystemd-network/dhcp-packet.c /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/network-internal.h /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd-network/test-dhcp-server.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd-network/test-pppoe.c /systemd/src/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/grdev-drm.c /systemd/src/libsystemd-terminal/grdev.c /systemd/src/libsystemd-terminal/grdev.h /systemd/src/libsystemd-terminal/idev-evdev.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/libsystemd-terminal/idev.c /systemd/src/libsystemd-terminal/idev.h /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd-terminal/sysview.c /systemd/src/libsystemd-terminal/sysview.h /systemd/src/libsystemd-terminal/term-charset.c /systemd/src/libsystemd-terminal/term-page.c /systemd/src/libsystemd-terminal/term-wcwidth.c /systemd/src/libsystemd-terminal/test-term-page.c /systemd/src/libsystemd-terminal/test-term-parser.c /systemd/src/libsystemd-terminal/test-unifont.c /systemd/src/libsystemd-terminal/unifont.c /systemd/src/libsystemd-terminal/unifont.h /systemd/src/libsystemd/sd-bus/bus-bloom.h /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-creds.h /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-introspect.h /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-message.h /systemd/src/libsystemd/sd-bus/bus-signature.h /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-type.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/bus-util.h /systemd/src/libsystemd/sd-bus/busctl-introspect.h /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-introspect.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-match.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-bus/test-bus-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-rtnl/local-addresses.h /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libsystemd/sd-rtnl/rtnl-types.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.h /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-list.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c /systemd/src/libudev/libudev.h /systemd/src/locale/localectl.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/loginctl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-action.c /systemd/src/login/logind-action.h /systemd/src/login/logind-button.c /systemd/src/login/logind-button.h /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-device.c /systemd/src/login/logind-device.h /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-inhibit.h /systemd/src/login/logind-seat.c /systemd/src/login/logind-seat.h /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session-device.h /systemd/src/login/logind-session.c /systemd/src/login/logind-session.h /systemd/src/login/logind-user.c /systemd/src/login/logind-user.h /systemd/src/login/logind.c /systemd/src/login/logind.h /systemd/src/login/test-inhibit.c /systemd/src/login/user-sessions.c /systemd/src/machine-id-commit/machine-id-commit.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/image-dbus.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine-dbus.h /systemd/src/machine/machine.c /systemd/src/machine/machine.h /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/machine/machined.h /systemd/src/modules-load/modules-load.c /systemd/src/network/networkd-address-pool.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-dummy.c /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.h /systemd/src/network/networkd.c /systemd/src/network/test-network-tables.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-domain.h /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-stream.h /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-link.h /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved-manager.h /systemd/src/resolve/resolved.c /systemd/src/resolve/test-dns-domain.c /systemd/src/shared/acl-util.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/apparmor-util.c /systemd/src/shared/arphrd-list.c /systemd/src/shared/ask-password-api.h /systemd/src/shared/audit.c /systemd/src/shared/audit.h /systemd/src/shared/barrier.c /systemd/src/shared/barrier.h /systemd/src/shared/base-filesystem.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/btrfs-util.c /systemd/src/shared/bus-label.c /systemd/src/shared/cap-list.c /systemd/src/shared/capability.c /systemd/src/shared/capability.h /systemd/src/shared/cgroup-show.h /systemd/src/shared/cgroup-util.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/clock-util.c /systemd/src/shared/clock-util.h /systemd/src/shared/condition.c /systemd/src/shared/conf-files.c /systemd/src/shared/conf-files.h /systemd/src/shared/conf-parser.c /systemd/src/shared/dev-setup.c /systemd/src/shared/device-nodes.c /systemd/src/shared/efivars.c /systemd/src/shared/efivars.h /systemd/src/shared/env-util.c /systemd/src/shared/env-util.h /systemd/src/shared/errno-list.c /systemd/src/shared/exit-status.c /systemd/src/shared/fdset.c /systemd/src/shared/fdset.h /systemd/src/shared/fileio-label.c /systemd/src/shared/generator.c /systemd/src/shared/hashmap.c /systemd/src/shared/install-printf.c /systemd/src/shared/install.c /systemd/src/shared/json.c /systemd/src/shared/json.h /systemd/src/shared/log.h /systemd/src/shared/logs-show.c /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.c /systemd/src/shared/memfd-util.c /systemd/src/shared/memfd-util.h /systemd/src/shared/mkdir-label.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/pager.c /systemd/src/shared/path-lookup.c /systemd/src/shared/path-util.c /systemd/src/shared/pty.c /systemd/src/shared/pty.h /systemd/src/shared/ptyfwd.c /systemd/src/shared/ptyfwd.h /systemd/src/shared/ratelimit.c /systemd/src/shared/ring.c /systemd/src/shared/ring.h /systemd/src/shared/selinux-util.c /systemd/src/shared/selinux-util.h /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/socket-util.h /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/strbuf.h /systemd/src/shared/strv.c /systemd/src/shared/strxcpyx.h /systemd/src/shared/time-dst.c /systemd/src/shared/unit-name.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c test-barrier.c test-btrfs.c test-cap-list.c test-capability.c test-cgroup-mask.c test-cgroup-util.c test-cgroup.c test-ellipsize.c test-engine.c test-env-replace.c test-execute.c test-hashmap.c test-hostname.c test-install.c test-job-type.c test-json.c test-libudev.c test-locale-util.c test-loopback.c test-ns.c test-path-lookup.c test-pty.c test-ring.c test-rtnl-manual.c test-set.c test-sleep.c test-strxcpyx.c test-tables.c test-tmpfiles.c test-udev.c test-unit-file.c test-unit-name.c test-watchdog.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/accelerometer/accelerometer.c /systemd/src/udev/collect/collect.c /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-btrfs.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
32a4456cc252689f51f383d150d34ed636bfec4d 23-Oct-2014 Michal Schmidt <mschmidt@redhat.com>

test: generate tests for OrderedHashmap from Hashmap tests test-hashmap-ordered.c is generated from test-hashmap-plain.c simply by substituting "ordered_hashmap" for "hashmap" etc. In the cases where tests rely on the order of entries, a distinction between plain and ordered hashmaps is made using the ORDERED macro, which is defined only for test-hashmap-ordered.c.

bdf7026e9557349cd3eeb291c01655d5f2a55db8 04-Oct-2014 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

test: only use assert_se The asserts used in the tests should never be allowed to be optimized away

647f68249f90855814de6eb6b0959c6096b41cae 01-Oct-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

tests: add tests for {hashmap,set}_steal_first Just to make sure that coverity is wrong.

631b9deefbef76c5f69b165f33cb46690c938c95 15-Sep-2014 Michal Schmidt <mschmidt@redhat.com>

hashmap, set: remove unused functions The following hashmap_* and set_* functions/macros have never had any users in systemd's history: *_iterate_backwards *_iterate_skip *_last *_FOREACH_BACKWARDS Remove this dead code.

d5099efc47d4e6ac60816b5381a5f607ab03f06e 15-Sep-2014 Michal Schmidt <mschmidt@redhat.com>

hashmap: introduce hash_ops to make struct Hashmap smaller It is redundant to store 'hash' and 'compare' function pointers in struct Hashmap separately. The functions always comprise a pair. Store a single pointer to struct hash_ops instead. systemd keeps hundreds of hashmaps, so this saves a little bit of memory.

/systemd/src/analyze/analyze.c /systemd/src/bus-proxyd/bus-policy.c /systemd/src/cgtop/cgtop.c /systemd/src/core/automount.c /systemd/src/core/bus-endpoint.c /systemd/src/core/dbus-manager.c /systemd/src/core/dbus.c /systemd/src/core/device.c /systemd/src/core/killall.c /systemd/src/core/load-fragment.c /systemd/src/core/manager.c /systemd/src/core/mount-setup.c /systemd/src/core/swap.c /systemd/src/core/transaction.c /systemd/src/core/unit.c /systemd/src/delta/delta.c /systemd/src/journal-remote/journal-remote.c /systemd/src/journal/catalog.c /systemd/src/journal/catalog.h /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/journal-file.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-server.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/sd-journal.c /systemd/src/journal/test-catalog.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-util.c /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-rtnl/sd-rtnl.c /systemd/src/locale/localectl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-session.c /systemd/src/login/logind.c /systemd/src/machine/machined.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/readahead/readahead-collect.c /systemd/src/remount-fs/remount-fs.c /systemd/src/resolve/resolved-dns-cache.c /systemd/src/resolve/resolved-dns-domain.c /systemd/src/resolve/resolved-dns-domain.h /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-server.c /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-manager.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/conf-files.c /systemd/src/shared/fdset.c /systemd/src/shared/hashmap.c /systemd/src/shared/hashmap.h /systemd/src/shared/install.c /systemd/src/shared/locale-util.c /systemd/src/shared/logs-show.c /systemd/src/shared/set.c /systemd/src/shared/set.h /systemd/src/shared/util.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/sysctl/sysctl.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c test-hashmap.c test-install.c test-prioq.c test-unit-file.c /systemd/src/tmpfiles/tmpfiles.c
d06b3a9d70c6dee3371818931328e19876cc3259 16-Jun-2014 Ronny Chevalier <chevalier.ronny@gmail.com>

tests: add tests to test-hashmap add tests for: - hashmap_remove_and_put - hashmap_first_key - hashmap_last - hashmap_steal_first_key - hashmap_clear_free_free

45fa9e29f8c9759c8f2f4238fed956f695c73dc3 01-Oct-2013 Lennart Poettering <lennart@poettering.net>

hashmap: size hashmap bucket array dynamically Instead of fixing the hashmap bucket array to 127 entries dynamically size it, starting with a smaller one of 31. As soon as a fill level of 75% is reached, quadruple the size, and so on. This should siginficantly optimize the lookup time in large tables (from O(n) back to O(1)), and save memory on smaller tables (which most are).

8097ab4f0cf7a52ac6ca45cb2b2dfe4850a2dee5 26-Sep-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

test-hashmap: fix access to uninitialized memory

9341a4a167f348fc42cdd6f7ac8763bf3a0c5911 03-May-2013 Daniel Buch <boogiewasthere@gmail.com>

test-hashmap.c: add unit-test for hashmap