Home
last modified time | relevance | path

Searched defs:cp (Results 1 – 25 of 36) 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
185 char32_t cp = Next(); in ParseAlternativeCharLeftParen() local
277 char32_t cp = Peek(); in ParseControlEscape() local
296 char32_t cp = Next(); in ParseClassAtom() local
382 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()
77 static uint32_t HexValue(char32_t cp) in HexValue()
121 char32_t cp = Peek(); in ParseAlternative() local
147 char32_t cp = Next(); in ParseAlternative() local
267 char32_t cp = Peek(); in ParseControlEscape() local
286 char32_t cp = Next(); in ParseClassAtom() local
372 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.h224 char32_t cp = Iterator().Peek(); in ScanString() local
315 const auto cp = Iterator().Peek(); in ScanHexEscape() local
339 auto cp = Iterator().Peek(); in ScanNumberRadix() local
431 inline bool Lexer::IsDecimalDigit(uint32_t cp) in IsDecimalDigit()
Dlexer.cpp57 char32_t cp {}; in ScanUnicodeCodePointEscape() local
387 auto cp = Iterator().Peek(); in ScanNumber() local
468 char32_t cp = Iterator().PeekCp(&cpSize); in ScanTemplateString() local
546 char32_t cp = Iterator().PeekCp(&cpSize); in ScanStringUnicodePart() local
1086 bool Lexer::GetRegExpFlag(char32_t cp, RegExpFlags &flag) in GetRegExpFlag()
1130 auto cp = Iterator().PeekCp(&cpSize); in ScanRegExpFlags() local
1294 auto cp = Iterator().Peek(); in SkipWhiteSpaces() local
1393 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
315 auto cp = Iterator().Peek(); in ScanNumber() local
441 char32_t cp = Iterator().PeekCp(&cpSize); in ScanTemplateString() local
520 if (auto cp = ScanUnicodeCharacter(); cp != util::StringView::Iterator::INVALID_CP) { in ScanStringUnicodePart() local
528 char32_t cp = Iterator().PeekCp(&cpSize); in ScanUnicodeCharacter() local
1066 auto cp = Iterator().PeekCp(&cpSize); in ScanRegExpFlags() local
1180 auto cp = Iterator().Peek(); in SkipWhiteSpaces() local
1284 auto cp = Iterator().Peek(); in NextToken() local
Dlexer.h358 char32_t cp = Iterator().Peek(); in ScanString() local
449 const auto cp = Iterator().Peek(); in ScanHexEscape() local
533 auto cp = Iterator().Peek(); in ScanNumberRadix() local
582 inline bool Lexer::IsDecimalDigit(uint32_t cp) in IsDecimalDigit()
DETSLexer.cpp43 char32_t cp = Iterator().PeekCp(); in ScanCharLiteral() local
DkeywordsUtil.h34 explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags, char32_t cp) in KeywordsUtil()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSNolintParser.cpp49 char32_t cp = PeekSymbol(); in CollectETSNolints() local
153 char32_t cp; in TryPeekU32String() local
174 char32_t cp; in IsEtsNolint() local
241 char32_t cp = 0; in ParseETSNolintArgs() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Daot_snapshot.cpp31 JSHandle<ConstantPool> cp = factory_->NewConstantPool(cacheSize); in NewSnapshotConstantPool() local
49 JSMutableHandle<ConstantPool> cp(thread_, thread_->GlobalConstants()->GetUndefined()); in GenerateSnapshotConstantPools() local
Dsnapshot_constantpool_data.cpp244 JSHandle<ConstantPool> cp(thread_, in StoreDataToGlobalData() local
291 JSHandle<ConstantPool> cp = GetUnsharedConstpool(data); in StoreDataToGlobalData() local
339 JSHandle<ConstantPool> cp = GetUnsharedConstpool(data); in StoreDataToGlobalData() local
373 JSHandle<ConstantPool> cp = GetUnsharedConstpool(data); in StoreDataToGlobalData() local
395 JSHandle<ConstantPool> cp(thread_, context->FindOrCreateUnsharedConstpool(shareCp)); in GetUnsharedConstpool() local
/arkcompiler/runtime_core/static_core/verification/absint/tests/
Dexec_context_test.cpp35 void ProcessAbsIntExecContext(ExecContext &execCtx, std::array<const uint8_t *, 6> &cp, RegContext … in ProcessAbsIntExecContext()
112 std::array<const uint8_t *, 6> cp = {&instructions[8U], &instructions[17U], &instructions[23U], in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.h75 JSTaggedValue cp = GetConstantpoolValue(cpId); in GetArrayLiteralValue() local
Dntype_bytecode_lowering.h87 JSTaggedValue cp = GetConstantpoolValue(cpId); in GetArrayLiteralValue() local
Daot_compilation_env.cpp63 JSTaggedValue cp = ptManager_->GetConstantPoolByMethodOffset(methodOffset); in FindOrCreateUnsharedConstpool() 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()
397 auto cp = iter.Next(); in EscapeSymbol() local
/arkcompiler/ets_frontend/ets2panda/util/
Dustring.h112 static bool IsHighSurrogate(char32_t cp) in IsHighSurrogate()
117 static bool IsLowSurrogate(char32_t cp) in IsLowSurrogate()
400 auto cp = iter.Next(); in EscapeSymbol() local
Dustring.cpp45 std::tuple<char32_t, char32_t> StringView::EncodeSurrogate(char32_t cp) in EncodeSurrogate()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dlexer.cpp121 char cp = GetCharAt(curIdx - 1); in GenName() local
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_manager.cpp51 JSTaggedValue cp = GetConstantPoolByMethodOffset(methodOffset); in GetStringFromConstantPool() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_global.cpp391 uint16_t cp = ((lead - 0xD800) << 10UL) + (trail - 0xDC00) + 0x10000; in UTF16SurrogatePairToCodePoint() local
412 uint16_t cp = first - CHAR16_LETTER_NULL; in StringToCodePoints() local

12