• Home
  • Raw
  • Download

Lines Matching full:static

43     static JSTaggedValue RegExpConstructor(EcmaRuntimeCallInfo *argv);
47 static JSTaggedValue Exec(EcmaRuntimeCallInfo *argv);
49 static JSTaggedValue Test(EcmaRuntimeCallInfo *argv);
51 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
53 static JSTaggedValue GetFlags(EcmaRuntimeCallInfo *argv);
55 static JSTaggedValue GetGlobal(EcmaRuntimeCallInfo *argv);
57 static JSTaggedValue GetIgnoreCase(EcmaRuntimeCallInfo *argv);
59 static JSTaggedValue GetMultiline(EcmaRuntimeCallInfo *argv);
60 static JSTaggedValue GetDotAll(EcmaRuntimeCallInfo *argv);
62 static JSTaggedValue GetSource(EcmaRuntimeCallInfo *argv);
64 static JSTaggedValue GetSticky(EcmaRuntimeCallInfo *argv);
66 static JSTaggedValue GetUnicode(EcmaRuntimeCallInfo *argv);
68 static JSTaggedValue GetSpecies(EcmaRuntimeCallInfo *argv);
70 static JSTaggedValue Match(EcmaRuntimeCallInfo *argv);
72 static JSTaggedValue MatchAll(EcmaRuntimeCallInfo *argv);
74 static JSTaggedValue Replace(EcmaRuntimeCallInfo *argv);
76 static JSTaggedValue Search(EcmaRuntimeCallInfo *argv);
78 static JSTaggedValue Split(EcmaRuntimeCallInfo *argv);
80 static JSTaggedValue RegExpCreate(JSThread *thread, const JSHandle<JSTaggedValue> &pattern,
82 static JSTaggedValue FlagsBitsToString(JSThread *thread, uint8_t flags);
84 static JSTaggedValue RegExpExec(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
87 static uint32_t AdvanceStringIndex(const JSHandle<JSTaggedValue> &inputStr, uint32_t index,
91 static constexpr uint32_t MIN_REPLACE_STRING_LENGTH = 1000;
92 static constexpr uint32_t MAX_SPLIT_LIMIT = 0xFFFFFFFFu;
93 static constexpr uint32_t REGEXP_GLOBAL_ARRAY_SIZE = 9;
95static RegExpExecutor::MatchResult Matcher(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
98 static bool GetFlagsInternal(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
101 static JSTaggedValue RegExpBuiltinExec(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
105 static JSTaggedValue RegExpAlloc(JSThread *thread, const JSHandle<JSTaggedValue> &newTarget);
107 static uint32_t UpdateExpressionFlags(JSThread *thread, const CString &checkStr);
109 static JSHandle<JSTaggedValue> GetDollarString(JSThread *thread, RegExpGlobalArrayIndex index);
112 static JSTaggedValue RegExpInitialize(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
115 static EcmaString *EscapeRegExpPattern(JSThread *thread, const JSHandle<JSTaggedValue> &src,
117 static JSTaggedValue RegExpReplaceFast(JSThread *thread, JSHandle<JSTaggedValue> &regexp,
129 static RegExpExecResultCache *Cast(TaggedObject *object) in Cast()
133 static JSTaggedValue CreateCacheTable(JSThread *thread);
140 static void AddResultInCache(JSThread *thread, JSHandle<RegExpExecResultCache> cache,
145 static void GrowRegexpCache(JSThread *thread, JSHandle<RegExpExecResultCache> cache);
220 static constexpr int DEFAULT_LARGE_STRING_COUNT = 10;
221 static constexpr int DEFAULT_CONFLICT_COUNT = 100;
222 static constexpr int INITIAL_CACHE_NUMBER = 0x10;
223 static constexpr int DEFAULT_CACHE_NUMBER = 0x1000;
224 static constexpr int CACHE_COUNT_INDEX = 0;
225 static constexpr int CACHE_HIT_COUNT_INDEX = 1;
226 static constexpr int LARGE_STRING_COUNT_INDEX = 2;
227 static constexpr int CONFLICT_COUNT_INDEX = 3;
228 static constexpr int STRING_LENGTH_THRESHOLD_INDEX = 4;
229 static constexpr int CACHE_LENGTH_INDEX = 5;
230 static constexpr int CACHE_TABLE_HEADER_SIZE = 6;
231 static constexpr int PATTERN_INDEX = 0;
232 static constexpr int FLAG_INDEX = 1;
233 static constexpr int INPUT_STRING_INDEX = 2;
234 static constexpr int LAST_INDEX_INDEX = 3;
235 static constexpr int RESULT_REPLACE_INDEX = 4;
236 static constexpr int RESULT_SPLIT_INDEX = 5;
237 static constexpr int RESULT_MATCH_INDEX = 6;
238 static constexpr int RESULT_EXEC_INDEX = 7;
240 static constexpr int EXTEND_INDEX = 8;
241 static constexpr int ENTRY_SIZE = 9;