Home
last modified time | relevance | path

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

/busybox-1.35.0/libbb/
Dprocps.c86 procps_status_t* sp = xzalloc(sizeof(procps_status_t)); in alloc_procps_scan() local
91 sp->shift_pages_to_bytes++; in alloc_procps_scan()
93 sp->shift_pages_to_kb = sp->shift_pages_to_bytes - 10; in alloc_procps_scan()
94 sp->dir = xopendir("/proc"); in alloc_procps_scan()
95 return sp; in alloc_procps_scan()
98 void FAST_FUNC free_procps_scan(procps_status_t* sp) in free_procps_scan() argument
100 closedir(sp->dir); in free_procps_scan()
102 if (sp->task_dir) in free_procps_scan()
103 closedir(sp->task_dir); in free_procps_scan()
105 free(sp->argv0); in free_procps_scan()
[all …]
/busybox-1.35.0/scripts/
Dcheckstack.pl55 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o;
56 $dre = qr/^.*sub.*sp, sp, #(0x$x{1,8})/o;
59 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o;
75 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
78 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
81 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
84 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
108 $re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o;
/busybox-1.35.0/util-linux/
Dchrt.c94 struct sched_param sp; in chrt_main() local
173 ret = syscall(SYS_sched_getparam, pid, &sp); in chrt_main()
175 ret = sched_getparam(pid, &sp); in chrt_main()
180 (int)pid, current_new, sp.sched_priority in chrt_main()
192 sp.sched_priority = xstrtou_range(priority, 0, in chrt_main()
197 ret = syscall(SYS_sched_setscheduler, pid, policy, &sp); in chrt_main()
199 ret = sched_setscheduler(pid, policy, &sp); in chrt_main()
Dmkfs_ext2.c142 const uint32_t *sp = supers + ARRAY_SIZE(supers); in has_super() local
144 sp--; in has_super()
145 if (x == *sp) in has_super()
147 if (x > *sp) in has_super()
/busybox-1.35.0/scripts/kconfig/lxdialog/
Dutil.c204 char tempstr[MAX_LEN + 1], *word, *sp, *sp2; in print_autowrap() local
227 sp = strchr(word, ' '); in print_autowrap()
228 if (sp) in print_autowrap()
229 *sp++ = 0; in print_autowrap()
237 (newl && wlen < 4 && sp in print_autowrap()
238 && wlen + 1 + strlen(sp) > room in print_autowrap()
239 && (!(sp2 = strchr(sp, ' ')) in print_autowrap()
240 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()
248 if (sp && *sp == ' ') { in print_autowrap()
250 while (*++sp == ' ') ; in print_autowrap()
[all …]
/busybox-1.35.0/networking/
Dwget.c537 char *url, *p, *sp; in parse_url() local
590 sp = strchr(h->host, '/'); in parse_url()
591 p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p; in parse_url()
592 p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p; in parse_url()
593 if (!sp) { in parse_url()
595 } else if (*sp == '/') { in parse_url()
596 *sp = '\0'; in parse_url()
597 h->path = sp + 1; in parse_url()
604 *sp++ = '\0'; in parse_url()
605 h->path = sp; in parse_url()
[all …]
Dinterface.c99 char *sp = bufp, *bp; in INET_getsock() local
111 *sp = toupper(*sp); in INET_getsock()
113 if ((unsigned)(*sp - 'A') <= 5) in INET_getsock()
114 bp[i] |= (int) (*sp - ('A' - 10)); in INET_getsock()
115 else if (isdigit(*sp)) in INET_getsock()
116 bp[i] |= (int) (*sp - '0'); in INET_getsock()
121 sp++; in INET_getsock()
122 *sp = toupper(*sp); in INET_getsock()
124 if ((unsigned)(*sp - 'A') <= 5) in INET_getsock()
125 bp[i] |= (int) (*sp - ('A' - 10)); in INET_getsock()
[all …]
Dtraceroute.c540 const uint16_t *sp; in send_probe()
543 sp = (uint16_t *)outip; in send_probe()
550 printf(" %04x", ntohs(*sp)); in send_probe()
551 sp++; in send_probe()
556 printf(" %02x", *(unsigned char *)sp); in send_probe()
Dinetd.c1065 struct servent *sp; in reread_config_file() local
1068 sp = getservbyname(sep->se_service, protoname); in reread_config_file()
1069 if (sp == NULL) { in reread_config_file()
1074 port = sp->s_port; in reread_config_file()
Dping.c512 static void sendping_tail(void (*sp)(int), int size_pkt) in sendping_tail()
535 signal(SIGALRM, sp); in sendping_tail()
/busybox-1.35.0/archival/libarchive/bz/
Dblocksort.c96 stackLo[sp] = lz; \
97 stackHi[sp] = hz; \
98 sp++; \
102 sp--; \
103 lz = stackLo[sp]; \
104 hz = stackHi[sp]; \
116 int32_t sp; in fallbackQSort3() local
123 sp = 0; in fallbackQSort3()
126 while (sp > 0) { in fallbackQSort3()
132 AssertH(sp < FALLBACK_QSORT_STACK_SIZE - 1, 1004); in fallbackQSort3()
[all …]
/busybox-1.35.0/shell/
Dash.c1614 struct stack_block *sp; in stalloc() local
1623 sp = ckmalloc(len); in stalloc()
1624 sp->prev = g_stackp; in stalloc()
1625 g_stacknxt = sp->space; in stalloc()
1628 g_stackp = sp; in stalloc()
1690 struct stack_block *sp; in popstackmark() local
1697 sp = g_stackp; in popstackmark()
1698 g_stackp = sp->prev; in popstackmark()
1699 free(sp); in popstackmark()
1729 struct stack_block *sp; in growstackblock() local
[all …]
/busybox-1.35.0/editors/
Dawk.c2451 const char *sp; in awk_sub() local
2462 sp = getvar_s(src ? src : intvar[F0]); in awk_sub()
2464 while (regexec(regex, sp, 10, pmatch, regexec_flags) == 0) { in awk_sub()
2470 memcpy(resbuf + residx, sp, eo); in awk_sub()
2498 memcpy(resbuf + residx, sp + pmatch[j].rm_so, n); in awk_sub()
2507 sp += eo; in awk_sub()
2521 resbuf[residx] = *sp; in awk_sub()
2522 if (*sp == '\0') in awk_sub()
2524 sp++; in awk_sub()
2529 resbuf = qrealloc(resbuf, residx + strlen(sp), &resbufsize); in awk_sub()
[all …]
Dvi.c991 char *tp, *sp; // pointer into text[] and screen[] in refresh() local
1027 sp = &screen[li * columns]; // start of screen line in refresh()
1035 if (out_buf[cs] != sp[cs]) { in refresh()
1043 if (out_buf[ce] != sp[ce]) { in refresh()
1063 memcpy(sp+cs, out_buf+cs, ce-cs+1); in refresh()
1066 fwrite(&sp[cs], ce - cs + 1, 1, stdout); in refresh()
/busybox-1.35.0/include/
Dlibbb.h2100 void free_procps_scan(procps_status_t* sp) FAST_FUNC;
2101 procps_status_t* procps_scan(procps_status_t* sp, int flags) FAST_FUNC;
/busybox-1.35.0/miscutils/
Dbc.c6464 char *sp; in zdc_program_asciify() local
6466 sp = *xc_program_str(idx); in zdc_program_asciify()
6467 c = sp[0]; in zdc_program_asciify()