Home
last modified time | relevance | path

Searched refs:Data (Results 1 – 25 of 1707) sorted by relevance

12345678910>>...69

/external/vulkan-validation-layers/libs/glm/gtx/
Dsimd_mat4.inl28 return this->Data[i];
38 return this->Data[i];
47 this->Data[0] = fvec4SIMD(1.0f, 0, 0, 0);
48 this->Data[1] = fvec4SIMD(0, 1.0f, 0, 0);
49 this->Data[2] = fvec4SIMD(0, 0, 1.0f, 0);
50 this->Data[3] = fvec4SIMD(0, 0, 0, 1.0f);
56 this->Data[0] = fvec4SIMD(s, 0, 0, 0);
57 this->Data[1] = fvec4SIMD(0, s, 0, 0);
58 this->Data[2] = fvec4SIMD(0, 0, s, 0);
59 this->Data[3] = fvec4SIMD(0, 0, 0, s);
[all …]
Dsimd_vec4.inl24 : Data(_mm_set_ps(0.0f, 0.0f, 0.0f, 0.0f))
28 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(__m128 const & Data) : argument
29 Data(Data)
33 Data(v.Data)
37 Data(_mm_set_ps(v.w, v.z, v.y, v.x))
44 Data(_mm_set1_ps(s))
48 // Data(_mm_setr_ps(x, y, z, w))
49 Data(_mm_set_ps(w, z, y, x))
53 Data(_mm_load_ps(v))
65 Data(_mm_set_ps(s2, s1, v.y, v.x))
[all …]
Dsimd_quat.inl38 : Data(_mm_set_ps(1.0f, 0.0f, 0.0f, 0.0f))
42 GLM_FUNC_QUALIFIER fquatSIMD::fquatSIMD(__m128 const & Data) : argument
43 Data(Data)
47 Data(q.Data)
55 Data(_mm_set_ps(w, z, y, x))
59 Data(_mm_set_ps(q.w, q.z, q.y, q.x))
67 Data = _mm_set_ps(
80 this->Data = q.Data;
86 this->Data = _mm_mul_ps(this->Data, _mm_set_ps1(s));
92 this->Data = _mm_div_ps(Data, _mm_set1_ps(s));
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc44 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/
DMath.h30 : 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/
DRecordSerialization.cpp34 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 …]
DModuleSubstreamVisitor.cpp15 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 …]
DTypeRecord.cpp22 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/
DBinaryObject.h33 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/
DThreadSafetyUtil.h84 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/llvm/tools/llvm-readobj/
DARMAttributeParser.h29 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 …]
DARMAttributeParser.cpp74 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/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h41 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/libchrome/base/trace_event/
Dmemory_usage_estimator_unittest.cc26 class Data { class
28 explicit Data(size_t size = 17): size_(size) { in Data() function in base::trace_event::__anon425049520111::Data
37 bool operator < (const Data& other) const { in operator <()
40 bool operator == (const Data& other) const { in operator ==()
45 size_t operator () (const Data& data) const { in operator ()()
60 size_t HashMapBucketCountForTesting<Data>(size_t) { in HashMapBucketCountForTesting()
64 size_t HashMapBucketCountForTesting<std::pair<const Data, short>>(size_t) { in HashMapBucketCountForTesting()
84 std::array<Data, 10> array; in TEST()
90 Data array[10]; in TEST()
108 std::unique_ptr<Data> ptr; in TEST()
[all …]
/external/llvm/lib/LineEditor/
DLineEditor.cpp114 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/jsilver/src/com/google/clearsilver/jsilver/data/
DChainedData.java42 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/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs36 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.Data); in TestNumbers()
38 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.Data); in TestNumbers()
40 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.Data); in TestNumbers()
42 Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.Data); // First pad in TestNumbers()
44 …ArrayEqual(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.Data); // Second pad in TestNumbers()
46 …rayEqual(new byte[] { 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.Data); // no pad in TestNumbers()
48 …04, 204, 204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.Data); // third pad in TestNumbers()
50 …, 204, 204, 204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.Data); // no pad in TestNumbers()
58 …ArrayEqual(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.Data); in TestNumbers64()
62 …ArrayEqual(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.Data); in TestNumbers64()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp70 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 …]
DFuzzerFnAdapter.h33 template <typename Fn> bool Adapt(Fn F, const uint8_t *Data, size_t Size);
44 size_t UnpackPrimitive(const uint8_t *Data, size_t Size, T *Value) { in UnpackPrimitive() argument
47 *Value = *reinterpret_cast<const T *>(Data); in UnpackPrimitive()
55 size_t UnpackSingle(const uint8_t *Data, size_t Size, T *Value);
59 size_t UnpackSingle<Type>(const uint8_t *Data, size_t Size, Type *Value) { \
60 return UnpackPrimitive(Data, Size, Value); \
86 size_t UnpackSingle<std::vector<uint8_t>>(const uint8_t *Data, size_t Size, in UNPACK_SINGLE_PRIMITIVE()
90 size_t Len = std::min(static_cast<size_t>(*Data), Size - 1); in UNPACK_SINGLE_PRIMITIVE()
91 std::vector<uint8_t> V(Data + 1, Data + 1 + Len); in UNPACK_SINGLE_PRIMITIVE()
97 size_t UnpackSingle<std::string>(const uint8_t *Data, size_t Size,
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPrint3DAPI.cpp247 …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()
369Data.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/clang/test/SemaCXX/
Dcxx1y-variable-templates_in_class.cpp114 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/clang/lib/Basic/
DFileSystemStatCache.cpp23 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/
DARMWinEH.h106 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/swiftshader/src/Renderer/
DLRUCache.hpp22 template<class Key, class Data>
30 Data *query(const Key &key) const;
31 Data *add(const Key &key, Data *data);
44 Data **data;
50 template<class Key, class Data>
51 LRUCache<Key, Data>::LRUCache(int n) in LRUCache()
60 data = new Data*[size]; in LRUCache()
70 template<class Key, class Data>
71 LRUCache<Key, Data>::~LRUCache() in ~LRUCache()
92 template<class Key, class Data>
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp48 virtual void parseInstructions(DataExtractor Data, uint32_t *Offset,
103 void FrameEntry::parseInstructions(DataExtractor Data, uint32_t *Offset, in parseInstructions() argument
106 uint8_t Opcode = Data.getU8(Offset); in parseInstructions()
121 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parseInstructions()
137 addInstruction(Opcode, Data.getAddress(Offset)); in parseInstructions()
141 addInstruction(Opcode, Data.getU8(Offset)); in parseInstructions()
145 addInstruction(Opcode, Data.getU16(Offset)); in parseInstructions()
149 addInstruction(Opcode, Data.getU32(Offset)); in parseInstructions()
157 addInstruction(Opcode, Data.getULEB128(Offset)); in parseInstructions()
161 addInstruction(Opcode, Data.getSLEB128(Offset)); in parseInstructions()
[all …]

12345678910>>...69