/busybox-1.35.0/libbb/ |
D | safe_strncpy.c | 12 char* FAST_FUNC safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() argument 14 if (!size) return dst; in safe_strncpy() 15 dst[--size] = '\0'; in safe_strncpy() 16 return strncpy(dst, src, size); in safe_strncpy() 20 void FAST_FUNC overlapping_strcpy(char *dst, const char *src) in overlapping_strcpy() argument 25 if (dst != src) { in overlapping_strcpy() 26 while ((*dst = *src) != '\0') { in overlapping_strcpy() 27 dst++; in overlapping_strcpy()
|
D | uuencode.c | 90 char* FAST_FUNC decode_base64(char *dst, const char **pp_src) in decode_base64() argument 92 const char *src = pp_src ? *pp_src : dst; /* for httpd.c, support NULL 2nd param */ in decode_base64() 121 *dst++ = (char) (ch >> 16); in decode_base64() 122 *dst++ = (char) (ch >> 8); in decode_base64() 123 *dst++ = (char) ch; in decode_base64() 125 dst--; in decode_base64() 127 dst--; in decode_base64() 136 return dst; in decode_base64() 140 char* FAST_FUNC decode_base32(char *dst, const char **pp_src) in decode_base32() argument 165 *dst++ = (char) (ch >> 32); in decode_base32() [all …]
|
D | printable_string.c | 14 char *dst; in printable_string2() local 37 dst = unicode_conv_to_printable(stats, str); in printable_string2() 40 char *d = dst = xstrdup(str); in printable_string2() 50 stats->byte_count = (d - dst); in printable_string2() 51 stats->unicode_count = (d - dst); in printable_string2() 52 stats->unicode_width = (d - dst); in printable_string2() 56 return auto_string(dst); in printable_string2()
|
D | replace.c | 31 char *buf, *dst, *end; in xmalloc_substitute_string() local 37 buf = dst = xmalloc(strlen(src) + count * ((int)repl_len - (int)sub_len) + 1); in xmalloc_substitute_string() 40 dst = mempcpy(dst, src, end - src); in xmalloc_substitute_string() 41 dst = mempcpy(dst, repl, repl_len); in xmalloc_substitute_string() 45 strcpy(dst, src); in xmalloc_substitute_string()
|
D | percent_decode.c | 33 char *dst = str; in percent_decode_in_place() local 40 *dst++ = ' '; in percent_decode_in_place() 44 *dst++ = c; in percent_decode_in_place() 52 *dst++ = '%'; in percent_decode_in_place() 63 *dst++ = v; in percent_decode_in_place() 66 *dst = '\0'; in percent_decode_in_place()
|
D | process_escape_sequence.c | 105 char* FAST_FUNC strcpy_and_process_escape_sequences(char *dst, const char *src) in strcpy_and_process_escape_sequences() argument 112 *dst = c1; in strcpy_and_process_escape_sequences() 114 return dst; in strcpy_and_process_escape_sequences() 115 dst++; in strcpy_and_process_escape_sequences()
|
D | unicode.c | 1013 char *dst; in unicode_conv_to_printable2() local 1021 d = dst = xmalloc(width + 1); in unicode_conv_to_printable2() 1035 d = dst = xstrndup(src, width); in unicode_conv_to_printable2() 1044 stats->byte_count = (d - dst); in unicode_conv_to_printable2() 1045 stats->unicode_count = (d - dst); in unicode_conv_to_printable2() 1046 stats->unicode_width = (d - dst); in unicode_conv_to_printable2() 1048 return dst; in unicode_conv_to_printable2() 1051 dst = NULL; in unicode_conv_to_printable2() 1112 dst = xrealloc(dst, dst_len + MB_CUR_MAX); in unicode_conv_to_printable2() 1116 dst_len += wcrtomb(&dst[dst_len], wc, &mbst); in unicode_conv_to_printable2() [all …]
|
D | xfuncs.c | 49 char* FAST_FUNC strncpy_IFNAMSIZ(char *dst, const char *src) in strncpy_IFNAMSIZ() argument 54 return strncpy(dst, src, IFNAMSIZ); in strncpy_IFNAMSIZ() 145 char* FAST_FUNC hex2bin(char *dst, const char *str, int count) in hex2bin() argument 168 *dst++ = val; in hex2bin() 176 return dst; in hex2bin()
|
/busybox-1.35.0/networking/ |
D | httpd_indexcgi.c | 117 static char *dst = buffer; variable 127 if (buffer + (BUFFER_SIZE-HEADROOM) - dst >= size) in guarantee() 129 write(STDOUT_FILENO, buffer, dst - buffer); in guarantee() 130 dst = buffer; in guarantee() 140 memcpy(dst, src, len); in fmt_str() 141 dst += len; in fmt_str() 150 *dst = c; in fmt_url() 155 *dst++ = '%'; in fmt_url() 156 *dst++ = "0123456789ABCDEF"[c >> 4]; in fmt_url() 157 *dst = "0123456789ABCDEF"[c & 0xf]; in fmt_url() [all …]
|
D | tls_aes.h | 11 void aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) FAST_FUNC; 13 void aes_cbc_encrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) FAST_F… 14 void aes_cbc_decrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) FAST_F…
|
D | telnet.c | 217 byte *dst = outbuf; in handle_net_output() local 227 *dst = c; in handle_net_output() 229 *++dst = c; /* IAC -> IAC IAC */ in handle_net_output() 238 *dst = '\r'; /* Enter -> CR LF */ in handle_net_output() 239 *++dst = '\n'; in handle_net_output() 245 *dst = IAC; in handle_net_output() 246 *++dst = EC; in handle_net_output() 249 *dst = IAC; in handle_net_output() 250 *++dst = IP; in handle_net_output() 253 dst++; in handle_net_output() [all …]
|
D | arping.c | 67 struct in_addr dst; member 89 #define dst (G.dst ) macro 182 send_pack(&src, &dst, &me, &he); in catcher() 226 if (dst.s_addr != src_ip.s_addr) in recv_pack() 343 dst = lsa->u.sin.sin_addr; in arping_main() 353 src = dst; in arping_main() 370 G.probe_saddr.sin_addr = dst; in arping_main() 403 printf("ARPING %s", inet_ntoa(dst)); in arping_main()
|
D | tls_aes.c | 351 void FAST_FUNC aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) in aes_encrypt_one_block() argument 357 uint8_t *ct = dst; in aes_encrypt_one_block() 366 …d FAST_FUNC aes_cbc_encrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) in aes_cbc_encrypt() argument 371 uint8_t *ct = dst; in aes_cbc_encrypt() 413 static void aes_decrypt_one_block(struct tls_aes *aes, const void *data, void *dst) 421 uint8_t *pt = dst; 431 …d FAST_FUNC aes_cbc_decrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) in aes_cbc_decrypt() argument 439 uint8_t *pt = dst; in aes_cbc_decrypt()
|
D | tls_fe.c | 56 static void fprime_select(byte *dst, const byte *zero, const byte *one, byte condition) 62 dst[i] = zero[i] ^ (mask & (one[i] ^ zero[i])); 67 static void fe_select(byte *dst, 75 dst[i] = dst[i] ^ (mask & (src[i] ^ dst[i])); 78 # define fe_select(dst, src, condition) do { \ argument 79 if (condition) lm_copy(dst, src); \
|
/busybox-1.35.0/scripts/ |
D | gen_build_files.sh | 39 dst="$2" 62 } >"${dst}.tmp" 63 if ! cmp -s "${dst}" "${dst}.tmp"; then 64 gen "${dst}" 65 mv "${dst}.tmp" "${dst}" 67 rm -f "${dst}.tmp"
|
/busybox-1.35.0/networking/libiproute/ |
D | utils.c | 142 static void get_prefix_1(inet_prefix *dst, char *arg, int family) in get_prefix_1() argument 146 memset(dst, 0, sizeof(*dst)); in get_prefix_1() 152 dst->family = family; in get_prefix_1() 162 if (get_addr_1(dst, arg, family) == 0) { in get_prefix_1() 163 dst->bitlen = (dst->family == AF_INET6) ? 128 : 32; in get_prefix_1() 170 if ((errno || plen > dst->bitlen) in get_prefix_1() 186 if (plen > dst->bitlen) in get_prefix_1() 190 dst->bitlen = plen; in get_prefix_1() 201 int FAST_FUNC get_addr(inet_prefix *dst, char *arg, int family) in get_addr() argument 206 if (get_addr_1(dst, arg, family)) { in get_addr() [all …]
|
D | utils.h | 59 int get_addr_1(inet_prefix *dst, char *arg, int family) FAST_FUNC; 61 int get_addr(inet_prefix *dst, char *arg, int family) FAST_FUNC; 62 void get_prefix(inet_prefix *dst, char *arg, int family) FAST_FUNC;
|
D | iprule.c | 245 inet_prefix dst; in iprule_modify() local 247 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify() 248 req.r.rtm_src_len = dst.bitlen; in iprule_modify() 249 addattr_l(&req.n, sizeof(req), RTA_SRC, &dst.data, dst.bytelen); in iprule_modify() 251 inet_prefix dst; in iprule_modify() local 253 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify() 254 req.r.rtm_dst_len = dst.bitlen; in iprule_modify() 255 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iprule_modify()
|
D | ipneigh.c | 128 inet_prefix dst; in print_neigh() local 129 memset(&dst, 0, sizeof(dst)); in print_neigh() 130 dst.family = r->ndm_family; in print_neigh() 131 memcpy(&dst.data, RTA_DATA(tb[NDA_DST]), RTA_PAYLOAD(tb[NDA_DST])); in print_neigh() 132 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in print_neigh()
|
D | ipaddress.c | 272 inet_prefix dst; in print_addrinfo() local 273 memset(&dst, 0, sizeof(dst)); in print_addrinfo() 274 dst.family = ifa->ifa_family; in print_addrinfo() 275 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo() 276 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in print_addrinfo() 562 inet_prefix dst; in ipaddr_list_or_flush() local 563 memset(&dst, 0, sizeof(dst)); in ipaddr_list_or_flush() 564 dst.family = ifa->ifa_family; in ipaddr_list_or_flush() 565 memcpy(&dst.data, RTA_DATA(tb[IFA_LOCAL]), RTA_PAYLOAD(tb[IFA_LOCAL])); in ipaddr_list_or_flush() 566 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in ipaddr_list_or_flush()
|
/busybox-1.35.0/include/ |
D | liblzo_interface.h | 40 uint8_t* dst, unsigned* dst_len, 43 uint8_t* dst, unsigned* dst_len, 55 uint8_t* dst, unsigned* dst_len /*, void* wrkmem */);
|
/busybox-1.35.0/networking/udhcp/ |
D | domain_codec.c | 113 uint8_t *res, *lenptr, *dst; in convert_dname() local 116 dst = lenptr = res; in convert_dname() 117 dst++; in convert_dname() 125 len = dst - lenptr - 1; in convert_dname() 133 lenptr = dst++; in convert_dname() 136 *dst++ = tolower(c); in convert_dname() 139 *retlen = dst + 1 - res; in convert_dname()
|
/busybox-1.35.0/testsuite/date/ |
D | date-timezone | 18 # before dst is switched on 22 # after dst is switched on 26 # before dst is switched off 30 # after dst is switched off: back to 01:00:01 but with different TZ
|
/busybox-1.35.0/coreutils/ |
D | uudecode.c | 43 char *line_ptr, *dst; in read_stduu() local 88 dst = line; in read_stduu() 92 *dst++ = line_ptr[0] << 2 | line_ptr[1] >> 4; in read_stduu() 98 *dst++ = line_ptr[1] << 4 | line_ptr[2] >> 2; in read_stduu() 104 *dst++ = line_ptr[2] << 6 | line_ptr[3]; in read_stduu() 108 fwrite(line, 1, dst - line, dst_stream); in read_stduu() 130 void FAST_FUNC (*decode_fn_ptr)(FILE *src, FILE *dst, int flags); in uudecode_main()
|
/busybox-1.35.0/util-linux/volume_id/ |
D | util.c | 181 uint8_t *dst; in volume_id_get_buffer() local 196 dst = id->sbbuf; in volume_id_get_buffer() 213 dst = id->seekbuf; in volume_id_get_buffer() 227 dst = id->seekbuf; in volume_id_get_buffer() 235 read_len = full_read(id->fd, dst, len); in volume_id_get_buffer() 253 return dst + small_off; in volume_id_get_buffer()
|