Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc120 int16_t *out_buff; in TEST() local
142 out_buff = (int16_t *)ralloc(buf_size * 2 * cras_get_format_bytes(&out_fmt)); in TEST()
145 (uint8_t *)out_buff, in TEST()
150 if (in_buff[i] != out_buff[i*2] || in TEST()
151 in_buff[i] != out_buff[i*2 + 1]) { in TEST()
159 free(out_buff); in TEST()
170 int16_t *out_buff; in TEST() local
193 out_buff = (int16_t *)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()
200 (uint8_t *)out_buff, in TEST()
205 EXPECT_EQ(1, out_buff[i]); in TEST()
[all …]
/external/catch2/examples/
D231-Cfg-OutputStreams.cpp13 class out_buff : public std::stringbuf { class
16 out_buff(std::FILE* stream) :m_stream(stream) {} in out_buff() function in out_buff
17 ~out_buff() { pubsync(); } in ~out_buff()
34 static std::ostream ret(new out_buff(stdout)); in cout()
38 static std::ostream ret(new out_buff(stderr)); in clog()
/external/lz4/programs/
Dlz4io.c338 char* out_buff; in LZ4IO_compressFilename_Legacy() local
355 out_buff = (char*)malloc(outBuffSize); in LZ4IO_compressFilename_Legacy()
356 if (!in_buff || !out_buff) EXM_THROW(21, "Allocation error : not enough memory"); in LZ4IO_compressFilename_Legacy()
359 LZ4IO_writeLE32(out_buff, LEGACY_MAGICNUMBER); in LZ4IO_compressFilename_Legacy()
360 { size_t const sizeCheck = fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput); in LZ4IO_compressFilename_Legacy()
373 … outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel); in LZ4IO_compressFilename_Legacy()
379 LZ4IO_writeLE32(out_buff, outSize); in LZ4IO_compressFilename_Legacy()
380 { size_t const sizeCheck = fwrite(out_buff, 1, outSize+4, foutput); in LZ4IO_compressFilename_Legacy()
400 free(out_buff); in LZ4IO_compressFilename_Legacy()
809 char* const out_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream() local
[all …]
/external/libxml2/
Dxmlsave.c1861 xmlOutputBufferPtr out_buff; in xmlSaveToBuffer() local
1875 out_buff = xmlOutputBufferCreateBuffer(buffer, handler); in xmlSaveToBuffer()
1876 if (out_buff == NULL) { in xmlSaveToBuffer()
1882 ret->buf = out_buff; in xmlSaveToBuffer()
2407 xmlOutputBufferPtr out_buff = NULL; in xmlDocDumpFormatMemoryEnc() local
2443 if ((out_buff = xmlAllocOutputBuffer(conv_hdlr)) == NULL ) { in xmlDocDumpFormatMemoryEnc()
2450 ctxt.buf = out_buff; in xmlDocDumpFormatMemoryEnc()
2457 xmlOutputBufferFlush(out_buff); in xmlDocDumpFormatMemoryEnc()
2458 if (out_buff->conv != NULL) { in xmlDocDumpFormatMemoryEnc()
2459 *doc_txt_len = xmlBufUse(out_buff->conv); in xmlDocDumpFormatMemoryEnc()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_impl.cc50 int16_t* out_buff) { in DownMix() argument
55 out_buff[n] = (frame.data_[2 * n] + frame.data_[2 * n + 1]) >> 1; in DownMix()
60 int UpMix(const AudioFrame& frame, size_t length_out_buff, int16_t* out_buff) { in UpMix() argument
67 out_buff[2 * i + 1] = sample; in UpMix()
68 out_buff[2 * i] = sample; in UpMix()