Searched refs:ws (Results 1 - 6 of 6) sorted by path

/system/core/liblog/
H A Dfake_log_device.c654 const char *ws; local
659 ws = getenv("ANDROID_WRAPSIM");
660 if (ws != NULL && strcmp(ws, "1") == 0) {
/system/core/logd/
H A DLogCommand.cpp44 static const char ws[] = " \n"; local
47 for (buf = strtok_r(buf, ws, &ptr); buf; buf = strtok_r(NULL, ws, &ptr)) {
/system/extras/libpagemap/
H A Dpm_map.c93 pm_memusage_t ws; local
102 pm_memusage_zero(&ws);
116 ws.vss += map->proc->ker->pagesize;
118 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0);
119 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0);
120 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0);
123 memcpy(ws_out, &ws, sizeof(ws));
H A Dpm_process.c177 pm_memusage_t ws, map_ws; local
187 pm_memusage_zero(&ws);
192 pm_memusage_add(&ws, &map_ws);
195 memcpy(ws_out, &ws, sizeof(ws));
/system/extras/procmem/
H A Dprocmem.c65 int ws; local
82 ws = WS_OFF;
86 if (!strcmp(argv[i], "-w")) { ws = WS_ONLY; continue; }
87 if (!strcmp(argv[i], "-W")) { ws = WS_RESET; continue; }
118 if (ws == WS_RESET) {
141 if (ws == WS_ONLY) {
168 if (ws == WS_ONLY)
209 if ((ws != WS_ONLY) || (flags & PM_PAGE_REFERENCED)) {
244 if (ws == WS_ONLY) {
271 if (ws
[all...]
/system/extras/procrank/
H A Dprocrank.c139 int ws; local
147 ws = WS_OFF;
158 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; }
159 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; }
200 switch (ws) {
217 if (ws != WS_RESET && procs[i]->usage.swap) {
226 if (ws == WS_RESET) exit(0);
241 if (ws) {
275 if (ws) {
304 if (ws) {
[all...]

Completed in 588 milliseconds