/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | identifier.cpp | 55 if (name_.Is("NaN")) { in Compile() 60 if (name_.Is("Infinity")) { in Compile() 65 if (name_.Is("globalThis")) { in Compile() 70 if (name_.Is("undefined")) { in Compile() 81 if (name_.Is("undefined")) { in Check()
|
/arkcompiler/runtime_core/libpandabase/serializer/ |
D | tuple_to_struct.h | 23 template <typename Struct, size_t... Is, typename Tuple> 24 Struct TupleToStructImpl([[maybe_unused]] std::index_sequence<Is...> is, Tuple &&tup) in TupleToStructImpl() 26 return {std::get<Is>(std::forward<Tuple>(tup))...}; in TupleToStructImpl()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
D | astNode.h | 126 bool Is##className() const \ in AST_NODE_REINTERPRET_MAPPING() 134 bool Is##baseClass() const \ in AST_NODE_REINTERPRET_MAPPING() 138 bool Is##reinterpretClass() const \ in AST_NODE_REINTERPRET_MAPPING() 158 ASSERT(Is##className()); \ in AST_NODE_REINTERPRET_MAPPING() 163 ASSERT(Is##className()); \ in AST_NODE_REINTERPRET_MAPPING() 172 ASSERT(Is##baseClass()); \ in AST_NODE_REINTERPRET_MAPPING() 177 ASSERT(Is##reinterpretClass()); \ in AST_NODE_REINTERPRET_MAPPING() 182 ASSERT(Is##baseClass()); \ in AST_NODE_REINTERPRET_MAPPING() 187 ASSERT(Is##reinterpretClass()); \ in AST_NODE_REINTERPRET_MAPPING()
|
/arkcompiler/runtime_core/libpandabase/os/ |
D | thread.h | 74 template <size_t... Is> 78 template <size_t N, size_t... Is> 79 struct GenArgSeq : GenArgSeq<N - 1, N - 1, Is...> { 82 template <size_t... Is> 83 struct GenArgSeq<1, Is...> : Seq<Is...> {
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | type.h | 54 bool Is##typeName() const \ in TYPE_MAPPING() 64 ASSERT(Is##typeName()); \ in TYPE_MAPPING() 69 ASSERT(Is##typeName()); \ in TYPE_MAPPING()
|
D | objectType.h | 61 bool Is##typeName() const \ in DEFINE_BITOPS() 71 ASSERT(Is##typeName()); \ in DEFINE_BITOPS() 76 ASSERT(Is##typeName()); \ in DEFINE_BITOPS()
|
D | bigintLiteralType.cpp | 43 return value_.Is("0n") ? TypeFacts::ZERO_BIGINT_FACTS : TypeFacts::NON_ZERO_BIGINT_FACTS; in GetTypeFacts()
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
D | property.cpp | 65 currentIsProto = key_->AsIdentifier()->Name().Is("__proto__"); in ValidateExpression() 67 currentIsProto = key_->AsStringLiteral()->Str().Is("__proto__"); in ValidateExpression()
|
D | scriptFunction.h | 59 if (firstParam->IsIdentifier() && firstParam->AsIdentifier()->Name().Is(THIS_PARAM)) { in ScriptFunction()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | split_resolver.cpp | 173 if (inst->IsSpillFill() && !Is<SpillFillType::CONNECT_SPLIT_SIBLINGS>(inst)) { in CreateSpillFillForSplitMove() 189 if (Is<SpillFillType::CONNECT_SPLIT_SIBLINGS>(prev)) { in CreateSpillFillForSiblings() 192 ASSERT(Is<SpillFillType::INPUT_FILL>(prev)); in CreateSpillFillForSiblings()
|
D | split_resolver.h | 44 static bool Is(Inst *inst) in Is() function
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 66 return (str.Is("NaN") || str.Is("undefined") || str.Is("Infinity")); in IsGlobalIdentifier() 381 return lit->Str().Is("prototype") || lit->Str().Is("constructor"); in IsSpecialPropertyKey() 708 if (strLit->Str().Is(SHOW_SOURCE)) { in SetFuncFlagsForDirectives() 713 if (strLit->Str().Is(USE_CONCURRENT)) { in SetFuncFlagsForDirectives()
|
D | ustring.h | 72 bool Is(const char *str) const noexcept in Is() function 77 bool Is(const std::string_view &str) const noexcept in Is() function
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variable.h | 55 bool Is##className() const \ in VARIABLE_TYPES() 61 ASSERT(Is##className()); \ in VARIABLE_TYPES() 66 ASSERT(Is##className()); \ in VARIABLE_TYPES()
|
D | declaration.h | 61 bool Is##className() const \ in DECLARATION_KINDS() 67 ASSERT(Is##className()); \ in DECLARATION_KINDS() 72 ASSERT(Is##className()); \ in DECLARATION_KINDS()
|
D | scope.h | 167 bool Is##className() const \ 173 ASSERT(Is##className()); \ 178 ASSERT(Is##className()); \
|
D | binder.cpp | 284 if (ident->Name().Is(FUNCTION_ARGUMENTS)) { in LookupIdentReference() 414 if (name.Is(FUNCTION_ARGUMENTS)) { in BuildVarDeclaratorId() 634 if (ident->Name().Is(FUNCTION_ARGUMENTS)) { in ResolveReference()
|
/arkcompiler/ets_frontend/testTs/ |
D | README.md | 5 2. import_tests.json:Is the path to the TS code file where import files are stored to add import fi…
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_object.h | 54 static JSTaggedValue Is(EcmaRuntimeCallInfo *argv);
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | global_ts_type_ref.h | 140 inline bool Is##NAME##Module() const \
|
D | ts_type_accessor.h | 117 ASSERT(tsManager_->Is##NAME##TypeKind(gt_)); \
|
D | ts_manager.h | 437 inline bool PUBLIC_API Is##NAME##TypeKind(const kungfu::GateType &gateType) const \ 443 inline bool PUBLIC_API Is##NAME##TypeKind(const GlobalTSTypeRef >) const \
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_object_test.cpp | 436 HWTEST_F_L0(BuiltinsObjectTest, Is) in HWTEST_F_L0() argument 453 JSTaggedValue objResult1 = BuiltinsObject::Is(objCallInfo1); in HWTEST_F_L0() 459 JSTaggedValue objResult2 = BuiltinsObject::Is(objCallInfo1); in HWTEST_F_L0() 473 JSTaggedValue strResult = BuiltinsObject::Is(strCallInfo); in HWTEST_F_L0() 486 JSTaggedValue boolResult = BuiltinsObject::Is(boolCallInfo); in HWTEST_F_L0() 499 JSTaggedValue numResult = BuiltinsObject::Is(numCallInfo); in HWTEST_F_L0() 512 JSTaggedValue nullResult = BuiltinsObject::Is(nullCallInfo); in HWTEST_F_L0() 524 JSTaggedValue undefineResult = BuiltinsObject::Is(undefineCallInfo); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.cpp | 2194 if (propNameStr.Is("constructor")) { in ValidateClassKey() 2213 …} else if (!isDeclare && propNameStr.Is("prototype") && (desc->modifiers & ir::ModifierFlags::STAT… in ValidateClassKey() 3209 if (paramName.Is("this")) { in ValidateFunctionParam() 3227 if (paramName.Is("constructor") && (context_.Status() & ParserStatus::CONSTRUCTOR_FUNCTION)) { in ValidateFunctionParam() 3276 …return paramName.Is("number") || paramName.Is("any") || paramName.Is("unknown") || paramName.Is("n… in CheckTypeNameIsReserved() 3277 …paramName.Is("bigint") || paramName.Is("boolean") || paramName.Is("string") || paramName.Is("strin… in CheckTypeNameIsReserved() 3278 paramName.Is("void") || paramName.Is("object"); in CheckTypeNameIsReserved() 3671 if (node->AsIdentifier()->Name().Is("arguments")) { in ValidateLvalueAssignmentTarget() 3673 } else if (node->AsIdentifier()->Name().Is("eval")) { in ValidateLvalueAssignmentTarget() 3722 if (context_.IsAsync() && identifier.Is("await")) { in ValidateArrowParameterBindings()
|
D | expressionParser.cpp | 138 if (refName.Is("const")) { in ParseTsAsExpression() 296 if (identifier.Is("arguments")) { in ValidateArrowParameter() 298 } else if (identifier.Is("eval")) { in ValidateArrowParameter() 968 …>GetToken().Type() == lexer::TokenType::LITERAL_IDENT && lexer_->GetToken().Ident().Is("target")) { in ParsePotentialNewTarget() 1668 if (returnExpressionStr.Is("eval")) { in ValidateUpdateExpression() 1672 if (returnExpressionStr.Is("arguments")) { in ValidateUpdateExpression()
|