/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | GCOV.cpp | 90 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/ |
D | GCOV.cpp | 127 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/ |
D | sysinfo.cc | 89 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/ |
D | sysinfo.cc | 89 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/ |
D | StrcmpTest.cpp | 12 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/ |
D | new_align_val_t_nothrow_replace.pass.cpp | 56 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/ |
D | new_align_val_t_nothrow_replace.pass.cpp | 57 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/ |
D | outline.c | 56 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/ |
D | ARMUnwindOpAsm.cpp | 133 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/ |
D | llvm-dwarfdump.cpp | 43 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/ |
D | llvm-dwarfdump-fuzzer.cpp | 24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput() local 28 ObjectFile::createObjectFile(Buff->getMemBufferRef()); in LLVMFuzzerTestOneInput()
|
/external/llvm/tools/llvm-pdbdump/fuzzer/ |
D | llvm-pdbdump-fuzzer.cpp | 46 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/ |
D | warn-memset-bad-sizeof.cpp | 87 typedef char Buff[8]; in f() typedef 88 memcpy(0, &arr, sizeof(Buff)); in f()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SourceMgr.cpp | 88 MemoryBuffer *Buff = getBufferInfo(BufferID).Buffer; in FindLineNumber() local 94 const char *Ptr = Buff->getBufferStart(); in FindLineNumber()
|
/external/llvm/tools/llvm-dwarfdump/ |
D | llvm-dwarfdump.cpp | 96 std::unique_ptr<MemoryBuffer> Buff = std::move(BuffOrErr.get()); in DumpInput() local 99 object::createBinary(Buff->getMemBufferRef()); in DumpInput()
|
/external/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 151 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/ |
D | ArrayRef.h | 157 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/ |
D | LLLexer.h | 89 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]);
|
/external/llvm/lib/Object/ |
D | IRObjectFile.cpp | 317 std::unique_ptr<MemoryBuffer> Buff = in create() local 321 getLazyBitcodeModule(std::move(Buff), Context, in create()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.h | 92 void FP80HexToIntPair(const char *Buff, const char *End, uint64_t Pair[2]);
|
/external/pdfium/third_party/lcms/src/ |
D | cmsps2.c | 1389 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()
|
D | cmscgats.c | 2580 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/ |
D | MachODump.cpp | 273 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/ |
D | SourceMgr.cpp | 82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID); in getLineAndColumn() local 88 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn()
|
/external/ImageMagick/coders/ |
D | mat.c | 435 static void FixLogical(unsigned char *Buff,int ldblk) in FixLogical() argument 438 unsigned char *BuffL = Buff; in FixLogical() 443 if(*Buff++ != 0) in FixLogical()
|