/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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | GCOV.cpp | 133 bool GCOVFunction::readGCNO(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { in readGCNO() argument 135 if (!Buff.readInt(Dummy)) in readGCNO() 137 if (!Buff.readInt(Ident)) in readGCNO() 139 if (!Buff.readInt(Checksum)) in readGCNO() 143 if (!Buff.readInt(CfgChecksum)) in readGCNO() 151 if (!Buff.readString(Name)) in readGCNO() 153 if (!Buff.readString(Filename)) in readGCNO() 155 if (!Buff.readInt(LineNumber)) in readGCNO() 159 if (!Buff.readBlockTag()) { in readGCNO() 164 if (!Buff.readInt(BlockCount)) in readGCNO() [all …]
|
/external/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 97 DataPtr Buff; member 100 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() 104 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion() 108 explicit operator bool() const { return bool(Buff); } in operator bool() 110 char* data() const { return Buff->bytes; } in data() 115 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger() 116 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger() 117 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger() 118 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger() 123 if (Size == sizeof(Buff->uint32_value)) in GetAsUnsigned() [all …]
|
/external/google-benchmark/src/ |
D | sysinfo.cc | 100 DataPtr Buff; member 103 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() 107 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion() 111 explicit operator bool() const { return bool(Buff); } in operator bool() 113 char* data() const { return Buff->bytes; } in data() 118 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger() 119 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger() 120 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger() 121 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger() 126 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 | 69 alignas(OverAligned) char Buff[OverAligned * 3]; variable 74 assert(s <= sizeof(Buff)); in operator new[]() 77 return Buff; in operator new[]() 82 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 | 70 alignas(OverAligned) char Buff[OverAligned * 2]; variable 75 assert(s <= sizeof(Buff)); in operator new() 78 return Buff; in operator new() 83 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-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 135 uint8_t Buff[16]; in EmitSPOffset() local 136 Buff[0] = ARM::EHABI::UNWIND_OPCODE_INC_VSP_ULEB128; in EmitSPOffset() 137 size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1); in EmitSPOffset() 138 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/swiftshader/third_party/llvm-7.0/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/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/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/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-7.0/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 165 T *Buff = A.template Allocate<T>(Length); in copy() local 166 std::uninitialized_copy(begin(), end(), Buff); in copy() 167 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()
|