Lines Matching defs:filename
1145 static bool file_exists(const char* filename) {
1146 if (filename == NULL || strlen(filename) == 0) {
1149 return GetFileAttributes(filename) != INVALID_FILE_ATTRIBUTES;
1256 static char filename[ MAX_PATH ];
1280 filename, sizeof(filename))) {
1281 filename[0] = '\0';
1292 result = func(pid, filename, (address)modinfo.lpBaseOfDll,
4591 char filename[MAX_PATH];
4593 jio_snprintf(filename, MAX_PATH, PauseAtStartupFile);
4595 jio_snprintf(filename, MAX_PATH, "./vm.paused.%d", current_process_id());
4598 int fd = ::open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
4602 while (::stat(filename, &buf) == 0) {
4607 "Could not open pause file '%s', continuing immediately.\n", filename);