Lines Matching refs:filename
441 static int uv__path_is_a_directory(char* filename) { in uv__path_is_a_directory() argument
444 if (uv__stat(filename, &statbuf) < 0) in uv__path_is_a_directory()
536 static int uv__make_subdirs_p(const char *filename) { in uv__make_subdirs_p() argument
542 p = strrchr(filename, '/'); in uv__make_subdirs_p()
547 if (uv__path_is_a_directory((char*)filename) == 0) { in uv__make_subdirs_p()
553 strncat(cmd, filename, (p - filename)); in uv__make_subdirs_p()
569 static int uv__setup_ahafs(const char* filename, int *fd) { in uv__setup_ahafs() argument
576 file_is_directory = uv__path_is_a_directory((char*)filename); in uv__setup_ahafs()
583 if ((strlen(mon_file) + strlen(filename) + 5) > PATH_MAX) in uv__setup_ahafs()
587 rc = uv__make_subdirs_p(filename); in uv__setup_ahafs()
591 strcat(mon_file, filename); in uv__setup_ahafs()
657 char filename[PATH_MAX]; /* To be used when handling directories */ in uv__parse_data() local
664 filename[i] = 0; in uv__parse_data()
699 if (sscanf(p, "BEGIN_EVPROD_INFO\n%sEND_EVPROD_INFO", filename) == 1) { in uv__parse_data()
700 handle->dir_filename = uv__strdup((const char*)&filename); in uv__parse_data()
785 const char* filename, in uv_fs_event_start() argument
797 if (filename[0] == '\0') { in uv_fs_event_start()
801 else if (filename[0] == '/') { in uv_fs_event_start()
804 uv__strscpy(absolute_path, filename, sizeof(absolute_path)); in uv_fs_event_start()
814 if (filename[0] == '.' && filename[1] == '/') in uv_fs_event_start()
818 filename + str_offset); in uv_fs_event_start()
832 handle->path = uv__strdup(filename); in uv_fs_event_start()