Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_nalu_unittest.cc27 EXPECT_EQ(0u, reader.BytesRemaining()); in TEST()
38 EXPECT_EQ(arraysize(annex_b_test_data), reader.BytesRemaining()); in TEST()
42 EXPECT_EQ(0u, reader.BytesRemaining()); in TEST()
58 EXPECT_EQ(0u, reader.BytesRemaining()); in TEST()
76 EXPECT_EQ(arraysize(annex_b_test_data), reader.BytesRemaining()); in TEST()
80 EXPECT_EQ(6u, reader.BytesRemaining()); in TEST()
84 EXPECT_EQ(0u, reader.BytesRemaining()); in TEST()
96 EXPECT_EQ(0u, writer.BytesRemaining()); in TEST()
109 EXPECT_EQ(buffer_size, writer.BytesRemaining()); in TEST()
111 EXPECT_EQ(0u, writer.BytesRemaining()); in TEST()
[all …]
Dh264_video_toolbox_nalu.cc206 nullptr, nullptr, reader.BytesRemaining(), nullptr, nullptr, 0, in H264AnnexBBufferToCMSampleBuffer()
207 reader.BytesRemaining(), kCMBlockBufferAssureMemoryNowFlag, in H264AnnexBBufferToCMSampleBuffer()
243 RTC_DCHECK(block_buffer_size == reader.BytesRemaining()); in H264AnnexBBufferToCMSampleBuffer()
248 while (reader.BytesRemaining() > 0) { in H264AnnexBBufferToCMSampleBuffer()
299 size_t AnnexBBufferReader::BytesRemaining() const { in BytesRemaining() function in webrtc::AnnexBBufferReader
336 if (data_size + kAvccHeaderByteSize > BytesRemaining()) { in WriteNalu()
349 size_t AvccBufferWriter::BytesRemaining() const { in BytesRemaining() function in webrtc::AvccBufferWriter
Dh264_video_toolbox_nalu.h61 size_t BytesRemaining() const;
88 size_t BytesRemaining() const;
/external/llvm/lib/Support/
Draw_ostream.cpp320 size_t BytesRemaining = Size - BytesToWrite; in write() local
321 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { in write()
323 return write(Ptr + BytesToWrite, BytesRemaining); in write()
325 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp241 size_t BytesRemaining = Size - BytesToWrite; in write() local
242 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { in write()
244 return write(Ptr + BytesToWrite, BytesRemaining); in write()
246 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Draw_ostream.cpp245 size_t BytesRemaining = Size - BytesToWrite; in write() local
246 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { in write()
248 return write(Ptr + BytesToWrite, BytesRemaining); in write()
250 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp222 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands() local
223 if (BytesRemaining > 0) { in writeLoadCommands()
224 ZeroFillBytes(OS, BytesRemaining); in writeLoadCommands()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2macho.cpp258 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands() local
259 if (BytesRemaining > 0) { in writeLoadCommands()
260 ZeroFillBytes(OS, BytesRemaining); in writeLoadCommands()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp94 unsigned BytesRemaining = S.getSize(); in dumpSectionMemory() local
103 while (BytesRemaining > 0) { in dumpSectionMemory()
111 --BytesRemaining; in dumpSectionMemory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp96 unsigned BytesRemaining = S.getSize(); in dumpSectionMemory() local
105 while (BytesRemaining > 0) { in dumpSectionMemory()
113 --BytesRemaining; in dumpSectionMemory()