/busybox-1.35.0/archival/libarchive/unxz/ |
D | xz_dec_stream.c | 129 } temp; member 160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() 164 s->temp.pos += copy_size; in fill_temp() 166 if (s->temp.pos == s->temp.size) { in fill_temp() 167 s->temp.pos = 0; in fill_temp() 388 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header() 391 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header() 392 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header() 395 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header() [all …]
|
D | xz_dec_bcj.c | 75 } temp; member 409 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush() 410 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 413 s->temp.filtered -= copy_size; in bcj_flush() 414 s->temp.size -= copy_size; in bcj_flush() 415 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush() 433 if (s->temp.filtered > 0) { in xz_dec_bcj_run() 435 if (s->temp.filtered > 0) in xz_dec_bcj_run() 454 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run() 456 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run() [all …]
|
D | xz_dec_lzma2.c | 275 } temp; member 854 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma() 855 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; in lzma2_lzma() 856 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma() 857 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma() 861 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); in lzma2_lzma() 863 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma() 864 memzero(s->temp.buf + s->temp.size + tmp, in lzma2_lzma() 865 sizeof(s->temp.buf) in lzma2_lzma() 866 - s->temp.size - tmp); in lzma2_lzma() [all …]
|
/busybox-1.35.0/networking/libiproute/ |
D | ll_addr.c | 59 int temp; in ll_addr_a2n() local 65 if (sscanf(arg, "%x", &temp) != 1 || (temp < 0 || temp > 255)) { in ll_addr_a2n() 69 lladdr[i] = temp; in ll_addr_a2n()
|
/busybox-1.35.0/scripts/ |
D | fix_ws.sh | 5 temp="/tmp/fix_ws.$$.$RANDOM" 64 fi >"$temp" 69 cat "$temp" >"$name" 71 rm "$temp" 2>/dev/null
|
/busybox-1.35.0/libbb/ |
D | llist.c | 38 llist_t *temp = *head; in llist_pop() local 40 if (temp) { in llist_pop() 41 data = temp->data; in llist_pop() 42 *head = temp->link; in llist_pop() 43 free(temp); in llist_pop()
|
D | hash_md5prime.c | 156 uint32_t temp; in md5_transform() local 216 temp = a; in md5_transform() 219 temp += F(b, c, d); in md5_transform() 222 temp += G(b, c, d); in md5_transform() 225 temp += H(b, c, d); in md5_transform() 228 temp += I(b, c, d); in md5_transform() 231 temp += x[*pp++] + *pc++; in md5_transform() 232 temp = rotl32(temp, ps[i & 3]); in md5_transform() 233 temp += b; in md5_transform() 234 a = d; d = c; c = b; b = temp; in md5_transform() [all …]
|
D | hash_md5_sha.c | 163 uint32_t temp; in md5_process_block64() local 177 temp = A; in md5_process_block64() 180 temp += FF(B, C, D); in md5_process_block64() 183 temp += FG(B, C, D); in md5_process_block64() 186 temp += FH(B, C, D); in md5_process_block64() 189 temp += FI(B, C, D); in md5_process_block64() 191 temp += words[(int) (*pp++)] + *pc++; in md5_process_block64() 192 temp = rotl32(temp, ps[i & 3]); in md5_process_block64() 193 temp += B; in md5_process_block64() 197 B = temp; in md5_process_block64() [all …]
|
D | xfuncs.c | 196 char temp; in fdlength() local 202 if (lseek(fd, pos, SEEK_SET)>=0 && safe_read(fd, &temp, 1)==1) { in fdlength()
|
/busybox-1.35.0/testsuite/ |
D | unzip.tests | 16 mkdir temp 17 cd temp || exit $? 84 rm -rf temp
|
/busybox-1.35.0/editors/ |
D | patch_bbox.c | 49 char *temp = NULL, *filename_start_ptr = line + 4; in extract_filename() local 57 temp = strchr(filename_start_ptr, '/'); in extract_filename() 58 if (!temp) in extract_filename() 60 filename_start_ptr = temp + 1; in extract_filename() 62 temp = xstrdup(filename_start_ptr); in extract_filename() 65 return temp; in extract_filename()
|
D | patch.c | 155 char *temp; in finish_oldfile() local 164 temp = xstrdup(TT.tempname); in finish_oldfile() 165 temp[strlen(temp) - 6] = '\0'; in finish_oldfile() 166 rename(TT.tempname, temp); in finish_oldfile() 167 free(temp); in finish_oldfile()
|
D | patch_toybox.c | 180 char *temp = xstrdup(*tempname); in replace_tempfile() local 182 temp[strlen(temp)-6]=0; in replace_tempfile() 188 rename(*tempname, temp); in replace_tempfile() 190 free(temp); in replace_tempfile()
|
D | sed.c | 349 char *temp; in get_address() local 356 temp = copy_parsing_escapes(pos, next); in get_address() 358 xregcomp(*regex, temp, G.regex_type); in get_address() 359 free(temp); in get_address() 994 char *temp = NULL; in get_next_line() local 1020 temp = bb_get_chunk_from_file(fp, &len); in get_next_line() 1021 if (temp) { in get_next_line() 1023 char c = temp[len-1]; in get_next_line() 1025 temp[len-1] = '\0'; in get_next_line() 1051 return temp; in get_next_line()
|
/busybox-1.35.0/util-linux/ |
D | mdev.c | 1071 static void process_action(char *temp, unsigned my_pid) in process_action() argument 1114 snprintf(temp, PATH_MAX, "/sys%s", env_devpath); in process_action() 1120 make_device(env_devname, temp, op); in process_action() 1123 make_device(env_devname, temp, op); in process_action() 1126 load_firmware(fw, temp); in process_action() 1136 static void initial_scan(char *temp) in initial_scan() argument 1149 fileAction, dirAction, temp); in initial_scan() 1171 static int daemon_init(char *temp) in daemon_init() argument 1189 initial_scan(temp); in daemon_init() 1194 static void daemon_loop(char *temp, int fd) in daemon_loop() argument [all …]
|
D | cal.c | 249 unsigned long temp; in day_array() local 288 temp = (long)(year - 1) * 365 + leap_years_since_year_1(year - 1) + day; in day_array() 289 if (temp < FIRST_MISSING_DAY) { in day_array() 290 dw = ((temp - 1 + SATURDAY) % 7); in day_array() 292 dw = (((temp - 1 + SATURDAY) - NUMBER_MISSING_DAYS) % 7); in day_array()
|
D | fdisk.c | 2458 sector_t limit, temp; in add_partition() local 2488 temp = start; in add_partition() 2500 if (start >= temp+units_per_sector && num_read) { in add_partition() 2501 printf("Sector %"SECT_FMT"u is already allocated\n", temp); in add_partition() 2502 temp = start; in add_partition() 2505 if (!num_read && start == temp) { in add_partition() 2517 } while (start != temp || !num_read); in add_partition()
|
/busybox-1.35.0/procps/ |
D | pgrep.c | 124 int temp = get_signum(argv[1]+1); in pgrep_main() local 125 if (temp != -1) { in pgrep_main() 126 signo = temp; in pgrep_main()
|
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | util.c | 264 int i, temp; in print_button() local 269 temp = strspn(label, " "); in print_button() 270 label += temp; in print_button() 273 for (i = 0; i < temp; i++) in print_button() 283 wmove(win, y, x + temp + 1); in print_button()
|
/busybox-1.35.0/networking/udhcp/ |
D | dhcpc.c | 1666 uint8_t *temp; in udhcpc_main() local 1693 temp = udhcp_get_option32(&packet, DHCP_SERVER_ID); in udhcpc_main() 1694 if (!temp) { in udhcpc_main() 1698 move_from_unaligned32(server_id, temp); in udhcpc_main() 1718 uint8_t *temp; in udhcpc_main() local 1727 temp = udhcp_get_option32(&packet, DHCP_LEASE_TIME); in udhcpc_main() 1728 if (temp) { in udhcpc_main() 1731 move_from_unaligned32(lease, temp); in udhcpc_main() 1737 temp ? "" : " (default)" in udhcpc_main() 1815 uint8_t *temp = udhcp_get_option32(&packet, DHCP_SERVER_ID); in udhcpc_main() local [all …]
|
D | dhcpd.c | 251 struct in_addr temp; in nobody_responds_to_arp() local 262 temp.s_addr = nip; in nobody_responds_to_arp() 264 inet_ntoa(temp), (unsigned)server_data.conflict_time); in nobody_responds_to_arp()
|
/busybox-1.35.0/archival/libarchive/ |
D | decompress_bunzip2.c | 262 unsigned temp[MAX_HUFCODE_BITS+1]; in get_next_block() local 330 temp[i] = limit[i] = 0; in get_next_block() 340 temp[length[i]]++; in get_next_block() 348 unsigned temp_i = temp[i]; in get_next_block() 363 limit[maxLen] = pp + temp[maxLen] - 1; in get_next_block()
|
/busybox-1.35.0/miscutils/ |
D | bc.c | 1880 BcNum l1, h1, l2, h2, m2, m1, z0, z1, z2, temp; in zbc_num_k() local 1939 bc_num_init(&temp, max + max); in zbc_num_k() 1957 s = zbc_num_sub(&z1, &z0, &temp, 0); in zbc_num_k() 1959 s = zbc_num_sub(&temp, &z2, &z1, 0); in zbc_num_k() 1966 s = zbc_num_add(&z0, &z1, &temp, 0); in zbc_num_k() 1968 s = zbc_num_add(&temp, &z2, c, 0); in zbc_num_k() 1970 bc_num_free(&temp); in zbc_num_k() 2105 BcNum temp; in zbc_num_r() local 2116 bc_num_init(&temp, d->cap); in zbc_num_r() 2122 s = zbc_num_m(c, b, &temp, scale); in zbc_num_r() [all …]
|
D | devfsd.c | 1346 char temp[STRING_LENGTH]; in expand_expression() local 1348 if (!st_expr_expand(temp, STRING_LENGTH, input, get_variable_func, info)) in expand_expression() 1350 expand_regexp(output, outsize, temp, devname, ex, numexp); in expand_expression()
|
/busybox-1.35.0/modutils/ |
D | modutils-24.c | 958 unsigned int temp = (loc[0] & 0xFFFF) << 16 | in arch_apply_relocation() 965 temp += v - dot - 4; in arch_apply_relocation() 968 loc[0] = (loc[0] & 0xFFFF0000) | temp >> 16; in arch_apply_relocation() 969 loc[1] = (loc[1] & 0xFFFF0000) | (temp & 0xFFFF); in arch_apply_relocation()
|