Home
last modified time | relevance | path

Searched defs:flags (Results 1 – 25 of 55) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser_cache.cpp39 size_t RegExpParserCache::GetHash(EcmaString *pattern, const uint32_t flags) in GetHash()
45 …:pair<JSTaggedValue, size_t> RegExpParserCache::GetCache(EcmaString *pattern, const uint32_t flags, in GetCache()
57 void RegExpParserCache::SetCache(EcmaString *pattern, const uint32_t flags, in SetCache()
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.h33 …explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags) : lexer_(lexer), flags_(flag… in KeywordsUtil() argument
34 explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags, char32_t cp) in KeywordsUtil() argument
Dlexer.cpp1133 const auto flags = SourceView(flagsStart, Iterator().Index()); in ScanRegExp() local
1320 void Lexer::NextToken(LexerNextTokenFlags flags) in NextToken()
Dlexer.h368 …id Lexer::CheckKeyword([[maybe_unused]] TokenType type, [[maybe_unused]] LexerNextTokenFlags flags) in CheckKeyword()
/arkcompiler/ets_frontend/es2panda/binder/
Dvariable.h171 explicit GlobalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in GlobalVariable()
183 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable()
271 explicit NamespaceVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in NamespaceVariable()
301 explicit EnumLiteralVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in EnumLiteralVariable()
335 explicit ImportEqualsVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ImportEqualsVariable()
Dscope.h834 VariableFlags flags = VariableFlags::HOIST_VAR; in AddVar() local
863 …VariableFlags flags = (extension == ScriptExtension::JS) ? VariableFlags::HOIST_VAR : VariableFlag… in AddFunction() local
901 VariableFlags flags = DeclFlagToVariableFlag(newDecl->Flags()); in AddClass() local
919 VariableFlags flags) in AddTSBinding()
928 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddTSBinding()
957 VariableFlags flags = DeclFlagToVariableFlag(newDecl->Flags()); in AddLexical() local
977 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags) in AddDecl()
993 …riableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flags, in CreateVar()
Dscope.cpp195 VariableFlags flags = VariableFlags::NONE; in AddLocal() local
241 …:AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags) in AddParam()
384 VariableFlags flags = res->second->Flags(); in ConvertLocalVariableToModuleVariable() local
Dvariable.cpp24 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable()
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py171 def __init__(self, test_path, flags): argument
221 def __init__(self, test_path, flags, test_id, with_optimizer): argument
374 def __init__(self, test_path, flags): argument
462 def add_directory(self, directory, extension, flags): argument
550 def add_directory(self, directory, extension, flags, func=Test): argument
633 def add_directory(self, directory, extension, test_list_path, flags): argument
766 def add_directory(self, directory, flags): argument
808 def add_directory(self, directory, extension, flags): argument
828 def __init__(self, test_path, flags): argument
873 def __init__(self, projects_path, project, test_paths, flags): argument
[all …]
/arkcompiler/ets_frontend/es2panda/parser/
DexpressionParser.cpp118 …ion *ParserImpl::ParsePotentialExpressionSequence(ir::Expression *expr, ExpressionParseFlags flags) in ParsePotentialExpressionSequence()
128 …*ParserImpl::ParseTsAsExpression(ir::Expression *expr, [[maybe_unused]] ExpressionParseFlags flags) in ParseTsAsExpression()
156 ir::Expression *ParserImpl::ParseExpression(ExpressionParseFlags flags) in ParseExpression()
196 ir::Expression *ParserImpl::ParseArrayExpression(ExpressionParseFlags flags) in ParseArrayExpression()
519 ir::TSTypeAssertion *ParserImpl::ParseTsTypeAssertion(ExpressionParseFlags flags) in ParseTsTypeAssertion()
713 …n *ParserImpl::ParseAssignmentExpression(ir::Expression *lhsExpression, ExpressionParseFlags flags) in ParseAssignmentExpression()
955 ir::Expression *ParserImpl::ParseLeftHandSideExpression(ExpressionParseFlags flags) in ParseLeftHandSideExpression()
987 ir::Expression *ParserImpl::ParsePrimaryExpression(ExpressionParseFlags flags) in ParsePrimaryExpression()
1678 …xpression *ParserImpl::ParseMemberExpression(bool ignoreCallExpression, ExpressionParseFlags flags) in ParseMemberExpression()
1720 void ParserImpl::ParsePotentialTsFunctionParameter(ExpressionParseFlags flags, ir::Expression *retu… in ParsePotentialTsFunctionParameter()
[all …]
DstatementParser.cpp195 ir::Statement *ParserImpl::ParseStatement(StatementParsingFlags flags) in ParseStatement()
551 ir::Statement *ParserImpl::ParseLetStatement(StatementParsingFlags flags, bool isDeclare) in ParseLetStatement()
562 ir::Statement *ParserImpl::ParseConstStatement(StatementParsingFlags flags, bool isDeclare) in ParseConstStatement()
603 ir::Statement *ParserImpl::ParseFunctionStatement(StatementParsingFlags flags, bool isDeclare) in ParseFunctionStatement()
623 ir::Statement *ParserImpl::ParsePotentialExpressionStatement(StatementParsingFlags flags, bool isDe… in ParsePotentialExpressionStatement()
650 ir::ClassDeclaration *ParserImpl::ParseClassStatement(StatementParsingFlags flags, bool isDeclare, in ParseClassStatement()
848 void ParserImpl::CheckFunctionDeclaration(StatementParsingFlags flags) in CheckFunctionDeclaration()
881 ArenaVector<ir::Statement *> ParserImpl::ParseStatementList(StatementParsingFlags flags) in ParseStatementList()
1242 ir::Statement *ParserImpl::ParseExpressionStatement(StatementParsingFlags flags) in ParseExpressionStatement()
1950 …r *ParserImpl::ParseVariableDeclaratorInitializer(ir::Expression *init, VariableParsingFlags flags, in ParseVariableDeclaratorInitializer()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_regexp_iterator_test.cpp55 const JSHandle<EcmaString> &flags) in CreateJSRegexpByPatternAndFlags()
78 JSHandle<EcmaString> flags = factory->NewFromASCII("gim"); in HWTEST_F_L0() local
94 JSHandle<EcmaString> flags = factory->NewFromASCII("g"); in HWTEST_F_L0() local
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/
DregExpLiteral.h35 explicit RegExpLiteral(util::StringView pattern, util::StringView flags) in RegExpLiteral()
/arkcompiler/ets_runtime/ecmascript/mem/
Dspace-inl.h70 RegionSpaceFlag flags = RegionSpaceFlag::UNINITIALIZED; in GetRegionFlag() local
Dheap_region_allocator.cpp33 RegionSpaceFlag flags = space->GetRegionFlag(); in AllocateAlignedRegion() local
/arkcompiler/runtime_core/assembler/
Dassembly-ins.h35 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) opcode, argument
70 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) flags, argument
75 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) width, argument
80 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) def_idx, argument
84 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) use_idxs, argument
Dlexer.cpp52 #define OPLIST(inst_code, name, optype, width, flags, dst_idx, use_idxs) \ in FindOperation() argument
Dlexer.h52 #define OPLIST(inst_code, name, optype, width, flags, dst_idx, src_idxs) ID_OP_##inst_code, /* comm… argument
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dmem.cpp40 DWORD flags = 0; in mem_protection_flags_for_page() local
57 DWORD flags = 0; in mem_protection_flags_for_file() local
100 void *mmap([[maybe_unused]] void *addr, size_t len, uint32_t prot, int flags, int fildes, off_t off) in mmap()
159 BytePtr MapFile(file::File file, uint32_t prot, uint32_t flags, size_t size, size_t file_offset, vo… in MapFile()
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.h44 ir::ScriptFunctionFlags flags, bool declare, bool isTsFunction) in ScriptFunction()
178 void AddFlag(ir::ScriptFunctionFlags flags) in AddFlag()
/arkcompiler/ets_frontend/es2panda/lexer/regexp/
Dregexp.h49 RegExpFlags flags; member
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp48 JSHandle<JSTaggedValue> flags = GetCallArg(argv, 1); in RegExpConstructor() local
334 JSHandle<JSTaggedValue> flags(thread, FlagsBitsToString(thread, flagsBits)); in GetSource() local
406 JSMutableHandle<JSTaggedValue> flags(thread, JSTaggedValue::Undefined()); in Match() local
598 uint32_t flags = *reinterpret_cast<uint32_t *>(bytecodeBuffer + RegExpParser::FLAGS_OFFSET); in RegExpReplaceFast() local
1117 JSHandle<EcmaString> flags; in Split() local
1397 uint8_t flags = static_cast<uint8_t>(regexpObj->GetOriginalFlags().GetInt()); in GetFlagsInternal() local
1435 JSMutableHandle<JSTaggedValue> flags(thread, regexpObj->GetOriginalFlags()); in RegExpBuiltinExec() local
1677 JSTaggedValue BuiltinsRegExp::FlagsBitsToString(JSThread *thread, uint8_t flags) in FlagsBitsToString()
1717 const JSHandle<JSTaggedValue> &flags) in RegExpInitialize()
1803 const JSHandle<JSTaggedValue> &flags) in RegExpCreate()
[all …]
/arkcompiler/runtime_core/docs/
Dfile_format.md138 #### Field access flags
152 #### Method access flags
169 #### Class access flags
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dutil.cpp143 bool Checker::MaybeTypeOfKind(const Type *type, TypeFlag flags) in MaybeTypeOfKind()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data.h427 GateMetaData(OpCode opcode, GateFlags flags, in GateMetaData()
582 void SetFlags(GateFlags flags) in SetFlags()
634 BoolMetaData(OpCode opcode, GateFlags flags, uint32_t statesIn, in BoolMetaData()
658 …explicit JSBytecodeMetaData(size_t valuesIn, EcmaOpcode opcode, uint32_t pcOffset, GateFlags flags) in JSBytecodeMetaData()
711 OneParameterMetaData(OpCode opcode, GateFlags flags, uint32_t statesIn, in OneParameterMetaData()
740 TypedCallMetaData(OpCode opcode, GateFlags flags, uint32_t statesIn, in TypedCallMetaData()

123