/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/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/chromium_org/third_party/angle/src/libGLESv2/ |
Buffer.cpp | 8 // Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or 9 // index data. Implements GL buffer objects and related functionality. 12 #include "libGLESv2/Buffer.h" 22 Buffer::Buffer(rx::Renderer *renderer, GLuint id) 39 Buffer::~Buffer() 46 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 63 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset [all...] |
Buffer.h | 7 // Buffer.h: Defines the gl::Buffer class, representing storage of vertex and/or 8 // index data. Implements GL buffer objects and related functionality. 29 class Buffer : public RefCountObject 32 Buffer(rx::Renderer *renderer, GLuint id); 34 virtual ~Buffer(); 38 void copyBufferSubData(Buffer* source, GLintptr sourceOffset, GLintptr destOffset, GLsizeiptr size); 62 DISALLOW_COPY_AND_ASSIGN(Buffer);
|
/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...] |
/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
|
/frameworks/av/include/media/ |
AudioBufferProvider.h | 29 // FIXME merge with AudioTrackShared::Buffer, AudioTrack::Buffer, and AudioRecord::Buffer 31 struct Buffer { 32 Buffer() : raw(NULL), frameCount(0) { } 50 // buffer != NULL 51 // buffer->raw unused 52 // buffer->frameCount maximum number of desired frames 55 // buffer->raw non-NULL pointer to buffer->frameCount contiguous available frame [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.h | 36 struct Buffer { 51 Vector<Buffer> *inputBuffers, 52 Vector<Buffer> *outputBuffers, 62 Vector<Buffer> *buffers); 96 Vector<Buffer> *inputBuffers, 97 Vector<Buffer> *outputBuffers);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mschapp.h | 25 UCHAR Buffer[(256 *2) + 4 ];
|