• Home
  • Raw
  • Download

Lines Matching refs:fValueStack

298         fValueStack.reserve(kValueStackReserve);  in DOMParser()
423 SkASSERT(fValueStack.size() == 1); in parse()
427 ? fValueStack.front() in parse()
472 std::vector<Value> fValueStack; member in skjson::__anon409b48780211::DOMParser
509 SkASSERT(scope_start <= fValueStack.size()); in popScopeAsVec()
516 const auto scope_count = fValueStack.size() - scope_start, in popScopeAsVec()
520 const auto* begin = reinterpret_cast<const T*>(fValueStack.data() + scope_start); in popScopeAsVec()
524 auto& placeholder = fValueStack[scope_start - 1]; in popScopeAsVec()
529 fValueStack.resize(scope_start); in popScopeAsVec()
534 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
537 fScopeIndex = SkTo<intptr_t>(fValueStack.size()); in pushObjectScope()
545 const auto& obj = fValueStack.back().as<ObjectValue>(); in popObjectScope()
555 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
558 fScopeIndex = -SkTo<intptr_t>(fValueStack.size()); in pushArrayScope()
566 const auto& arr = fValueStack.back().as<ArrayValue>(); in popArrayScope()
573 SkASSERT(fValueStack.size() >= SkTo<size_t>(fScopeIndex)); in pushObjectKey()
574 SkASSERT(!((fValueStack.size() - SkTo<size_t>(fScopeIndex)) & 1)); in pushObjectKey()
579 fValueStack.push_back(BoolValue(true)); in pushTrue()
583 fValueStack.push_back(BoolValue(false)); in pushFalse()
587 fValueStack.push_back(NullValue()); in pushNull()
591 fValueStack.push_back(FastString(s, size, eos, fAlloc)); in pushString()
595 fValueStack.push_back(NumberValue(i)); in pushInt32()
599 fValueStack.push_back(NumberValue(f)); in pushFloat()