Searched refs:_file (Results 1 - 25 of 31) sorted by relevance

12

/src/sys/arch/hpc/stand/hpcboot/
H A Dfile.cpp45 _file = new UfsFile(_cons);
48 _file = new FatFile(_cons);
51 _file = new HttpFile(_cons);
H A Dboot.cpp129 _file = 0;
138 if (_file)
139 delete _file;
152 _file = new FileManager(_cons, args.file);
153 _file->setDebug() = args.fileDebug;
162 switch (Loader::objectFormat(*_file)) {
H A Dfile_manager.cpp57 delete _file;
63 return _file->setRoot(drive);
69 if (!_file->open(name, flags))
82 _file->close();
125 got = _file->read(_stream->next_out,
136 got = _file->read(_inbuf, Z_BUFSIZE);
176 return _file->write(buf, bytes, ofs);
182 return _file->size();
190 return _file->close();
238 _file
[all...]
H A Dhpcboot.cpp139 if (!f._file->setRoot(f.args.fileRoot)) {
147 if (!f._file->open(f.args.mfsName)) {
152 sz = f._file->realsize();
154 f._file->close();
158 if (!f._file->open(f.args.fileName)) {
170 if (!f._loader->setFile(f._file)) {
197 f._file->close();
201 if (!f._file->open(f.args.mfsName)) {
211 f._file->close();
240 f._file
[all...]
H A Dboot.h58 File *_file; // FAT/FFS/via HTTP member in class:Boot
H A Dload.h56 File *_file; member in class:Loader
74 virtual BOOL setFile(File *&file) { _file = file; return TRUE; }
H A Dfile.h92 File *_file; member in class:FileManager
H A Dload_coff.cpp124 _file->read(&_eh, sizeof(struct coff_exechdr), 0);
H A Dload_elf.cpp82 if (_file->read(_sh, sz, _eh.e_shoff) != sz) {
93 if (_file->read(_ph, sz, _eh.e_phoff) != sz) {
226 _file->read(shstrtab, shstrsize, _sh[_eh.e_shstrndx].sh_offset);
296 _file->read(&_eh, sizeof(Elf_Ehdr), 0);
H A Dload.cpp45 _file = 0;
77 sz = _file->realsize();
251 _file->read((void *)v, sz, ofs);
/src/lib/libcurses/
H A Dputchar.c64 unctrl(ch), outfd->_file);
90 wch, outfd->_file);
/src/share/mk/
H A Dbsd.sanitizer.mk19 . for _file in ${SANITIZER_RENAME_FILES.${_class}}
21 COPTS.${_file}+= -D${_symbol}=__mksanitizer_${_symbol}
/src/lib/libc/stdio/
H A Dfclose.c73 fp->_file = -1;
H A Dmakebuf.c71 if (snprintf(evb, sizeof(evb), "STDBUF%d", fp->_file) < 0)
132 && fp->_cookie == fp && fp->_file >= 0) {
H A Dfdopen.c72 * File descriptors are a full int, but _file is only a short.
116 fp->_file = fd;
H A Dfopen.c70 * File descriptors are a full int, but _file is only a short.
82 fp->_file = f;
H A Dvsprintf.c74 f._file = -1;
H A Dfindfp.c64 ._file = (file), \
146 fp->_file = -1; /* no file */
H A Dvasprintf.c64 f._file = -1;
H A Dvdprintf.c71 * File descriptors are a full int, but _file is only a short.
96 f._file = fd;
H A Dvswprintf.c71 f._file = -1;
H A Dvswscanf.c101 f._file = -1;
H A Dfreopen.c157 * File descriptors are a full int, but _file is only a short.
170 fp->_file = f;
H A Dvsnprintf.c89 f._file = -1;
/src/etc/
H A Dsecurity126 _file=$1
128 if [ -z "$_file" ] || [ -z "$_printdiff" ]; then
134 _old=$backup_dir/${_file##*/}
135 case "$_file" in
137 _new=$_file
142 _new=$backup_dir/$_file
148 if [ -f $_file ]; then
151 diff ${diff_options} $CUR $_file > $OUTPUT
153 if ! cmp -s $CUR $_file; then
159 "\n======\n%s diffs (OLD < > NEW)\n======\n" $_file
[all...]

Completed in 13 milliseconds

12