Lines Matching refs:os

54   char* mapAddress = os::reserve_memory(size);
61 if (!os::commit_memory(mapAddress, size, !ExecMem)) {
65 os::release_memory(mapAddress, size);
145 // os::get_temp_directory() in os_win32.cpp), control the location of the
158 const char* tmpdir = os::get_temp_directory();
305 const char* tmpdirname = os::get_temp_directory();
307 DIR* tmpdirp = os::opendir(tmpdirname);
319 char* tdbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(tmpdirname), mtInternal);
321 while ((dentry = os::readdir(tmpdirp, (struct dirent *)tdbuf)) != NULL) {
334 DIR* subdirp = os::opendir(usrdir_name);
349 os::closedir(subdirp);
354 char* udbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(usrdir_name), mtInternal);
356 while ((udentry = os::readdir(subdirp, (struct dirent *)udbuf)) != NULL) {
407 os::closedir(subdirp);
411 os::closedir(tmpdirp);
621 DIR* dirp = os::opendir(dirname);
642 char* dbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(dirname), mtInternal);
644 while ((entry = os::readdir(dirp, (struct dirent *)dbuf)) != NULL) {
673 if (pid == os::current_process_id() || !is_alive(pid)) {
684 os::closedir(dirp);
1317 (os::win32::is_nt() ? FILE_SHARE_DELETE : 0)|
1437 int vmid = os::current_process_id();
1463 assert(((size != 0) && (size % os::vm_page_size() == 0)),
1500 // it does not go through os api, the operation has to record from here
1561 if ((statbuf.st_size == 0) || (statbuf.st_size % os::vm_page_size() != 0)) {
1679 // it does not go through os api, the operation has to record from here
1731 if (PerfDisableSharedMem || !os::win32::is_nt()) {
1799 if (vmid == 0 || vmid == os::current_process_id()) {
1836 // it does not go through os api, the operation has to record from here