Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsFileA3D.cpp289 FILE *writeHandle = fopen(filename, "wb"); in writeFile() local
290 if (!writeHandle) { in writeFile()
320 fwrite(magicString.string(), sizeof(char), magicString.size(), writeHandle); in writeFile()
324 fwrite(&headerSize, sizeof(headerSize), 1, writeHandle); in writeFile()
327 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); in writeFile()
331 fwrite(&fileDataSize, sizeof(fileDataSize), 1, writeHandle); in writeFile()
333 fwrite(mWriteStream->getPtr(), sizeof(uint8_t), mWriteStream->getPos(), writeHandle); in writeFile()
335 int status = fclose(writeHandle); in writeFile()