Searched defs:Buffer (Results 1 - 25 of 220) sorted by relevance

123456789

/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbuffer.h13 // Buffer provides a way to allocate memory. Allocations are 8-byte aligned and
14 // zero-initialized. Allocations remain valid for the lifetime of the Buffer.
15 class Buffer { class in namespace:mojo::internal
17 virtual ~Buffer() {}
/external/llvm/lib/Support/
H A DLineIterator.cpp15 line_iterator::line_iterator(const MemoryBuffer &Buffer, char CommentMarker) argument
16 : Buffer(Buffer.getBufferSize() ? &Buffer : nullptr),
18 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr,
22 if (Buffer.getBufferSize()) {
23 assert(Buffer.getBufferEnd()[0] == '\0');
29 assert(Buffer && "Cannot advance past the end!");
32 assert(Pos == Buffer
[all...]
H A DCompression.cpp72 uint32_t zlib::crc32(StringRef Buffer) { argument
73 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size());
88 uint32_t zlib::crc32(StringRef Buffer) {
/external/chromium_org/gpu/command_buffer/common/
H A Dbuffer.cc25 Buffer::Buffer(scoped_ptr<BufferBacking> backing) function in class:gpu::Buffer
29 DCHECK(memory_) << "The memory must be mapped to create a Buffer";
32 Buffer::~Buffer() {}
34 void* Buffer::GetDataAddress(uint32 data_offset, uint32 data_size) const {
H A Dbuffer.h42 // Buffer owns a piece of shared-memory of a certain size.
43 class GPU_EXPORT Buffer : public base::RefCountedThreadSafe<Buffer> { class in namespace:gpu
45 explicit Buffer(scoped_ptr<BufferBacking> backing);
55 friend class base::RefCountedThreadSafe<Buffer>;
56 ~Buffer();
62 DISALLOW_COPY_AND_ASSIGN(Buffer);
72 static inline scoped_refptr<Buffer> MakeBufferFromSharedMemory(
75 return new Buffer(MakeBackingFromSharedMemory(shared_memory.Pass(), size));
/external/chromium_org/ppapi/proxy/
H A Dppb_buffer_proxy.h22 class Buffer : public thunk::PPB_Buffer_API, public Resource { class in namespace:ppapi::proxy
24 Buffer(const HostResource& resource,
27 virtual ~Buffer();
46 DISALLOW_COPY_AND_ASSIGN(Buffer);
H A Dppb_buffer_proxy.cc25 Buffer::Buffer(const HostResource& resource, function in class:ppapi::proxy::Buffer
34 Buffer::~Buffer() {
38 thunk::PPB_Buffer_API* Buffer::AsPPB_Buffer_API() {
42 PP_Bool Buffer::Describe(uint32_t* size_in_bytes) {
47 PP_Bool Buffer::IsMapped() {
51 void* Buffer::Map() {
57 void Buffer::Unmap() {
62 int32_t Buffer
[all...]
/external/compiler-rt/test/profile/
H A Dinstrprof-without-libc.c26 static char Buffer[MaxSize]; local
31 int Write = __llvm_profile_write_buffer(Buffer);
32 if (__llvm_profile_write_buffer(Buffer))
44 if (fwrite(Buffer, 1, Size, File) != Size)
/external/llvm/unittests/Support/
H A DFileOutputBufferTest.cpp41 std::unique_ptr<FileOutputBuffer> Buffer; local
42 ASSERT_NO_ERROR(FileOutputBuffer::create(File1, 8192, Buffer));
44 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
46 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
48 ASSERT_NO_ERROR(Buffer->commit());
77 std::unique_ptr<FileOutputBuffer> Buffer; local
78 ASSERT_NO_ERROR(FileOutputBuffer::create(File3, 8192000, Buffer));
80 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
82 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
84 ASSERT_NO_ERROR(Buffer
97 std::unique_ptr<FileOutputBuffer> Buffer; local
[all...]
/external/llvm/utils/count/
H A Dcount.c15 char Buffer[4096], *End; local
32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin);
35 if (Buffer[i] == '\n')
37 } while (NumRead == sizeof(Buffer));
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DBuffer.cpp7 // Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or
11 #include "libGLESv2/Buffer.h"
18 Buffer::Buffer(rx::BufferImpl *impl, GLuint id) function in class:gl::Buffer
31 Buffer::~Buffer()
36 Error Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage)
51 Error Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset)
64 Error Buffer
[all...]
/external/aac/libFDK/include/
H A DFDK_bitbuffer.h106 UCHAR *Buffer; member in struct:__anon141
/external/chromium_org/content/browser/renderer_host/media/
H A Dvideo_capture_buffer_pool.h99 struct Buffer { struct in class:content::VideoCaptureBufferPool
100 Buffer();
112 typedef std::map<int, Buffer*> BufferMap;
118 Buffer* GetBuffer(int buffer_id);
H A Dvideo_capture_buffer_pool_unittest.cc21 class Buffer { class in class:content::VideoCaptureBufferPoolTest
23 Buffer(const scoped_refptr<VideoCaptureBufferPool> pool, function in class:content::VideoCaptureBufferPoolTest::Buffer
28 ~Buffer() { pool_->RelinquishProducerReservation(id()); }
47 scoped_ptr<Buffer> ReserveI420Buffer(const gfx::Size& dimensions) {
55 return scoped_ptr<Buffer>();
61 return scoped_ptr<Buffer>(new Buffer(pool_, buffer_id, memory, size));
82 scoped_ptr<Buffer> buffer1 = ReserveI420Buffer(size_lo);
86 scoped_ptr<Buffer> buffer2 = ReserveI420Buffer(size_lo);
90 scoped_ptr<Buffer> buffer
[all...]
/external/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c25 int __llvm_profile_write_buffer(char *Buffer) { argument
58 memcpy(Buffer, Data, Size); \
59 Buffer += Size; \
/external/llvm/include/llvm/ExecutionEngine/
H A DObjectImage.h31 std::unique_ptr<ObjectBuffer> Buffer; member in class:llvm::ObjectImage
34 ObjectImage(ObjectBuffer *Input) : Buffer(Input) {}
/external/llvm/lib/Object/
H A DBinary.cpp41 ErrorOr<Binary *> object::createBinary(std::unique_ptr<MemoryBuffer> &Buffer, argument
43 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer->getBuffer());
47 return Archive::create(std::move(Buffer));
66 return ObjectFile::createSymbolicFile(Buffer, Type, Context);
68 return MachOUniversalBinary::create(std::move(Buffer));
/external/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp47 static void writeModuleToBuffer(SmallVectorImpl<char> &Buffer) { argument
49 raw_svector_ostream OS(Buffer);
56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false); local
58 getLazyBitcodeModule(Buffer, getGlobalContext());
/external/llvm/unittests/LineEditor/
H A DLineEditor.cpp49 std::vector<LineEditor::Completion> operator()(StringRef Buffer, argument
51 EXPECT_TRUE(Buffer.empty());
/external/chromium_org/device/serial/
H A Ddata_source_sender.cc25 class Buffer;
46 class DataSourceSender::PendingSend::Buffer : public WritableBuffer { class in class:device::DataSourceSender::PendingSend
48 Buffer(scoped_refptr<DataSourceSender> sender,
52 virtual ~Buffer();
188 new Buffer(sender_, this, static_cast<char*>(data), num_bytes)));
204 DataSourceSender::PendingSend::Buffer::Buffer( function in class:device::DataSourceSender::PendingSend::Buffer
215 DataSourceSender::PendingSend::Buffer::~Buffer() {
220 char* DataSourceSender::PendingSend::Buffer
[all...]
/external/chromium_org/ppapi/tests/
H A Dtest_buffer.cc14 REGISTER_TEST_CASE(Buffer); variable
43 return "Buffer size not as expected";
49 return "Buffer isn't entirely zero";
74 return "Buffer should be identified as a buffer";
/external/chromium_org/third_party/webrtc/modules/video_capture/linux/
H A Dvideo_capture_linux.h54 struct Buffer struct in class:webrtc::videocapturemodule::VideoCaptureModuleV4L2
59 Buffer *_pool;
/external/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp79 SmallString<256> Buffer = path::root_path(P); local
81 path::append(Buffer, C);
84 Path.swap(Buffer);
/external/clang/lib/Rewrite/Frontend/
H A DHTMLPrint.cpp90 char *Buffer = (char*)malloc(RewriteBuf.size()); local
91 std::copy(RewriteBuf.begin(), RewriteBuf.end(), Buffer);
92 Out->write(Buffer, RewriteBuf.size());
93 free(Buffer);
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
H A Dvptr.cpp54 char Buffer[sizeof(U)] = {}; local
57 p = reinterpret_cast<T*>(Buffer);

Completed in 704 milliseconds

123456789