Lines Matching refs:pathname
14 static int ap_is_existing_file(char *pathname);
28 static int ap_is_existing_file(char *pathname) in ap_is_existing_file() argument
34 if (!stat(pathname, &stat_info)) { in ap_is_existing_file()
65 int ap_open_output_file(char *pathname) in ap_open_output_file() argument
71 if (ap_is_existing_file(pathname) != 0) { in ap_open_output_file()
77 file = fopen(pathname, "w"); in ap_open_output_file()
79 fprintf(stderr, "Could not open output file: %s\n", pathname); in ap_open_output_file()
86 gbl_output_filename = pathname; in ap_open_output_file()
179 struct acpi_table_header *ap_get_table_from_file(char *pathname, in ap_get_table_from_file() argument
189 file = fopen(pathname, "rb"); in ap_get_table_from_file()
191 fprintf(stderr, "Could not open input file: %s\n", pathname); in ap_get_table_from_file()
200 "Could not get input file size: %s\n", pathname); in ap_get_table_from_file()
218 fprintf(stderr, "Could not read input file: %s\n", pathname); in ap_get_table_from_file()