Home
last modified time | relevance | path

Searched refs:io_mode (Results 1 – 6 of 6) sorted by relevance

/external/zlib/contrib/iostream/
Dzfstream.cpp19 int io_mode ) { in open() argument
27 if ( io_mode & ios::in ) { in open()
30 } else if ( io_mode & ios::app ) { in open()
38 if ( io_mode & ios::binary ) { in open()
44 if ( io_mode & (ios::out|ios::app )) { in open()
61 int io_mode ) { in attach() argument
69 if ( io_mode & ios::in ) { in attach()
72 } else if ( io_mode & ios::app ) { in attach()
80 if ( io_mode & ios::binary ) { in attach()
86 if ( io_mode & (ios::out|ios::app )) { in attach()
[all …]
Dzfstream.h15 gzfilebuf *open( const char *name, int io_mode );
16 gzfilebuf *attach( int file_descriptor, int io_mode );
54 void attach( int fd, int io_mode );
55 void open( const char *name, int io_mode );
73 gzifstream( const char *name, int io_mode = ios::in );
74 gzifstream( int fd, int io_mode = ios::in );
85 gzofstream( const char *name, int io_mode = ios::out );
86 gzofstream( int fd, int io_mode = ios::out );
/external/zlib/contrib/iostream3/
Dzfstream.cc22 : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false), in gzfilebuf()
72 io_mode = mode; in open()
100 io_mode = mode; in attach()
172 if (!this->is_open() || !(io_mode & std::ios_base::in)) in showmanyc()
192 if (!this->is_open() || !(io_mode & std::ios_base::in)) in underflow()
234 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow()
247 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow()
Dzfstream.h191 std::ios_base::openmode io_mode; variable
/external/llvm/lib/Archive/
DArchiveWriter.cpp372 std::ios::openmode io_mode = std::ios::out | std::ios::trunc | in writeToDisk() local
374 std::ofstream ArchiveFile(TmpArchive.c_str(), io_mode); in writeToDisk()
432 std::ofstream FinalFile(FinalFilePath.c_str(), io_mode); in writeToDisk()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp459 std::ios::openmode io_mode = std::ios::out | std::ios::trunc | in doExtract() local
461 std::ofstream file(I->getPath().c_str(), io_mode); in doExtract()