Searched defs:ws (Results 1 - 7 of 7) sorted by relevance
/system/extras/libpagemap/ |
H A D | pm_map.c | 96 pm_memusage_t ws; local 105 pm_memusage_zero(&ws); 119 ws.vss += map->proc->ker->pagesize; 121 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 122 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 123 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 126 memcpy(ws_out, &ws, sizeof(ws));
|
H A D | pm_process.c | 181 pm_memusage_t ws, map_ws; local 191 pm_memusage_zero(&ws); 192 pm_memusage_pswap_init_handle(&ws, ws_out->p_swap); 201 pm_memusage_add(&ws, &map_ws); 204 memcpy(ws_out, &ws, sizeof(ws));
|
/system/core/logd/ |
H A D | LogCommand.cpp | 45 static const char ws[] = " \n"; local 47 for (buf = strtok_r(buf, ws, &ptr); buf; buf = strtok_r(NULL, ws, &ptr)) {
|
/system/extras/procmem/ |
H A D | procmem.c | 66 int ws; local 83 ws = WS_OFF; 87 if (!strcmp(argv[i], "-w")) { ws = WS_ONLY; continue; } 88 if (!strcmp(argv[i], "-W")) { ws = WS_RESET; continue; } 119 if (ws == WS_RESET) { 142 if (ws == WS_ONLY) { 169 if (ws == WS_ONLY) 209 if ((ws != WS_ONLY) || (flags & KPF_REFERENCED)) { 244 if (ws == WS_ONLY) { 271 if (ws [all...] |
/system/core/adb/ |
H A D | shell_service.cpp | 587 winsize ws; local 588 ws.ws_row = rows; 589 ws.ws_col = cols; 590 ws.ws_xpixel = x_pixels; 591 ws.ws_ypixel = y_pixels; 592 ioctl(stdinout_sfd_, TIOCSWINSZ, &ws);
|
H A D | commandline.cpp | 419 winsize ws; local 433 memset(&ws, 0, sizeof(ws)); 435 ws.ws_row = info.srWindow.Bottom - info.srWindow.Top + 1; 438 ws.ws_col = info.dwSize.X; 440 if (ioctl(fd, TIOCGWINSZ, &ws) == -1) return; 445 ws.ws_row, ws.ws_col, ws.ws_xpixel, ws [all...] |
/system/extras/procrank/ |
H A D | procrank.cpp | 207 } ws; local 216 ws = WS_OFF; 229 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; } 230 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; } 266 switch (ws) { 283 if (ws != WS_RESET && procs[i].usage.swap) { 292 if (ws == WS_RESET) exit(0); 317 if (ws) { 360 if (ws) { 398 if (ws) { [all...] |
Completed in 1495 milliseconds