Home
last modified time | relevance | path

Searched refs:normalized (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/fuzz/
Dfuzz-json.c45 bool normalized = json_variant_is_normalized(v); in LLVMFuzzerTestOneInput() local
46 log_debug("json_variant_is_normalized: %s", yes_no(normalized)); in LLVMFuzzerTestOneInput()
51 normalized = json_variant_is_normalized(v); in LLVMFuzzerTestOneInput()
52 log_debug("json_variant_is_normalized: %s", yes_no(normalized)); in LLVMFuzzerTestOneInput()
53 assert_se(r < 0 || normalized); in LLVMFuzzerTestOneInput()
/systemd-251/src/import/
Dimport.c131 _cleanup_free_ char *ll = NULL, *normalized = NULL; in import_tar() local
156 r = normalize_local(local, &normalized); in import_tar()
160 fd = open_source(path, normalized, &open_fd); in import_tar()
178 normalized, in import_tar()
203 _cleanup_free_ char *ll = NULL, *normalized = NULL; in import_raw() local
228 r = normalize_local(local, &normalized); in import_raw()
232 fd = open_source(path, normalized, &open_fd); in import_raw()
250 normalized, in import_raw()
Dpull.c106 _cleanup_free_ char *ll = NULL, *normalized = NULL; in pull_tar() local
135 r = normalize_local(local, url, &normalized); in pull_tar()
153 normalized, in pull_tar()
179 _cleanup_free_ char *ll = NULL, *normalized = NULL; in pull_raw() local
205 r = normalize_local(local, url, &normalized); in pull_raw()
222 normalized, in pull_raw()
/systemd-251/src/home/
Dhome-util.c39 _cleanup_free_ char *normalized = NULL; in suitable_realm() local
44 r = dns_name_normalize(realm, 0, &normalized); /* this also checks general validity */ in suitable_realm()
50 if (!streq(realm, normalized)) /* is this normalized? */ in suitable_realm()
Dhomework.c544 _cleanup_(json_variant_unrefp) JsonVariant *normalized = NULL; in write_identity_file()
553 normalized = json_variant_ref(v); in write_identity_file()
555 r = json_variant_normalize(&normalized); in write_identity_file()
573 json_variant_dump(normalized, JSON_FORMAT_PRETTY, identity_file, NULL); in write_identity_file()
/systemd-251/src/resolve/
Dresolved-dns-search-domain.c16 _cleanup_free_ char *normalized = NULL; in dns_search_domain_new() local
24 r = dns_name_normalize(name, 0, &normalized); in dns_search_domain_new()
44 .name = TAKE_PTR(normalized), in dns_search_domain_new()
Dresolved-varlink.c150 _cleanup_free_ char *normalized = NULL; in vl_method_resolve_hostname_complete() local
221 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in vl_method_resolve_hostname_complete()
228 JSON_BUILD_PAIR("name", JSON_BUILD_STRING(normalized)), in vl_method_resolve_hostname_complete()
415 _cleanup_free_ char *normalized = NULL; in vl_method_resolve_address_complete() local
423 r = dns_name_normalize(rr->ptr.name, 0, &normalized); in vl_method_resolve_address_complete()
430 … JSON_BUILD_PAIR("name", JSON_BUILD_STRING(normalized)))); in vl_method_resolve_address_complete()
Dresolved-bus.c251 _cleanup_free_ char *normalized = NULL; in bus_method_resolve_hostname_complete() local
317 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in bus_method_resolve_hostname_complete()
324 normalized, in bus_method_resolve_hostname_complete()
579 _cleanup_free_ char *normalized = NULL; in bus_method_resolve_address_complete() local
587 r = dns_name_normalize(rr->ptr.name, 0, &normalized); in bus_method_resolve_address_complete()
591 r = sd_bus_message_append(reply, "(is)", ifindex, normalized); in bus_method_resolve_address_complete()
865 _cleanup_free_ char *normalized = NULL; in append_srv() local
921 r = dns_name_normalize(rr->srv.name, 0, &normalized); in append_srv()
928 rr->srv.priority, rr->srv.weight, rr->srv.port, normalized); in append_srv()
975 normalized = mfree(normalized); in append_srv()
[all …]
/systemd-251/src/libsystemd-network/
Dndisc-router.c644 _cleanup_free_ char *normalized = NULL; in sd_ndisc_router_dnssl_get_domains() local
647 r = dns_name_normalize(e, 0, &normalized); in sd_ndisc_router_dnssl_get_domains()
652 if (!is_localhost(normalized) && in sd_ndisc_router_dnssl_get_domains()
653 !dns_name_is_root(normalized)) { in sd_ndisc_router_dnssl_get_domains()
655 if (strv_push(&l, normalized) < 0) in sd_ndisc_router_dnssl_get_domains()
658 normalized = NULL; in sd_ndisc_router_dnssl_get_domains()
Dsd-dhcp-lease.c405 _cleanup_free_ char *name = NULL, *normalized = NULL; in lease_parse_domain() local
419 r = dns_name_normalize(name, 0, &normalized); in lease_parse_domain()
423 if (is_localhost(normalized)) in lease_parse_domain()
426 if (dns_name_is_root(normalized)) in lease_parse_domain()
429 free_and_replace(*ret, normalized); in lease_parse_domain()
/systemd-251/src/shared/
Djson.c91 bool normalized:1; member
529 bool normalized = true; in json_variant_new_array() local
567 normalized = false; in json_variant_new_array()
570 v->normalized = normalized; in json_variant_new_array()
606 v->normalized = true; in json_variant_new_array_bytes()
663 v->normalized = true; in json_variant_new_array_strv()
672 bool sorted = true, normalized = true; in json_variant_new_object() local
705 sorted = normalized = false; in json_variant_new_object()
709 normalized = false; in json_variant_new_object()
726 v->normalized = normalized; in json_variant_new_object()
[all …]
/systemd-251/src/network/
Dnetworkd-network.c905 _cleanup_free_ char *w = NULL, *normalized = NULL; in config_parse_domains() local
930 r = dns_name_normalize(domain, 0, &normalized); in config_parse_domains()
937 domain = normalized; in config_parse_domains()
/systemd-251/src/test/
Dtest-process-util.c724 static void test_ioprio_class_from_to_string_one(const char *val, int expected, int normalized) { in test_ioprio_class_from_to_string_one() argument
738 assert_se(ioprio_prio_class(combined) == normalized); in test_ioprio_class_from_to_string_one()
/systemd-251/hwdb.d/
D70-pointingstick.hwdb62 # normalized deltas.
D60-keyboard.hwdb54 # are retrieved and normalized from the kernel input API header.
/systemd-251/docs/
DHOME_DIRECTORY.md23 record into 'normalized' form (i.e. all objects should contain their fields
DUSER_RECORD.md371 to assign to the user. This unsigned integer value is normalized to 2^32 =
675 contains a UNIX password hash of the normalized recovery key. Recovery keys are
687 automatically into normalized form, i.e. the dashes inserted when missing, and
904 Before signing the user record should be brought into "normalized" form,
/systemd-251/
DNEWS266 normalized unit file path, which is particularly useful for symlinked