/arkcompiler/ets_runtime/ecmascript/platform/common/ |
H A D | mutex.cpp | 36 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 D | mutex.cpp | 56 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 D | mutex.h | 76 void Init(pthread_mutexattr_t *attrs);
|
/arkcompiler/runtime_core/static_core/libpandabase/os/ |
H A D | mutex.cpp | 56 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 D | mutex.h | 90 void Init(pthread_mutexattr_t *attrs);
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_TypeCreator.cpp | 198 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 D | std_core_Type.cpp | 177 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 D | decorator_value.py | 182 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 D | global_tables.cpp | 140 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 D | mir_type.h | 871 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 D | global_tables.h | 306 const TypeAttrs &attrs = TypeAttrs()); 308 const TypeAttrs &attrs = TypeAttrs());
|
H A D | mir_function.h | 782 void SetFuncAttrs(const FuncAttrs &attrs) in SetFuncAttrs() argument 784 funcAttrs = attrs; in SetFuncAttrs()
|
H A D | mir_nodes.h | 1043 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 D | metaProto.cpp | 149 for (const auto &[name, attrs] : meta.GetAttributes()) { in Serialize() 152 for (const auto &attr : attrs) { in Serialize()
|
/arkcompiler/ets_runtime/ecmascript/platform/ |
H A D | mutex.h | 48 void Init(pthread_mutexattr_t *attrs);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
H A D | lmir_builder.cpp | 150 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 D | dump.cpp | 612 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 D | object_operator.cpp | 565 JSTaggedValue attrs = jshclass->GetLayout(); in LookupPropertyInlinedProps() local 566 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in LookupPropertyInlinedProps()
|
H A D | js_hclass.cpp | 337 JSTaggedValue attrs = newJsHClass->GetLayout(); in TransitionExtension() local 339 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, attrs); in TransitionExtension()
|