/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-10.0/llvm/lib/ProfileData/ |
D | GCOV.cpp | 131 bool GCOVFunction::readGCNO(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { in readGCNO() argument 133 if (!Buff.readInt(Dummy)) in readGCNO() 135 if (!Buff.readInt(Ident)) in readGCNO() 137 if (!Buff.readInt(Checksum)) in readGCNO() 141 if (!Buff.readInt(CfgChecksum)) in readGCNO() 149 if (!Buff.readString(Name)) in readGCNO() 151 if (!Buff.readString(Filename)) in readGCNO() 153 if (!Buff.readInt(LineNumber)) in readGCNO() 157 if (!Buff.readBlockTag()) { in readGCNO() 162 if (!Buff.readInt(BlockCount)) in readGCNO() [all …]
|
/external/llvm-project/llvm/utils/benchmark/src/ |
D | sysinfo.cc | 95 DataPtr Buff; member 98 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() 102 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion() 106 explicit operator bool() const { return bool(Buff); } in operator bool() 108 char* data() const { return Buff->bytes; } in data() 113 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger() 114 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger() 115 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger() 116 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger() 121 if (Size == sizeof(Buff->uint32_value)) in GetAsUnsigned() [all …]
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | StrcmpTest.cpp | 13 char Buff[1024]; in Eq() local 16 if (Len >= sizeof(Buff)) return false; in Eq() 17 memcpy(Buff, (const char*)Data, Len); in Eq() 18 Buff[Len] = 0; in Eq() 19 int res = strcmp(Buff, Str); in Eq()
|
/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/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/llvm-project/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 | 102 DataPtr Buff; member 105 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() 109 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} in ValueUnion() 113 explicit operator bool() const { return bool(Buff); } in operator bool() 115 char* data() const { return Buff->bytes; } in data() 120 if (Size == sizeof(Buff->uint32_value)) in GetAsInteger() 121 return static_cast<int32_t>(Buff->uint32_value); in GetAsInteger() 122 else if (Size == sizeof(Buff->uint64_value)) in GetAsInteger() 123 return static_cast<int64_t>(Buff->uint64_value); in GetAsInteger() 128 if (Size == sizeof(Buff->uint32_value)) in GetAsUnsigned() [all …]
|
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_align_val_t_nothrow_replace.pass.cpp | 57 alignas(OverAligned) char Buff[OverAligned * 3]; variable 62 assert(s <= sizeof(Buff)); in operator new[]() 65 return Buff; in operator new[]() 70 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/llvm-project/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/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/expat/examples/ |
D | outline.c | 52 char Buff[BUFFSIZE]; variable 99 len = (int)fread(Buff, 1, BUFFSIZE, stdin); in main() 106 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/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 134 uint8_t Buff[16]; in EmitSPOffset() local 135 Buff[0] = ARM::EHABI::UNWIND_OPCODE_INC_VSP_ULEB128; in EmitSPOffset() 136 size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1); in EmitSPOffset() 137 emitBytes(Buff, ULEBSize + 1); in EmitSPOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 134 uint8_t Buff[16]; in EmitSPOffset() local 135 Buff[0] = ARM::EHABI::UNWIND_OPCODE_INC_VSP_ULEB128; in EmitSPOffset() 136 size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1); in EmitSPOffset() 137 EmitBytes(Buff, ULEBSize + 1); in EmitSPOffset()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRFinder.cpp | 136 llvm::SmallString<128> Buff; in getUSRForDecl() local 139 if (Decl == nullptr || index::generateUSRForDecl(Decl, Buff)) in getUSRForDecl() 142 return std::string(Buff); in getUSRForDecl()
|
/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-project/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 23 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput() local 27 ObjectFile::createObjectFile(Buff->getMemBufferRef()); in LLVMFuzzerTestOneInput()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_buffer_queue.cpp | 123 auto &Buf = T.Buff; in init() 178 Buf = B->Buff; in getBuffer() 208 B->Buff = Buf; in releaseBuffer() 212 atomic_store(B->Buff.Extents, atomic_load(Buf.Extents, memory_order_acquire), in releaseBuffer()
|
D | xray_buffer_queue.h | 69 Buffer Buff; member 100 T &operator*() const { return Buffers[Offset].Buff; } 102 T *operator->() const { return &(Buffers[Offset].Buff); }
|
/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/llvm-project/clang/test/SemaCXX/ |
D | warn-memset-bad-sizeof.cpp | 116 typedef char Buff[8]; in f() typedef 117 memcpy(0, &arr, sizeof(Buff)); in f()
|