/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Compression.cpp | 60 Error zlib::compress(StringRef InputBuffer, in compress() argument 63 unsigned long CompressedSize = ::compressBound(InputBuffer.size()); in compress() 67 (const Bytef *)InputBuffer.data(), InputBuffer.size(), in compress() 76 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 80 (const Bytef *)InputBuffer.data(), InputBuffer.size()); in uncompress() 87 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument 92 uncompress(InputBuffer, UncompressedBuffer.data(), UncompressedSize); in uncompress() 103 Error zlib::compress(StringRef InputBuffer, in compress() argument 108 Error zlib::uncompress(StringRef InputBuffer, char *UncompressedBuffer, in uncompress() argument 112 Error zlib::uncompress(StringRef InputBuffer, in uncompress() argument
|
D | YAMLParser.cpp | 516 MemoryBufferRef InputBuffer; member in llvm::yaml::Scanner 770 InputBuffer = Buffer; in init() 771 Current = InputBuffer.getBufferStart(); in init() 772 End = InputBuffer.getBufferEnd(); in init() 1767 Stream::Stream(MemoryBufferRef InputBuffer, SourceMgr &SM, bool ShowColors, in Stream() argument 1769 : scanner(new Scanner(InputBuffer, SM, ShowColors, EC)), CurrentDoc() {} in Stream()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | inputbuffer.cc | 23 InputBuffer::InputBuffer(RandomAccessFile* file, size_t buffer_bytes) in InputBuffer() function in tensorflow::io::InputBuffer 31 InputBuffer::~InputBuffer() { delete[] buf_; } in ~InputBuffer() 33 Status InputBuffer::FillBuffer() { in FillBuffer() 45 Status InputBuffer::ReadLine(string* result) { in ReadLine() 74 Status InputBuffer::ReadNBytes(int64 bytes_to_read, string* result) { in ReadNBytes() 87 Status InputBuffer::ReadNBytes(int64 bytes_to_read, char* result, in ReadNBytes() 118 Status InputBuffer::ReadVarint32Fallback(uint32* result) { in ReadVarint32Fallback() 126 Status InputBuffer::ReadVarint64Fallback(uint64* result) { in ReadVarint64Fallback() 135 Status InputBuffer::ReadVarintFallback(T* result, int max_bytes) { in ReadVarintFallback() 150 Status InputBuffer::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() [all …]
|
D | inputbuffer_test.cc | 38 TEST(InputBuffer, ReadLine_Empty) { in TEST() argument 47 io::InputBuffer in(file.get(), buf_size); in TEST() 52 TEST(InputBuffer, ReadLine1) { in TEST() argument 62 io::InputBuffer in(file.get(), buf_size); in TEST() 75 TEST(InputBuffer, ReadLine_NoTrailingNewLine) { in TEST() argument 84 io::InputBuffer in(file.get(), buf_size); in TEST() 97 TEST(InputBuffer, ReadLine_EmptyLines) { in TEST() argument 107 io::InputBuffer in(file.get(), buf_size); in TEST() 124 TEST(InputBuffer, ReadLine_CRLF) { in TEST() argument 134 io::InputBuffer in(file.get(), buf_size); in TEST() [all …]
|
D | inputbuffer.h | 32 class InputBuffer { 36 InputBuffer(RandomAccessFile* file, size_t buffer_bytes); 37 ~InputBuffer(); 105 TF_DISALLOW_COPY_AND_ASSIGN(InputBuffer); 111 inline Status InputBuffer::ReadVarint32(uint32* result) { in ReadVarint32() 125 inline Status InputBuffer::ReadVarint64(uint64* result) { in ReadVarint64()
|
/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/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 73 virtual bool loadObject(MemoryBuffer *InputBuffer) = 0; 94 virtual bool isCompatibleFormat(const MemoryBuffer *InputBuffer) const = 0; 138 bool loadObject(MemoryBuffer *InputBuffer); 142 static bool isKnownFormat(const MemoryBuffer *InputBuffer); 144 bool isCompatibleFormat(const MemoryBuffer *InputBuffer) const { in isCompatibleFormat() argument 145 return isKnownFormat(InputBuffer); in isCompatibleFormat()
|
D | RuntimeDyld.cpp | 65 bool RuntimeDyld::loadObject(MemoryBuffer *InputBuffer) { in loadObject() argument 67 if (RuntimeDyldMachO::isKnownFormat(InputBuffer)) in loadObject() 72 if(!Dyld->isCompatibleFormat(InputBuffer)) in loadObject() 76 return Dyld->loadObject(InputBuffer); in loadObject()
|
D | RuntimeDyldMachO.cpp | 403 bool RuntimeDyldMachO::loadObject(MemoryBuffer *InputBuffer) { in loadObject() argument 410 MachOObject::LoadFromBuffer(InputBuffer, &ErrorStr)); in loadObject() 515 bool RuntimeDyldMachO::isKnownFormat(const MemoryBuffer *InputBuffer) { in isKnownFormat() argument 516 StringRef Magic = InputBuffer->getBuffer().slice(0, 4); in isKnownFormat()
|
/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() 163 static inline void Compute##name(const InputBuffer& in, OutputBuffer* out) { \ 175 static inline void ComputeRelu(const InputBuffer& in, OutputBuffer* out) { \ 184 static inline void ComputeRelu6(const InputBuffer& in, OutputBuffer* out) { \ 193 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_;
|
D | lookup_util.cc | 36 io::InputBuffer input_buffer(file.get(), kInputBufferSize); in GetNumLinesInTextFile() 90 input_buffer_.reset(new io::InputBuffer(file_.get(), kInputBufferSize)); in Init() 191 std::unique_ptr<io::InputBuffer> input_buffer_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Compression.h | 35 Error compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer, 38 Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, 41 Error uncompress(StringRef InputBuffer,
|
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 95 OwningPtr<MemoryBuffer> InputBuffer; in executeInput() local 97 InputBuffer)) in executeInput() 101 if (Dyld.loadObject(InputBuffer.take())) { in executeInput()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 296 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in printLineInfoForInput() local 298 if (std::error_code EC = InputBuffer.getError()) in printLineInfoForInput() 302 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in printLineInfoForInput() 426 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in executeInput() local 428 if (std::error_code EC = InputBuffer.getError()) in executeInput() 431 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in executeInput() 692 ErrorOr<std::unique_ptr<MemoryBuffer>> InputBuffer = in linkAndVerify() local 695 if (std::error_code EC = InputBuffer.getError()) in linkAndVerify() 699 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in linkAndVerify()
|
/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/include/llvm/Support/ |
D | Compression.h | 43 Status compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer, 46 Status uncompress(StringRef InputBuffer,
|
/external/pdfium/third_party/lcms/src/ |
D | cmsxform.c | 176 const void* InputBuffer, in cmsDoTransform() argument 189 p -> xform(p, InputBuffer, OutputBuffer, Size, 1, &stride); in cmsDoTransform() 195 const void* InputBuffer, in cmsDoTransformStride() argument 208 p -> xform(p, InputBuffer, OutputBuffer, Size, 1, &stride); in cmsDoTransformStride() 213 const void* InputBuffer, in cmsDoTransformLineStride() argument 231 p->xform(p, InputBuffer, OutputBuffer, PixelsPerLine, LineCount, &stride); in cmsDoTransformLineStride() 654 const void* InputBuffer, in _cmsTransform2toTransformAdaptor() argument 663 … _cmsHandleExtraChannels(CMMcargo, InputBuffer, OutputBuffer, PixelsPerLine, LineCount, Stride); in _cmsTransform2toTransformAdaptor() 670 void *accum = (cmsUInt8Number*)InputBuffer + strideIn; in _cmsTransform2toTransformAdaptor()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen_main.cc | 42 std::unique_ptr<io::InputBuffer> input_buffer( in ReadOpListFromFile() 43 new io::InputBuffer(file.get(), 256 << 10)); in ReadOpListFromFile()
|
/external/swiftshader/third_party/LLVM/tools/macho-dump/ |
D | macho-dump.cpp | 378 OwningPtr<MemoryBuffer> InputBuffer; in main() local 379 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFile, InputBuffer)) in main() 384 MachOObject::LoadFromBuffer(InputBuffer.take(), &ErrorStr)); in main()
|
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/ |
D | RuntimeDyld.h | 61 bool loadObject(MemoryBuffer *InputBuffer);
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 103 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, Preprocessor &PP); 114 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer,
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.h | 293 std::unordered_map<int32, io::InputBuffer*> data_;
|
D | tensor_bundle.cc | 69 Status ReadStringTensor(io::InputBuffer* buffered_file, size_t num_elements, in ReadStringTensor() 128 Status ReadVariantTensor(io::InputBuffer* buffered_file, Tensor* ret, in ReadVariantTensor() 826 io::InputBuffer* buffered_file = data_[entry.shard_id()]; in GetValue() 831 buffered_file = new io::InputBuffer(file.release(), kBufferSize); in GetValue()
|