/external/webrtc/webrtc/base/ |
buffer.cc | 11 #include "webrtc/base/buffer.h" 18 Buffer::Buffer() : size_(0), capacity_(0), data_(nullptr) { 22 Buffer::Buffer(const Buffer& buf) : Buffer(buf.data(), buf.size()) { 25 Buffer::Buffer(Buffer&& buf [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/AArch64/ |
ArchPrePeiCore.c | 27 CHAR8 Buffer[100];
32 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Synchronous Exception at 0x%X\n\r", LR);
35 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"IRQ Exception at 0x%X\n\r", LR);
38 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"FIQ Exception at 0x%X\n\r", LR);
41 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"SError/Abort Exception at 0x%X\n\r", LR);
44 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Unknown Exception at 0x%X\n\r", LR); [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/Arm/ |
ArchPrePeiCore.c | 27 CHAR8 Buffer[100];
32 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Reset Exception at 0x%X\n\r",LR);
35 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Undefined Exception at 0x%X\n\r",LR);
38 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"SWI Exception at 0x%X\n\r",LR);
41 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"PrefetchAbort Exception at 0x%X\n\r",LR);
44 CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"DataAbort Exception at 0x%X\n\r",LR); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
Debug.c | 60 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];
62 EfiDebugAssertWorker (FileName, LineNumber, Description, sizeof (Buffer), Buffer);
74 (EFI_STATUS_CODE_DATA *) Buffer
112 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];
115 EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer);
128 (EFI_STATUS_CODE_DATA *) Buffer
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
EfiJump.h | 28 // NOTE:Set/LongJump needs to have this buffer start
30 // which call this buffer or fix inside SetJump/LongJump
31 // Choosing 1K buffer storage for now
34 CHAR8 Buffer[1024];
54 Jump - Jump buffer
80 Jump - Jump buffer
|
/external/llvm/unittests/Bitcode/ |
BitstreamWriterTest.cpp | 20 SmallString<64> Buffer; 21 BitstreamWriter W(Buffer); 23 EXPECT_EQ(StringRef("str\0", 4), Buffer); 27 SmallString<64> Buffer; 29 BitstreamWriter W(Buffer); 42 EXPECT_EQ(StringRef(Expected), Buffer); 46 SmallString<64> Buffer; 47 BitstreamWriter W(Buffer); 49 EXPECT_EQ(StringRef(""), Buffer); 53 SmallString<64> Buffer; [all...] |
/external/llvm/unittests/Support/ |
LineIteratorTest.cpp | 20 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("line 1\n" 24 line_iterator I = line_iterator(*Buffer), E; 44 std::unique_ptr<MemoryBuffer> Buffer( 53 line_iterator I = line_iterator(*Buffer, true, '#'), E; 73 std::unique_ptr<MemoryBuffer> Buffer( 83 line_iterator I = line_iterator(*Buffer, false, '#'), E; 110 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n\n" 116 line_iterator I = line_iterator(*Buffer), E; 133 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n" 138 line_iterator I = line_iterator(*Buffer, false), E [all...] |
raw_pwrite_stream_test.cpp | 20 SmallVector<char, 0> Buffer; 21 raw_svector_ostream OS(Buffer);
|
StreamingMemoryObjectTest.cpp | 21 size_t GetBytes(unsigned char *Buffer, size_t Length) override { 22 memset(Buffer, 0, Length); 28 StringRef Buffer; 31 BufferStreamer(StringRef Buffer) : Buffer(Buffer) {} 33 if (Length >= Buffer.size()) 34 Length = Buffer.size(); 36 std::copy(Buffer.begin(), Buffer.begin() + Length, OutBuffer) [all...] |
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
NaClBitstreamReader.cpp | 29 std::string Buffer; 30 raw_string_ostream Stream(Buffer); 50 std::string Buffer; 51 raw_string_ostream StrBuf(Buffer); 58 std::string Buffer; 59 raw_string_ostream StrBuf(Buffer); 65 std::string Buffer; 66 raw_string_ostream StrBuf(Buffer); 248 std::string Buffer; 249 raw_string_ostream StrBuf(Buffer); [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Buffer.cpp | 15 // Buffer.cpp: Implements the Buffer class, representing storage of vertex and/or 16 // index data. Implements GL buffer objects and related functionality. 18 #include "Buffer.h" 27 Buffer::Buffer(GLuint name) : NamedObject(name) 34 Buffer::~Buffer() 42 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 70 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset 74 char *buffer = (char*)mContents->lock(sw::PUBLIC); local [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Buffer.cpp | 15 // Buffer.cpp: Implements the Buffer class, representing storage of vertex and/or 16 // index data. Implements GL buffer objects and related functionality. 19 #include "Buffer.h" 28 Buffer::Buffer(GLuint name) : NamedObject(name) 35 Buffer::~Buffer() 43 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 71 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset 75 char *buffer = (char*)mContents->lock(sw::PUBLIC); local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
Buffer.cpp | 17 #include "Buffer.h" 27 Buffer::Buffer(size_t capacity) 40 Buffer::~Buffer() {
|
/external/libese/tools/ese_replay/ |
buffer.h | 16 * Trivial managed buffer structure 30 struct Buffer { 33 uint8_t *buffer; member in struct:Buffer 36 bool buffer_init(struct Buffer *b, uint32_t len); 37 void buffer_free(struct Buffer *b); 38 bool buffer_read_hex(struct Buffer *b, FILE *fp, bool consume_newline); 39 void buffer_dump(const struct Buffer *b, const char *prefix, const char *name,
|
/external/testng/src/main/java/org/testng/reporters/ |
Buffer.java | 3 public class Buffer {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Bitcode/ |
BitcodeWriter.h | 26 SmallVectorImpl<char> &Buffer; 30 /// Create a BitcodeWriter that writes to Buffer. 31 BitcodeWriter(SmallVectorImpl<char> &Buffer); 35 /// Write the specified module to the buffer specified at construction time.
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Bitcode/ |
BitcodeWriter.h | 26 SmallVectorImpl<char> &Buffer; 30 /// Create a BitcodeWriter that writes to Buffer. 31 BitcodeWriter(SmallVectorImpl<char> &Buffer); 35 /// Write the specified module to the buffer specified at construction time.
|
/device/google/cuttlefish_common/guest/commands/usbforward/ |
transport_request.cpp | 34 // in the data buffer. 38 // NOTE: despite libusb requires user to allocate buffer large enough to 61 uint8_t* TransportRequest::Buffer() { 84 treq->callback_(req->status == 0, treq->Buffer(), req->actual_length);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
Debug.c | 65 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];
67 EfiDebugAssertWorker (FileName, LineNumber, Description, sizeof (Buffer), Buffer);
74 (EFI_STATUS_CODE_DATA *) Buffer
112 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE];
127 EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer);
134 (EFI_STATUS_CODE_DATA *) Buffer
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
Debug.c | 56 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE64];
58 EfiDebugAssertWorker (FileName, LineNumber, Description, sizeof (Buffer), Buffer);
65 (EFI_STATUS_CODE_DATA *) Buffer
101 UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE64];
107 EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer);
114 (EFI_STATUS_CODE_DATA *) Buffer
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
MemoryAllocationLib.c | 22 Allocates a buffer of type EfiBootServicesData. 25 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is 30 @return A pointer to the allocated buffer or NULL if allocation fails. 44 Allocates and zeros a buffer of type EfiBootServicesData. 47 buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a 48 valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the 53 @return A pointer to the allocated buffer or NULL if allocation fails. 62 VOID *Buffer; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
VarCheckHiiGenFromHii.c | 28 VOID *Buffer;
41 // Call first time with zero buffer length.
45 Buffer = NULL;
46 Status = HiiDatabase->ExportPackageLists (HiiDatabase, 0, &BufferSize, Buffer);
49 // Allocate buffer to hold the HII Database.
53 Buffer = (VOID *) (UINTN) BufferAddress;
56 // Export HII Database into the buffer.
58 Status = HiiDatabase->ExportPackageLists (HiiDatabase, 0, &BufferSize, Buffer);
61 DEBUG ((EFI_D_INFO, "VarCheckHiiGenDxeFromHii - HII Database exported at 0x%x, size = 0x%x\n", Buffer, BufferSize));
65 DumpHiiDatabase (Buffer, BufferSize); [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
FileHandleWrappers.h | 20 CHAR16* Buffer;
|
/external/compiler-rt/test/profile/Inputs/ |
instrprof-merge-match.c | 19 extern uint64_t libEntry(char *Buffer, uint64_t MaxSize); 23 static char Buffer[MaxSize]; 32 if (__llvm_profile_write_buffer(Buffer)) 36 if (__llvm_profile_check_compatibility(Buffer, Size)) 39 /* Clear the buffer. */ 40 memset(Buffer, 0, MaxSize); 43 Size = libEntry(Buffer, MaxSize); 49 if (!__llvm_profile_check_compatibility(Buffer, Size))
|
/external/compiler-rt/test/profile/ |
instrprof-without-libc.c | 28 static char Buffer[MaxSize]; 33 int Write = __llvm_profile_write_buffer(Buffer); 41 __llvm_profile_merge_from_buffer(Buffer, Size); 48 if (fwrite(Buffer, 1, Size, File) != Size)
|