Home
last modified time | relevance | path

Searched refs:strafter (Results 1 – 4 of 4) sorted by relevance

/external/toybox/toys/posix/
Dps.c616 s = strafter(buf, "\nUid:"); in get_ps()
618 s = strafter(buf, "\nGid:"); in get_ps()
620 if ((s = strafter(buf, "\nVmLck:"))) slot[SLOT_vmlck] = atoll(s); in get_ps()
621 if ((s = strafter(buf, "\nVmSwap:"))) slot[SLOT_swap] = atoll(s); in get_ps()
630 if ((s = strafter(buf, "rchar:"))) slot[SLOT_rchar] = atoll(s); in get_ps()
631 if ((s = strafter(buf, "wchar:"))) slot[SLOT_wchar] = atoll(s); in get_ps()
632 if ((s = strafter(buf, "read_bytes:"))) slot[SLOT_rbytes] = atoll(s); in get_ps()
633 if ((s = strafter(buf, "write_bytes:"))) slot[SLOT_wbytes] = atoll(s); in get_ps()
1274 pos = strafter(toybuf, (char *[]){"MemTotal:","\nMemFree:", in top_common()
/external/toybox/toys/other/
Dvmstat.c65 } else if (!(p = strafter(toybuf, vmstuff[i]))) goto error; in get_vmstat_proc()
/external/toybox/lib/
Dlib.h182 char *strafter(char *haystack, char *needle);
Dlib.c370 char *strafter(char *haystack, char *needle) in strafter() function