Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-rr.c623 assert(a->loc.version == b->loc.version); in dns_resource_record_payload_equal()
625 return a->loc.size == b->loc.size && in dns_resource_record_payload_equal()
626 a->loc.horiz_pre == b->loc.horiz_pre && in dns_resource_record_payload_equal()
627 a->loc.vert_pre == b->loc.vert_pre && in dns_resource_record_payload_equal()
628 a->loc.latitude == b->loc.latitude && in dns_resource_record_payload_equal()
629 a->loc.longitude == b->loc.longitude && in dns_resource_record_payload_equal()
630 a->loc.altitude == b->loc.altitude; in dns_resource_record_payload_equal()
913 assert(rr->loc.version == 0); in dns_resource_record_to_string()
915 t = format_location(rr->loc.latitude, in dns_resource_record_to_string()
916 rr->loc.longitude, in dns_resource_record_to_string()
[all …]
Dresolved-dns-packet.c999 r = dns_packet_append_uint8(p, rr->loc.version, NULL); in dns_packet_append_rr()
1003 r = dns_packet_append_uint8(p, rr->loc.size, NULL); in dns_packet_append_rr()
1007 r = dns_packet_append_uint8(p, rr->loc.horiz_pre, NULL); in dns_packet_append_rr()
1011 r = dns_packet_append_uint8(p, rr->loc.vert_pre, NULL); in dns_packet_append_rr()
1015 r = dns_packet_append_uint32(p, rr->loc.latitude, NULL); in dns_packet_append_rr()
1019 r = dns_packet_append_uint32(p, rr->loc.longitude, NULL); in dns_packet_append_rr()
1023 r = dns_packet_append_uint32(p, rr->loc.altitude, NULL); in dns_packet_append_rr()
1837 rr->loc.version = t; in dns_packet_read_rr()
1839 r = dns_packet_read_uint8(p, &rr->loc.size, NULL); in dns_packet_read_rr()
1843 if (!loc_size_ok(rr->loc.size)) in dns_packet_read_rr()
[all …]
Dresolved-dns-rr.h171 } loc; member
/systemd-251/src/import/
Dcurl-util.c355 _cleanup_(freelocalep) locale_t loc = (locale_t) 0; in curl_parse_http_time()
363 loc = newlocale(LC_TIME_MASK, "C", (locale_t) 0); in curl_parse_http_time()
364 if (loc == (locale_t) 0) in curl_parse_http_time()
368 e = strptime_l(t, "%a, %d %b %Y %H:%M:%S %Z", &tm, loc); in curl_parse_http_time()
371 e = strptime_l(t, "%A, %d-%b-%y %H:%M:%S %Z", &tm, loc); in curl_parse_http_time()
374 e = strptime_l(t, "%a %b %d %H:%M:%S %Y", &tm, loc); in curl_parse_http_time()
/systemd-251/src/libsystemd/sd-journal/
Dcatalog.c551 const char *loc; in find_id() local
553 loc = setlocale(LC_MESSAGES, NULL); in find_id()
554 if (!isempty(loc) && !STR_IN_SET(loc, "C", "POSIX")) { in find_id()
557 len = strcspn(loc, ".@"); in find_id()
559 log_debug("LC_MESSAGES value too long, ignoring: \"%.*s\"", (int) len, loc); in find_id()
561 strncpy(key.language, loc, len); in find_id()
/systemd-251/src/basic/
Dparse-util.c571 _cleanup_(freelocalep) locale_t loc = (locale_t) 0; in safe_atod()
577 loc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0); in safe_atod()
578 if (loc == (locale_t) 0) in safe_atod()
582 d = strtod_l(s, &x, loc); in safe_atod()
Dlocale-util.c263 _cleanup_(freelocalep) locale_t loc = in locale_is_installed()
265 if (loc == (locale_t) 0) in locale_is_installed()
/systemd-251/tools/
Dupdate-dbus-docs.py142 for loc in document.findall(predicate):
143 if loc.text == item_repr:
/systemd-251/src/shared/
Djson.c1548 locale_t loc; in json_format() local
1550 loc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0); in json_format()
1551 if (loc == (locale_t) 0) in json_format()
1562 freelocale(loc); in json_format()
/systemd-251/hwdb.d/
Dma-large.txt17554 loc. Le Basse, 3