Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/test/
Dtest-utf8.c103 _cleanup_free_ char *p1, *p2, *p3; in TEST() local
109 p2 = utf8_escape_invalid("\341\204\341\204"); in TEST()
110 log_debug("\"%s\"", p2); in TEST()
111 assert_se(utf8_is_valid(p2)); in TEST()
119 _cleanup_free_ char *p1, *p2, *p3, *p4, *p5, *p6; in TEST() local
125 p2 = utf8_escape_non_printable("\341\204\341\204"); in TEST()
126 log_debug("\"%s\"", p2); in TEST()
127 assert_se(utf8_is_valid(p2)); in TEST()
Dtest-macro.c19 unsigned long i, p2; in TEST() local
46 for (p2 = 1; p2 < i; p2 <<= 1) in TEST()
49 assert_se(ALIGN_POWER2(i) == p2); in TEST()
53 for (p2 = 1; p2 && p2 < i; p2 <<= 1) in TEST()
56 assert_se(ALIGN_POWER2(i) == p2); in TEST()
Dtest-alloc-util.c139 _cleanup_(erase_and_freep) uint8_t *p1, *p2; in TEST()
142 log_debug("p1: %p p2: %p", &p1, &p2); in TEST()
146 assert_se(p2 = new(uint8_t, 4703)); in TEST()
151 memcpy(p2, p1, 4703); in TEST()
153 assert_se(p1[i] == p2[i]); in TEST()
/systemd-251/man/
Dmeson.build76 p2 = [] variable
86 p2 += link
96 depends : [custom_entities_ent, p2],
147 p2 = [] variable
152 input : p2,
159 p2 += link
169 depends : [custom_entities_ent, p2],
/systemd-251/src/resolve/
Dtest-dns-packet.c54 _cleanup_(dns_packet_unrefp) DnsPacket *p = NULL, *p2 = NULL; in test_packet_from_file()
78 assert_se(dns_packet_new(&p2, DNS_PROTOCOL_DNS, 0, DNS_PACKET_SIZE_MAX) >= 0); in test_packet_from_file()
79 … assert_se(dns_packet_append_blob(p2, rr->wire_format, rr->wire_format_size, NULL) >= 0); in test_packet_from_file()
80 assert_se(dns_packet_read_rr(p2, &rr2, NULL, NULL) >= 0); in test_packet_from_file()
Dtest-resolved-packet.c9 _cleanup_(dns_packet_unrefp) DnsPacket *p2 = NULL; in TEST()
23 …assert_se(dns_packet_new(&p2, DNS_PROTOCOL_DNS, DNS_PACKET_SIZE_MAX + 1, DNS_PACKET_SIZE_MAX) == -… in TEST()
/systemd-251/src/shared/
Dcgroup-show.c259 _cleanup_free_ char *fn = NULL, *p1 = NULL, *last = NULL, *p2 = NULL; in show_cgroup_by_path() local
325 if (!p2) { in show_cgroup_by_path()
326 p2 = strjoin(prefix, " "); in show_cgroup_by_path()
327 if (!p2) in show_cgroup_by_path()
331 show_cgroup_by_path(last, p2, n_columns-2, flags); in show_cgroup_by_path()
/systemd-251/src/basic/
Dconf-files.c209 char *p1, *p2; in conf_files_insert() local
221 p2 = path_startswith(path, *dir); in conf_files_insert()
222 if (p2) { in conf_files_insert()
/systemd-251/hwdb.d/
Dids_parser.py319 def oui(p1, p2, p3): argument
323 for p, check in ((p1, False), (p2, False), (p3, True)):
374 p2 = oui_grammar('medium').parseFile(open('ma-medium.txt')) variable
376 oui(p, p2, p3)
Dma-medium.txt1184 1C-21-D1 (hex) p2-plus inc.
1185 E00000-EFFFFF (base 16) p2-plus inc.
D20-OUI.hwdb46791 ID_OUI_FROM_DATABASE=p2-plus inc.
/systemd-251/src/udev/
Dudev-builtin-net_id.c889 const char *syspath, *subsystem, *p, *p2; in names_xen() local
924 p2 = strchr(p, '/'); in names_xen()
925 if (!p2) in names_xen()
927 p = strndupa_safe(p, p2 - p); in names_xen()