Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 182) sorted by relevance

12345678

/systemd-251/src/basic/
Dsparse-endian.h73 static inline le16_t htole16(uint16_t value) { return (le16_t __sd_force) bswap_16_on_be(value); } in htole16()
74 static inline le32_t htole32(uint32_t value) { return (le32_t __sd_force) bswap_32_on_be(value); } in htole32()
75 static inline le64_t htole64(uint64_t value) { return (le64_t __sd_force) bswap_64_on_be(value); } in htole64()
77 static inline be16_t htobe16(uint16_t value) { return (be16_t __sd_force) bswap_16_on_le(value); } in htobe16()
78 static inline be32_t htobe32(uint32_t value) { return (be32_t __sd_force) bswap_32_on_le(value); } in htobe32()
79 static inline be64_t htobe64(uint64_t value) { return (be64_t __sd_force) bswap_64_on_le(value); } in htobe64()
81 static inline uint16_t le16toh(le16_t value) { return bswap_16_on_be((uint16_t __sd_force)value); } in le16toh()
82 static inline uint32_t le32toh(le32_t value) { return bswap_32_on_be((uint32_t __sd_force)value); } in le32toh()
83 static inline uint64_t le64toh(le64_t value) { return bswap_64_on_be((uint64_t __sd_force)value); } in le64toh()
85 static inline uint16_t be16toh(be16_t value) { return bswap_16_on_le((uint16_t __sd_force)value); } in be16toh()
[all …]
Denv-file.c19 const char *key, char *value, void *userdata), in parse_env_file_internal()
23 _cleanup_free_ char *contents = NULL, *key = NULL, *value = NULL; in parse_env_file_internal() local
275 const char *key, char *value) { in check_utf8ness_and_warn()
300 const char *key, char *value, in parse_env_file_push()
364 const char *key, char *value, in load_env_file_push()
400 const char *key, char *value, in load_env_file_push_pairs()
443 const char *key, char *value, in merge_env_file_push()
Dmissing_ioprio.h49 static inline int ioprio_prio_class(int value) { in ioprio_prio_class()
53 static inline int ioprio_prio_data(int value) { in ioprio_prio_data()
Dchattr-util.h44 static inline int chattr_fd(int fd, unsigned value, unsigned mask, unsigned *previous) { in chattr_fd()
47 static inline int chattr_path(const char *path, unsigned value, unsigned mask, unsigned *previous) { in chattr_path()
Dsysctl-util.c47 int sysctl_write(const char *property, const char *value) { in sysctl_write()
79 int sysctl_write_ip_property(int af, const char *ifname, const char *property, const char *value) { in sysctl_write_ip_property()
Dprocfs-util.c17 _cleanup_free_ char *value = NULL; in procfs_get_pid_max() local
30 _cleanup_free_ char *value = NULL; in procfs_get_threads_max() local
92 _cleanup_free_ char *value = NULL; in procfs_tasks_get_current() local
Dhashmap.h141 #define hashmap_ensure_put(s, ops, key, value) _hashmap_ensure_put(s, ops, key, value HASHMAP_DEBU… argument
145 #define ordered_hashmap_ensure_put(s, ops, key, value) _ordered_hashmap_ensure_put(s, ops, key, val… argument
156 static inline int ordered_hashmap_put(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_put()
165 static inline int ordered_hashmap_update(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_update()
170 static inline int ordered_hashmap_replace(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_replace()
209 static inline void *hashmap_remove_value(Hashmap *h, const void *key, void *value) { in hashmap_remove_value()
213 static inline void* ordered_hashmap_remove_value(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_remove_value()
218 …_hashmap_remove_and_put(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { in ordered_hashmap_remove_and_put()
223 …hmap_remove_and_replace(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { in ordered_hashmap_remove_and_replace()
282 static inline bool hashmap_iterate(Hashmap *h, Iterator *i, void **value, const void **key) { in hashmap_iterate()
[all …]
Dsysctl-util.h18 …nt sysctl_write_ip_property_boolean(int af, const char *ifname, const char *property, bool value) { in sysctl_write_ip_property_boolean()
Dio-util.c262 …et_iovec_string_field(struct iovec *iovec, size_t *n_iovec, const char *field, const char *value) { in set_iovec_string_field()
271 …set_iovec_string_field_free(struct iovec *iovec, size_t *n_iovec, const char *field, char *value) { in set_iovec_string_field_free()
315 int iovw_put_string_field(struct iovec_wrapper *iovw, const char *field, const char *value) { in iovw_put_string_field()
330 int iovw_put_string_field_free(struct iovec_wrapper *iovw, const char *field, char *value) { in iovw_put_string_field_free()
/systemd-251/src/test/
Dtest-proc-cmdline.c16 static int parse_item(const char *key, const char *value, void *data) { in parse_item()
33 _cleanup_free_ char *line = NULL, *value = NULL; in TEST() local
61 static int parse_item_given(const char *key, const char *value, void *data) { in parse_item_given()
110 _cleanup_free_ char *value = NULL; in TEST() local
155 bool value = false; in TEST() local
177 bool value = false; in TEST() local
Dtest-sd-hwdb.c12 const char *key, *value; in TEST() local
28 const char *key, *value; in TEST() local
Dtest-hmac.c8 static void hmac_sha256_by_string(const char *key, const char *value, uint8_t res[static SHA256_DIG… in hmac_sha256_by_string()
/systemd-251/src/shared/
Dserialize.c17 int serialize_item(FILE *f, const char *key, const char *value) { in serialize_item()
39 int serialize_item_escaped(FILE *f, const char *key, const char *value) { in serialize_item_escaped()
133 int deserialize_usec(const char *value, usec_t *ret) { in deserialize_usec()
145 int deserialize_dual_timestamp(const char *value, dual_timestamp *t) { in deserialize_dual_timestamp()
176 int deserialize_environment(const char *value, char ***list) { in deserialize_environment()
Dbus-log-control-api.c38 sd_bus_message *value, in bus_property_set_log_level()
69 sd_bus_message *value, in bus_property_set_log_target()
Dverb-log-control.c10 …erb_log_control_common(sd_bus *bus, const char *destination, const char *verb, const char *value) { in verb_log_control_common()
/systemd-251/src/network/generator/
Dnetwork-generator.c438 static int network_set_dhcp_use_dns(Context *context, const char *ifname, bool value) { in network_set_dhcp_use_dns()
454 static int network_set_vlan(Context *context, const char *ifname, const char *value) { in network_set_vlan()
468 static int network_set_bridge(Context *context, const char *ifname, const char *value) { in network_set_bridge()
482 static int network_set_bond(Context *context, const char *ifname, const char *value) { in network_set_bond()
496 …int parse_cmdline_ip_mtu_mac(Context *context, const char *ifname, int family, const char *value) { in parse_cmdline_ip_mtu_mac()
522 static int parse_ip_address_one(int family, const char **value, union in_addr_union *ret) { in parse_ip_address_one()
561 static int parse_netmask_or_prefixlen(int family, const char **value, unsigned char *ret) { in parse_netmask_or_prefixlen()
591 static int parse_cmdline_ip_address(Context *context, int family, const char *value) { in parse_cmdline_ip_address()
687 static int parse_cmdline_ip_interface(Context *context, const char *value) { in parse_cmdline_ip_interface()
716 static int parse_cmdline_ip(Context *context, const char *key, const char *value) { in parse_cmdline_ip()
[all …]
Dtest-network-generator.c7 static void test_network_one(const char *ifname, const char *key, const char *value, const char *ex… in test_network_one()
39 static void test_netdev_one(const char *ifname, const char *key, const char *value, const char *exp… in test_netdev_one()
52 static void test_link_one(const char *filename, const char *key, const char *value, const char *exp… in test_link_one()
/systemd-251/src/libsystemd/sd-device/
Ddevice-util.c9 const char *value; in device_match_sysattr_value() local
28 const char *value; in device_match_sysattr() local
/systemd-251/src/libsystemd/sd-bus/
Dbus-internal.c218 bool namespace_complex_pattern(const char *pattern, const char *value) { in namespace_complex_pattern()
222 bool path_complex_pattern(const char *pattern, const char *value) { in path_complex_pattern()
258 bool namespace_simple_pattern(const char *pattern, const char *value) { in namespace_simple_pattern()
262 bool path_simple_pattern(const char *pattern, const char *value) { in path_simple_pattern()
/systemd-251/src/sysctl/
Dsysctl.c36 char *value; member
73 const char *value, in option_new()
98 static int sysctl_write_or_warn(const char *key, const char *value, bool ignore_failure) { in sysctl_write_or_warn()
202 char *p, *value; in parse_file() local
/systemd-251/src/boot/efi/
Dmeson.build145 value = get_option(sbatvar[0]) variable
148 value = run_command(sh, '-c', cmd, check: true).stdout().strip() variable
150 if value == '' variable
/systemd-251/src/udev/
Dfuzz-udev-rule-parse-value.c12 char *value = UINT_TO_PTR(0x12345678U); in LLVMFuzzerTestOneInput() local
Dudev-builtin-keyboard.c110 static int override_abs(sd_device *dev, int fd, unsigned evcode, const char *value) { in override_abs()
134 static int set_trackpoint_sensitivity(sd_device *dev, const char *value) { in set_trackpoint_sensitivity()
166 const char *node, *key, *value; in builtin_keyboard() local
/systemd-251/src/systemd/
Dsd-hwdb.h37 #define SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) \ argument
/systemd-251/src/core/
Defi-random.c44 _cleanup_free_ void *value = NULL; in efi_take_random_seed() local

12345678