Searched refs:ws (Results 1 - 6 of 6) sorted by relevance
/system/extras/libpagemap/ |
H A D | pm_map.c | 93 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 D | pm_process.c | 169 pm_memusage_t ws, map_ws; local 179 pm_memusage_zero(&ws); 184 pm_memusage_add(&ws, &map_ws); 187 memcpy(ws_out, &ws, sizeof(ws));
|
/system/extras/procmem/ |
H A D | procmem.c | 65 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 D | procrank.c | 137 int ws; local 145 ws = WS_OFF; 156 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; } 157 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; } 198 switch (ws) { 215 if (ws != WS_RESET && procs[i]->usage.swap) { 224 if (ws == WS_RESET) exit(0); 239 if (ws) { 273 if (ws) { 302 if (ws) { [all...] |
/system/core/liblinenoise/ |
H A D | linenoise.c | 164 struct winsize ws; local 166 if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 4096; 167 if (ws.ws_col == 0) { 170 return ws.ws_col;
|
/system/core/liblog/ |
H A D | fake_log_device.c | 648 const char *ws; local 653 ws = getenv("ANDROID_WRAPSIM"); 654 if (ws != NULL && strcmp(ws, "1") == 0) {
|
Completed in 78 milliseconds