Home
last modified time | relevance | path

Searched refs:Buff (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/VMCore/
DGCOV.cpp90 bool GCOVFunction::read(GCOVBuffer &Buff, GCOVFormat Format) { in read() argument
91 if (!Buff.readFunctionTag()) in read()
94 Buff.readInt(); // Function header length in read()
95 Ident = Buff.readInt(); in read()
96 Buff.readInt(); // Checksum #1 in read()
98 Buff.readInt(); // Checksum #2 in read()
100 Name = Buff.readString(); in read()
102 Filename = Buff.readString(); in read()
105 Buff.readArcTag(); in read()
106 uint32_t Count = Buff.readInt() / 2; in read()
[all …]
/external/llvm/lib/IR/
DGCOV.cpp127 bool GCOVFunction::readGCNO(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { in readGCNO() argument
129 if (!Buff.readInt(Dummy)) in readGCNO()
131 if (!Buff.readInt(Ident)) in readGCNO()
133 if (!Buff.readInt(Checksum)) in readGCNO()
137 if (!Buff.readInt(CfgChecksum)) in readGCNO()
145 if (!Buff.readString(Name)) in readGCNO()
147 if (!Buff.readString(Filename)) in readGCNO()
149 if (!Buff.readInt(LineNumber)) in readGCNO()
153 if (!Buff.readBlockTag()) { in readGCNO()
158 if (!Buff.readInt(BlockCount)) in readGCNO()
[all …]
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc89 DataPtr Buff; member
92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion()
96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion()
100 explicit operator bool() const { return bool(Buff); } in operator bool()
102 char* data() const { return Buff->bytes; } in data()
107 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger()
108 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger()
109 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger()
110 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger()
115 if (Size == sizeof(Buff->uint32_value)) in GetAsUnsigned()
[all …]
/external/google-benchmark/src/
Dsysinfo.cc89 DataPtr Buff; member
92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion()
96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion()
100 explicit operator bool() const { return bool(Buff); } in operator bool()
102 char* data() const { return Buff->bytes; } in data()
107 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger()
108 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger()
109 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger()
110 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger()
115 if (Size == sizeof(Buff->uint32_value)) in GetAsUnsigned()
[all …]
/external/llvm/lib/Fuzzer/test/
DStrcmpTest.cpp12 char Buff[1024]; in Eq() local
15 if (Len >= sizeof(Buff)) return false; in Eq()
16 memcpy(Buff, (char*)Data, Len); in Eq()
17 Buff[Len] = 0; in Eq()
18 int res = strcmp(Buff, Str); in Eq()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_nothrow_replace.pass.cpp56 alignas(OverAligned) char Buff[OverAligned * 3]; variable
61 assert(s <= sizeof(Buff)); in operator new[]()
64 return Buff; in operator new[]()
69 assert(p == Buff); in operator delete[]()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_align_val_t_nothrow_replace.pass.cpp57 alignas(OverAligned) char Buff[OverAligned * 2]; variable
62 assert(s <= sizeof(Buff)); in operator new()
65 return Buff; in operator new()
70 assert(p == Buff); in operator delete()
/external/expat/examples/
Doutline.c56 char Buff[BUFFSIZE]; variable
106 len = (int)fread(Buff, 1, BUFFSIZE, stdin); in main()
113 if (XML_Parse(p, Buff, len, done) == XML_STATUS_ERROR) { in main()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp133 uint8_t Buff[16]; in EmitSPOffset() local
134 Buff[0] = ARM::EHABI::UNWIND_OPCODE_INC_VSP_ULEB128; in EmitSPOffset()
135 size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1); in EmitSPOffset()
136 EmitBytes(Buff, ULEBSize + 1); in EmitSPOffset()
/external/swiftshader/third_party/LLVM/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp43 OwningPtr<MemoryBuffer> Buff; in DumpInput() local
45 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, Buff)) { in DumpInput()
50 OwningPtr<ObjectFile> Obj(ObjectFile::createObjectFile(Buff.take())); in DumpInput()
/external/llvm/tools/llvm-dwarfdump/fuzzer/
Dllvm-dwarfdump-fuzzer.cpp24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput() local
28 ObjectFile::createObjectFile(Buff->getMemBufferRef()); in LLVMFuzzerTestOneInput()
/external/llvm/tools/llvm-pdbdump/fuzzer/
Dllvm-pdbdump-fuzzer.cpp46 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput() local
52 auto InputStream = llvm::make_unique<InputByteStream>(std::move(Buff)); in LLVMFuzzerTestOneInput()
/external/clang/test/SemaCXX/
Dwarn-memset-bad-sizeof.cpp87 typedef char Buff[8]; in f() typedef
88 memcpy(0, &arr, sizeof(Buff)); in f()
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp88 MemoryBuffer *Buff = getBufferInfo(BufferID).Buffer; in FindLineNumber() local
94 const char *Ptr = Buff->getBufferStart(); in FindLineNumber()
/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp96 std::unique_ptr<MemoryBuffer> Buff = std::move(BuffOrErr.get()); in DumpInput() local
99 object::createBinary(Buff->getMemBufferRef()); in DumpInput()
/external/llvm/include/llvm/ADT/
DArrayRef.h151 T *Buff = A.template Allocate<T>(Length); in copy() local
152 std::uninitialized_copy(begin(), end(), Buff); in copy()
153 return ArrayRef<T>(Buff, Length); in copy()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DArrayRef.h157 T *Buff = A.template Allocate<T>(Length); in copy() local
158 std::uninitialized_copy(begin(), end(), Buff); in copy()
159 return ArrayRef<T>(Buff, Length); in copy()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLLexer.h89 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]);
/external/llvm/lib/Object/
DIRObjectFile.cpp317 std::unique_ptr<MemoryBuffer> Buff = in create() local
321 getLazyBitcodeModule(std::move(Buff), Context, in create()
/external/llvm/lib/AsmParser/
DLLLexer.h92 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]);
/external/pdfium/third_party/lcms/src/
Dcmsps2.c1389 char Buff[32]; in BuildColorantList() local
1398 snprintf(Buff, 31, "%.3f", Out[j] / 65535.0); in BuildColorantList()
1399 Buff[31] = 0; in BuildColorantList()
1400 strcat(Colorant, Buff); in BuildColorantList()
Dcmscgats.c2580 char Buff[256]; in cmsIT8SetDataRowColDbl() local
2584 snprintf(Buff, 255, it8->DoubleFormatter, Val); in cmsIT8SetDataRowColDbl()
2586 return SetData(it8, row, col, Buff); in cmsIT8SetDataRowColDbl()
2670 char Buff[256]; in cmsIT8SetDataDbl() local
2674 snprintf(Buff, 255, it8->DoubleFormatter, Val); in cmsIT8SetDataDbl()
2675 return cmsIT8SetData(hIT8, cPatch, cSample, Buff); in cmsIT8SetDataDbl()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp273 OwningPtr<MemoryBuffer> Buff; in DisassembleInputMachO() local
275 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, Buff)) { in DisassembleInputMachO()
280 OwningPtr<MachOObject> MachOObj(MachOObject::LoadFromBuffer(Buff.take())); in DisassembleInputMachO()
/external/llvm/lib/Support/
DSourceMgr.cpp82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID); in getLineAndColumn() local
88 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn()
/external/ImageMagick/coders/
Dmat.c435 static void FixLogical(unsigned char *Buff,int ldblk) in FixLogical() argument
438 unsigned char *BuffL = Buff; in FixLogical()
443 if(*Buff++ != 0) in FixLogical()

12