Lines Matching refs:string
45 …l generateSymbolFile, bool generatePatch, PatchFixKind patchFixKind, const std::string &recordName, in PatchFix()
70 uint32_t GetSlotIdFromSymbolTable(const std::string &variableName);
72 void AllocSlotfromPatchEnv(const std::string &variableName);
73 uint32_t GetPatchLexicalIdx(const std::string &variableName);
76 …void ProcessModule(const std::string &recordName, std::vector<panda::pandasm::LiteralArray::Litera…
77 … void ProcessJsonContentRecord(const std::string &recordName, const std::string &jsonFileContent);
78 … void CheckAndRestoreSpecialFunctionName(uint32_t globalIndexForSpecialFunc, std::string &funcName,
79 std::string recordName);
89 void CollectFunctionsWithDefinedClasses(std::string funcName, std::string className);
90 …std::vector<std::pair<std::string, std::string>> GenerateFunctionAndClassHash(panda::pandasm::Func…
92 void DumpModuleInfo(const std::string &recordName,
94 void ValidateModuleInfo(const std::string &recordName,
96 void DumpJsonContentRecInfo(const std::string &recordName, const std::string &jsonFileContent);
97 …void ValidateJsonContentRecInfo(const std::string &recordName, const std::string &jsonFileContent);
99 std::string ExpandLiteral(int64_t bufferIdx, LiteralBuffers &literalBuffers);
100 …std::string ConvertLiteralToString(std::vector<panda::pandasm::LiteralArray::Literal> &literalBuff…
106 bool IsAnonymousOrSpecialOrDuplicateFunction(const std::string &funcName);
107 bool CompareLexenv(const std::string &funcName, const compiler::PandaGen *pg,
109 bool CompareClassHash(std::vector<std::pair<std::string, std::string>> &hashList,
111 …void CollectClassMemberFunctions(const std::string &className, int64_t bufferIdx, LiteralBuffers &…
112 std::vector<std::string> GetLiteralMethods(int64_t bufferIdx, LiteralBuffers &literalBuffers);
115 int64_t GetLiteralIdxFromStringId(const std::string &stringId);
123 std::string recordName_;
124 std::string funcMain0_;
125 std::string patchMain0_; // stores newly added function define ins, runtime will execute
126 …std::string patchMain1_; // stores modified function and class define ins, runtime will scan but …
130 …ArenaUnorderedMap<std::string, util::SymbolTable::OriginFunctionInfo> *originFunctionInfo_ {nullpt…
131 ArenaUnorderedMap<std::string, std::string> *originModuleInfo_ {nullptr};
132 …ArenaUnorderedMap<std::string, std::unordered_map<std::string, std::string>> *originRecordHashFunc…
134 ArenaUnorderedMap<std::string, uint32_t> topScopeLexEnvs_;
135 ArenaSet<std::string> patchFuncNames_;
136 ArenaSet<std::string> newFuncNames_;
138 ArenaSet<std::string> modifiedClassNames_;
139 ArenaUnorderedMap<std::string, std::vector<std::string>> classMemberFunctions_;
140 ArenaUnorderedMap<std::string, std::vector<std::string>> funcDefinedClasses_;
142 std::string targetApiSubVersion_;