Lines Matching defs:filename
1891 static bool file_exists(const char* filename) {
1893 if (filename == NULL || strlen(filename) == 0) {
1896 return os::stat(filename, &statbuf) == 0;
2079 void * os::dll_load(const char *filename, char *ebuf, int ebuflen)
2081 void * result= ::dlopen(filename, RTLD_LAZY);
2102 int file_descriptor= ::open(filename, O_RDONLY | O_NONBLOCK);
2225 static bool _print_ascii_file(const char* filename, outputStream* st) {
2226 int fd = ::open(filename, O_RDONLY);
5830 char filename[MAX_PATH];
5832 jio_snprintf(filename, MAX_PATH, PauseAtStartupFile);
5834 jio_snprintf(filename, MAX_PATH, "./vm.paused.%d", current_process_id());
5837 int fd = ::open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
5841 while (::stat(filename, &buf) == 0) {
5846 "Could not open pause file '%s', continuing immediately.\n", filename);