Lines Matching defs:hasContent
46 CString SerializeObjectKey(const JSHandle<JSTaggedValue> &key, bool hasContent);
59 bool AppendJsonString(bool hasContent, CVector<std::pair<CString, int>> &strCache, int index);
60 bool FastAppendJsonString(bool hasContent, CString &key);
61 bool TryCacheSerializeElements(const JSHandle<JSObject> &obj, bool hasContent,
63 bool SerializeElementsWithCache(const JSHandle<JSObject> &obj, bool hasContent,
66 bool TryCacheSerializeKeys(const JSHandle<JSObject> &obj, bool hasContent,
68 bool TryCacheSerializeKeysFromPropertiesArray(const JSHandle<JSObject> &obj, bool hasContent,
70 bool TryCacheSerializeKeysFromEnumCache(const JSHandle<JSObject> &obj, bool hasContent,
72 bool TryCacheSerializeKeysFromGlobalObject(const JSHandle<JSObject> &obj, bool hasContent,
74 bool TryCacheSerializeKeysFromNameDictionary(const JSHandle<JSObject> &obj, bool hasContent,
76 bool SerializeKeysWithCache(const JSHandle<JSObject> &obj, bool hasContent,
78 bool AppendJsonString(bool hasContent);
79 bool DefaultSerializeKeys(const JSHandle<JSObject> &obj, bool hasContent);
81 const JSHandle<TaggedArray> &propertiesArr, bool hasContent);
83 const JSHandle<TaggedArray> &propertiesArr, bool hasContent);
86 bool hasContent);
89 bool hasContent);
91 const JSHandle<TaggedArray> &propertiesArr, bool hasContent);
92 bool DefaultSerializeElements(const JSHandle<JSObject> &obj, bool hasContent);
95 inline void EraseKeyString(CString &keyStr, bool hasContent)
97 size_t keyLength = keyStr.length() + (hasContent ? 1 : 0) + 1;
101 inline void FastSerializeObjectKey(CString &key, bool hasContent)
103 if (hasContent) {