Lines Matching refs:mIndex

191         inline CoreIndex(uint32_t index) : mIndex(index) { }  in CoreIndex()
197 inline bool isVendor() const { return mIndex & IS_VENDOR_FLAG; } in isVendor()
200 inline bool isFlexible() const { return mIndex & IS_FLEX_FLAG; } in isFlexible()
204 inline uint32_t coreIndex() const { return mIndex & CORE_MASK; } in coreIndex()
207 inline type_index_t typeIndex() const { return mIndex & TYPE_INDEX_MASK; } in typeIndex()
209 DEFINE_FIELD_AND_MASK_BASED_COMPARISON_OPERATORS(CoreIndex, mIndex, CORE_MASK)
212 uint32_t mIndex;
223 inline bool isGlobal() const { return (mIndex & DIR_MASK) == DIR_GLOBAL; } in isGlobal()
225 inline bool forInput() const { return (mIndex & DIR_MASK) == DIR_INPUT; } in forInput()
227 inline bool forOutput() const { return (mIndex & DIR_MASK) == DIR_OUTPUT; } in forOutput()
230 inline bool forStream() const { return mIndex & IS_STREAM_FLAG; } in forStream()
235 inline uint32_t type() const { return mIndex & (~STREAM_ID_MASK); } in type()
239 switch (mIndex & KIND_MASK) { in kind()
254 DEFINE_FIELD_AND_MASK_BASED_COMPARISON_OPERATORS(Type, mIndex, ~STREAM_ID_MASK)
275 mIndex = (mIndex & ~DIR_MASK) | (output ? DIR_OUTPUT : DIR_INPUT); in setPort()
286 inline operator uint32_t() const { return mIndex; } in uint32_t()
304 Index ix = mIndex; in withStream()
311 Index ix = mIndex; in withPort()
316 DEFINE_FIELD_BASED_COMPARISON_OPERATORS(Index, mIndex)
330 && (mIndex & DIR_MASK) != DIR_UNDEFINED; in isValid()
335 return (mIndex & STREAM_ID_MASK) >> STREAM_ID_SHIFT; in rawStream()
349 mIndex = (mIndex & ~DIR_MASK) | IS_STREAM_FLAG; in convertToStream()
355 mIndex = (mIndex & ~(DIR_MASK | IS_STREAM_FLAG)); in convertToPort()
360 mIndex = (mIndex & ~(DIR_MASK | IS_STREAM_FLAG)) | DIR_GLOBAL; in convertToGlobal()
369 mIndex = (mIndex & ~STREAM_ID_MASK) | MakeStreamId(stream); in setStream()
523 return o->_mIndex.type() == type.mIndex ? o : nullptr;
527 return ((o->_mIndex.type() ^ type.mIndex) & ~Type::DIR_MASK) ? nullptr : o;