Searched refs:out_buff (Results 1 – 4 of 4) sorted by relevance
/external/catch2/examples/ |
D | 231-Cfg-OutputStreams.cpp | 14 class out_buff : public std::stringbuf { class 17 out_buff(std::FILE* stream):m_stream(stream) {} in out_buff() function in out_buff 18 ~out_buff(); 33 out_buff::~out_buff() { pubsync(); } in ~out_buff() 41 static std::ostream ret(new out_buff(stdout)); in cout() 45 static std::ostream ret(new out_buff(stderr)); in clog()
|
/external/lz4/programs/ |
D | lz4io.c | 420 char* out_buff; in LZ4IO_compressFilename_Legacy() local 439 out_buff = (char*)malloc((size_t)outBuffSize + 4); in LZ4IO_compressFilename_Legacy() 440 if (!in_buff || !out_buff) in LZ4IO_compressFilename_Legacy() 444 LZ4IO_writeLE32(out_buff, LEGACY_MAGICNUMBER); in LZ4IO_compressFilename_Legacy() 445 if (fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput) != MAGICNUMBER_SIZE) in LZ4IO_compressFilename_Legacy() 458 … outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel); in LZ4IO_compressFilename_Legacy() 467 LZ4IO_writeLE32(out_buff, (unsigned)outSize); in LZ4IO_compressFilename_Legacy() 468 if (fwrite(out_buff, 1, (size_t)outSize+4, foutput) != (size_t)(outSize+4)) { in LZ4IO_compressFilename_Legacy() 487 free(out_buff); in LZ4IO_compressFilename_Legacy() 969 char* const out_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream() local [all …]
|
/external/cronet/third_party/libxml/src/ |
D | xmlsave.c | 2328 xmlOutputBufferPtr out_buff = NULL; in xmlDocDumpFormatMemoryEnc() local 2364 if ((out_buff = xmlAllocOutputBuffer(conv_hdlr)) == NULL ) { in xmlDocDumpFormatMemoryEnc() 2371 ctxt.buf = out_buff; in xmlDocDumpFormatMemoryEnc() 2378 xmlOutputBufferFlush(out_buff); in xmlDocDumpFormatMemoryEnc() 2379 if (out_buff->conv != NULL) { in xmlDocDumpFormatMemoryEnc() 2380 *doc_txt_len = xmlBufUse(out_buff->conv); in xmlDocDumpFormatMemoryEnc() 2381 *doc_txt_ptr = xmlStrndup(xmlBufContent(out_buff->conv), *doc_txt_len); in xmlDocDumpFormatMemoryEnc() 2383 *doc_txt_len = xmlBufUse(out_buff->buffer); in xmlDocDumpFormatMemoryEnc() 2384 *doc_txt_ptr = xmlStrndup(xmlBufContent(out_buff->buffer),*doc_txt_len); in xmlDocDumpFormatMemoryEnc() 2386 (void)xmlOutputBufferClose(out_buff); in xmlDocDumpFormatMemoryEnc()
|
/external/libxml2/ |
D | xmlsave.c | 2328 xmlOutputBufferPtr out_buff = NULL; in xmlDocDumpFormatMemoryEnc() local 2364 if ((out_buff = xmlAllocOutputBuffer(conv_hdlr)) == NULL ) { in xmlDocDumpFormatMemoryEnc() 2371 ctxt.buf = out_buff; in xmlDocDumpFormatMemoryEnc() 2378 xmlOutputBufferFlush(out_buff); in xmlDocDumpFormatMemoryEnc() 2379 if (out_buff->conv != NULL) { in xmlDocDumpFormatMemoryEnc() 2380 *doc_txt_len = xmlBufUse(out_buff->conv); in xmlDocDumpFormatMemoryEnc() 2381 *doc_txt_ptr = xmlStrndup(xmlBufContent(out_buff->conv), *doc_txt_len); in xmlDocDumpFormatMemoryEnc() 2383 *doc_txt_len = xmlBufUse(out_buff->buffer); in xmlDocDumpFormatMemoryEnc() 2384 *doc_txt_ptr = xmlStrndup(xmlBufContent(out_buff->buffer),*doc_txt_len); in xmlDocDumpFormatMemoryEnc() 2386 (void)xmlOutputBufferClose(out_buff); in xmlDocDumpFormatMemoryEnc()
|