Lines Matching defs:strCache
255 auto strCache = thread_->GetCurrentEcmaContext()->GetJsonStringifyCache(index);
258 hasContent = SerializeElementsWithCache(obj, hasContent, strCache, cacheIndex, numOfElements);
262 hasContent = SerializeKeysWithCache(obj, hasContent, strCache, cacheIndex);
266 CVector<std::pair<CString, int>> strCache;
268 hasContent = TryCacheSerializeElements(obj, hasContent, strCache);
272 hasContent = TryCacheSerializeKeys(obj, hasContent, strCache);
276 SetCache(value->GetTaggedObject()->GetClass(), numOfElements + numOfKeys, strCache);
401 CVector<std::pair<CString, int>> &strCache)
409 hasContent = AppendJsonString(hasContent, strCache, i);
440 hasContent = AppendJsonString(hasContent, strCache, index);
448 CVector<std::pair<CString, int>> &strCache, uint32_t &cacheIndex, uint32_t elementSize)
454 CString key = strCache[cacheIndex++].first;
464 CString key = strCache[cacheIndex].first;
465 int index = strCache[cacheIndex].second;
481 CVector<std::pair<CString, int>> &strCache)
485 return TryCacheSerializeKeysFromPropertiesArray(obj, hasContent, strCache);
489 return TryCacheSerializeKeysFromGlobalObject(obj, hasContent, strCache);
492 return TryCacheSerializeKeysFromNameDictionary(obj, hasContent, strCache);
496 CVector<std::pair<CString, int>> &strCache)
502 return TryCacheSerializeKeysFromEnumCache(obj, hasContent, strCache);
531 hasContent = AppendJsonString(hasContent, strCache, index);
539 CVector<std::pair<CString, int>> &strCache)
568 hasContent = AppendJsonString(hasContent, strCache, index);
575 CVector<std::pair<CString, int>> &strCache)
605 hasContent = AppendJsonString(hasContent, strCache, index);
612 CVector<std::pair<CString, int>> &strCache)
642 hasContent = AppendJsonString(hasContent, strCache, index);
649 CVector<std::pair<CString, int>> &strCache, uint32_t &cacheIndex)
654 for (; cacheIndex < strCache.size(); cacheIndex++) {
655 auto cacheValue = strCache[cacheIndex];
676 for (; cacheIndex < strCache.size(); cacheIndex++) {
677 auto cacheValue = strCache[cacheIndex];
693 for (; cacheIndex < strCache.size(); cacheIndex++) {
694 auto cacheValue = strCache[cacheIndex];
710 bool FastJsonStringifier::AppendJsonString(bool hasContent, CVector<std::pair<CString, int>> &strCache, int index)
722 strCache.emplace_back(std::pair<CString, int>(keyStr, index));