Lines Matching defs:filename
1890 static bool file_exists(const char* filename) {
1892 if (filename == NULL || strlen(filename) == 0) {
1895 return os::stat(filename, &statbuf) == 0;
2097 void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
2098 void * result= ::dlopen(filename, RTLD_LAZY);
2111 void * os::dll_load(const char *filename, char *ebuf, int ebuflen)
2113 void * result= ::dlopen(filename, RTLD_LAZY);
2134 int file_descriptor= ::open(filename, O_RDONLY | O_NONBLOCK);
2294 static bool _print_ascii_file(const char* filename, outputStream* st) {
2295 int fd = ::open(filename, O_RDONLY);
5499 char filename[MAX_PATH];
5501 jio_snprintf(filename, MAX_PATH, PauseAtStartupFile);
5503 jio_snprintf(filename, MAX_PATH, "./vm.paused.%d", current_process_id());
5506 int fd = ::open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
5510 while (::stat(filename, &buf) == 0) {
5515 "Could not open pause file '%s', continuing immediately.\n", filename);