Lines Matching defs:util
43 #include <util/concurrent.h>
65 namespace panda::es2panda::util {
69 bool Helpers::IsGlobalIdentifier(const util::StringView &str)
79 util::StringView Helpers::LiteralToPropName(ArenaAllocator *allocator, const ir::Expression *lit)
124 int64_t Helpers::GetIndex(const util::StringView &str)
311 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, double number)
313 util::UString str(ToString(number), allocator);
317 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, uint32_t number)
323 util::StringView Helpers::ToStringView(ArenaAllocator *allocator, int32_t number)
325 util::UString str(ToString(number), allocator);
482 util::StringView Helpers::FunctionName(ArenaAllocator *allocator, const ir::ScriptFunction *func)
505 util::StringView Helpers::GetName(ArenaAllocator *allocator, const ir::AstNode *node)
569 return util::StringView();
572 std::tuple<util::StringView, bool> Helpers::ParamName(ArenaAllocator *allocator, const ir::AstNode *param,
660 // So I add this util api and return different value for future use.
856 util::Concurrent::SetConcurrent(func, strLit, lineIndex);
951 bool Helpers::IsSpecialScopeName(const util::StringView &name)
971 void Helpers::RemoveProgramsRedundantData(std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo,
999 } // namespace panda::es2panda::util