/dports/sysutils/busybox/busybox-1.26.2/libbb/ |
H A D | process_escape_sequence.c | 100 char* FAST_FUNC strcpy_and_process_escape_sequences(char *dst, const char *src) in strcpy_and_process_escape_sequences() argument 107 *dst = c1; in strcpy_and_process_escape_sequences() 109 return dst; in strcpy_and_process_escape_sequences() 110 dst++; in strcpy_and_process_escape_sequences()
|
H A D | replace.c | 28 char *buf, *dst, *end; in xmalloc_substitute_string() local 34 buf = dst = xmalloc(strlen(src) + count * ((int)repl_len - (int)sub_len) + 1); in xmalloc_substitute_string() 37 dst = mempcpy(dst, src, end - src); in xmalloc_substitute_string() 38 dst = mempcpy(dst, repl, repl_len); in xmalloc_substitute_string() 42 strcpy(dst, src); in xmalloc_substitute_string()
|
H A D | lineedit.c | 240 static unsigned save_string(char *dst, unsigned maxsize) in save_string() argument 244 ssize_t len = wcstombs(dst, command_ps, maxsize - 1); in save_string() 247 dst[len] = '\0'; in save_string() 265 n = wcstombs(dst + dstpos, command_ps + n, maxsize - dstpos); in save_string() 277 dst[dstpos++] = (char) wc; in save_string() 279 dst[dstpos] = '\0'; in save_string() 284 while ((dst[i] = command_ps[i]) != 0) in save_string() 343 static void save_string(char *dst, unsigned maxsize) in save_string() argument 345 safe_strncpy(dst, command_ps, maxsize); in save_string()
|
H A D | safe_strncpy.c | 13 char* FAST_FUNC safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() argument 15 if (!size) return dst; in safe_strncpy() 16 dst[--size] = '\0'; in safe_strncpy() 17 return strncpy(dst, src, size); in safe_strncpy() 21 void FAST_FUNC overlapping_strcpy(char *dst, const char *src) in overlapping_strcpy() argument 26 if (dst != src) { in overlapping_strcpy() 27 while ((*dst = *src) != '\0') { in overlapping_strcpy() 28 dst++; in overlapping_strcpy()
|
H A D | percent_decode.c | 34 char *dst = str; in percent_decode_in_place() local 41 *dst++ = ' '; in percent_decode_in_place() 45 *dst++ = c; in percent_decode_in_place() 53 *dst++ = '%'; in percent_decode_in_place() 64 *dst++ = v; in percent_decode_in_place() 67 *dst = '\0'; in percent_decode_in_place()
|
H A D | uuencode.c | 84 char *dst = *pp_dst; in decode_base64() local 142 *dst++ = six_bit[0] << 2 | six_bit[1] >> 4; in decode_base64() 144 *dst++ = six_bit[1] << 4 | six_bit[2] >> 2; in decode_base64() 146 *dst++ = six_bit[2] << 6 | six_bit[3]; in decode_base64() 153 *pp_dst = dst; in decode_base64()
|
H A D | unicode.c | 1005 char *dst; in unicode_conv_to_printable2() local 1013 d = dst = xmalloc(width + 1); in unicode_conv_to_printable2() 1027 d = dst = xstrndup(src, width); in unicode_conv_to_printable2() 1036 stats->byte_count = (d - dst); in unicode_conv_to_printable2() 1040 return dst; in unicode_conv_to_printable2() 1043 dst = NULL; in unicode_conv_to_printable2() 1104 dst = xrealloc(dst, dst_len + MB_CUR_MAX); in unicode_conv_to_printable2() 1117 dst = xrealloc(dst, dst_len + width + 1); in unicode_conv_to_printable2() 1121 dst[dst_len++] = ' '; in unicode_conv_to_printable2() 1124 dst[dst_len] = '\0'; in unicode_conv_to_printable2() [all …]
|
H A D | xfuncs.c | 51 char* FAST_FUNC strncpy_IFNAMSIZ(char *dst, const char *src) in strncpy_IFNAMSIZ() argument 56 return strncpy(dst, src, IFNAMSIZ); in strncpy_IFNAMSIZ() 148 char* FAST_FUNC hex2bin(char *dst, const char *str, int count) in hex2bin() argument 171 *dst++ = val; in hex2bin() 179 return dst; in hex2bin()
|
/dports/sysutils/busybox/busybox-1.26.2/shell/ |
H A D | hush.c | 1175 char *dst = src = strchrnul(src, '\\'); in unbackslash() local 1179 if ((*dst++ = *src++) == '\0') in unbackslash() 1182 return dst; in unbackslash()
|
H A D | ash.c | 3831 char *dst; in killcmd() local 3850 dst = alloca(n * sizeof(int)*4); in killcmd() 3851 argv[i] = dst; in killcmd() 3864 dst += sprintf(dst, jp->jobctl ? " -%u" : " %u", (int)ps->ps_pid); in killcmd() 3866 *dst = '\0'; in killcmd()
|
/dports/sysutils/busybox/busybox-1.26.2/scripts/kconfig/ |
H A D | gconf.c | 75 static void update_tree(struct menu *src, GtkTreeIter * dst); 1387 static void update_tree(struct menu *src, GtkTreeIter * dst) in update_tree() argument 1401 valid = gtk_tree_model_iter_children(model2, child2, dst); in update_tree() 1422 if (gtktree_iter_find_node(dst, menu1) != NULL) { in update_tree() 1436 if (gtktree_iter_find_node(dst, menu1) == NULL) { // add node in update_tree() 1443 dst, sibling); in update_tree()
|
H A D | confdata.c | 49 char *dst, name[SYMBOL_MAXLENGTH]; in conf_expand_value() local 52 dst = name; in conf_expand_value() 56 dst = name; in conf_expand_value() 58 *dst++ = *src++; in conf_expand_value() 59 *dst = 0; in conf_expand_value()
|
/dports/sysutils/busybox/busybox-1.26.2/modutils/ |
H A D | modprobe-small.c | 202 char *dst = xmalloc(len + 1); in str_2_list() local 204 dst[len] = '\0'; in str_2_list() 205 memcpy(dst, str, len); in str_2_list() 207 replace(dst, ' ', '\0'); in str_2_list() 208 return dst; in str_2_list()
|
/dports/sysutils/busybox/busybox-1.26.2/include/ |
H A D | libbb.h | 426 char* strcpy_and_process_escape_sequences(char *dst, const char *src) FAST_FUNC; 711 void overlapping_strcpy(char *dst, const char *src) FAST_FUNC; 712 char *safe_strncpy(char *dst, const char *src, size_t size) FAST_FUNC; 713 char *strncpy_IFNAMSIZ(char *dst, const char *src) FAST_FUNC; 910 char *bin2hex(char *dst, const char *src, int count) FAST_FUNC; 912 char* hex2bin(char *dst, const char *src, int count) FAST_FUNC;
|
/dports/sysutils/busybox/busybox-1.26.2/scripts/ |
H A D | gen_build_files.sh | 23 local src="$1" dst="$2" header="$3" 40 } >"${dst}.tmp" 41 if ! cmp -s "${dst}" "${dst}.tmp"; then 42 gen "${dst}" 43 mv "${dst}.tmp" "${dst}" 45 rm -f "${dst}.tmp"
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/ |
H A D | mod.rs | 1313 pub fn dup3(src: ::c_int, dst: ::c_int, flags: ::c_int) -> ::c_int; in dup3()
|
/dports/sysutils/potnet/potnet-0.4.4/cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/ |
H A D | mod.rs | 1313 pub fn dup3(src: ::c_int, dst: ::c_int, flags: ::c_int) -> ::c_int; in dup3()
|
/dports/sysutils/u-boot-pine64/u-boot-2021.07/lib/ |
H A D | bch.c | 185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument 192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8() 195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument 208 *dst++ = (src[i] >> 24); in store_ecc8() 209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8() 210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8() 211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8() 217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8() 420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument [all …]
|
/dports/sysutils/u-boot-rock-pi-4/u-boot-2021.07/lib/ |
H A D | bch.c | 185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument 192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8() 195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument 208 *dst++ = (src[i] >> 24); in store_ecc8() 209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8() 210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8() 211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8() 217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8() 420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument [all …]
|
/dports/sysutils/tealdeer/tealdeer-1.4.1/cargo-crates/libc-0.2.76/src/unix/bsd/freebsdlike/freebsd/ |
H A D | mod.rs | 1500 pub fn dup3(src: ::c_int, dst: ::c_int, flags: ::c_int) -> ::c_int; in dup3()
|
/dports/sysutils/u-boot-orangepi-pc2/u-boot-2021.07/lib/ |
H A D | bch.c | 185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument 192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8() 195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument 208 *dst++ = (src[i] >> 24); in store_ecc8() 209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8() 210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8() 211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8() 217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8() 420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument [all …]
|
/dports/sysutils/ssync/ssync-2.3/ |
H A D | daemon.c | 87 char *dst = NULL; in main_loop() local 118 dst = (char *) da->val; in main_loop() 124 lstat (dst, &d); in main_loop() 129 src, dst); in main_loop() 132 process (src, &s, dst, &d); in main_loop()
|
/dports/sysutils/pesign/pesign-0.110/include/libdpe/ |
H A D | libdpe.h | 85 extern struct section_header *pe_getshdr(Pe_Scn *scn, struct section_header *dst);
|
/dports/sysutils/u-boot-qemu-arm/u-boot-2021.07/lib/ |
H A D | bch.c | 185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument 192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8() 195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument 208 *dst++ = (src[i] >> 24); in store_ecc8() 209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8() 210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8() 211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8() 217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8() 420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument [all …]
|
/dports/sysutils/u-boot-rpi-0-w/u-boot-2021.07/lib/ |
H A D | bch.c | 185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument 192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8() 195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument 208 *dst++ = (src[i] >> 24); in store_ecc8() 209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8() 210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8() 211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8() 217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8() 420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument [all …]
|