Home
last modified time | relevance | path

Searched refs:attrs (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dmutex.cpp36 void Mutex::Init(pthread_mutexattr_t *attrs) in Init() argument
38 [[maybe_unused]]int rc = pthread_mutex_init(&mutex_, attrs); in Init()
68 pthread_mutexattr_t attrs; in RecursiveMutex() local
69 pthread_mutexattr_init(&attrs); in RecursiveMutex()
70 pthread_mutexattr_settype(&attrs, PTHREAD_MUTEX_RECURSIVE); in RecursiveMutex()
71 Init(&attrs); in RecursiveMutex()
/arkcompiler/runtime_core/libpandabase/os/
H A Dmutex.cpp56 void Mutex::Init(pthread_mutexattr_t *attrs) in Init() argument
58 int rc = pthread_mutex_init(&mutex_, attrs); in Init()
88 pthread_mutexattr_t attrs; in RecursiveMutex() local
89 pthread_mutexattr_init(&attrs); in RecursiveMutex()
90 pthread_mutexattr_settype(&attrs, PTHREAD_MUTEX_RECURSIVE); in RecursiveMutex()
91 Init(&attrs); in RecursiveMutex()
H A Dmutex.h76 void Init(pthread_mutexattr_t *attrs);
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dmutex.cpp56 void Mutex::Init(pthread_mutexattr_t *attrs) in Init() argument
58 int rc = pthread_mutex_init(&mutex_, attrs); in Init()
88 pthread_mutexattr_t attrs; in RecursiveMutex() local
89 pthread_mutexattr_init(&attrs); in RecursiveMutex()
90 pthread_mutexattr_settype(&attrs, PTHREAD_MUTEX_RECURSIVE); in RecursiveMutex()
91 Init(&attrs); in RecursiveMutex()
H A Dmutex.h90 void Init(pthread_mutexattr_t *attrs);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_TypeCreator.cpp198 EtsLong TypeAPITypeCreatorCtxClassCreate(EtsLong ctxPtr, EtsString *name, EtsInt attrs) in TypeAPITypeCreatorCtxClassCreate() argument
204 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::FINAL)) { in TypeAPITypeCreatorCtxClassCreate()
277 [[maybe_unused]] EtsInt attrs) in TypeAPITypeCreatorCtxMethodAddParam()
286 EtsLong TypeAPITypeCreatorCtxMethodCreate(EtsLong containingTypePtr, EtsString *name, EtsInt attrs) in TypeAPITypeCreatorCtxMethodCreate() argument
291 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::CONSTRUCTOR)) { in TypeAPITypeCreatorCtxMethodCreate()
294 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::GETTER)) { in TypeAPITypeCreatorCtxMethodCreate()
296 } else if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::SETTER)) { in TypeAPITypeCreatorCtxMethodCreate()
302 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::STATIC)) { in TypeAPITypeCreatorCtxMethodCreate()
307 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::ABSTRACT)) { in TypeAPITypeCreatorCtxMethodCreate()
310 if (HasFeatureAttribute(attrs, EtsTypeAPIAttribute in TypeAPITypeCreatorCtxMethodCreate()
276 TypeAPITypeCreatorCtxMethodAddParam(EtsLong methodPtr, EtsString *paramTd, [[maybe_unused]] EtsString *name, [[maybe_unused]] EtsInt attrs) TypeAPITypeCreatorCtxMethodAddParam() argument
530 TypeAPITypeCreatorCtxLambdaTypeCreate(EtsLong ctxPtr, [[maybe_unused]] EtsInt attrs) TypeAPITypeCreatorCtxLambdaTypeCreate() argument
538 TypeAPITypeCreatorCtxLambdaTypeAddParam(EtsLong ftPtr, EtsString *td, [[maybe_unused]] EtsInt attrs) TypeAPITypeCreatorCtxLambdaTypeAddParam() argument
568 TypeAPITypeCreatorCtxClassAddField(EtsLong classPtr, EtsString *name, EtsString *descr, EtsInt attrs, EtsInt access) TypeAPITypeCreatorCtxClassAddField() argument
[all...]
H A Dstd_core_Type.cpp177 uint32_t attrs = 0; in TypeAPIGetClassAttributes() local
178 attrs |= (type->IsFinal()) ? static_cast<uint32_t>(EtsTypeAPIAttributes::FINAL) : 0U; in TypeAPIGetClassAttributes()
180 return static_cast<EtsInt>(attrs); in TypeAPIGetClassAttributes()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Ddecorator_value.py182 attrs = dir(obj)
183 attrs = [n for n in attrs if not n.startswith("_") and not is_type_of(getattr(obj, n), "method")]
186 result += [f"{indent_str}{attr}: {getattr(obj, attr)}" for attr in attrs]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dglobal_tables.cpp140 MIRType *TypeTable::GetOrCreatePointerType(const TyIdx &pointedTyIdx, PrimType primType, const TypeAttrs &attrs) in GetOrCreatePointerType() argument
143 type.SetTypeAttrs(attrs); in GetOrCreatePointerType()
149 MIRType *TypeTable::GetOrCreatePointerType(const MIRType &pointTo, PrimType primType, const TypeAttrs &attrs)
151 return GetOrCreatePointerType(pointTo.GetTypeIndex(), primType, attrs);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_type.h871 void SetTypeAttrs(const TypeAttrs &attrs) in SetTypeAttrs() argument
873 typeAttrs = attrs; in SetTypeAttrs()
979 void SetTypeAttrs(const TypeAttrs &attrs) in SetTypeAttrs() argument
981 typeAttrs = attrs; in SetTypeAttrs()
1126 void SetNthParamAttrs(size_t i, const TypeAttrs &attrs)
1129 paramAttrsList[i] = attrs;
1162 void SetRetAttrs(const TypeAttrs &attrs)
1164 retAttrs = attrs;
H A Dglobal_tables.h306 const TypeAttrs &attrs = TypeAttrs());
308 const TypeAttrs &attrs = TypeAttrs());
H A Dmir_function.h782 void SetFuncAttrs(const FuncAttrs &attrs) in SetFuncAttrs() argument
784 funcAttrs = attrs; in SetFuncAttrs()
H A Dmir_nodes.h1043 StmtAttrs attrs) in StmtNode()
1049 stmtAttrs(attrs) in StmtNode()
1042 StmtNode(Opcode o, PrimType typ, uint8 numOpr, const SrcPosition &srcPosition, uint32 stmtOriginalID, StmtAttrs attrs) StmtNode() argument
/arkcompiler/ets_frontend/merge_abc/src/
H A DmetaProto.cpp149 for (const auto &[name, attrs] : meta.GetAttributes()) { in Serialize()
152 for (const auto &attr : attrs) { in Serialize()
/arkcompiler/ets_runtime/ecmascript/platform/
H A Dmutex.h48 void Init(pthread_mutexattr_t *attrs);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
H A Dlmir_builder.cpp150 std::vector<TypeAttrs> attrs; // not used so far in CreateFuncType() local
154 attrs.push_back(TypeAttrs()); in CreateFuncType()
157 auto type = GlobalTables::GetTypeTable().GetOrCreateFunctionType(retType->GetTypeIndex(), params, attrs, isVarg); in CreateFuncType()
/arkcompiler/ets_runtime/ecmascript/
H A Ddump.cpp612 JSTaggedValue attrs = jshclass->GetLayout(); in DumpHClass() local
613 attrs.DumpTaggedValue(os); in DumpHClass()
615 if (withDetail && !attrs.IsNull()) { in DumpHClass()
1584 JSTaggedValue attrs = jshclass->GetLayout(); in Dump() local
1585 if (attrs.IsNull()) { in Dump()
1589 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in Dump()
3816 JSTaggedValue attrs = jshclass->GetLayout(); in Dump() local
3817 if (attrs.IsNull()) { in Dump()
3821 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in Dump()
4754 JSTaggedValue attrs in DumpForSnapshot() local
[all...]
H A Dobject_operator.cpp565 JSTaggedValue attrs = jshclass->GetLayout(); in LookupPropertyInlinedProps() local
566 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in LookupPropertyInlinedProps()
H A Djs_hclass.cpp337 JSTaggedValue attrs = newJsHClass->GetLayout(); in TransitionExtension() local
339 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, attrs); in TransitionExtension()

Completed in 28 milliseconds