Lines Matching defs:filename
1652 static bool file_exists(const char* filename) {
1654 if (filename == NULL || strlen(filename) == 0) {
1657 return os::stat(filename, &statbuf) == 0;
1851 void * os::dll_load(const char *filename, char *ebuf, int ebuflen)
1862 ElfFile ef(filename);
1880 filename);
1893 result = os::Linux::dlopen_helper(filename, ebuf, ebuflen);
1899 VM_LinuxDllLoad op(filename, ebuf, ebuflen);
1911 result = os::Linux::dlopen_helper(filename, ebuf, ebuflen);
1929 int file_descriptor= ::open(filename, O_RDONLY | O_NONBLOCK);
2062 void * os::Linux::dlopen_helper(const char *filename, char *ebuf, int ebuflen) {
2063 void * result = ::dlopen(filename, RTLD_LAZY);
2071 void * os::Linux::dll_load_in_vmthread(const char *filename, char *ebuf, int ebuflen) {
2074 result = dlopen_helper(filename, ebuf, ebuflen);
2116 static bool _print_ascii_file(const char* filename, outputStream* st) {
2117 int fd = ::open(filename, O_RDONLY);
5238 char filename[MAX_PATH];
5240 jio_snprintf(filename, MAX_PATH, PauseAtStartupFile);
5242 jio_snprintf(filename, MAX_PATH, "./vm.paused.%d", current_process_id());
5245 int fd = ::open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
5249 while (::stat(filename, &buf) == 0) {
5254 "Could not open pause file '%s', continuing immediately.\n", filename);