Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_input.cpp24 _file = fopen(name, "rb"); in FileWrapperInput()
25 if (_file == nullptr) { in FileWrapperInput()
32 fclose(_file); in ~FileWrapperInput()
36 size_t found = fread((char*) buffer, 1, wanted, _file); in Read()
37 if (feof(_file) || ferror(_file)) { in Read()
63 return fseek(_file, (long) pos, SEEK_SET) == 0; in Seek()
Dfile_wrapper_output.cpp23 _file = fopen(name, "wb"); in FileWrapperOutput()
24 if (nullptr == _file) { in FileWrapperOutput()
31 fclose(_file); in ~FileWrapperOutput()
35 return EOF != fputc(byte, _file); in Write()
44 return buffer_size == fwrite(buffer, 1, buffer_size, _file); in Write()
/frameworks/compile/libbcc/include/bcinfo/Wrap/
Dfile_wrapper_output.h41 FILE* _file; variable
Dfile_wrapper_input.h53 FILE* _file; variable