Home
last modified time | relevance | path

Searched refs:RangeSet (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.h307 class RangeSet {
309 RangeSet() = default;
310 explicit RangeSet(uint32_t value) in RangeSet() function
314 RangeSet(uint32_t start, uint32_t end) in RangeSet() function
318 explicit RangeSet(const std::list<std::pair<uint32_t, uint32_t>> &rangeSet) in RangeSet() function
322 ~RangeSet() = default;
333 inline bool operator==(const RangeSet &other) const
354 RangeSet(RangeSet const &) = default;
355 RangeSet &operator=(RangeSet const &) = default;
356 RangeSet(RangeSet &&) = default;
[all …]
Dregexp_parser.h101 bool ParseClassRanges(RangeSet *result);
103 uint32_t ParseClassAtom(RangeSet *atom);
104 int ParseClassEscape(RangeSet *atom);
195 inline static void ProcessIntersection(RangeSet *result) in ProcessIntersection()
197 RangeSet cr; in ProcessIntersection()
198 RangeSet cr1; in ProcessIntersection()
Dregexp_parser.cpp34 static RangeSet g_rangeD(0x30, 0x39); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
36 static RangeSet g_rangeS({
53 static RangeSet g_rangeW({
61 static RangeSet g_regexpIdentifyStart({
68 static RangeSet g_regexpIdentifyContinue({
301 RangeSet rangeResult; in ParseAlternative()
304 RangeSet curRange(uc); in ParseAlternative()
369 RangeSet rangeResult; in ParseAlternative()
951 RangeSet atomRange(g_rangeD); in ParseAtomEscape()
970 RangeSet atomRange(g_rangeS); in ParseAtomEscape()
[all …]
Dregexp_opcode.cpp466 uint32_t RangeOpCode::InsertOpCode(DynChunk *buf, const RangeSet &rangeSet) const in InsertOpCode()
493 uint32_t Range32OpCode::InsertOpCode(DynChunk *buf, const RangeSet &rangeSet) const in InsertOpCode()
571 void RangeSet::Insert(uint32_t start, uint32_t end) in Insert()
598 void RangeSet::Inter(RangeSet &cr, const RangeSet &s1) in Inter()
633 void RangeSet::Insert(const RangeSet &s1) in Insert()
648 void RangeSet::Invert(bool isUtf16) in Invert()
686 void RangeSet::Compress() in Compress()
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
Dregexp_test.cpp1918 RangeSet rangeResult(listInput); in HWTEST_F_L0()
1919 RangeSet rangeExpected(listExpected); in HWTEST_F_L0()
1930 RangeSet rangeResult; in HWTEST_F_L0()
1931 RangeSet rangeExpected(listExpected); in HWTEST_F_L0()
1945 RangeSet rangeResult(listInput); in HWTEST_F_L0()
1946 RangeSet rangeExpected(listExpected); in HWTEST_F_L0()
1960 RangeSet rangeResult(listInput); in HWTEST_F_L0()
1961 RangeSet rangeExpected(listExpected); in HWTEST_F_L0()
1978 RangeSet rangeResult(listInput); in HWTEST_F_L0()
1979 RangeSet rangeExpected(listExpected); in HWTEST_F_L0()
[all …]