Home
last modified time | relevance | path

Searched defs:cp (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/lexer/regexp/
Dregexp.cpp50 static bool IsDecimalDigit(char32_t cp) in IsDecimalDigit()
55 static bool IsOctalDigit(char32_t cp) in IsOctalDigit()
60 static bool IsHexDigit(char32_t cp) in IsHexDigit()
66 static uint32_t DigitValue(char32_t cp) in DigitValue()
71 static uint32_t HexValue(char32_t cp) in HexValue()
127 char32_t cp = Peek(); in ParseAlternative() local
153 char32_t cp = Next(); in ParseAlternative() local
273 char32_t cp = Peek(); in ParseControlEscape() local
292 char32_t cp = Next(); in ParseClassAtom() local
378 static bool IsClassEscape(uint32_t cp) in IsClassEscape()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/regexp/
Dregexp.cpp51 static bool IsDecimalDigit(char32_t cp) in IsDecimalDigit()
56 static bool IsOctalDigit(char32_t cp) in IsOctalDigit()
61 static bool IsHexDigit(char32_t cp) in IsHexDigit()
67 static uint32_t DigitValue(char32_t cp) in DigitValue()
72 static uint32_t HexValue(char32_t cp) in HexValue()
120 char32_t cp = Peek(); in ParseAlternative() local
146 char32_t cp = Next(); in ParseAlternative() local
266 char32_t cp = Peek(); in ParseControlEscape() local
285 char32_t cp = Next(); in ParseClassAtom() local
371 static bool IsClassEscape(uint32_t cp) in IsClassEscape()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.cpp175 bool KeywordsUtil::IsIdentifierStart(char32_t cp) in IsIdentifierStart()
185 bool KeywordsUtil::IsIdentifierPart(char32_t cp) in IsIdentifierPart()
199 void KeywordsUtil::ScanIdentifierStart(char32_t cp) in ScanIdentifierStart()
226 auto cp = ScanUnicodeEscapeSequence(); in ScanIdContinue() local
237 auto cp = Iterator().PeekCp(&cpSize); in ScanIdContinue() local
Dlexer.h223 char32_t cp = Iterator().Peek(); in ScanString() local
314 const auto cp = Iterator().Peek(); in ScanHexEscape() local
338 auto cp = Iterator().Peek(); in ScanNumberRadix() local
430 inline bool Lexer::IsDecimalDigit(uint32_t cp) in IsDecimalDigit()
Dlexer.cpp56 char32_t cp {}; in ScanUnicodeCodePointEscape() local
386 auto cp = Iterator().Peek(); in ScanNumber() local
467 char32_t cp = Iterator().PeekCp(&cpSize); in ScanTemplateString() local
545 char32_t cp = Iterator().PeekCp(&cpSize); in ScanStringUnicodePart() local
1088 auto cp = Iterator().PeekCp(&cpSize); in ScanRegExpFlags() local
1281 auto cp = Iterator().Peek(); in SkipWhiteSpaces() local
1380 auto cp = Iterator().Peek(); in NextToken() local
DkeywordsUtil.h34 explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags, char32_t cp) in KeywordsUtil()
/arkcompiler/ets_frontend/ets2panda/lexer/
DkeywordsUtil.cpp174 bool KeywordsUtil::IsIdentifierStart(char32_t cp) in IsIdentifierStart()
184 bool KeywordsUtil::IsIdentifierPart(char32_t cp) in IsIdentifierPart()
195 void KeywordsUtil::ScanIdentifierStart(const Keywords *kws, char32_t cp) in ScanIdentifierStart()
222 auto cp = ScanUnicodeEscapeSequence(); in ScanIdContinue() local
233 auto cp = Iterator().PeekCp(&cpSize); in ScanIdContinue() local
Dlexer.cpp64 char32_t cp = Iterator().Peek(); in ScanUnicodeCodePointEscape() local
316 auto cp = Iterator().Peek(); in ScanNumber() local
428 char32_t cp = Iterator().PeekCp(&cpSize); in ScanTemplateString() local
507 if (auto cp = ScanUnicodeCharacter(); cp != util::StringView::Iterator::INVALID_CP) { in ScanStringUnicodePart() local
515 char32_t cp = Iterator().PeekCp(&cpSize); in ScanUnicodeCharacter() local
1054 auto cp = Iterator().PeekCp(&cpSize); in ScanRegExpFlags() local
1168 auto cp = Iterator().Peek(); in SkipWhiteSpaces() local
1272 auto cp = Iterator().Peek(); in NextToken() local
Dlexer.h333 char32_t cp = Iterator().Peek(); in ScanString() local
424 const auto cp = Iterator().Peek(); in ScanHexEscape() local
508 auto cp = Iterator().Peek(); in ScanNumberRadix() local
557 inline bool Lexer::IsDecimalDigit(uint32_t cp) in IsDecimalDigit()
DkeywordsUtil.h34 explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags, char32_t cp) in KeywordsUtil()
DETSLexer.cpp43 char32_t cp = Iterator().PeekCp(); in ScanCharLiteral() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Daot_snapshot.cpp36 JSHandle<ConstantPool> cp = factory_->NewConstantPool(cacheSize); in NewSnapshotConstantPool() local
52 JSMutableHandle<ConstantPool> cp(thread_, thread_->GlobalConstants()->GetUndefined()); in GenerateSnapshotConstantPools() local
Dsnapshot_constantpool_data.cpp106 …JSTaggedValue cp = thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPool… in StoreDataToGlobalData() local
124 JSHandle<ConstantPool> cp(thread_, in StoreDataToGlobalData() local
159 JSHandle<ConstantPool> cp(thread_, in StoreDataToGlobalData() local
193 JSHandle<ConstantPool> cp(thread_, in StoreDataToGlobalData() local
230 JSHandle<ConstantPool> cp(thread_, in StoreDataToGlobalData() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.h76 JSTaggedValue cp = GetConstantpoolValue(cpId); in GetArrayLiteralValue() local
Dntype_bytecode_lowering.cpp170 JSTaggedValue cp = tsManager_->GetConstantPool(methodOffset); in LowerNTypedCreateArrayWithBuffer() local
/arkcompiler/ets_frontend/ets2panda/util/
Dustring.cpp45 std::tuple<char32_t, char32_t> StringView::EncodeSurrogate(char32_t cp) in EncodeSurrogate()
Dustring.h112 static bool IsHighSurrogate(char32_t cp) in IsHighSurrogate()
117 static bool IsLowSurrogate(char32_t cp) in IsLowSurrogate()
389 auto cp = iter.Next(); in EscapeSymbol() local
/arkcompiler/ets_frontend/es2panda/util/
Dustring.cpp45 std::tuple<char32_t, char32_t> StringView::EncodeSurrogate(char32_t cp) in EncodeSurrogate()
Dustring.h117 static bool IsHighSurrogate(char32_t cp) in IsHighSurrogate()
122 static bool IsLowSurrogate(char32_t cp) in IsLowSurrogate()
395 auto cp = iter.Next(); in EscapeSymbol() local
/arkcompiler/runtime_core/static_core/verification/absint/tests/
Dexec_context_test.cpp62 std::array<const uint8_t *, 6> cp = {&instructions[8U], &instructions[17U], &instructions[23U], in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dlexer.cpp127 char cp = GetCharAt(curIdx - 1); in GenName() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder.h95 auto cp = GetGraph()->CreateInstLoadConstantPool(DataType::ANY, INVALID_PC, thisFunc); in InitEnv() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_global.cpp385 uint16_t cp = ((lead - 0xD800) << 10UL) + (trail - 0xDC00) + 0x10000; in UTF16SurrogatePairToCodePoint() local
406 uint16_t cp = first - CHAR16_LETTER_NULL; in StringToCodePoints() local
/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.cpp31 …uint32_t cp = (lead - DECODE_LEAD_LOW) * DECODE_FIRST_FACTOR + (trail - DECODE_TRAIL_LOW) + DECODE… in UTF16Decode() local
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dutf.cpp374 …uint32_t cp = (lead - DECODE_LEAD_LOW) * DECODE_FIRST_FACTOR + (trail - DECODE_TRAIL_LOW) + DECODE… in UTF16Decode() local

12