#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <iostream>#include <cstring>#include <cstdlib>#include <fstream>#include <streambuf>#include <cstdio>Go to the source code of this file.
Classes | |
| class | fdbuf |
| File description for I/O stream buffer. More... | |
| class | mfstream |
| Extension of fstream to commands. More... | |
Functions | |
| ssize_t | write (int fd, const void *buf, size_t num) |
| ssize_t | read (int fd, void *buf, size_t num) |
| FILE * | popen (const char *command, const char *type) |
| int | pclose (FILE *stream) |
| int | fseek (FILE *stream, long offset, int whence) |
| long | ftell (FILE *stream) |
| int fseek | ( | FILE * | stream, | |
| long | offset, | |||
| int | whence | |||
| ) |
Referenced by Moses::BlockHashIndex::FinalizeSave(), get_file_size(), ifwrite(), Moses::BlockHashIndex::Load(), Moses::BlockHashIndex::LoadIndex(), Moses::BlockHashIndex::LoadRange(), Moses::MonotonicVector< unsigned, unsigned int, 32 >::loadVector(), lm::ngram::trie::RecordReader::Overwrite(), and mdiadaptlm::saveASR().

| long ftell | ( | FILE * | stream | ) |
Referenced by Moses::BlockHashIndex::BeginSave(), Moses::BlockHashIndex::FinalizeSave(), get_file_size(), ifwrite(), Moses::PhraseDecoder::Load(), Moses::PackedArray< T, D >::Load(), Moses::CanonicalHuffman< unsigned >::Load(), Moses::BlockHashIndex::Load(), Moses::StringVector< unsigned char, unsigned, std::allocator >::loadCharArray(), Moses::BlockHashIndex::LoadIndex(), Moses::MonotonicVector< unsigned, unsigned int, 32 >::loadVector(), Moses::PackedArray< T, D >::Save(), Moses::CanonicalHuffman< unsigned >::Save(), mdiadaptlm::saveASR(), Moses::BlockHashIndex::SaveRange(), and Moses::MmapAllocator< T >::~MmapAllocator().

| int pclose | ( | FILE * | stream | ) |
| FILE* popen | ( | const char * | command, | |
| const char * | type | |||
| ) |
| ssize_t read | ( | int | fd, | |
| void * | buf, | |||
| size_t | num | |||
| ) |
Referenced by Moses::MmapAllocator< T >::allocate(), Moses::LanguageModelRemote::GetValue(), Moses::PhraseDecoder::Load(), Moses::PackedArray< T, D >::Load(), Moses::LexicalReorderingTableCompact::Load(), Moses::CanonicalHuffman< unsigned >::Load(), Load(), Moses::BlockHashIndex::LoadIndex(), util::PartialRead(), mfstream::readx(), fdbuf::underflow(), and fdbuf::xsgetn().

| ssize_t write | ( | int | fd, | |
| const void * | buf, | |||
| size_t | num | |||
| ) |
Referenced by Moses::LanguageModelRemote::GetValue(), load_stream_data_noseek(), normalize_space(), fdbuf::overflow(), translate(), unique(), util::WriteOrThrow(), mfstream::writex(), and fdbuf::xsputn().

1.5.9