Home | History | Annotate | Download | only in Archive

Lines Matching full:arfile

31 static inline void writeInteger(unsigned num, std::ofstream& ARFile) {
34 ARFile << (unsigned char)num;
40 ARFile << (unsigned char)(0x80 | ((unsigned char)num & 0x7F));
205 std::ofstream& ARFile,
211 unsigned filepos = ARFile.tellp();
272 ARFile.write((char*)&Hdr, sizeof(Hdr));
276 ARFile.write(member.getPath().str().data(),
281 ARFile.write(data,fSize);
284 if ((ARFile.tellp() & 1) == 1)
285 ARFile << ARFILE_PAD;
294 Archive::writeSymbolTable(std::ofstream& ARFile) {
314 ARFile.write((char*)&Hdr, sizeof(Hdr));
318 unsigned startpos = ARFile.tellp();
326 writeInteger(I->second, ARFile);
328 writeInteger(I->first.length(), ARFile);
330 ARFile.write(I->first.data(), I->first.length());
335 unsigned endpos = ARFile.tellp();
344 ARFile << ARFILE_PAD;