/busybox-1.35.0/libbb/ |
D | procps.c | 172 char *tp = is_prefixed_with(buf, prefix); in skip_whitespace_if_prefixed_with() local 173 if (tp) { in skip_whitespace_if_prefixed_with() 174 tp = skip_whitespace(tp); in skip_whitespace_if_prefixed_with() 176 return tp; in skip_whitespace_if_prefixed_with() 205 char *tp, *p; in procps_read_smaps() local 208 if ((tp = skip_whitespace_if_prefixed_with(buf, S)) != NULL) { \ in procps_read_smaps() 209 total->X += currec.X = fast_strtoul_10(&tp); \ in procps_read_smaps() 221 tp = strchr(buf, '-'); in procps_read_smaps() 222 if (tp) { in procps_read_smaps() 236 *tp = ' '; in procps_read_smaps() [all …]
|
D | time.c | 277 static char* strftime_fmt(char *buf, unsigned len, time_t *tp, const char *fmt) in strftime_fmt() argument 280 if (!tp) { in strftime_fmt() 281 tp = &t; in strftime_fmt() 282 time(tp); in strftime_fmt() 285 return buf + strftime(buf, len, fmt, localtime(tp)); in strftime_fmt() 288 char* FAST_FUNC strftime_HHMMSS(char *buf, unsigned len, time_t *tp) in strftime_HHMMSS() argument 290 return strftime_fmt(buf, len, tp, "%H:%M:%S"); in strftime_HHMMSS() 293 char* FAST_FUNC strftime_YYYYMMDDHHMMSS(char *buf, unsigned len, time_t *tp) in strftime_YYYYMMDDHHMMSS() argument 295 return strftime_fmt(buf, len, tp, "%Y-%m-%d %H:%M:%S"); in strftime_YYYYMMDDHHMMSS()
|
D | xfuncs_printf.c | 367 char *tp; in bb_unsetenv() local 369 tp = strchr(var, '='); in bb_unsetenv() 370 if (tp) { in bb_unsetenv() 377 unsigned sz = tp - var; in bb_unsetenv() 380 tp = NULL; in bb_unsetenv() 384 var = tp = xstrndup(var, sz); in bb_unsetenv() 388 free(tp); in bb_unsetenv()
|
D | copy_file.c | 139 const char *tp; in copy_file() local 149 tp = is_in_ino_dev_hashtable(&source_stat); in copy_file() 150 if (tp) { in copy_file()
|
D | xfuncs.c | 312 int FAST_FUNC tcsetattr_stdin_TCSANOW(const struct termios *tp) in tcsetattr_stdin_TCSANOW() argument 314 return tcsetattr(STDIN_FILENO, TCSANOW, tp); in tcsetattr_stdin_TCSANOW()
|
D | hash_md5_sha.c | 811 uint64_t *tp = ctx->total64; in sha512_begin() local 813 tp[i] = ((uint64_t)(init256[i]) << 32) + init512_lo[i]; in sha512_begin()
|
/busybox-1.35.0/procps/ |
D | sysctl.c | 294 char *tp; in sysctl_handle_preload_file() local 297 tp = trim(token[0]); in sysctl_handle_preload_file() 301 *tp++ = '='; in sysctl_handle_preload_file() 302 overlapping_strcpy(tp, token[1]); in sysctl_handle_preload_file()
|
/busybox-1.35.0/networking/ |
D | ping.c | 651 static void unpack_tail(int sz, uint32_t *tp, in unpack_tail() argument 659 if (tp) { in unpack_tail() 662 triptime = (int32_t) ((uint32_t)monotonic_us() - *tp); in unpack_tail() 687 if (tp) in unpack_tail() 712 uint32_t *tp = NULL; in unpack4() local 715 tp = (uint32_t *) icmppkt->icmp_data; in unpack4() 716 unpack_tail(sz, tp, in unpack4() 744 uint32_t *tp = NULL; in unpack6() local 747 tp = (uint32_t *) &icmppkt->icmp6_data8[4]; in unpack6() 748 unpack_tail(sz, tp, in unpack6()
|
/busybox-1.35.0/editors/ |
D | vi.c | 837 char *tp; in sync_cursor() local 873 tp = screenbegin; in sync_cursor() 875 if (tp == beg_cur) in sync_cursor() 877 tp = next_line(tp); in sync_cursor() 883 if (*tp == '\n') //vda || *tp == '\0') in sync_cursor() 885 co = next_column(*tp, co) - 1; in sync_cursor() 887 if (cmd_mode && tp == d - 1 && *d == '\t') { in sync_cursor() 891 } while (tp++ < d && ++co); in sync_cursor() 991 char *tp, *sp; // pointer into text[] and screen[] in refresh() local 1007 tp = screenbegin; // index into text[] of top line in refresh() [all …]
|
D | sed.c | 618 char *tp = xasprintf("%s\n%s", G.add_cmd_line, cmdstr); in add_cmd() local 620 cmdstr = G.add_cmd_line = tp; in add_cmd()
|
/busybox-1.35.0/include/ |
D | libbb.h | 712 char *strftime_HHMMSS(char *buf, unsigned len, time_t *tp) FAST_FUNC; 713 char *strftime_YYYYMMDDHHMMSS(char *buf, unsigned len, time_t *tp) FAST_FUNC; 1803 int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC;
|
/busybox-1.35.0/shell/ |
D | ash.c | 5150 char **tp; in clear_traps() local 5153 for (tp = trap; tp <= &trap[NTRAP_LAST]; tp++) { in clear_traps() 5154 if (*tp && **tp) { /* trap not NULL or "" (SIG_IGN) */ in clear_traps() 5156 free(*tp); in clear_traps() 5158 *tp = NULL; in clear_traps() 5159 if ((tp - trap) != 0 && (tp - trap) < NSIG) in clear_traps() 5160 setsignal(tp - trap); in clear_traps()
|