Lines Matching defs:pathname
14 static int ap_is_existing_file(char *pathname);
20 * PARAMETERS: pathname - Output filename
28 static int ap_is_existing_file(char *pathname)
34 if (!stat(pathname, &stat_info)) {
56 * PARAMETERS: pathname - Output filename
65 int ap_open_output_file(char *pathname)
71 if (ap_is_existing_file(pathname) != 0) {
77 file = fopen(pathname, "w");
79 fprintf(stderr, "Could not open output file: %s\n", pathname);
86 gbl_output_filename = pathname;
170 * PARAMETERS: pathname - File containing the binary ACPI table
179 struct acpi_table_header *ap_get_table_from_file(char *pathname,
189 file = fopen(pathname, "rb");
191 fprintf(stderr, "Could not open input file: %s\n", pathname);
200 "Could not get input file size: %s\n", pathname);
218 fprintf(stderr, "Could not read input file: %s\n", pathname);