Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 5 of 5) sorted by relevance

/busybox-1.35.0/util-linux/
Dmkswap.c102 #define hdr ((struct swap_header_v1*)bb_common_bufsiz1) macro
106 char swap_header_v1_wrong[sizeof(*hdr) != (NWORDS * 4) ? -1 : 1];
144 xwrite(fd, hdr, 1024); in mkswap_main()
147 hdr->version = 1; in mkswap_main()
148 hdr->last_page = (uoff_t)len / pagesize; in mkswap_main()
152 generate_uuid((void*)hdr->sws_uuid); in mkswap_main()
153 bin2hex(uuid_string, hdr->sws_uuid, 16); in mkswap_main()
163 safe_strncpy(hdr->sws_volume, label, 16); in mkswap_main()
167 xwrite(fd, hdr, NWORDS * 4); in mkswap_main()
Dhexdump_xxd.c156 static void print_C_style(const char *p, const char *hdr) in print_C_style() argument
158 printf(hdr, isdigit(p[0]) ? "__" : ""); in print_C_style()
/busybox-1.35.0/networking/
Dtc.c328 struct nlmsghdr *hdr, in print_qdisc() argument
331 struct tcmsg *msg = NLMSG_DATA(hdr); in print_qdisc()
332 int len = hdr->nlmsg_len; in print_qdisc()
336 if (hdr->nlmsg_type != RTM_NEWQDISC && hdr->nlmsg_type != RTM_DELQDISC) { in print_qdisc()
354 if (hdr->nlmsg_type == RTM_DELQDISC) in print_qdisc()
388 struct nlmsghdr *hdr, in print_class() argument
391 struct tcmsg *msg = NLMSG_DATA(hdr); in print_class()
392 int len = hdr->nlmsg_len; in print_class()
398 if (hdr->nlmsg_type != RTM_NEWTCLASS && hdr->nlmsg_type != RTM_DELTCLASS) { in print_class()
416 if (hdr->nlmsg_type == RTM_DELTCLASS) in print_class()
[all …]
Dwget.c1588 char *hdr; in wget_main() local
1594 G.extra_headers = hdr = xmalloc(size + 1); in wget_main()
1599 size = sprintf(hdr, "%s\r\n", in wget_main()
1605 if (strstr(hdr, words) == hdr) { in wget_main()
1612 hdr += size; in wget_main()
/busybox-1.35.0/mailutils/
Dsendmail.c489 const char *hdr; in sendmail_main() local
492 hdr = "To: %s,"; in sendmail_main()
494 hdr = "To: %s"; in sendmail_main()
496 hdr = "To: %s," + 3; in sendmail_main()
498 hdr = "To: %s" + 3; in sendmail_main()
500 xasprintf(hdr, t)); in sendmail_main()