Lines Matching refs:fScopeIndex
480 // - for objects: fScopeIndex = (index of first value in scope)
481 // - for arrays : fScopeIndex = -(index of first value in scope)
483 // fScopeIndex == 0 IFF we are at the top level (no current/active scope).
484 intptr_t fScopeIndex = 0;
490 bool inTopLevelScope() const { return fScopeIndex == 0; }
491 bool inObjectScope() const { return fScopeIndex > 0; }
492 bool inArrayScope() const { return fScopeIndex < 0; }
525 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder);
534 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex));
537 fScopeIndex = SkTo<intptr_t>(fValueStack.size());
542 this->popScopeAsVec<ObjectValue>(SkTo<size_t>(fScopeIndex));
555 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex));
558 fScopeIndex = -SkTo<intptr_t>(fValueStack.size());
563 this->popScopeAsVec<ArrayValue>(SkTo<size_t>(-fScopeIndex));
573 SkASSERT(fValueStack.size() >= SkTo<size_t>(fScopeIndex));
574 SkASSERT(!((fValueStack.size() - SkTo<size_t>(fScopeIndex)) & 1));