Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp131 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/
Dsysinfo.cc95 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/libcxx/utils/google-benchmark/src/
Dsysinfo.cc97 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/
Dsysinfo.cc97 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/compiler-rt/test/fuzzer/
DStrcmpTest.cpp13 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/
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/google-benchmark/src/
Dsysinfo.cc102 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.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/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_nothrow_replace.pass.cpp57 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.array/
Dnew_align_val_t_nothrow_replace.pass.cpp69 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/
Dnew_align_val_t_nothrow_replace.pass.cpp70 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/
Doutline.c52 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp134 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/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/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp134 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/
DUSRFinder.cpp136 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/
Dllvm-dwarfdump-fuzzer.cpp24 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/
Dllvm-dwarfdump-fuzzer.cpp23 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput() local
27 ObjectFile::createObjectFile(Buff->getMemBufferRef()); in LLVMFuzzerTestOneInput()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_buffer_queue.cpp123 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()
Dxray_buffer_queue.h69 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/
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/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-project/clang/test/SemaCXX/
Dwarn-memset-bad-sizeof.cpp116 typedef char Buff[8]; in f() typedef
117 memcpy(0, &arr, sizeof(Buff)); in f()

123