Lines Matching refs:file
3 * This file may be used under the terms of the MIT License.
7 This file is used by three different components with different needs:
20 The file has to be recompiled for every component separately, so that
434 load_driver_settings_from_file(int file, const char *driverName)
438 // Allocate a buffer and read the whole file into it.
444 if (fstat(file, &stat) < B_OK)
449 if (text != NULL && read(file, text, stat.st_size) == stat.st_size) {
716 int file = -1;
793 file = open(path, O_RDONLY);
795 file = open(driverName, O_RDONLY);
797 if (file < B_OK) {
804 handle = load_driver_settings_from_file(file, driverName);
812 close(file);