/busybox-1.35.0/miscutils/ |
D | runlevel.c | 46 char prev; in runlevel_main() local 53 prev = ut->ut_pid / 256; in runlevel_main() 54 if (prev == 0) prev = 'N'; in runlevel_main() 55 printf("%c %c\n", prev, ut->ut_pid % 256); in runlevel_main()
|
D | bc.c | 1403 unsigned long prev = result; in zbc_num_ulong_abs() local 1409 if ((result / 8) < prev) in zbc_num_ulong_abs() 4025 static BC_STATUS zbc_parse_builtin(BcLexType type, uint8_t flags, BcInst *prev) in zbc_parse_builtin() argument 4044 *prev = (type == BC_LEX_KEY_LENGTH) ? XC_INST_LENGTH : XC_INST_SQRT; in zbc_parse_builtin() 4045 xc_parse_push(*prev); in zbc_parse_builtin() 4081 static BC_STATUS zbc_parse_incdec(BcInst *prev, size_t *nexs, uint8_t flags) in zbc_parse_incdec() argument 4087 BcInst etype = *prev; in zbc_parse_incdec() 4093 *prev = inst = BC_INST_INC_POST + (p->lex != BC_LEX_OP_INC); in zbc_parse_incdec() 4097 *prev = inst = BC_INST_INC_PRE + (p->lex != BC_LEX_OP_INC); in zbc_parse_incdec() 4109 s = zbc_parse_name(prev, flags | BC_PARSE_NOCALL); in zbc_parse_incdec() [all …]
|
/busybox-1.35.0/procps/ |
D | mpstat.c | 133 static ALWAYS_INLINE data_t overflow_safe_sub(data_t prev, data_t curr) in overflow_safe_sub() argument 135 data_t v = curr - prev; in overflow_safe_sub() 138 && prev <= 0xffffffff /* kernel uses 32bit value for the counter? */ in overflow_safe_sub() 147 static ALWAYS_INLINE data_t overflow_safe_sub(data_t prev, data_t curr) in overflow_safe_sub() argument 149 return curr - prev; in overflow_safe_sub() 153 static double percent_value(data_t prev, data_t curr, data_t itv) in percent_value() argument 155 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value() 158 static double hz_value(data_t prev, data_t curr, data_t itv) in hz_value() argument 161 return ((double)overflow_safe_sub(prev, curr)) / itv * G.hz; in hz_value() 178 int prev, int current, in write_irqcpu_stats() argument [all …]
|
D | iostat.c | 62 stats_cpu_t *prev; member 212 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument 214 cputime_t v = curr - prev; in overflow_safe_sub() 217 && prev <= 0xffffffff /* kernel uses 32bit value for the counter? */ in overflow_safe_sub() 226 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument 228 return curr - prev; in overflow_safe_sub() 232 static double percent_value(cputime_t prev, cputime_t curr, cputime_t itv) in percent_value() argument 234 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value() 239 cputime_t *p = stats->prev->vector; in print_stats_cpu_struct() 473 stats.prev = &stats_data[current_stats ^ 1]; in iostat_main() [all …]
|
D | smemcap.c | 48 struct fileblock **prev = &start; in archivefile() local 61 *prev = cur; in archivefile() 62 prev = &cur->next; in archivefile()
|
D | nmeter.c | 864 char *cur, *prev; in nmeter_main() local 890 prev = cur; in nmeter_main() 926 s->label = prev; in nmeter_main() 935 overlapping_strcpy(prev + strlen(prev), cur); in nmeter_main() 936 cur = prev; in nmeter_main() 939 if (prev[0]) { in nmeter_main() 941 s->label = prev; in nmeter_main()
|
/busybox-1.35.0/editors/ |
D | patch_toybox.c | 52 struct double_list *prev; member 95 line->prev = (*list)->prev; in dlist_add() 96 (*list)->prev->next = line; in dlist_add() 97 (*list)->prev = line; in dlist_add() 98 } else *list = line->next = line->prev = line; in dlist_add() 285 TT.current_hunk->prev->next = 0; in fail_hunk() 313 TT.current_hunk->prev->next = NULL; in apply_one_hunk() 381 check->prev->next = buf; in apply_one_hunk() 382 buf->prev = check->prev; in apply_one_hunk() 412 buf->prev->next = NULL; in apply_one_hunk()
|
D | patch.c | 58 struct double_list *prev; member 86 p = line->prev = llist->prev; in dlist_add() 89 llist->prev = line; in dlist_add() 91 *list = line->next = line->prev = line; in dlist_add() 187 TT.current_hunk->prev->next = NULL; in fail_hunk() 220 TT.current_hunk->prev->next = NULL; in apply_one_hunk() 311 check->prev->next = buf; in apply_one_hunk() 312 buf->prev = check->prev; in apply_one_hunk() 342 buf->prev->next = NULL; in apply_one_hunk()
|
D | ed.c | 29 struct LINE *prev; member 110 lp = lines.prev; in findLine() 120 lp = lp->prev; in findLine() 339 newLp->prev = lp->prev; in insertLine() 340 lp->prev->next = newLp; in insertLine() 341 lp->prev = newLp; in insertLine() 599 plp = lp->prev; in deleteLines() 601 nlp->prev = plp; in deleteLines() 750 nlp->prev = lp->prev; in subCommand() 751 nlp->prev->next = nlp; in subCommand() [all …]
|
D | vi.c | 448 struct undo_object *prev; // Linking back avoids list traversal (LIFO) member 1602 undo_stack_tail = undo_entry->prev; in flush_undo_data() 1705 undo_entry->prev = undo_stack_tail; in undo_push() 1786 undo_stack_tail = undo_entry->prev; in undo_pop() 2149 int prev = prev_tabstop(get_column(r)); in char_insert() local 2150 while (r > bol && get_column(r) > prev) { in char_insert()
|
D | awk.c | 115 struct walker_list *prev; member 1830 n = w->prev; in nvfree() 2179 w->prev = prev_walker; in hashwalk_init() 2194 walker_list *prev_walker = w->prev; in hashwalk_next()
|
/busybox-1.35.0/networking/ |
D | nameif.c | 96 struct ethtable_s *prev; member 201 (*clist)->prev = ch; in prepend_new_eth_table() 309 if (ch->prev != NULL) in nameif_main() 310 ch->prev->next = ch->next; in nameif_main() 314 ch->next->prev = ch->prev; in nameif_main()
|
D | interface.c | 317 struct interface *next, *prev; member 381 for (ife = ilist->int_last; ife; ife = ife->prev) { in add_interface() 394 new->prev = ife; in add_interface() 397 new->next->prev = new; in add_interface()
|
D | httpd.c | 2018 const char *prev = NULL; in check_user_passwd() local 2029 if (prev && strcmp(prev, dir_prefix) != 0) in check_user_passwd() 2045 prev = dir_prefix; in check_user_passwd() 2152 return (prev == NULL); in check_user_passwd()
|
/busybox-1.35.0/mailutils/ |
D | sendmail.c | 197 char prev = 0; in rcptto_list() local 203 if (ch == '"' && prev != '\\') { in rcptto_list() 210 prev = ch; in rcptto_list() 212 if (prev != ',') in rcptto_list()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 418 struct fsck_instance *inst, *prev; in wait_one() local 440 prev = NULL; in wait_one() 445 prev = inst; in wait_one() 491 if (prev) in wait_one() 492 prev->next = inst->next; in wait_one()
|
/busybox-1.35.0/archival/ |
D | gzip.c | 333 DECLARE(ush, prev, 1L << BITS); 337 #define head (G1.prev + WSIZE) /* hash head (see deflate.c) */ 672 m = G1.prev[n]; in fill_window() 673 G1.prev[n] = (Pos) (m >= WSIZE ? m - WSIZE : 0); in fill_window() 780 } while ((cur_match = G1.prev[cur_match & WMASK]) > limit in longest_match() 1806 G1.prev[(s) & WMASK] = match_head = head[G1.ins_h]; \ 2251 ALLOC(ush, G1.prev, 1L << BITS); in gzip_main()
|
/busybox-1.35.0/util-linux/volume_id/ |
D | hfs.c | 71 uint32_t prev; member
|
/busybox-1.35.0/shell/ |
D | ash.c | 569 struct strpush *prev; /* preceding string on stack */ member 592 struct parsefile *prev; /* preceding file on stack */ member 1559 struct stack_block *prev; member 1624 sp->prev = g_stackp; in stalloc() 1698 g_stackp = sp->prev; in popstackmark() 1735 prevstackp = sp->prev; in growstackblock() 1738 sp->prev = prevstackp; in growstackblock() 5746 pf = pf->prev; in save_fd_on_redirect() 5802 pf = pf->prev; in internally_opened_fd() 10711 sp->prev = g_parsefile->strpush; in pushstring() [all …]
|
D | hush.c | 4453 int prev = 0; /* not \ */ in fetch_till_str() local 4472 if ((heredoc_flags & HEREDOC_QUOTED) || prev != '\\') { in fetch_till_str() 4484 prev = ch; in fetch_till_str() 4512 prev = 0; /* not '\' */ in fetch_till_str() 4522 if (prev == '\\' && ch == '\\') in fetch_till_str() 4524 prev = 0; /* not '\' */ in fetch_till_str() 4526 prev = ch; in fetch_till_str()
|
/busybox-1.35.0/libbb/ |
D | lineedit.c | 1032 int prev = i ? int_buf[i - 1] : 0; in build_match_prefix() local 1033 if (cur == '&' && (prev == '>' || prev == '<')) { in build_match_prefix() 1035 } else if (cur == '|' && prev == '>') { in build_match_prefix()
|
/busybox-1.35.0/util-linux/ |
D | fdisk.c | 2056 wrong_p_order(int *prev) in wrong_p_order() argument 2074 if (prev) in wrong_p_order() 2075 *prev = last_i; in wrong_p_order()
|