Home
last modified time | relevance | path

Searched refs:properties (Results 1 - 25 of 137) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Disa.h197 properties(props), in InsnDesc()
208 properties(props), in InsnDesc()
222 properties(props), in InsnDesc()
237 properties(props), in InsnDesc()
251 properties(props), in InsnDesc()
261 uint64 properties; member
276 return (properties & ISCALL) != 0; in IsCall()
281 return (properties & ISSPCALL) != 0; in IsSpecialCall()
285 return properties & ISTAILCALL; in IsTailCall()
289 return (properties in IsPhi()
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
H A DtupleType.cpp25 for (const auto *it : desc_->properties) { in ConvertToArrayType()
41 for (auto it = desc_->properties.begin(); it != desc_->properties.end(); it++) { in ToString()
47 if (std::next(it) != desc_->properties.end()) { in ToString()
52 for (auto it = desc_->properties.begin(); it != desc_->properties.end(); it++) { in ToString()
62 if (std::next(it) != desc_->properties.end()) { in ToString()
78 if (kind_ == otherTuple->Kind() && desc_->properties.size() == otherTuple->Properties().size()) { in Identical()
79 for (size_t i = 0; i < desc_->properties.size(); i++) { in Identical()
80 varbinder::LocalVariable *targetProp = desc_->properties[ in Identical()
[all...]
H A DobjectDescriptor.cpp25 for (auto *it : properties) { in FindProperty()
38 for (auto *it : properties) { in Copy()
41 copiedDesc->properties.push_back(copiedProp); in Copy()
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DtupleType.cpp26 for (const auto *it : desc_->properties) { in ConvertToArrayType()
42 for (auto it = desc_->properties.begin(); it != desc_->properties.end(); it++) { in ToString()
48 if (std::next(it) != desc_->properties.end()) { in ToString()
53 for (auto it = desc_->properties.begin(); it != desc_->properties.end(); it++) { in ToString()
63 if (std::next(it) != desc_->properties.end()) { in ToString()
76 if (kind_ == otherTuple->Kind() && desc_->properties.size() == otherTuple->Properties().size()) { in Identical()
77 for (size_t i = 0; i < desc_->properties.size(); i++) { in Identical()
78 binder::LocalVariable *targetProp = desc_->properties[ in Identical()
[all...]
H A DobjectDescriptor.cpp26 for (auto *it : properties) { in FindProperty()
40 for (auto *it : properties) { in Copy()
43 copiedDesc->properties.push_back(copiedProp); in Copy()
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/
H A Dtask_scheduler.cpp72 [this](TaskProperties properties, size_t count) { this->IncrementCounterOfAddedTasks(properties, count); }, in RegisterQueue()
207 size_t TaskScheduler::HelpWorkersWithTasks(TaskProperties properties) in HelpWorkersWithTasks() argument
214 auto *queue = GetQueue({properties.GetTaskType(), properties.GetVMType()}); in HelpWorkersWithTasks()
215 if (queue->HasTaskWithExecutionMode(properties.GetTaskExecutionMode())) { in HelpWorkersWithTasks()
216 executedTasksCount = GetAndExecuteSetOfTasksFromQueue(properties); in HelpWorkersWithTasks()
218 executedTasksCount = StealAndExecuteOneTaskFromWorkers(properties); in HelpWorkersWithTasks()
225 DecrementCountOfTasksInSystem(properties, executedTasksCount); in HelpWorkersWithTasks()
229 if (waitToFinish > 0 && GetCountOfTasksInSystemWithTaskProperties(properties) in HelpWorkersWithTasks()
236 GetAndExecuteSetOfTasksFromQueue(TaskProperties properties) GetAndExecuteSetOfTasksFromQueue() argument
262 StealAndExecuteOneTaskFromWorkers(TaskProperties properties) StealAndExecuteOneTaskFromWorkers() argument
290 WaitForFinishAllTasksWithProperties(TaskProperties properties) WaitForFinishAllTasksWithProperties() argument
337 IncrementCounterOfAddedTasks(TaskProperties properties, size_t ivalue) IncrementCounterOfAddedTasks() argument
[all...]
H A Dtask_scheduler.h145 * @brief Executes tasks with specific properties. It will get them from queue or steal from workers.
146 * @param properties - TaskProperties of tasks needs to help
149 PANDA_PUBLIC_API size_t HelpWorkersWithTasks(TaskProperties properties);
152 * @brief Method waits all tasks with specified properties. This method should be used only from Main Thread and
154 * @param properties - TaskProperties of tasks we will wait to be completed.
156 PANDA_PUBLIC_API void WaitForFinishAllTasksWithProperties(TaskProperties properties);
191 * @brief Method get and execute tasks with specified properties. If there are no tasks with that properties method
193 * @param properties - TaskProperties of task we want to get.
196 size_t GetAndExecuteSetOfTasksFromQueue(TaskProperties properties);
[all...]
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserNamespaces.cpp66 ArenaVector<ir::AstNode *> properties(Allocator()->Adapter()); in ParseNamespaceDefinition()
70 std::tie(ctor, properties, bodyRange) = ParseNamespaceBody(modifiers, flags); in ParseNamespaceDefinition()
73 AllocNode<ir::NamespaceDefinition>(identNode, std::move(properties), ctor, flags, GetContext().GetLanguage()); in ParseNamespaceDefinition()
86 ArenaVector<ir::AstNode *> properties(Allocator()->Adapter()); in ParseNamespaceBody()
92 properties = std::move(ParseAstNodesArrayFormatPlaceholder()); in ParseNamespaceBody()
103 ir::AstNode *property = ParseClassElement(properties, modifiers, flags); in ParseNamespaceBody()
105 if (CheckClassElement(property, ctor, properties)) { in ParseNamespaceBody()
109 properties.push_back(property); in ParseNamespaceBody()
116 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseNamespaceBody()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
H A Dobject_preview.cpp24 // Number of maximum count of properties that can be previewed.
63 ObjectPreview::ObjectPreview(RemoteObjectType type, const std::vector<PropertyDescriptor> &properties) : type_(type) in ObjectPreview() argument
65 overflow_ = (properties.size() > PROPERTIES_NMB_LIMIT); in ObjectPreview()
67 auto start = properties.begin(); in ObjectPreview()
68 auto end = start + std::min(properties.size(), PROPERTIES_NMB_LIMIT); in ObjectPreview()
92 std::function<void(JsonArrayBuilder &)> properties = [](auto &) {}; in ToJson() local
94 AddElement(properties, propertyPreview.ToJson()); in ToJson()
97 AddProperty(result, "properties", std::move(properties)); in ToJson()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_object_preview.py53 properties=property_preview,
68 properties=[property_preview],
91 properties=property_preview,
105 properties = await paused.client.get_properties(
109 property_descriptors = properties[0]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Dobject_repository.cpp38 std::vector<PropertyDescriptor> properties; in CreateFrameObject() local
39 properties.reserve(locals.size()); in CreateFrameObject()
46 properties.emplace_back(paramName, std::move(obj)); in CreateFrameObject()
51 frames_.emplace(id, std::move(properties)); in CreateFrameObject()
137 auto properties = GetProperties(id); in GetProperties() local
140 for (auto &property : properties) { in GetProperties()
153 return properties; in GetProperties()
236 std::vector<PropertyDescriptor> properties; in GetProperties() local
237 auto propertyHandler = [this, &properties](auto &name, auto value, auto isFinal, auto isAccessor) { in GetProperties()
243 properties in GetProperties()
[all...]
/arkcompiler/runtime_core/isa/
H A Disapi.rb93 # instruction and inherit properties of its instruction group.
132 properties.empty? || (!properties.include? 'not_compilable')
136 properties.include? 'inlinable'
198 cached def properties
199 props = dig(:properties) || []
210 properties.each do |p|
233 properties.include? 'float'
238 properties.include? 'jump'
243 properties
525 def properties global() method in Panda
[all...]
H A Dasserts.rb80 %i[verification exceptions properties].flat_map { |type| Panda.send(type).map(&:tag) }.uniq?
84 %i[verification exceptions properties].map do |type|
92 %i[verification exceptions properties].map do |type|
101 assert('Verification, exceptions and properties are not empty for every instruction group') do
102 %i[verification exceptions properties].map do |type|
115 next true if i.properties.include?('language')
131 assert('Acc_none should not be specified along with other accumulator properties') do
138 Panda.instructions.select { |i| i.properties.include?('call') }.map(&:acc_write?).all?
190 i.properties.include?('call') && i.exceptions.include?('x_call')
198 i.properties
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Ddestructuring.cpp176 const auto &properties = object->Properties(); in GenObjectWithRest() local
180 if (properties.size() == 1) { in GenObjectWithRest()
181 auto *element = properties[0]; in GenObjectWithRest()
192 for (const auto *element : properties) { in GenObjectWithRest()
196 pg->CreateObjectWithExcludedKeys(element, rhs, propStart, properties.size() - 1); in GenObjectWithRest()
216 const auto &properties = object->Properties(); in GenObject() local
218 if (properties.empty() || properties.back()->IsRestElement()) { in GenObject()
233 if (!properties.empty()) { in GenObject()
238 for (const auto *element : properties) { in GenObject()
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dshared_builtins.cpp423 auto properties = Object::GetFunctionProperties(); in CreateSObjectFunctionHClass() local
424 uint32_t length = properties.size(); in CreateSObjectFunctionHClass()
426 for (const std::pair<std::string_view, bool> &each : properties) { in CreateSObjectFunctionHClass()
449 auto properties = Object::GetFunctionPrototypeProperties(); in CreateSObjectPrototypeHClass() local
450 uint32_t length = properties.size(); in CreateSObjectPrototypeHClass()
452 for (const std::pair<std::string_view, bool> &each : properties) { in CreateSObjectPrototypeHClass()
471 auto properties = Function::GetFunctionProperties(); in CreateSFunctionHClass() local
472 uint32_t length = properties.size(); in CreateSFunctionHClass()
474 for (const base::BuiltinsPropertyConfig &each : properties) { in CreateSFunctionHClass()
495 auto properties in CreateSArrayBufferFunctionHClass() local
524 auto properties = BuiltinsSharedSet::GetFunctionProperties(); CreateSSetFunctionHClass() local
553 auto properties = BuiltinsSharedMap::GetFunctionProperties(); CreateSMapFunctionHClass() local
582 auto properties = Function::GetFunctionPrototypeProperties(); CreateSFunctionPrototypeHClass() local
610 auto properties = BuiltinsSendableArrayBuffer::GetPrototypeProperties(); CreateSArrayBufferPrototypeHClass() local
639 auto properties = BuiltinsSharedSet::GetPrototypeProperties(); CreateSSetPrototypeHClass() local
670 auto properties = BuiltinsSharedMap::GetPrototypeProperties(); CreateSMapPrototypeHClass() local
701 auto properties = BuiltinsSharedArray::GetPrototypeProperties(); CreateSArrayPrototypeHClass() local
732 auto properties = BuiltinsSharedArray::GetFunctionProperties(); CreateSArrayFunctionHClass() local
1112 auto properties = BuiltinsSharedTypedArray::GetPrototypeProperties(); CreateSTypedArrayPrototypeHClass() local
1143 auto properties = BuiltinsSharedTypedArray::GetFunctionProperties(); CreateSTypedArrayFunctionHClass() local
1171 auto properties = BuiltinsSharedTypedArray::GetSpecificFunctionProperties(); CreateSSpecificTypedArrayFuncHClass() local
1195 auto properties = BuiltinsSharedTypedArray::GetSpecificArrayPrototypeProperties(); CreateSSpecificTypedArrayInstanceHClass() local
[all...]
/arkcompiler/runtime_core/static_core/isa/
H A Dasserts.rb80 %i[verification exceptions properties].flat_map { |type| Panda.send(type).map(&:tag) }.uniq?
84 %i[verification exceptions properties].map do |type|
92 %i[verification exceptions properties].map do |type|
101 assert('Verification, exceptions and properties are not empty for every instruction group') do
102 %i[verification exceptions properties].map do |type|
115 next true if i.properties.include?('language')
131 assert('Acc_none should not be specified along with other accumulator properties') do
138 Panda.instructions.select { |i| i.properties.include?('call') }.map(&:acc_write?).all?
190 i.properties.include?('call') && i.exceptions.include?('x_call')
198 i.properties
[all...]
H A Disapi.rb93 # instruction and inherit properties of its instruction group.
132 properties.empty? || (!properties.include? 'not_compilable')
136 properties.include? 'inlinable'
187 cached def properties
188 props = dig(:properties) || []
208 properties.include? 'float'
213 properties.include? 'jump'
218 properties.include? 'conditional'
472 # All yaml properties ar
478 def properties global() method in Panda
[all...]
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsInterfaceDeclaration.cpp69 checker::InterfacePropertyMap properties; in CheckInheritedPropertiesAreIdentical() local
72 properties.insert({it->Name(), {it, type}}); in CheckInheritedPropertiesAreIdentical()
81 auto res = properties.find(inheritedProp->Name()); in CheckInheritedPropertiesAreIdentical()
82 if (res == properties.end()) { in CheckInheritedPropertiesAreIdentical()
83 properties.insert({inheritedProp->Name(), {inheritedProp, base->AsInterfaceType()}}); in CheckInheritedPropertiesAreIdentical()
/arkcompiler/runtime_core/static_core/runtime/templates/
H A Dbridge_helpers_static.rb29 ((insn.properties.include?("call") || insn.stripped_mnemonic == "initobj") && !(insn.properties.include? "dynamic"))
H A Dbridge_helpers_dynamic.rb37 Panda.instructions.select { |insn| insn.properties.include?('call') && insn.properties.include?('dynamic') }
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.h26 // ClassInfoExtractor will analyze and extract the contents from class literal to keys, properties and elements(both
28 // Attention: keys accessor stores the property key and properties accessor stores the property value, but elements
68 JSHandle<TaggedArray> &properties);
72 JSHandle<TaggedArray> &properties);
74 JSHandle<TaggedArray> &properties, bool isProtoClass,
77 JSHandle<TaggedArray> &properties,
104 JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties,
128 JSHandle<TaggedArray> &properties, ClassPropertyType type,
154 const JSHandle<TaggedArray> &properties);
190 JSHandle<TaggedArray> &properties,
[all...]
H A Dclass_info_extractor.cpp38 // non static properties number is hidden in the last index of Literal buffer in BuildClassInfoExtractorFromLiteral()
109 // without static properties, set class name in BuildClassInfoExtractorFromLiteral()
126 JSHandle<TaggedArray> &properties, in ExtractAndReturnWhetherWithElements()
132 ASSERT(keys->GetLength() == properties->GetLength() && elements->GetLength() == 0); in ExtractAndReturnWhetherWithElements()
149 properties->Set(thread, NAME_INDEX, secondValue); in ExtractAndReturnWhetherWithElements()
169 properties->Set(thread, pos, secondValue); in ExtractAndReturnWhetherWithElements()
180 properties->Set(thread, NAME_INDEX, clsNameHandle); in ExtractAndReturnWhetherWithElements()
185 properties->Trim(thread, trimOneLength); in ExtractAndReturnWhetherWithElements()
190 ASSERT(pos + elements->GetLength() / 2 == properties->GetLength()); // 2: half in ExtractAndReturnWhetherWithElements()
192 properties in ExtractAndReturnWhetherWithElements()
123 ExtractAndReturnWhetherWithElements(JSThread *thread, const JSHandle<TaggedArray> &literal, const ExtractContentsDetail &detail, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties, JSHandle<TaggedArray> &elements, const JSPandaFile *jsPandaFile) ExtractAndReturnWhetherWithElements() argument
198 CreatePrototypeHClass(JSThread *thread, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties) CreatePrototypeHClass() argument
240 CreateConstructorHClass(JSThread *thread, const JSHandle<JSTaggedValue> &base, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties) CreateConstructorHClass() argument
310 CorrectConstructorHClass(JSThread *thread, JSHandle<TaggedArray> &properties, JSHClass *constructorHClass) CorrectConstructorHClass() argument
340 CreateSendableHClass(JSThread *thread, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties, bool isProtoClass, uint32_t extraLength) CreateSendableHClass() argument
597 BuildDictionaryProperties(JSThread *thread, const JSHandle<JSObject> &object, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties, ClassPropertyType type, const JSHandle<JSTaggedValue> &lexenv) BuildDictionaryProperties() argument
836 FilterDuplicatedKeys(JSThread *thread, const JSHandle<TaggedArray> &keys, const JSHandle<TaggedArray> &properties) FilterDuplicatedKeys() argument
879 BuildSendableDictionaryProperties(JSThread *thread, const JSHandle<JSObject> &object, JSHandle<TaggedArray> &keys, JSHandle<TaggedArray> &properties, ClassPropertyType type, const JSHandle<JSFunction> &ctor) BuildSendableDictionaryProperties() argument
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Ddestructuring.cpp191 const auto &properties = object->Properties(); in GenObjectWithRest() local
196 for (const auto *element : properties) { in GenObjectWithRest()
200 pg->CreateObjectWithExcludedKeys(element, rhs, propStart, properties.size() - 1); in GenObjectWithRest()
234 const auto &properties = object->Properties(); in GenObject() local
236 if (properties.empty() || properties.back()->IsRestElement()) { in GenObject()
245 if (!properties.empty()) { in GenObject()
250 for (const auto *element : properties) { in GenObject()
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/
H A Dworker_thread_local_queue.h64 auto properties = task.GetTaskProperties(); in Push() local
66 perPropertiesQueue_.at(properties).Push(std::move(task)); in Push()
126 size_t CountOfTasksWithProperties(TaskProperties properties) const in CountOfTasksWithProperties()
128 return perPropertiesQueue_.at(properties).Size(); in CountOfTasksWithProperties()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
H A Dobject_repository.cpp168 auto properties = obj.GetProperties(frameObj.GetObjectId().value(), false); in TEST_F() local
169 ASSERT_EQ(properties.size(), 2UL); in TEST_F()
170 ASSERT_EQ(properties[0].GetName(), "a"); in TEST_F()
174 ToObject(properties[0].ToJson()), in TEST_F()
176 ASSERT_THAT(ToObject(properties[1].ToJson()), in TEST_F()
199 auto properties = obj.GetProperties(frameObj.GetObjectId().value(), true); in TEST_F() local
200 ASSERT_EQ(properties.size(), 2UL); in TEST_F()

Completed in 12 milliseconds

123456