/external/chromium_org/gpu/command_buffer/common/ |
buffer.h | 16 // Address and size of a buffer and optionally a shared memory object. This 18 struct Buffer { 19 Buffer() : ptr(NULL), size(0), shared_memory(NULL) { 25 // Null if the buffer is not shared memory or if it is not exposed as such.
|
/external/llvm/include/llvm/ExecutionEngine/ |
ObjectImage.h | 30 OwningPtr<ObjectBuffer> Buffer; 33 ObjectImage(ObjectBuffer *Input) : Buffer(Input) {}
|
/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/openssh/ |
buffer.h | 1 /* $OpenBSD: buffer.h,v 1.21 2010/08/31 11:54:45 djm Exp $ */ 20 u_char *buf; /* Buffer for data. */ 24 } Buffer; 26 void buffer_init(Buffer *); 27 void buffer_clear(Buffer *); 28 void buffer_free(Buffer *); 30 u_int buffer_len(const Buffer *); 31 void *buffer_ptr(const Buffer *); 33 void buffer_append(Buffer *, const void *, u_int); 34 void *buffer_append_space(Buffer *, u_int) [all...] |
/external/chromium_org/third_party/angle_dx11/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) : RefCountObject(id) 33 Buffer::~Buffer() 40 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 57 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(); 52 DISALLOW_COPY_AND_ASSIGN(Buffer);
|
/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...] |
/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 | 32 // on the buffer IDs being dense in the range [0, count()), so long as the 34 // methods to indicate failure. Producers get a buffer by calling 36 // calling HoldForConsumers(), or drop the buffer (without further processing) 38 // buffer by calling RelinquishConsumerHold(). 48 // One-time (per client/per-buffer) initialization to share a particular 49 // buffer to a process. 53 // Get the shared memory handle for a particular buffer index. 56 // Get the mapped buffer memory for a particular buffer index. 59 // Locate the index of a buffer (if any) that's not in use by the producer o [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/AST/ |
Mangle.cpp | 70 SmallString<64> Buffer; 71 llvm::raw_svector_ostream Out(Buffer); 74 mangleFunctionBlock(*this, Buffer, BD, ResStream); 80 SmallString<64> Buffer; 81 llvm::raw_svector_ostream Out(Buffer); 84 mangleFunctionBlock(*this, Buffer, BD, ResStream); 91 SmallString<64> Buffer; 92 llvm::raw_svector_ostream Stream(Buffer); 109 mangleFunctionBlock(*this, Buffer, BD, Out);
|
/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/lib/ubsan/lit_tests/TypeCheck/ |
vptr.cpp | 53 char Buffer[sizeof(U)] = {}; 56 p = reinterpret_cast<T*>(Buffer);
|
/external/llvm/include/llvm/ADT/ |
StringExtras.h | 41 /// utohex_buffer - Emit the specified number into the buffer specified by 43 /// like this: (note that the buffer must be large enough to handle any number): 44 /// char Buffer[40]; 45 /// printf("0x%s", utohex_buffer(X, Buffer+40)); 52 *--BufPtr = 0; // Null terminate buffer. 67 char Buffer[17]; 68 return utohex_buffer(X, Buffer+17); 72 char Buffer[11]; 73 char *BufPtr = Buffer+11; 84 return std::string(BufPtr, Buffer+11) [all...] |
/external/llvm/lib/Support/ |
ErrorHandling.cpp | 71 SmallVector<char, 64> Buffer; 72 raw_svector_ostream OS(Buffer);
|
/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 OwningPtr<Module> m(getLazyBitcodeModule(Buffer, getGlobalContext(), &errMsg));
|
/external/llvm/unittests/Support/ |
FileOutputBufferTest.cpp | 41 OwningPtr<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()); 66 // Fill buffer with special header. 68 // Do *not* commit buffer [all...] |
/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);
|
/external/chromium_org/content/renderer/gpu/ |
compositor_software_output_device.cc | 18 CompositorSoftwareOutputDevice::Buffer::Buffer( 26 CompositorSoftwareOutputDevice::Buffer::~Buffer() { 29 void CompositorSoftwareOutputDevice::Buffer::SetParent( 30 Buffer* parent, const gfx::Rect& damage) { 35 bool CompositorSoftwareOutputDevice::Buffer::FindDamageDifferenceFrom( 36 Buffer* buffer, SkRegion* result) const { 37 if (!buffer) 170 Buffer* buffer = buffers_[i]; local 184 Buffer* buffer = buffers_[current_index_]; local [all...] |