Home
last modified time | relevance | path

Searched refs:Val32 (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection_state.h149 typedef std::pair<bool, size_t> Val32; typedef
150 static Val32 NoVal32() { return Val32(false, ~size_t(0)); } in NoVal32()
344 Val32 declareVariable(const RSExportVar *EV);
742 Val32 getRecordPostPadding() const { in getRecordPostPadding()
745 return Val32(true, mRecord->mPostPadding); in getRecordPostPadding()
748 Val32 getRecordAllocSize() const { in getRecordAllocSize()
751 return Val32(true, mRecord->mAllocSize); in getRecordAllocSize()
754 std::pair<Val32, Val32> getFieldPreAndPostPadding(unsigned idx) const { in getFieldPreAndPostPadding()
758 return std::make_pair(Val32(true, field.mPrePadding), Val32(true, field.mPostPadding)); in getFieldPreAndPostPadding()
761 std::pair<Val32, Val32> getFieldOffsetAndStoreSize(unsigned idx) const { in getFieldOffsetAndStoreSize()
[all …]
Dslang_rs_reflection.h226 …void genConstantArrayTypeExportVariable(const RSExportVar *EV, ReflectionState::Val32 AllocSize32);
227 void genRecordTypeExportVariable(const RSExportVar *EV, ReflectionState::Val32 AllocSize32);
231 ReflectionState::Val32 AllocSize32 = ReflectionState::NoVal32());
283 ReflectionState::Val32 AllocSize32);
304 size_t Val, ReflectionState::Val32 Val32);
Dslang_rs_reflection.cpp99 void genAddPadding(int PaddingSize, ReflectionState::Val32 Field32PaddingSize);
404 size_t Val, ReflectionState::Val32 Val32) { in genConditionalVal() argument
405 if (Prefix.empty() || (Val != 0) || (Val32.first && (Val32.second != 0 ))) { in genConditionalVal()
408 if (!Val32.first || (Val == Val32.second)) { in genConditionalVal()
418 mOut << " ? " << Val << " : " << Val32.second; in genConditionalVal()
863 const ReflectionState::Val32 in genExportVariable()
2039 ReflectionState::Val32 AllocSize32) { in genConstantArrayTypeExportVariable()
2057 ReflectionState::Val32 AllocSize32) { in genRecordTypeExportVariable()
2080 ReflectionState::Val32 AllocSize32) { in genSetExportVariable()
2136 ReflectionState::Val32 AllocSize32) { in genCreateFieldPacker()
[all …]
Dslang_rs_reflection_state.cpp949 ReflectionState::Val32 ReflectionState::declareVariable(const RSExportVar *EV) { in declareVariable()
1113 return Val32(true, variable.mAllocSize); in declareVariable()