Home
last modified time | relevance | path

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

12

/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-7.0/llvm/lib/ProfileData/
DGCOV.cpp133 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/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.cc100 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/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/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/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/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/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-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp135 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/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/swiftshader/third_party/llvm-7.0/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/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/deqp-deps/glslang/Test/
D310.inheritMemory.frag13 layout(std430, binding=2) buffer Buff {
/external/angle/third_party/glslang/src/Test/
D310.inheritMemory.frag13 layout(std430, binding=2) buffer Buff {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DArrayRef.h165 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/
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/llvm/lib/AsmParser/
DLLLexer.h92 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/pdfium/third_party/lcms/src/
Dcmsps2.c1388 char Buff[32]; in BuildColorantList() local
1397 snprintf(Buff, 31, "%.3f", Out[j] / 65535.0); in BuildColorantList()
1398 Buff[31] = 0; in BuildColorantList()
1399 strcat(Colorant, Buff); in BuildColorantList()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp676 xmlChar *Buff = nullptr; in getMergedManifest() local
677 xmlDocDumpFormatMemoryEnc(OutputDoc.get(), &Buff, &BufferSize, "UTF-8", 1); in getMergedManifest()
678 Buffer.reset(Buff); in getMergedManifest()
/external/llvm/lib/Support/
DSourceMgr.cpp82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID); in getLineAndColumn() local
88 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn()

12