Home
last modified time | relevance | path

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

/system/extras/libpagemap/
Dpm_map.c96 pm_memusage_t ws; in pm_map_workingset() local
105 pm_memusage_zero(&ws); in pm_map_workingset()
119 ws.vss += map->proc->ker->pagesize; in pm_map_workingset()
121 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
122 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_workingset()
123 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
126 memcpy(ws_out, &ws, sizeof(ws)); in pm_map_workingset()
Dpm_process.c181 pm_memusage_t ws, map_ws; in pm_process_workingset() local
191 pm_memusage_zero(&ws); in pm_process_workingset()
192 pm_memusage_pswap_init_handle(&ws, ws_out->p_swap); in pm_process_workingset()
201 pm_memusage_add(&ws, &map_ws); in pm_process_workingset()
204 memcpy(ws_out, &ws, sizeof(ws)); in pm_process_workingset()
/system/extras/procmem/
Dprocmem.c66 int ws; in main() local
83 ws = WS_OFF; in main()
87 if (!strcmp(argv[i], "-w")) { ws = WS_ONLY; continue; } in main()
88 if (!strcmp(argv[i], "-W")) { ws = WS_RESET; continue; } in main()
119 if (ws == WS_RESET) { in main()
142 if (ws == WS_ONLY) { in main()
169 if (ws == WS_ONLY) in main()
210 if ((ws != WS_ONLY) || (flags & PM_PAGE_REFERENCED)) { in main()
245 if (ws == WS_ONLY) { in main()
272 if (ws == WS_ONLY) { in main()
/system/extras/procrank/
Dprocrank.c197 int ws; in main() local
209 ws = WS_OFF; in main()
220 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; } in main()
221 if (!strcmp(argv[arg], "-W")) { ws = WS_RESET; continue; } in main()
266 switch (ws) { in main()
283 if (ws != WS_RESET && procs[i]->usage.swap) { in main()
292 if (ws == WS_RESET) exit(0); in main()
317 if (ws) { in main()
360 if (ws) { in main()
403 if (ws) { in main()
[all …]
/system/core/logd/
DLogCommand.cpp45 static const char ws[] = " \n"; in groupIsLog() local
47 for (buf = strtok_r(buf, ws, &ptr); buf; buf = strtok_r(NULL, ws, &ptr)) { in groupIsLog()
/system/webservd/webservd/
Dprotocol_handler.cc375 fd_set ws; in DoWork() local
379 FD_ZERO(&ws); in DoWork()
381 CHECK_EQ(MHD_YES, MHD_get_fdset(server_, &rs, &ws, &es, &max_fd)); in DoWork()
385 if (FD_ISSET(fd, &rs) || FD_ISSET(fd, &ws)) { in DoWork()
386 watcher->Watch(FD_ISSET(fd, &rs), FD_ISSET(fd, &ws)); in DoWork()
388 FD_CLR(fd, &ws); in DoWork()
401 if (FD_ISSET(fd, &rs) || FD_ISSET(fd, &ws)) { in DoWork()
405 watcher->Watch(FD_ISSET(fd, &rs), FD_ISSET(fd, &ws)); in DoWork()
/system/core/adb/
Dshell_service.cpp587 winsize ws; in PassInput() local
588 ws.ws_row = rows; in PassInput()
589 ws.ws_col = cols; in PassInput()
590 ws.ws_xpixel = x_pixels; in PassInput()
591 ws.ws_ypixel = y_pixels; in PassInput()
592 ioctl(stdinout_sfd_.fd(), TIOCSWINSZ, &ws); in PassInput()
Dcommandline.cpp461 winsize ws; in send_window_size_change() local
475 memset(&ws, 0, sizeof(ws)); in send_window_size_change()
477 ws.ws_row = info.srWindow.Bottom - info.srWindow.Top + 1; in send_window_size_change()
480 ws.ws_col = info.dwSize.X; in send_window_size_change()
482 if (ioctl(fd, TIOCGWINSZ, &ws) == -1) return; in send_window_size_change()
487 ws.ws_row, ws.ws_col, ws.ws_xpixel, ws.ws_ypixel); in send_window_size_change()
/system/core/liblog/
Dfake_log_device.c663 const char *ws; in setRedirects() local
668 ws = getenv("ANDROID_WRAPSIM"); in setRedirects()
669 if (ws != NULL && strcmp(ws, "1") == 0) { in setRedirects()
/system/ca-certificates/files/
Dd6e6eab9.09 LieY6pOod5tK8O90gC3rMB+12ceAnGInkYjwSond3IjmFPnVAy//ldu9n+ws+hQV