Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 102) sorted by relevance

12345

/systemd-251/
Dmeson_options.txt4 option('version-tag', type : 'string',
5 description : 'override the git version string')
6 option('shared-lib-tag', type : 'string',
16 option('rootlibdir', type : 'string',
18 option('rootprefix', type : 'string',
40 option('sysvinit-path', type : 'string', value : '/etc/init.d',
42 option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
44 option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
46 option('rc-local', type : 'string',
55 option('quotaon-path', type : 'string', description : 'path to quotaon')
[all …]
/systemd-251/man/
Dvtable-example.c33 const char *string; in method() local
34 check(sd_bus_message_read(m, "s", &string)); in method()
35 check(sd_bus_reply_method_return(m, "s", string)); in method()
46 "so", SD_BUS_PARAM(string) SD_BUS_PARAM(path),
52 SD_BUS_ARGS("s", string, "o", path),
68 "so", SD_BUS_PARAM(string) SD_BUS_PARAM(path),
72 SD_BUS_ARGS("s", string, "o", path),
/systemd-251/src/timesync/
Dtimesyncd-conf.c12 int manager_parse_server_string(Manager *m, ServerType type, const char *string) { in manager_parse_server_string() argument
17 assert(string); in manager_parse_server_string()
28 r = extract_first_word(&string, &word, NULL, 0); in manager_parse_server_string()
30 … return log_error_errno(r, "Failed to parse timesyncd server syntax \"%s\": %m", string); in manager_parse_server_string()
44 if (streq_ptr(n->string, word)) { in manager_parse_server_string()
60 int manager_parse_fallback_string(Manager *m, const char *string) { in manager_parse_fallback_string() argument
64 return manager_parse_server_string(m, SERVER_FALLBACK, string); in manager_parse_fallback_string()
Dtimesyncd-server.c67 const char *string) { in server_name_new() argument
72 assert(string); in server_name_new()
81 .string = strdup(string), in server_name_new()
84 if (!n->string) { in server_name_new()
111 log_debug("Added new %s server %s.", server_type_to_string(type), string); in server_name_new()
141 log_debug("Removed server %s.", n->string); in server_name_free()
143 free(n->string); in server_name_free()
Dtimesyncd-manager.c96 …g_info("Timed out waiting for reply from %s (%s).", strna(pretty), m->current_server_name->string); in manager_timeout()
144 … log_debug("Sent NTP request to %s (%s).", strna(pretty), m->current_server_name->string); in manager_send_request()
146 …errno, "Sending NTP request to %s (%s) failed: %m", strna(pretty), m->current_server_name->string); in manager_send_request()
615 … log_info("Contacted time server %s (%s).", strna(pretty), m->current_server_name->string); in manager_receive_response()
616 …fyf(false, "STATUS=Contacted time server %s (%s).", strna(pretty), m->current_server_name->string); in manager_receive_response()
691 … log_debug("Connecting to time server %s (%s).", strna(pretty), m->current_server_name->string); in manager_begin()
692 …false, "STATUS=Connecting to time server %s (%s).", strna(pretty), m->current_server_name->string); in manager_begin()
713 log_debug("Selected server %s.", n->string); in manager_set_server_name()
733 log_debug("Selected address %s of server %s.", strna(pretty), a->name->string); in manager_set_server_address()
747 … log_debug("Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret)); in manager_resolve_handler()
[all …]
Dtimesyncd-conf.h9 int manager_parse_server_string(Manager *m, ServerType type, const char *string);
14 int manager_parse_fallback_string(Manager *m, const char *string);
Dtimesyncd-server.h34 char *string; member
48 int server_name_new(Manager *m, ServerName **ret, ServerType type,const char *string);
/systemd-251/src/libsystemd-network/
Dnetwork-internal.c46 int deserialize_in_addrs(struct in_addr **ret, const char *string) { in deserialize_in_addrs() argument
51 assert(string); in deserialize_in_addrs()
58 r = extract_first_word(&string, &word, NULL, 0); in deserialize_in_addrs()
101 int deserialize_in6_addrs(struct in6_addr **ret, const char *string) { in deserialize_in6_addrs() argument
106 assert(string); in deserialize_in6_addrs()
113 r = extract_first_word(&string, &word, NULL, 0); in deserialize_in6_addrs()
161 int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, const char *string) { in deserialize_dhcp_routes() argument
167 assert(string); in deserialize_dhcp_routes()
176 r = extract_first_word(&string, &word, NULL, 0); in deserialize_dhcp_routes()
Dnetwork-internal.h14 int deserialize_in_addrs(struct in_addr **addresses, const char *string);
18 int deserialize_in6_addrs(struct in6_addr **addresses, const char *string);
25 int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, const char *string);
Ddhcp-option.c319 _cleanup_free_ char *string = NULL; in parse_options() local
325 string = memdup_suffix0((const char *) option, len); in parse_options()
326 if (!string) in parse_options()
329 if (!ascii_is_valid(string)) in parse_options()
332 free_and_replace(*error_message, string); in parse_options()
Dsd-dhcp-lease.c385 char *string; in lease_parse_string() local
394 string = memdup_suffix0((const char *) option, len); in lease_parse_string()
395 if (!string) in lease_parse_string()
398 free_and_replace(*ret, string); in lease_parse_string()
971 const char *string; in dhcp_lease_save() local
1054 r = sd_dhcp_lease_get_domainname(lease, &string); in dhcp_lease_save()
1056 fprintf(f, "DOMAINNAME=%s\n", string); in dhcp_lease_save()
1065 r = sd_dhcp_lease_get_hostname(lease, &string); in dhcp_lease_save()
1067 fprintf(f, "HOSTNAME=%s\n", string); in dhcp_lease_save()
1069 r = sd_dhcp_lease_get_root_path(lease, &string); in dhcp_lease_save()
[all …]
/systemd-251/src/resolve/
Dresolvconf-compat.c53 static int parse_nameserver(const char *string) { in parse_nameserver() argument
56 assert(string); in parse_nameserver()
61 r = extract_first_word(&string, &word, NULL, 0); in parse_nameserver()
76 static int parse_search_domain(const char *string) { in parse_search_domain() argument
79 assert(string); in parse_search_domain()
84 r = extract_first_word(&string, &word, NULL, EXTRACT_UNQUOTE); in parse_search_domain()
Dresolved-conf.c59 int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string) { in manager_parse_dns_server_string_and_warn() argument
63 assert(string); in manager_parse_dns_server_string_and_warn()
68 r = extract_first_word(&string, &word, NULL, 0); in manager_parse_dns_server_string_and_warn()
110 int manager_parse_search_domains_and_warn(Manager *m, const char *string) { in manager_parse_search_domains_and_warn() argument
114 assert(string); in manager_parse_search_domains_and_warn()
119 r = extract_first_word(&string, &word, NULL, EXTRACT_UNQUOTE); in manager_parse_search_domains_and_warn()
Dresolved-conf.h10 int manager_parse_search_domains_and_warn(Manager *m, const char *string);
11 int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string);
/systemd-251/src/basic/
Dio-util.h79 #define IOVEC_INIT_STRING(string) IOVEC_INIT((char*) string, strlen(string)) argument
80 #define IOVEC_MAKE_STRING(string) (struct iovec) IOVEC_INIT_STRING(string) argument
/systemd-251/src/test/
Dtest-libmount.c11 const char *string, in test_libmount_unescaping_one() argument
24 f = fmemopen((char*) string, strlen(string), "re"); in test_libmount_unescaping_one()
42 assert_se(x = cescape(string)); in test_libmount_unescaping_one()
/systemd-251/docs/
DUSER_RECORD.md52 2. Additional user metadata, such as a picture, email address, location string,
213 `userName` → The UNIX user name for this record. Takes a string with a valid
222 installations. This should take a string in DNS domain syntax, but doesn't have
233 `realName` → The real name of the user, a string. This should contain the
243 string. [`pam_systemd`](https://www.freedesktop.org/software/systemd/man/pam_systemd.html)
248 purpose of an avatar. This must be a string, and should follow the semantics
252 `location` → A free-form location string describing the location of the user,
253 if that is applicable. It's probably wise to use a location string processable
257 `disposition` → A string, one of `intrinsic`, `system`, `dynamic`, `regular`,
263 i.e. the `root` and `nobody` users. The `container` string should be used for
[all …]
DGROUP_RECORD.md19 `groupName` → A string with the UNIX group name. Matches the `gr_name` field of
24 field of user records. A string in DNS domain name syntax.
26 `description` → A descriptive string for the group. This is similar to the
31 same field of user records. A string.
33 `service` → A string, an identifier for the service managing this group record
/systemd-251/src/shared/
Dqrcode-util.c20 static QRcode* (*sym_QRcode_encodeString)(const char *string, int version, QRecLevel level, QRencod…
83 int print_qrcode(FILE *out, const char *header, const char *string) { in print_qrcode() argument
96 qr = sym_QRcode_encodeString(string, 0, QR_ECLEVEL_L, QR_MODE_8, 1); in print_qrcode()
Dqrcode-util.h10 int print_qrcode(FILE *out, const char *header, const char *string);
12 static inline int print_qrcode(FILE *out, const char *header, const char *string) { in print_qrcode() argument
/systemd-251/test/test-network/conf/
D25-agent-client-peer.network14 RelayAgentCircuitId=string:sample_circuit_id
15 RelayAgentRemoteId=string:sample_remote_id
/systemd-251/.lgtm/cpp-queries/
DPotentiallyDangerousFunction.ql18 predicate potentiallyDangerousFunction(Function f, string message) {
45 …= "Call to strerror() is not thread-safe. Use strerror_r() or printf()'s %m format string instead."
52 from FunctionCall call, Function target, string message
/systemd-251/test/units/
Dtestsuite-22.03.sh17 f /tmp/f/2 0644 - - - This string should be written
29 f /tmp/f/1 0666 daemon daemon - This string should not be written
42 f /tmp/f/fifo 0666 daemon daemon - This string should not be written
70 f /tmp/f/ro-fs/foo 0644 - - - - This string should not be written
157 F /tmp/F/ro-fs/foo 0644 - - - - This string should not be written
/systemd-251/src/fundamental/
Dmeson.build10 'string-util-fundamental.h',
19 'string-util-fundamental.c',
/systemd-251/coccinelle/
Disempty.cocci3 /* Disable this transformation for the test-string-util.c */
4 position p : script:python() { p[0].file != "src/test/test-string-util.c" };

12345