Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 6 of 6) sorted by relevance

/system/extras/libpagemap/
Dpm_map.c74 pm_memusage_t ws; in pm_map_workingset() local
83 pm_memusage_zero(&ws); in pm_map_workingset()
101 ws.vss += map->proc->ker->pagesize; in pm_map_workingset()
102 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
103 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_workingset()
104 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
107 memcpy(ws_out, &ws, sizeof(ws)); in pm_map_workingset()
Dpm_process.c161 pm_memusage_t ws, map_ws; in pm_process_workingset() local
171 pm_memusage_zero(&ws); in pm_process_workingset()
176 pm_memusage_add(&ws, &map_ws); in pm_process_workingset()
179 memcpy(ws_out, &ws, sizeof(ws)); in pm_process_workingset()
/system/extras/procmem/
Dprocmem.c65 int ws; in main() local
82 ws = WS_OFF; in main()
86 if (!strcmp(argv[i], "-w")) { ws = WS_ONLY; continue; } in main()
87 if (!strcmp(argv[i], "-W")) { ws = WS_RESET; continue; } in main()
118 if (ws == WS_RESET) { in main()
141 if (ws == WS_ONLY) { in main()
168 if (ws == WS_ONLY) in main()
209 if ((ws != WS_ONLY) || (flags & PM_PAGE_REFERENCED)) { in main()
244 if (ws == WS_ONLY) { in main()
271 if (ws == WS_ONLY) { in main()
/system/extras/procrank/
Dprocrank.c125 int ws; in main() local
132 ws = WS_OFF; in main()
139 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; } in main()
140 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; } in main()
181 switch (ws) { in main()
202 if (ws == WS_RESET) exit(0); in main()
216 if (ws) in main()
237 if (ws) in main()
260 if (ws) { in main()
/system/core/liblinenoise/
Dlinenoise.c164 struct winsize ws; in getColumns() local
166 if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 4096; in getColumns()
167 if (ws.ws_col == 0) { in getColumns()
170 return ws.ws_col; in getColumns()
/system/core/liblog/
Dfake_log_device.c648 const char *ws; in setRedirects() local
653 ws = getenv("ANDROID_WRAPSIM"); in setRedirects()
654 if (ws != NULL && strcmp(ws, "1") == 0) { in setRedirects()