/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 44 static void handleTypeMismatchImpl(TypeMismatchData *Data, ValueHandle Pointer, in handleTypeMismatchImpl() argument 46 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() 51 else if (Data->Alignment && (Pointer & (Data->Alignment - 1))) in handleTypeMismatchImpl() 62 if (Data->Loc.isInvalid()) { in handleTypeMismatchImpl() 72 << TypeCheckKinds[Data->TypeCheckKind] << Data->Type; in handleTypeMismatchImpl() 77 << TypeCheckKinds[Data->TypeCheckKind] << (void *)Pointer in handleTypeMismatchImpl() 78 << Data->Alignment << Data->Type; in handleTypeMismatchImpl() 83 << TypeCheckKinds[Data->TypeCheckKind] << (void *)Pointer << Data->Type; in handleTypeMismatchImpl() 93 void __ubsan::__ubsan_handle_type_mismatch(TypeMismatchData *Data, in __ubsan_handle_type_mismatch() argument 96 handleTypeMismatchImpl(Data, Pointer, Opts); in __ubsan_handle_type_mismatch() [all …]
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 30 : Length(Length), Data(new PBQPNum[Length]) { in Vector() 37 : Length(Length), Data(new PBQPNum[Length]) { in Vector() 41 std::fill(Data, Data + Length, InitVal); in Vector() 46 : Length(V.Length), Data(new PBQPNum[Length]) { in Vector() 49 std::copy(V.Data, V.Data + Length, Data); in Vector() 54 : Length(V.Length), Data(V.Data) { in Vector() 56 V.Data = nullptr; in Vector() 62 delete[] Data; in ~Vector() 69 delete[] Data; 71 Data = new PBQPNum[Length]; [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | RecordSerialization.cpp | 34 std::error_code llvm::codeview::consume(ArrayRef<uint8_t> &Data, APSInt &Num) { in consume() argument 37 if (Data.size() < 2) in consume() 39 uint16_t Short = *reinterpret_cast<const ulittle16_t *>(Data.data()); in consume() 40 Data = Data.drop_front(2); in consume() 48 if (Data.size() < 1) in consume() 51 *reinterpret_cast<const int8_t *>(Data.data()), in consume() 54 Data = Data.drop_front(1); in consume() 57 if (Data.size() < 2) in consume() 60 *reinterpret_cast<const little16_t *>(Data.data()), in consume() 63 Data = Data.drop_front(2); in consume() [all …]
|
D | ModuleSubstreamVisitor.cpp | 15 Error IModuleSubstreamVisitor::visitSymbols(StreamRef Data) { in visitSymbols() argument 16 return visitUnknown(ModuleSubstreamKind::Symbols, Data); in visitSymbols() 18 Error IModuleSubstreamVisitor::visitLines(StreamRef Data, in visitLines() argument 21 return visitUnknown(ModuleSubstreamKind::Lines, Data); in visitLines() 23 Error IModuleSubstreamVisitor::visitStringTable(StreamRef Data) { in visitStringTable() argument 24 return visitUnknown(ModuleSubstreamKind::StringTable, Data); in visitStringTable() 27 StreamRef Data, const FileChecksumArray &Checksums) { in visitFileChecksums() argument 28 return visitUnknown(ModuleSubstreamKind::FileChecksums, Data); in visitFileChecksums() 30 Error IModuleSubstreamVisitor::visitFrameData(StreamRef Data) { in visitFrameData() argument 31 return visitUnknown(ModuleSubstreamKind::FrameData, Data); in visitFrameData() [all …]
|
D | TypeRecord.cpp | 22 MemberPointerInfo::deserialize(ArrayRef<uint8_t> &Data) { in deserialize() argument 24 if (auto EC = consumeObject(Data, L)) in deserialize() 35 ArrayRef<uint8_t> &Data) { in deserialize() argument 37 if (auto EC = consumeObject(Data, L)) in deserialize() 47 ArrayRef<uint8_t> &Data) { in deserialize() argument 49 if (auto EC = consumeObject(Data, L)) in deserialize() 57 ArrayRef<uint8_t> &Data) { in deserialize() argument 59 CV_DESERIALIZE(Data, L); in deserialize() 66 MemberFuncIdRecord::deserialize(TypeRecordKind Kind, ArrayRef<uint8_t> &Data) { in deserialize() argument 69 CV_DESERIALIZE(Data, L, Name); in deserialize() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | BinaryObject.h | 33 BinaryData Data; variable 53 return Data.size(); in size() 58 return Data; in getData() 81 Data.push_back(B); in emitByte() 96 Data.push_back((uint8_t)(W >> 0)); in emitWord16LE() 97 Data.push_back((uint8_t)(W >> 8)); in emitWord16LE() 103 Data.push_back((uint8_t)(W >> 8)); in emitWord16BE() 104 Data.push_back((uint8_t)(W >> 0)); in emitWord16BE() 150 Data.push_back((uint8_t)(W >> 0)); in emitWordLE() 151 Data.push_back((uint8_t)(W >> 8)); in emitWordLE() [all …]
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyUtil.h | 84 SimpleArray() : Data(nullptr), Size(0), Capacity(0) {} in SimpleArray() 86 : Data(Dat), Size(Sz), Capacity(Cp) {} in Data() function 88 : Data(Cp == 0 ? nullptr : A.allocateT<T>(Cp)), Size(0), Capacity(Cp) {} in SimpleArray() 90 : Data(A.Data), Size(A.Size), Capacity(A.Capacity) { in SimpleArray() 91 A.Data = nullptr; in SimpleArray() 98 Data = RHS.Data; 102 RHS.Data = nullptr; 112 T *Odata = Data; in reserve() 113 Data = A.allocateT<T>(Ncp); in reserve() 115 memcpy(Data, Odata, sizeof(T) * Size); in reserve() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 32 : Length(Length), Data(llvm::make_unique<PBQPNum []>(Length)) {} in Vector() 36 : Length(Length), Data(llvm::make_unique<PBQPNum []>(Length)) { in Vector() 37 std::fill(Data.get(), Data.get() + Length, InitVal); in Vector() 42 : Length(V.Length), Data(llvm::make_unique<PBQPNum []>(Length)) { in Vector() 43 std::copy(V.Data.get(), V.Data.get() + Length, Data.get()); in Vector() 48 : Length(V.Length), Data(std::move(V.Data)) { in Vector() 54 assert(Length != 0 && Data && "Invalid vector"); 57 return std::equal(Data.get(), Data.get() + Length, V.Data.get()); 62 assert(Length != 0 && Data && "Invalid vector"); in getLength() 68 assert(Length != 0 && Data && "Invalid vector"); [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | ARMAttributeParser.h | 29 uint64_t ParseInteger(const uint8_t *Data, uint32_t &Offset); 30 StringRef ParseString(const uint8_t *Data, uint32_t &Offset); 32 void IntegerAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 34 void StringAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 39 void CPU_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 41 void CPU_arch_profile(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 43 void ARM_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 45 void THUMB_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 47 void FP_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 49 void WMMX_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, [all …]
|
D | ARMAttributeParser.cpp | 74 uint64_t ARMAttributeParser::ParseInteger(const uint8_t *Data, in ParseInteger() argument 77 uint64_t Value = decodeULEB128(Data + Offset, &Length); in ParseInteger() 82 StringRef ARMAttributeParser::ParseString(const uint8_t *Data, in ParseString() argument 84 const char *String = reinterpret_cast<const char*>(Data + Offset); in ParseString() 90 void ARMAttributeParser::IntegerAttribute(AttrType Tag, const uint8_t *Data, in IntegerAttribute() argument 93 ParseInteger(Data, Offset)); in IntegerAttribute() 96 void ARMAttributeParser::StringAttribute(AttrType Tag, const uint8_t *Data, in StringAttribute() argument 104 SW.printString("Value", ParseString(Data, Offset)); in StringAttribute() 120 void ARMAttributeParser::CPU_arch(AttrType Tag, const uint8_t *Data, in CPU_arch() argument 128 uint64_t Value = ParseInteger(Data, Offset); in CPU_arch() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ARMAttributeParser.h | 33 uint64_t ParseInteger(const uint8_t *Data, uint32_t &Offset); 34 StringRef ParseString(const uint8_t *Data, uint32_t &Offset); 36 void IntegerAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 38 void StringAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 43 void CPU_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 45 void CPU_arch_profile(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 47 void ARM_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 49 void THUMB_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 51 void FP_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 53 void WMMX_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, [all …]
|
D | BinaryByteStream.h | 35 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian) in BinaryByteStream() argument 36 : Endian(Endian), Data(Data) {} in BinaryByteStream() 37 BinaryByteStream(StringRef Data, llvm::support::endianness Endian) in BinaryByteStream() argument 38 : Endian(Endian), Data(Data.bytes_begin(), Data.bytes_end()) {} in BinaryByteStream() 46 Buffer = Data.slice(Offset, Size); in readBytes() 54 Buffer = Data.slice(Offset); in readLongestContiguousChunk() 58 uint32_t getLength() override { return Data.size(); } in getLength() 60 ArrayRef<uint8_t> data() const { return Data; } in data() 63 const char *CharData = reinterpret_cast<const char *>(Data.data()); in str() 64 return StringRef(CharData, Data.size()); in str() [all …]
|
D | ARMWinEH.h | 106 RuntimeFunction(const support::ulittle32_t *Data) in RuntimeFunction() argument 107 : BeginAddress(Data[0]), UnwindData(Data[1]) {} in RuntimeFunction() 295 EpilogueScope(const support::ulittle32_t Data) : ES(Data) {} in EpilogueScope() 314 const support::ulittle32_t *Data; member 316 ExceptionDataRecord(const support::ulittle32_t *Data) : Data(Data) {} in ExceptionDataRecord() 319 return (Data[0] & 0x0003ffff); in FunctionLength() 323 return (Data[0] & 0x000C0000) >> 18; in Vers() 327 return ((Data[0] & 0x00100000) >> 20); in X() 331 return ((Data[0] & 0x00200000) >> 21); in E() 335 return ((Data[0] & 0x00400000) >> 22); in F() [all …]
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | RecordSerialization.h | 41 inline std::error_code consumeObject(U &Data, const T *&Res) { in consumeObject() argument 42 if (Data.size() < sizeof(*Res)) in consumeObject() 44 Res = reinterpret_cast<const T *>(Data.data()); in consumeObject() 45 Data = Data.drop_front(sizeof(*Res)); in consumeObject() 49 inline std::error_code consume(ArrayRef<uint8_t> &Data) { in consume() argument 57 std::error_code consume(ArrayRef<uint8_t> &Data, APSInt &Num); 58 std::error_code consume(StringRef &Data, APSInt &Num); 61 std::error_code consume_numeric(ArrayRef<uint8_t> &Data, uint64_t &Value); 64 std::error_code consume(ArrayRef<uint8_t> &Data, uint32_t &Item); 65 std::error_code consume(StringRef &Data, uint32_t &Item); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 114 LineEditor::InternalData *Data; in ElGetPromptFn() local 115 if (el_get(EL, EL_CLIENTDATA, &Data) == 0) in ElGetPromptFn() 116 return Data->LE->getPrompt().c_str(); in ElGetPromptFn() 125 LineEditor::InternalData *Data; in ElCompletionFn() local 126 if (el_get(EL, EL_CLIENTDATA, &Data) == 0) { in ElCompletionFn() 127 if (!Data->ContinuationOutput.empty()) { in ElCompletionFn() 129 FILE *Out = Data->Out; in ElCompletionFn() 132 ::fwrite(Data->ContinuationOutput.c_str(), in ElCompletionFn() 133 Data->ContinuationOutput.size(), 1, Out); in ElCompletionFn() 137 std::string Prevs(Data->PrevCount, '\02'); in ElCompletionFn() [all …]
|
/external/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 114 LineEditor::InternalData *Data; in ElGetPromptFn() local 115 if (el_get(EL, EL_CLIENTDATA, &Data) == 0) in ElGetPromptFn() 116 return Data->LE->getPrompt().c_str(); in ElGetPromptFn() 125 LineEditor::InternalData *Data; in ElCompletionFn() local 126 if (el_get(EL, EL_CLIENTDATA, &Data) == 0) { in ElCompletionFn() 127 if (!Data->ContinuationOutput.empty()) { in ElCompletionFn() 129 FILE *Out = Data->Out; in ElCompletionFn() 132 ::fwrite(Data->ContinuationOutput.c_str(), in ElCompletionFn() 133 Data->ContinuationOutput.size(), 1, Out); in ElCompletionFn() 137 std::string Prevs(Data->PrevCount, '\02'); in ElCompletionFn() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ARMAttributeParser.cpp | 74 uint64_t ARMAttributeParser::ParseInteger(const uint8_t *Data, in ParseInteger() argument 77 uint64_t Value = decodeULEB128(Data + Offset, &Length); in ParseInteger() 82 StringRef ARMAttributeParser::ParseString(const uint8_t *Data, in ParseString() argument 84 const char *String = reinterpret_cast<const char*>(Data + Offset); in ParseString() 90 void ARMAttributeParser::IntegerAttribute(AttrType Tag, const uint8_t *Data, in IntegerAttribute() argument 93 uint64_t Value = ParseInteger(Data, Offset); in IntegerAttribute() 100 void ARMAttributeParser::StringAttribute(AttrType Tag, const uint8_t *Data, in StringAttribute() argument 103 StringRef ValueDesc = ParseString(Data, Offset); in StringAttribute() 131 void ARMAttributeParser::CPU_arch(AttrType Tag, const uint8_t *Data, in CPU_arch() argument 139 uint64_t Value = ParseInteger(Data, Offset); in CPU_arch() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | ChainedData.java | 42 Data[] dataList; 49 public ChainedData(Data data) { in ChainedData() 51 this.dataList = new Data[] {data}; in ChainedData() 54 public ChainedData(Data... dataList) { in ChainedData() 59 public ChainedData(List<Data> dataList) { in ChainedData() 61 this.dataList = dataList.toArray(new Data[dataList.size()]); in ChainedData() 65 protected DelegatedData newInstance(Data newDelegate) { in newInstance() 69 private static Data getFirstData(Data[] dataList) { in getFirstData() 73 Data first = dataList[0]; in getFirstData() 80 private static Data getFirstData(List<Data> dataList) { in getFirstData() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerMutate.cpp | 70 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size, in Mutate_Custom() argument 72 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom() 75 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size, in Mutate_CustomCrossOver() argument 86 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); in Mutate_CustomCrossOver() 90 memcpy(Data, U.data(), NewSize); in Mutate_CustomCrossOver() 94 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size, in Mutate_ShuffleBytes() argument 101 std::random_shuffle(Data + ShuffleStart, Data + ShuffleStart + ShuffleAmount, in Mutate_ShuffleBytes() 106 size_t MutationDispatcher::Mutate_EraseByte(uint8_t *Data, size_t Size, in Mutate_EraseByte() argument 112 memmove(Data + Idx, Data + Idx + 1, Size - Idx - 1); in Mutate_EraseByte() 116 size_t MutationDispatcher::Mutate_InsertByte(uint8_t *Data, size_t Size, in Mutate_InsertByte() argument [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTPrint3DAPI.cpp | 247 …SPVRTPrint3DAPI::SInstanceData& Data = (m_pAPI->m_pInstanceData ? *m_pAPI->m_pInstanceData : SPVRT… in Flush() local 260 _ASSERT(Data.uProgramFont != UNDEFINED_HANDLE); in Flush() 261 glUseProgram(Data.uProgramFont); in Flush() 266 glUniformMatrix4fv(Data.mvpLocationFont, 1, GL_FALSE, mMVP.f); in Flush() 365 …SPVRTPrint3DAPI::SInstanceData& Data = (m_pAPI->m_pInstanceData ? *m_pAPI->m_pInstanceData : SPVRT… in APIInit() local 368 …if( Data.uFragmentShaderLogo != UNDEFINED_HANDLE && Data.uVertexShaderLogo != UNDEFINED_HANDLE && … in APIInit() 369 …Data.uFragmentShaderFont != UNDEFINED_HANDLE && Data.uVertexShaderFont != UNDEFINED_HANDLE && Data… in APIInit() 381 …bRes &= (PVRTShaderLoadSourceFromMemory(_Print3DFragShaderLogo_fsh, GL_FRAGMENT_SHADER, &Data.uFra… in APIInit() 382 …bRes &= (PVRTShaderLoadSourceFromMemory(_Print3DVertShaderLogo_vsh, GL_VERTEX_SHADER, &Data.uVerte… in APIInit() 387 Data.uProgramLogo = glCreateProgram(); in APIInit() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-rc/ |
D | memoryflags.test | 6 ; CHECK-NEXT: Data version: 0 10 ; CHECK-NEXT: Data version: 0 14 ; CHECK-NEXT: Data version: 0 18 ; CHECK-NEXT: Data version: 0 22 ; CHECK-NEXT: Data version: 0 26 ; CHECK-NEXT: Data version: 0 30 ; CHECK-NEXT: Data version: 0 34 ; CHECK-NEXT: Data version: 0 38 ; CHECK-NEXT: Data version: 0 42 ; CHECK-NEXT: Data version: 0 [all …]
|
/external/clang/test/SemaCXX/ |
D | cxx1y-variable-templates_in_class.cpp | 114 template<typename U> static U Data; member 115 template<typename U> static CONST U Data<U*> = U(); // expected-note {{here}} member 120 const int c0_test = C0::Data<int*>; 122 template const int C0::Data<int*>; // expected-error {{undefined}} member in non_const_init::pointers::C0 128 template<typename U> static U Data; member 129 template<typename U> static U* Data<U*>; // Okay, with out-of-line definition member 131 template<typename T> T* C1a::Data<T*> = new T(); member in non_const_init::pointers::C1a 132 template int* C1a::Data<int*>; member in non_const_init::pointers::C1a 135 template<typename U> static U Data; member 136 template<typename U> static CONST U* Data<U*>; // Okay, with out-of-line definition member [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugFrame.cpp | 37 Error CFIProgram::parse(DataExtractor Data, uint32_t *Offset, in parse() argument 40 uint8_t Opcode = Data.getU8(Offset); in parse() 58 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parse() 77 addInstruction(Opcode, Data.getAddress(Offset)); in parse() 81 addInstruction(Opcode, Data.getU8(Offset)); in parse() 85 addInstruction(Opcode, Data.getU16(Offset)); in parse() 89 addInstruction(Opcode, Data.getU32(Offset)); in parse() 98 addInstruction(Opcode, Data.getULEB128(Offset)); in parse() 102 addInstruction(Opcode, Data.getSLEB128(Offset)); in parse() 112 auto op1 = Data.getULEB128(Offset); in parse() [all …]
|
/external/clang/lib/Basic/ |
D | FileSystemStatCache.cpp | 23 FileData &Data) { in copyStatusToFileData() argument 24 Data.Name = Status.getName(); in copyStatusToFileData() 25 Data.Size = Status.getSize(); in copyStatusToFileData() 26 Data.ModTime = Status.getLastModificationTime().toEpochTime(); in copyStatusToFileData() 27 Data.UniqueID = Status.getUniqueID(); in copyStatusToFileData() 28 Data.IsDirectory = Status.isDirectory(); in copyStatusToFileData() 29 Data.IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file; in copyStatusToFileData() 30 Data.InPCH = false; in copyStatusToFileData() 31 Data.IsVFSMapped = Status.IsVFSMapped; in copyStatusToFileData() 43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, in get() argument [all …]
|
/external/llvm/include/llvm/Support/ |
D | ARMWinEH.h | 106 RuntimeFunction(const support::ulittle32_t *Data) in RuntimeFunction() argument 107 : BeginAddress(Data[0]), UnwindData(Data[1]) {} in RuntimeFunction() 295 EpilogueScope(const support::ulittle32_t Data) : ES(Data) {} in EpilogueScope() 314 const support::ulittle32_t *Data; member 316 ExceptionDataRecord(const support::ulittle32_t *Data) : Data(Data) {} in ExceptionDataRecord() 319 return (Data[0] & 0x0003ffff); in FunctionLength() 323 return (Data[0] & 0x000C0000) >> 18; in Vers() 327 return ((Data[0] & 0x00100000) >> 20); in X() 331 return ((Data[0] & 0x00200000) >> 21); in E() 335 return ((Data[0] & 0x00400000) >> 22); in F() [all …]
|