Home
last modified time | relevance | path

Searched refs:ele_idx (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/assembler/
Dannotation.cpp251 void AnnotationData::SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element) in SetOrAddElementByIndex() argument
254 ASSERT(ele_idx <= len); in SetOrAddElementByIndex()
255 if (ele_idx == len) { in SetOrAddElementByIndex()
259 elements_[ele_idx] = std::forward<AnnotationElement>(element); in SetOrAddElementByIndex()
Dmeta.h210 …void SetOrAddAnnotationElementByIndex(size_t anno_idx, size_t ele_idx, AnnotationElement &&element) in SetOrAddAnnotationElementByIndex() argument
213 … annotations_[anno_idx].SetOrAddElementByIndex(ele_idx, std::forward<AnnotationElement>(element)); in SetOrAddAnnotationElementByIndex()
Dannotation.h64 void SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element);
/arkcompiler/runtime_core/assembler/tests/
Dannotation_test.cpp49 size_t ele_idx = 0; variable
50 annotationData.SetOrAddElementByIndex(ele_idx, std::move(anno_element));
53 ele_idx = elements.size();
54 annotationData.SetOrAddElementByIndex(ele_idx, std::move(anno_element));