HomeSort by relevance Sort by last modified time
    Searched defs:Buffer (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium_org/mojo/public/cpp/bindings/lib/
buffer.h 13 // 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 {
17 virtual ~Buffer() {}
  /external/compiler-rt/test/profile/
instrprof-without-libc.c 26 static char Buffer[MaxSize];
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/utils/count/
count.c 15 char Buffer[4096], *End;
32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin);
35 if (Buffer[i] == '\n')
37 } while (NumRead == sizeof(Buffer));
  /external/chromium_org/gpu/command_buffer/common/
buffer.cc 5 #include "gpu/command_buffer/common/buffer.h"
25 Buffer::Buffer(scoped_ptr<BufferBacking> backing)
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 {
  /external/chromium_org/third_party/angle/src/libGLESv2/
Buffer.cpp 7 // Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or
8 // index data. Implements GL buffer objects and related functionality.
11 #include "libGLESv2/Buffer.h"
18 Buffer::Buffer(rx::BufferImpl *impl, GLuint id)
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
    [all...]
  /external/chromium_org/ppapi/proxy/
ppb_buffer_proxy.h 22 class Buffer : public thunk::PPB_Buffer_API, public Resource {
24 Buffer(const HostResource& resource,
27 virtual ~Buffer();
46 DISALLOW_COPY_AND_ASSIGN(Buffer);
ppb_buffer_proxy.cc 25 Buffer::Buffer(const HostResource& resource,
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::GetSharedMemory(int* out_handle)
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/
ObjectImage.h 31 std::unique_ptr<ObjectBuffer> Buffer;
34 ObjectImage(ObjectBuffer *Input) : Buffer(Input) {}
  /external/llvm/unittests/Support/
FileOutputBufferTest.cpp 41 std::unique_ptr<FileOutputBuffer> Buffer;
42 ASSERT_NO_ERROR(FileOutputBuffer::create(File1, 8192, Buffer));
43 // Start buffer with special header.
44 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
45 // Write to end of buffer to verify it is writable.
46 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
47 // Commit buffer.
48 ASSERT_NO_ERROR(Buffer->commit());
63 // Fill buffer with special header.
65 // Do *not* commit buffer
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
Buffer.cpp 22 #include "audio/Buffer.h"
24 Buffer::Buffer(size_t capacity, size_t size, bool stereo)
31 //LOGV("Buffer %d data %x", capacity, (unsigned int)mData);
39 Buffer::~Buffer()
42 //LOGV("~Buffer %d", mCapacity);
45 void Buffer::changeToMono(ConvertOption option)
72 bool Buffer::changeToStereo()
80 Buffer* Buffer::loadFromFile(const android::String8& filename
98 Buffer* buffer = new Buffer(size, size, stereo); local
    [all...]
  /external/aac/libFDK/include/
FDK_bitbuffer.h 106 UCHAR *Buffer;
  /external/chromium_org/content/browser/renderer_host/media/
video_capture_buffer_pool.h 33 // Producers get a buffer by calling ReserveForProducer(), and may pass on their
34 // ownership to the consumer by calling HoldForConsumers(), or drop the buffer
36 // Consumers signal that they are done with the buffer by calling
42 // some methods to indicate failure. The active set of buffer ids may change
43 // over the lifetime of the buffer pool, as existing buffers are freed and
44 // reallocated at larger size. When reallocation occurs, new buffer IDs will
52 // One-time (per client/per-buffer) initialization to share a particular
53 // buffer to a process. The size of the allocation is returned as
60 // pointer arguments, and returns true iff the buffer exists.
63 // Reserve or allocate a buffer of at least |size| bytes and return its id
    [all...]
video_capture_buffer_pool_unittest.cc 21 class Buffer {
23 Buffer(const scoped_refptr<VideoCaptureBufferPool> pool,
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> buffer3 = ReserveI420Buffer(size_lo)
    [all...]
  /external/chromium_org/ppapi/tests/
test_buffer.cc 14 REGISTER_TEST_CASE(Buffer);
38 pp::Buffer_Dev buffer(instance_, 100);
39 if (buffer.is_null())
40 return "Could not create buffer";
42 if (buffer.size() != 100)
43 return "Buffer size not as expected";
46 unsigned char* bytes = static_cast<unsigned char *>(buffer.data());
47 for (uint32_t index = 0; index < buffer.size(); index++) {
49 return "Buffer isn't entirely zero";
56 // Test that a NULL resource isn't a buffer
82 pp::Buffer_Dev *buffer = new pp::Buffer_Dev(instance_, kBufferSize); local
    [all...]
  /external/clang/lib/Frontend/
ModuleDependencyCollector.cpp 79 SmallString<256> Buffer = path::root_path(P);
81 path::append(Buffer, C);
84 Path.swap(Buffer);
  /external/clang/lib/Lex/
TokenConcatenation.cpp 61 char Buffer[256];
62 const char *TokPtr = Buffer;
133 char Buffer[256];
134 const char *TokPtr = Buffer;
  /external/clang/lib/Rewrite/Frontend/
HTMLPrint.cpp 70 // there is no entry. Fall back to the memory buffer for a name in those
90 char *Buffer = (char*)malloc(RewriteBuf.size());
91 std::copy(RewriteBuf.begin(), RewriteBuf.end(), Buffer);
92 Out->write(Buffer, RewriteBuf.size());
93 free(Buffer);
  /external/compiler-rt/test/ubsan/TestCases/TypeCheck/
vptr.cpp 54 char Buffer[sizeof(U)] = {};
57 p = reinterpret_cast<T*>(Buffer);
  /external/llvm/include/llvm/Support/
LineIterator.h 1 //===- LineIterator.h - Iterator to read a text buffer's lines --*- C++ -*-===//
21 /// \brief A forward iterator which reads non-blank text lines from a buffer.
24 /// a time from a buffer. When default constructed the iterator will be the
30 /// Note that this iterator requires the buffer to be nul terminated.
33 const MemoryBuffer *Buffer;
41 line_iterator() : Buffer(nullptr) {}
43 /// \brief Construct a new iterator around some memory buffer.
44 explicit line_iterator(const MemoryBuffer &Buffer, char CommentMarker = '\0');
47 bool is_at_eof() const { return !Buffer; }
71 return LHS.Buffer == RHS.Buffer &
    [all...]
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 47 static void writeModuleToBuffer(SmallVectorImpl<char> &Buffer) {
49 raw_svector_ostream OS(Buffer);
56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
58 getLazyBitcodeModule(Buffer, getGlobalContext());
  /external/lzma/CS/7zip/Common/
InBuffer.cs 3 namespace SevenZip.Buffer
OutBuffer.cs 3 namespace SevenZip.Buffer
  /external/chromium_org/base/strings/
safe_sprintf.cc 99 class Buffer {
101 // |buffer| is caller-allocated storage that SafeSPrintf() writes to. It
103 // to ensure that the buffer is at least one byte in size, so that it fits
104 // the trailing NUL that will be added by the destructor. The buffer also
106 Buffer(char* buffer, size_t size)
107 : buffer_(buffer),
127 ~Buffer() {
137 // Returns true, iff the buffer is filled all the way to |kSSizeMax-1|. The
146 // |size_|, if the caller provided an insufficiently large output buffer
    [all...]
  /external/chromium_org/content/renderer/gpu/
compositor_software_output_device.cc 25 CompositorSoftwareOutputDevice::Buffer::Buffer(
30 CompositorSoftwareOutputDevice::Buffer::~Buffer() {
33 void CompositorSoftwareOutputDevice::Buffer::SetParent(
34 Buffer* parent, const gfx::Rect& damage) {
39 bool CompositorSoftwareOutputDevice::Buffer::FindDamageDifferenceFrom(
40 Buffer* buffer, SkRegion* result) const {
41 if (!buffer)
190 Buffer* buffer = buffers_[i]; local
204 Buffer* buffer = buffers_[current_index_]; local
    [all...]
  /external/chromium_org/device/serial/
data_sink_receiver.cc 42 class DataSinkReceiver::Buffer : public ReadOnlyBuffer {
44 Buffer(scoped_refptr<DataSinkReceiver> receiver,
45 const char* buffer,
47 virtual ~Buffer();
109 // If there is a buffer is in use, mark the buffer as cancelled and notify the
123 // If there is no buffer in use, immediately report the error and cancel the
170 buffer_in_use_ = new Buffer(this, static_cast<const char*>(data), num_bytes);
233 DataSinkReceiver::Buffer::Buffer(scoped_refptr<DataSinkReceiver> receiver
    [all...]

Completed in 2452 milliseconds

1 2 3 4 5 6 7 8