Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 16 of 16) sorted by relevance

/busybox-1.35.0/libbb/
Dremove_file.c30 DIR *dp; in remove_file() local
48 dp = opendir(path); in remove_file()
49 if (dp == NULL) { in remove_file()
53 while ((d = readdir(dp)) != NULL) { in remove_file()
63 closedir(dp); in remove_file()
Dxfuncs_printf.c444 DIR *dp; in warn_opendir() local
446 dp = opendir(path); in warn_opendir()
447 if (!dp) in warn_opendir()
449 return dp; in warn_opendir()
455 DIR *dp; in xopendir() local
457 dp = opendir(path); in xopendir()
458 if (!dp) in xopendir()
460 return dp; in xopendir()
Dcopy_file.c138 DIR *dp; in copy_file() local
191 dp = opendir(source); in copy_file()
192 if (dp == NULL) { in copy_file()
197 while ((d = readdir(dp)) != NULL) { in copy_file()
209 closedir(dp); in copy_file()
/busybox-1.35.0/networking/
Dtls_pstm.c69 a->dp = xzalloc(sizeof (pstm_digit) * size);//bbox in pstm_init_size()
100 a->dp = xzalloc(sizeof (pstm_digit) * PSTM_DEFAULT_INIT);//bbox in pstm_init()
142 tmp = xrealloc(a->dp, sizeof (pstm_digit) * size);//bbox in pstm_grow()
146 a->dp = tmp; in pstm_grow()
153 a->dp[i] = 0; in pstm_grow()
191 tmpa = a->dp; in pstm_copy()
194 tmpb = b->dp; in pstm_copy()
226 while (a->used > 0 && a->dp[a->used - 1] == 0) { in pstm_clamp()
245 if (a != NULL && a->dp != NULL) { in pstm_clear()
250 a->dp[i] = 0; in pstm_clear()
[all …]
Dtls_pstm_mul_comba.c269 tmpx = A->dp + tx; in pstm_mul_comba_gen()
270 tmpy = B->dp + ty; in pstm_mul_comba_gen()
295 tmpc = C->dp; in pstm_mul_comba_gen()
326 memcpy(at, A->dp, 16 * sizeof(pstm_digit)); in pstm_mul_comba16()
327 memcpy(at+16, B->dp, 16 * sizeof(pstm_digit)); in pstm_mul_comba16()
334 COMBA_STORE(C->dp[0]); in pstm_mul_comba16()
338 COMBA_STORE(C->dp[1]); in pstm_mul_comba16()
342 COMBA_STORE(C->dp[2]); in pstm_mul_comba16()
346 COMBA_STORE(C->dp[3]); in pstm_mul_comba16()
350 COMBA_STORE(C->dp[4]); in pstm_mul_comba16()
[all …]
Dhttpd_indexcgi.c252 struct dirent *dp; in main() local
255 dp = readdir(dirp); in main()
256 if (!dp) in main()
258 if (dp->d_name[0] == '.' && !dp->d_name[1]) in main()
260 if (stat(dp->d_name, &sb) != 0) in main()
263 dir_list[dir_list_count].dl_name = strdup(dp->d_name); in main()
Dtls_pstm_montgomery_reduce.c389 c[x] = a->dp[x]; in pstm_montgomery_reduce()
399 tmpm = m->dp; in pstm_montgomery_reduce()
421 tmpm = a->dp; in pstm_montgomery_reduce()
Dtls_rsa.c76 tmp.dp = tmpa.dp = tmpb.dp = NULL; in psRsaCrypt()
Dtls_pstm.h126 pstm_digit *dp; member
135 #define pstm_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? PS_TRUE : PS_FALSE)
136 #define pstm_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? PS_TRUE : PS_FALSE)
Dtls_pstm_sqr_comba.c493 tmpx = A->dp + tx; in pstm_sqr_comba_gen()
494 tmpy = A->dp + ty; in pstm_sqr_comba_gen()
519 SQRADD(A->dp[ix>>1], A->dp[ix>>1]); in pstm_sqr_comba_gen()
534 tmpc = B->dp; in pstm_sqr_comba_gen()
568 a = A->dp; in pstm_sqr_comba16()
734 memcpy(B->dp, b, 32 * sizeof(pstm_digit)); in pstm_sqr_comba16()
755 a = A->dp; in pstm_sqr_comba32()
1079 memcpy(B->dp, b, 64 * sizeof(pstm_digit)); in pstm_sqr_comba32()
Dntpd.c603 dispersion(const datapoint_t *dp) in dispersion() argument
605 return dp->d_dispersion + FREQ_TOLERANCE * (G.cur_time - dp->d_recv_time); in dispersion()
/busybox-1.35.0/util-linux/
Dcal.c91 static char *build_row(char *p, unsigned *dp);
183 unsigned *dp = days; in cal_main() local
186 day_array(month, year, weekstart, dp); in cal_main()
192 build_row(lineout, dp)[0] = '\0'; in cal_main()
193 dp += 7; in cal_main()
198 unsigned *dp; in cal_main() local
227 dp = days[month + which_cal] + row; in cal_main()
228 build_row(lineout + which_cal * (week_len + 2), dp); in cal_main()
341 static char *build_row(char *p, unsigned *dp) in build_row() argument
349 day = *dp++; in build_row()
Dfdisk_osf.c1036 uint64_t *dp, sum; in alpha_bootblock_checksum() local
1039 dp = (uint64_t *)boot; in alpha_bootblock_checksum()
1042 sum += dp[i]; in alpha_bootblock_checksum()
1043 dp[63] = sum; in alpha_bootblock_checksum()
/busybox-1.35.0/editors/
Ddiff.c889 char *dp[2]; in diffdir() local
893 dp[0] = list[0].s < list[0].e ? list[0].dl[list[0].s] : NULL; in diffdir()
894 dp[1] = list[1].s < list[1].e ? list[1].dl[list[1].s] : NULL; in diffdir()
895 if (!dp[0] && !dp[1]) in diffdir()
897 pos = !dp[0] ? 1 : (!dp[1] ? -1 : strcmp(dp[0], dp[1])); in diffdir()
900 printf("Only in %s: %s\n", p[k], dp[k]); in diffdir()
907 path[i] = fullpath[i] = concat_path_file(p[i], dp[i]); in diffdir()
910 fullpath[i] = concat_path_file(p[i], dp[1 - i]); in diffdir()
934 free(dp[k]); in diffdir()
937 free(dp[1 - k]); in diffdir()
/busybox-1.35.0/miscutils/
Ddevfsd.c1265 DIR *dp; in dir_operation() local
1269 dp = warn_opendir(dir_name); in dir_operation()
1270 if (dp == NULL) in dir_operation()
1273 while ((de = readdir(dp)) != NULL) { in dir_operation()
1293 closedir(dp); in dir_operation()
/busybox-1.35.0/shell/
Dash.c7849 struct dirent *dp; in expmeta() local
7927 while (!pending_int && (dp = readdir(dirp)) != NULL) { in expmeta()
7928 if (dp->d_name[0] == '.' && !matchdot) in expmeta()
7930 if (pmatch(start, dp->d_name)) { in expmeta()
7932 strcpy(enddir, dp->d_name); in expmeta()
7938 p = stpcpy(enddir, dp->d_name); in expmeta()