Searched refs:Pos (Results 1 - 4 of 4) sorted by relevance

/frameworks/rs/rsov/compiler/
H A Drs2spirv.cpp58 size_t Pos = FileName.find_last_of("."); local
59 if (Pos != std::string::npos)
60 return FileName.substr(0, Pos);
/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.cpp811 unsigned Pos = 0; local
828 if (FieldOffset > Pos) {
829 mOut.indent() << FieldPackerName << ".skip(" << (FieldOffset - Pos)
841 Pos = FieldOffset + FieldAllocSize;
845 if (ERT->getAllocSize() > Pos) {
846 mOut.indent() << FieldPackerName << ".skip(" << ERT->getAllocSize() - Pos
H A Dslang_rs_reflection_state.cpp721 size_t Pos = 0; // Relative position of field within record
731 slangAssert(FieldOffset >= Pos);
737 FieldState.mPrePadding = FieldOffset - Pos;
742 Pos = FieldOffset + FieldAllocSize;
745 slangAssert(ERT->getAllocSize() >= Pos);
753 record.mPostPadding = ERT->getAllocSize() - Pos;
H A Dslang_rs_reflection.cpp2237 unsigned Pos = 0; local
2257 emitSkip(Pos, FieldOffset, Field32PreAndPostPadding.first /* pre */);
2264 Pos = FieldOffset + FieldAllocSize;
2268 emitSkip(Pos, ERT->getAllocSize(), Record32.getRecordPostPadding());
2801 int Pos = 0; // relative pos from now on local
2822 genAddPadding(FieldOffset - Pos, Field32PreAndPostPadding.first /* pre */);
2840 Pos = FieldOffset + FieldAllocSize;
2845 genAddPadding(RecordAllocSize - Pos, Record32.getRecordPostPadding());

Completed in 354 milliseconds