Lines Matching full:static
64 static bool IsGlobalIdentifier(const util::StringView &str);
65 static bool ContainSpreadElement(const ArenaVector<ir::Expression *> &args);
66 static util::StringView LiteralToPropName(ArenaAllocator *allocator, const ir::Expression *lit);
69 static bool IsInteger(double number);
70 static bool IsIndex(double number);
71 static int64_t GetIndex(const util::StringView &str);
73 static bool FileExtensionIs(std::string_view filePath, std::string_view extension);
74 static bool EndsWith(std::string_view str, std::string_view suffix);
75 static std::string DoubleToString(double number);
76 …static int32_t GetIntegerSignificandBitCount(double number, int32_t &numberBitCount, char *signifi…
77 …static void GetScientificNotationForDouble(double number, uint32_t significandBitCount, int32_t &n…
79 static std::string ToString(double number);
80 static util::StringView ToStringView(ArenaAllocator *allocator, double number);
81 static util::StringView ToStringView(ArenaAllocator *allocator, int32_t number);
82 static util::StringView ToStringView(ArenaAllocator *allocator, uint32_t number);
84 static const ir::ScriptFunction *GetContainingConstructor(const ir::AstNode *node);
85 static const ir::ScriptFunction *GetContainingConstructor(const ir::ClassProperty *node);
86 static const ir::ScriptFunction *GetContainingFunction(const ir::AstNode *node);
87 static const ir::ClassDefinition *GetClassDefiniton(const ir::ScriptFunction *node);
88 static bool IsSpecialPropertyKey(const ir::Expression *expr);
89 static bool IsConstantPropertyKey(const ir::Expression *expr, bool isComputed);
90 static bool IsConstantExpr(const ir::Expression *expr);
91 static bool IsBindingPattern(const ir::AstNode *node);
92 static bool IsPattern(const ir::AstNode *node);
93 static std::vector<const ir::Identifier *> CollectBindingNames(const ir::AstNode *node);
94 static util::StringView FunctionName(ArenaAllocator *allocator, const ir::ScriptFunction *func);
95 …static std::tuple<util::StringView, bool> ParamName(ArenaAllocator *allocator, const ir::AstNode *…
97 static bool IsChild(const ir::AstNode *parent, const ir::AstNode *child);
98 …static bool IsObjectPropertyValue(const ArenaVector<ir::Expression *> &properties, const ir::AstNo…
99 static SignedNumberLiteral GetSignedNumberLiteral(const ir::Expression *expr);
101 static void OptimizeProgram(panda::pandasm::Program *prog, const std::string &inputFile);
103 …static T BaseName(T const &path, T const &delims = std::string(panda::os::file::File::GetPathDelim…
104 static bool ReadFileToBuffer(const std::string &file, std::stringstream &ss);
105 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex);
106 static std::string GetHashString(std::string str);
107 static std::wstring Utf8ToUtf16(const std::string &utf8);
109 static T FileStream(const std::string &str, Args &&...args);
110 static bool ShouldCheckConcurrent(const binder::Scope *scope, const util::StringView name);
111 …static void SendableCheckForClassStaticInitializer(const util::StringView name, const binder::Scop…
114 static const uint32_t MAX_DOUBLE_DIGIT = 310;
115 static const uint32_t MAX_DOUBLE_PRECISION_DIGIT = 17;
116 static const int32_t MAX_DECIMAL_EXPONENT = 21;
117 static const int32_t MIN_DECIMAL_EXPONENT = -6;
118 static const int32_t FAIL_SNPRINTF_S = -1;
119 static const uint32_t INVALID_INDEX = 4294967295L;
120 static const uint32_t MAX_INT32 = 2147483647;
121 static const uint32_t MAX_INT16 = std::numeric_limits<int16_t>::max();
122 static const uint32_t MAX_INT8 = std::numeric_limits<int8_t>::max();
123 static constexpr std::string_view SHOW_SOURCE = "show source";
124 static constexpr std::string_view USE_CONCURRENT = "use concurrent";
125 static constexpr std::string_view USE_SENDABLE = "use sendable";
126 static const uint64_t FNV_PRIME = 1099511628211U;
127 static const uint64_t FNV_OFFSET = 14695981039346656037U;
129 static bool SetFuncFlagsForDirectives(const ir::StringLiteral *strLit, ir::ScriptFunction *func,