Home
last modified time | relevance | path

Searched refs:fScopeIndex (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkJSON.cpp476 intptr_t fScopeIndex = 0; member in skjson::__anon71d692ad0211::DOMParser
482 bool inTopLevelScope() const { return fScopeIndex == 0; } in inTopLevelScope()
483 bool inObjectScope() const { return fScopeIndex > 0; } in inObjectScope()
484 bool inArrayScope() const { return fScopeIndex < 0; } in inArrayScope()
517 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
526 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
529 fScopeIndex = SkTo<intptr_t>(fValueStack.size()); in pushObjectScope()
534 this->popScopeAsVec<ObjectValue>(SkTo<size_t>(fScopeIndex)); in popObjectScope()
547 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
550 fScopeIndex = -SkTo<intptr_t>(fValueStack.size()); in pushArrayScope()
[all …]
/third_party/skia/src/utils/
DSkJSON.cpp484 intptr_t fScopeIndex = 0; member in skjson::__anon409b48780211::DOMParser
490 bool inTopLevelScope() const { return fScopeIndex == 0; } in inTopLevelScope()
491 bool inObjectScope() const { return fScopeIndex > 0; } in inObjectScope()
492 bool inArrayScope() const { return fScopeIndex < 0; } in inArrayScope()
525 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
534 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
537 fScopeIndex = SkTo<intptr_t>(fValueStack.size()); in pushObjectScope()
542 this->popScopeAsVec<ObjectValue>(SkTo<size_t>(fScopeIndex)); in popObjectScope()
555 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
558 fScopeIndex = -SkTo<intptr_t>(fValueStack.size()); in pushArrayScope()
[all …]