Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkJSON.cpp476 intptr_t fScopeIndex = 0; member in skjson::__anon20ff239f0211::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 …]
/external/skia/src/utils/
DSkJSON.cpp476 intptr_t fScopeIndex = 0; member in skjson::__anon2739ce280211::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 …]