/external/llvm-project/lldb/source/Host/common/ |
D | LZMA.cpp | 24 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer) { in getUncompressedSize() argument 28 llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer, in uncompress() argument 67 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer) { 69 if (InputBuffer.size() < LZMA_STREAM_HEADER_SIZE) { 74 InputBuffer.size(), LZMA_STREAM_HEADER_SIZE); 79 &opts, InputBuffer.take_back(LZMA_STREAM_HEADER_SIZE).data()); 85 if (InputBuffer.size() < (opts.backward_size + LZMA_STREAM_HEADER_SIZE)) { 90 InputBuffer.size(), (opts.backward_size + LZMA_STREAM_HEADER_SIZE)); 99 InputBuffer.take_back(LZMA_STREAM_HEADER_SIZE + opts.backward_size) 101 &inpos, InputBuffer.size()); [all …]
|
/external/llvm/unittests/Support/ |
D | StreamingMemoryObjectTest.cpp | 58 uint8_t InputBuffer[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in TEST() local 60 reinterpret_cast<const char *>(InputBuffer), sizeof(InputBuffer)))); in TEST() 62 EXPECT_TRUE(std::equal(InputBuffer + 1, InputBuffer + 2, O.getPointer(1, 2))); in TEST() 63 EXPECT_TRUE(std::equal(InputBuffer + 3, InputBuffer + 7, O.getPointer(3, 4))); in TEST() 64 EXPECT_TRUE(std::equal(InputBuffer + 4, InputBuffer + 8, O.getPointer(4, 5))); in TEST() 65 EXPECT_TRUE(std::equal(InputBuffer, InputBuffer + 8, O.getPointer(0, 20))); in TEST()
|
/external/llvm-project/llvm/lib/Support/ |
D | Compression.cpp | 49 Error zlib::compress(StringRef InputBuffer, in compress() argument 51 unsigned long CompressedSize = ::compressBound(InputBuffer.size()); in compress() 55 (const Bytef *)InputBuffer.data(), InputBuffer.size(), Level); in compress() 63 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 67 (const Bytef *)InputBuffer.data(), InputBuffer.size()); in uncompress() 74 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument 79 uncompress(InputBuffer, UncompressedBuffer.data(), UncompressedSize); in uncompress() 90 Error zlib::compress(StringRef InputBuffer, in compress() argument 94 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 98 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Compression.cpp | 49 Error zlib::compress(StringRef InputBuffer, in compress() argument 51 unsigned long CompressedSize = ::compressBound(InputBuffer.size()); in compress() 55 (const Bytef *)InputBuffer.data(), InputBuffer.size(), Level); in compress() 63 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 67 (const Bytef *)InputBuffer.data(), InputBuffer.size()); in uncompress() 74 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument 79 uncompress(InputBuffer, UncompressedBuffer.data(), UncompressedSize); in uncompress() 90 Error zlib::compress(StringRef InputBuffer, in compress() argument 94 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 98 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext_unittest.cpp | 24 CFX_CodecMemory* InputBuffer() const { return input_buffer_.Get(); } in InputBuffer() function in fxcodec::CFX_GifContextForTest 37 EXPECT_EQ(0u, context.InputBuffer()->GetSize()); in TEST() 38 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() 41 EXPECT_EQ(0u, context.InputBuffer()->GetSize()); in TEST() 42 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() 45 EXPECT_EQ(3u, context.InputBuffer()->GetSize()); in TEST() 46 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() 68 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() 93 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() 101 EXPECT_EQ(0u, context.InputBuffer()->GetPosition()); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | inputbuffer.cc | 24 InputBuffer::InputBuffer(RandomAccessFile* file, size_t buffer_bytes) in InputBuffer() function in tensorflow::io::InputBuffer 32 InputBuffer::~InputBuffer() { delete[] buf_; } in ~InputBuffer() 34 Status InputBuffer::FillBuffer() { in FillBuffer() 47 Status InputBuffer::ReadLine(T* result) { in ReadLine() 76 template Status InputBuffer::ReadLine<string>(string* result); 77 template Status InputBuffer::ReadLine<tstring>(tstring* result); 79 Status InputBuffer::ReadNBytes(int64 bytes_to_read, string* result) { in ReadNBytes() 92 Status InputBuffer::ReadNBytes(int64 bytes_to_read, char* result, in ReadNBytes() 123 Status InputBuffer::ReadVarint32Fallback(uint32* result) { in ReadVarint32Fallback() 131 Status InputBuffer::ReadVarint64Fallback(uint64* result) { in ReadVarint64Fallback() [all …]
|
D | inputbuffer.h | 33 class InputBuffer { 37 InputBuffer(RandomAccessFile* file, size_t buffer_bytes); 38 ~InputBuffer(); 110 TF_DISALLOW_COPY_AND_ASSIGN(InputBuffer); 116 extern template Status InputBuffer::ReadLine<string>(string* result); 117 extern template Status InputBuffer::ReadLine<tstring>(tstring* result); 120 inline Status InputBuffer::ReadVarint32(uint32* result) { in ReadVarint32() 134 inline Status InputBuffer::ReadVarint64(uint64* result) { in ReadVarint64()
|
D | inputbuffer_test.cc | 38 TEST(InputBuffer, ReadLine_Empty) { in TEST() argument 48 io::InputBuffer in(file.get(), buf_size); in TEST() 53 TEST(InputBuffer, ReadLine1) { in TEST() argument 64 io::InputBuffer in(file.get(), buf_size); in TEST() 77 TEST(InputBuffer, ReadLine_NoTrailingNewLine) { in TEST() argument 87 io::InputBuffer in(file.get(), buf_size); in TEST() 100 TEST(InputBuffer, ReadLine_EmptyLines) { in TEST() argument 111 io::InputBuffer in(file.get(), buf_size); in TEST() 128 TEST(InputBuffer, ReadLine_CRLF) { in TEST() argument 139 io::InputBuffer in(file.get(), buf_size); in TEST() [all …]
|
/external/llvm/lib/Support/ |
D | Compression.cpp | 49 zlib::Status zlib::compress(StringRef InputBuffer, in compress() argument 52 unsigned long CompressedSize = ::compressBound(InputBuffer.size()); in compress() 57 (const Bytef *)InputBuffer.data(), InputBuffer.size(), CLevel)); in compress() 65 zlib::Status zlib::uncompress(StringRef InputBuffer, in uncompress() argument 71 (const Bytef *)InputBuffer.data(), InputBuffer.size())); in uncompress() 85 zlib::Status zlib::compress(StringRef InputBuffer, in compress() argument 90 zlib::Status zlib::uncompress(StringRef InputBuffer, in uncompress() argument
|
/external/libgav1/libgav1/tests/fuzzer/ |
D | decoder_fuzzer_frame_parallel.cc | 38 using InputBuffer = std::vector<uint8_t>; typedef 46 std::deque<InputBuffer*> free_buffers; 52 test->free_buffers.push_back(static_cast<InputBuffer*>(buffer_private_data)); in ReleaseInputBuffer() 88 InputBuffer* input_buffer = nullptr; in LLVMFuzzerTestOneInput() 94 auto* const buffer = new (std::nothrow) InputBuffer(); in LLVMFuzzerTestOneInput()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Compression.h | 32 Error compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer, 35 Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, 38 Error uncompress(StringRef InputBuffer,
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Compression.h | 32 Error compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer, 35 Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, 38 Error uncompress(StringRef InputBuffer,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | unary_ops_composition.cc | 36 using InputBuffer = typename TTypes<T>::ConstFlat; typedef 39 using ComputeFn = void (*)(const InputBuffer&, OutputBuffer*); 88 using InputBuffer = typename Support::InputBuffer; typedef in tensorflow::UnaryOpsComposition 113 InputBuffer in_flat = in.flat<T>(); in Compute() 120 const InputBuffer in_slice(in_flat.data() + begin, len); in Compute() 121 const InputBuffer scratch_slice(out_flat.data() + begin, len); in Compute() 164 static inline void Compute##name(const InputBuffer& in, OutputBuffer* out) { \ 176 static inline void ComputeRelu(const InputBuffer& in, OutputBuffer* out) { \ 185 static inline void ComputeRelu6(const InputBuffer& in, OutputBuffer* out) { \ 194 static inline void ComputeElu(const InputBuffer& in, OutputBuffer* out) { \ [all …]
|
D | text_line_reader_op.cc | 40 input_buffer_.reset(new io::InputBuffer(file_.get(), kBufferSize)); in OnWorkStartedLocked() 92 std::unique_ptr<io::InputBuffer> input_buffer_;
|
/external/libgav1/libgav1/examples/ |
D | gav1_decode.cc | 201 using InputBuffer = std::vector<uint8_t>; typedef 210 InputBuffer* GetFreeBuffer() { in GetFreeBuffer() 212 auto* const buffer = new (std::nothrow) InputBuffer(); in GetFreeBuffer() 219 InputBuffer* const buffer = free_buffers_.front(); in GetFreeBuffer() 224 void ReleaseInputBuffer(InputBuffer* buffer) { in ReleaseInputBuffer() 229 std::deque<InputBuffer*> free_buffers_; 236 static_cast<InputBuffer*>(buffer_private_data)); in ReleaseInputBuffer() 316 InputBuffer* input_buffer = nullptr; in main()
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | LZMA.h | 25 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer); 27 llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer,
|
/external/ms-tpm-20-ref/TPMCmd/Simulator/src/ |
D | TcpServer.c | 86 char InputBuffer[MAX_BUFFER]; //The input data buffer for the simulator. variable 689 OK = ReadVarBytes(s, InputBuffer, &length, MAX_BUFFER); in TpmServer() 691 InBuffer.Buffer = (uint8_t*)InputBuffer; in TpmServer() 699 OK = ReadVarBytes(s, InputBuffer, &length, MAX_BUFFER); in TpmServer() 702 InBuffer.Buffer = (uint8_t*)InputBuffer; in TpmServer() 712 &InputBuffer[6], sizeof(uint32_t)); in TpmServer()
|
/external/llvm/include/llvm/Support/ |
D | Compression.h | 43 Status compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer, 46 Status uncompress(StringRef InputBuffer,
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 290 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in printLineInfoForInput() local 292 if (std::error_code EC = InputBuffer.getError()) in printLineInfoForInput() 296 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in printLineInfoForInput() 420 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in executeInput() local 422 if (std::error_code EC = InputBuffer.getError()) in executeInput() 425 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in executeInput() 687 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in linkAndVerify() local 690 if (std::error_code EC = InputBuffer.getError()) in linkAndVerify() 694 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in linkAndVerify()
|
/external/llvm-project/llvm/lib/BinaryFormat/ |
D | MsgPackReader.cpp | 22 Reader::Reader(MemoryBufferRef InputBuffer) in Reader() argument 23 : InputBuffer(InputBuffer), Current(InputBuffer.getBufferStart()), in Reader() 24 End(InputBuffer.getBufferEnd()) {} in Reader()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/ |
D | MsgPackReader.cpp | 22 Reader::Reader(MemoryBufferRef InputBuffer) in Reader() argument 23 : InputBuffer(InputBuffer), Current(InputBuffer.getBufferStart()), in Reader() 24 End(InputBuffer.getBufferEnd()) {} in Reader()
|
/external/llvm-project/llvm/include/llvm/BinaryFormat/ |
D | MsgPackReader.h | 103 Reader(MemoryBufferRef InputBuffer); 127 MemoryBufferRef InputBuffer;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | MsgPackReader.h | 101 Reader(MemoryBufferRef InputBuffer); 125 MemoryBufferRef InputBuffer;
|
/external/llvm-project/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 375 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in printLineInfoForInput() local 377 if (std::error_code EC = InputBuffer.getError()) in printLineInfoForInput() 381 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in printLineInfoForInput() 511 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in executeInput() local 513 if (std::error_code EC = InputBuffer.getError()) in executeInput() 516 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in executeInput() 903 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in linkAndVerify() local 906 if (std::error_code EC = InputBuffer.getError()) in linkAndVerify() 910 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in linkAndVerify()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/ |
D | TextAPIReader.h | 23 get(MemoryBufferRef InputBuffer);
|