Searched defs:result (Results 1 - 25 of 50) sorted by relevance

12

/systemd/src/core/
H A Dscope.h41 ScopeResult result; member in struct:Scope
H A Dautomount.h51 AutomountResult result; member in struct:Automount
H A Dbusname.h51 BusNameResult result; member in struct:BusName
H A Dpath.h81 PathResult result; member in struct:Path
H A Dtimer.h71 TimerResult result; member in struct:Timer
H A Dmount.h73 MountResult result; member in struct:Mount
H A Dswap.h74 SwapResult result; member in struct:Swap
/systemd/test/
H A Drule-syntax-check.py41 result = 0 variable
69 result = 1 variable
72 sys.exit(result)
/systemd/src/resolve/
H A Dtest-dnssec-complex.c55 static void test_rr_lookup(sd_bus *bus, const char *name, uint16_t type, const char *result) { argument
80 assert_se(result);
81 assert_se(sd_bus_error_has_name(&error, result));
84 assert_se(!result);
89 static void test_hostname_lookup(sd_bus *bus, const char *name, int family, const char *result) { argument
117 assert_se(result);
118 assert_se(sd_bus_error_has_name(&error, result));
121 assert_se(!result);
H A Dtest-dnssec.c57 DnssecResult result; local
118 assert_se(dnssec_verify_rrset(answer, nsec->key, rrsig, dnskey, 1449849318*USEC_PER_SEC, &result) >= 0);
119 assert_se(result == DNSSEC_VALIDATED);
149 DnssecResult result; local
197 assert_se(dnssec_verify_rrset(answer, a->key, rrsig, dnskey, 1449092754*USEC_PER_SEC, &result) >= 0);
198 assert_se(result == DNSSEC_VALIDATED);
/systemd/src/libudev/
H A Dlibudev-util.c44 char *result, size_t maxsize, int read_value)
87 strscpy(result, maxsize, val);
89 result[0] = '\0';
90 log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);
95 s = result;
99 log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);
43 util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value) argument
/systemd/src/nspawn/
H A Dnspawn-settings.c158 uint64_t u = 0, *result = data; local
189 *result |= u;
205 sd_id128_t t, *result = data; local
218 *result = t;
H A Dnspawn-network.c48 uint64_t result; local
75 result = htole64(siphash24(v, sz, hash_key.bytes));
77 assert_cc(ETH_ALEN <= sizeof(result));
78 memcpy(mac->ether_addr_octet, &result, ETH_ALEN);
/systemd/src/shared/
H A Dcondition.h71 ConditionResult result:6; member in struct:Condition
/systemd/src/systemd/
H A Dsd-bus-vtable.h67 const char *result; member in struct:sd_bus_vtable::__anon284::__anon286
98 .x.method.result = _result, \
/systemd/src/basic/
H A Din-addr-util.c172 struct in6_addr add = {}, result; local
185 result.s6_addr[j] = u->in6.s6_addr[j] + add.s6_addr[j] + overflow;
186 overflow = (result.s6_addr[j] < u->in6.s6_addr[j]);
192 u->in6 = result;
/systemd/src/import/
H A Dpull-job.c78 void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) { argument
90 if (result != CURLE_OK) {
91 log_error("Transfer failed: %s", curl_easy_strerror(result));
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-benchmark.c43 static void server(sd_bus *b, size_t *result) { argument
72 *result = res;
254 size_t result; local
360 server(b, &result);
363 printf("Copying/memfd are equally fast at %zu bytes\n", result);
/systemd/src/libsystemd-network/
H A Dtest-dhcp-option.c287 _cleanup_free_ DHCPMessage *result = NULL; local
291 result = malloc0(sizeof(DHCPMessage) + 11);
292 assert_se(result);
294 result->options[0] = 'A';
295 result->options[1] = 'B';
296 result->options[2] = 'C';
297 result->options[3] = 'D';
299 assert_se(dhcp_option_append(result, 0, &offset, 0, SD_DHCP_OPTION_PAD,
304 assert_se(dhcp_option_append(result, 5, &offset, 0, SD_DHCP_OPTION_PAD,
307 assert_se(dhcp_option_append(result,
[all...]
/systemd/src/network/
H A Dnetworkd-netdev.c412 uint64_t result; local
439 result = siphash24(v, sz, HASH_KEY.bytes);
441 assert_cc(ETH_ALEN <= sizeof(result));
442 memcpy(mac->ether_addr_octet, &result, ETH_ALEN);
/systemd/src/nss-myhostname/
H A Dnss-myhostname.c192 struct hostent *result,
204 assert(result);
296 result->h_name = r_name;
297 result->h_aliases = (char**) r_aliases;
298 result->h_addrtype = af;
299 result->h_length = alen;
300 result->h_addr_list = (char**) r_addr_list;
187 fill_in_hostent( const char *canonical, const char *additional, int af, struct local_address *addresses, unsigned n_addresses, uint32_t local_address_ipv4, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
/systemd/src/nss-mymachines/
H A Dnss-mymachines.c235 struct hostent *result,
252 assert(result);
371 result->h_name = r_name;
372 result->h_aliases = (char**) r_aliases;
373 result->h_addrtype = af;
374 result->h_length = alen;
375 result->h_addr_list = (char**) r_addr_list;
232 _nss_mymachines_gethostbyname3_r( const char *name, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
/systemd/src/nss-resolve/
H A Dnss-resolve.c297 struct hostent *result,
306 struct hostent *result,
323 assert(result);
463 result->h_name = r_name;
464 result->h_aliases = (char**) r_aliases;
465 result->h_addrtype = af;
466 result->h_length = alen;
467 result->h_addr_list = (char**) r_addr_list;
485 struct hostent *result,
492 return fallback(name, af, result, buffe
294 _nss_resolve_gethostbyname3_r( const char *name, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
500 _nss_resolve_gethostbyaddr2_r( const void* addr, socklen_t len, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp) argument
[all...]
/systemd/src/test/
H A Dtest-cgroup-util.c32 static void check_p_d_u(const char *path, int code, const char *result) { argument
37 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
39 assert_se(streq_ptr(unit, result));
54 static void check_p_g_u(const char *path, int code, const char *result) { argument
59 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
61 assert_se(streq_ptr(unit, result));
78 static void check_p_g_u_u(const char *path, int code, const char *result) { argument
83 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
85 assert_se(streq_ptr(unit, result));
104 static void check_p_g_s(const char *path, int code, const char *result) { argument
118 check_p_g_o_u(const char *path, int code, uid_t result) argument
131 check_p_g_slice(const char *path, int code, const char *result) argument
148 check_p_g_u_slice(const char *path, int code, const char *result) argument
[all...]
H A Dtest-path-util.c34 #define test_path_compare(a, b, result) { \
35 assert_se(path_compare(a, b) == result); \
36 assert_se(path_compare(b, a) == -result); \
37 assert_se(path_equal(a, b) == !result); \
38 assert_se(path_equal(b, a) == !result); \
204 char *result; local
206 assert_se(path_make_relative("some/relative/path", "/some/path", &result) < 0);
207 assert_se(path_make_relative("/some/path", "some/relative/path", &result) < 0);

Completed in 145 milliseconds

12