Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 103) sorted by relevance

12345

/systemd-251/src/basic/
Dutf8.c82 int utf8_encoded_to_unichar(const char *str, char32_t *ret_unichar) { in utf8_encoded_to_unichar()
126 bool utf8_is_printable_newline(const char* str, size_t length, bool allow_newline) { in utf8_is_printable_newline()
151 char *utf8_is_valid_n(const char *str, size_t len_bytes) { in utf8_is_valid_n()
174 char *utf8_escape_invalid(const char *str) { in utf8_escape_invalid()
200 static int utf8_char_console_width(const char *str) { in utf8_char_console_width()
213 char *utf8_escape_non_printable_full(const char *str, size_t console_width, bool force_ellipsis) { in utf8_escape_non_printable_full()
289 char *ascii_is_valid(const char *str) { in ascii_is_valid()
302 char *ascii_is_valid_n(const char *str, size_t len) { in ascii_is_valid_n()
315 int utf8_to_ascii(const char *str, char replacement_char, char **ret) { in utf8_to_ascii()
532 int utf8_encoded_valid_unichar(const char *str, size_t length /* bytes */) { in utf8_encoded_valid_unichar()
[all …]
Dstrbuf.c30 struct strbuf *str; in strbuf_new() local
60 void strbuf_complete(struct strbuf *str) { in strbuf_complete()
68 struct strbuf* strbuf_free(struct strbuf *str) { in strbuf_free()
108 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len) { in strbuf_add_string()
Dutf8.h27 #define utf8_is_printable(str, length) utf8_is_printable_newline(str, length, true) argument
31 static inline char *utf8_escape_non_printable(const char *str) { in utf8_escape_non_printable()
/systemd-251/src/test/
Dtest-udev-util.c12 _cleanup_free_ char *str = NULL; in test_udev_rule_parse_value_one() local
76 static void test_udev_replace_whitespace_one_len(const char *str, size_t len, const char *expected)… in test_udev_replace_whitespace_one_len()
87 static void test_udev_replace_whitespace_one(const char *str, const char *expected) { in test_udev_replace_whitespace_one()
128 static void test_udev_resolve_subsys_kernel_one(const char *str, bool read_value, int retval, const… in test_udev_resolve_subsys_kernel_one()
Dtest-ip-protocol-list.c12 char str[DECIMAL_STR_MAX(int)]; in test_int() local
21 char str[DECIMAL_STR_MAX(int)]; in test_int_fail() local
Dtest-parse-helpers.c12 const char *str, in test_valid_item()
29 static void test_invalid_item(const char *str) { in test_invalid_item()
Dtest-in-addr-prefix-util.c7 _cleanup_free_ char *str = NULL; in test_config_parse_in_addr_prefixes_one() local
Dtest-firewall-util.c49 static union in_addr_union *parse_addr(const char *str, union in_addr_union *u) { in parse_addr()
Dtest-cpu-set-util.c11 _cleanup_free_ char *str = NULL; in TEST() local
/systemd-251/src/journal/
Dtest-journal-config.c8 #define _COMPRESS_PARSE_CHECK(str, enab, thresh, varname) \ argument
18 #define COMPRESS_PARSE_CHECK(str, enabled, threshold) \ argument
Dtest-journal-syslog.c10 static void test_syslog_parse_identifier_one(const char *str, in test_syslog_parse_identifier_one()
24 static void test_syslog_parse_priority_one(const char *str, bool with_facility, int priority, int r… in test_syslog_parse_priority_one()
/systemd-251/src/udev/
Dudev-netlink.c124 _cleanup_free_ char *str = NULL; in cache_unsigned() local
145 _cleanup_free_ char *str = NULL; in cache_hw_addr() local
168 _cleanup_free_ char *str = NULL; in cache_binary() local
201 _cleanup_free_ char *str = NULL; in cache_string() local
Dudev-builtin-net_id.c433 char str[PATH_MAX]; in dev_pci_slot() local
941 char str[32]; in ieee_oui() local
1026 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1038 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1047 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1056 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1065 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1075 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1088 char str[ALTIFNAMSIZ]; in builtin_net_id() local
1112 char str[ALTIFNAMSIZ]; in builtin_net_id() local
[all …]
Dfuzz-udev-rule-parse-value.c10 _cleanup_free_ char *str = NULL; in LLVMFuzzerTestOneInput() local
/systemd-251/src/libsystemd/sd-network/
Dnetwork-util.c93 int parse_operational_state_range(const char *str, LinkOperationalStateRange *out) { in parse_operational_state_range()
140 _cleanup_free_ char *str = NULL; in network_link_get_operational_state() local
/systemd-251/src/libudev/
Dlibudev-util.c25 _public_ int udev_util_encode_string(const char *str, char *str_enc, size_t len) { in udev_util_encode_string()
/systemd-251/src/fuzz/
Dfuzz-time-util.c10 _cleanup_free_ char *str = NULL; in LLVMFuzzerTestOneInput() local
Dfuzz-calendarspec.c12 _cleanup_free_ char *str = NULL; in LLVMFuzzerTestOneInput() local
/systemd-251/src/shared/
Dudev-util.c340 void log_device_uevent(sd_device *device, const char *str) { in log_device_uevent()
358 int udev_rule_parse_value(char *str, char **ret_value, char **ret_endpos) { in udev_rule_parse_value()
405 size_t udev_replace_whitespace(const char *str, char *to, size_t len) { in udev_replace_whitespace()
447 size_t udev_replace_ifname(char *str) { in udev_replace_ifname()
463 size_t udev_replace_chars(char *str, const char *allow) { in udev_replace_chars()
Ddevice-nodes.c19 int encode_devnode_name(const char *str, char *str_enc, size_t len) { in encode_devnode_name()
Dsecurebits-util.c12 _cleanup_free_ char *str = NULL; in secure_bits_to_string_alloc() local
Dip-protocol-list.c41 _cleanup_free_ char *str = NULL; in parse_ip_protocol() local
/systemd-251/src/core/
Ddbus-timer.c175 const char *str, in timer_add_one_calendar_spec()
289 const char *base_name, *str; in bus_timer_set_transient_property() local
348 const char *str; in bus_timer_set_transient_property() local
/systemd-251/src/fundamental/
Dstring-util-fundamental.h18 #define STR_C(str) (L ## str) argument
21 #define STR_C(str) (str) argument
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-error.c222 _cleanup_free_ char *str = NULL; in TEST() local

12345