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

/system/extras/libpagemap/
H A Dpm_map.c74 pm_memusage_t ws; local
83 pm_memusage_zero(&ws);
97 ws.vss += map->proc->ker->pagesize;
99 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0);
100 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0);
101 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0);
104 memcpy(ws_out, &ws, sizeof(ws));
H A Dpm_process.c161 pm_memusage_t ws, map_ws; local
171 pm_memusage_zero(&ws);
176 pm_memusage_add(&ws, &map_ws);
179 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.c131 int ws; local
139 ws = WS_OFF;
146 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; }
147 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; }
188 switch (ws) {
209 if (ws == WS_RESET) exit(0);
223 if (ws)
244 if (ws)
267 if (ws) {
/system/core/liblinenoise/
H A Dlinenoise.c164 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 Dfake_log_device.c648 const char *ws; local
653 ws = getenv("ANDROID_WRAPSIM");
654 if (ws != NULL && strcmp(ws, "1") == 0) {

Completed in 1434 milliseconds