Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/developtools/profiler/device/plugins/native_daemon/src/
Dsection_header.cpp39 const size_t index) in MakeUnique() argument
45 if (!shdr->Init(shdrBuf, bufSize, index)) { in MakeUnique()
56 int index {0}; in ParseSecHeader32() local
57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
58 index = static_cast<int>(NUMBER::ONE); in ParseSecHeader32()
59 secType_ = u4Buf[index]; in ParseSecHeader32()
60 index = static_cast<int>(NUMBER::TWO); in ParseSecHeader32()
61 secFlags_ = u4Buf[index]; in ParseSecHeader32()
62 index = static_cast<int>(NUMBER::SIX); in ParseSecHeader32()
63 link_ = u4Buf[index]; in ParseSecHeader32()
[all …]
Dprogram_header.cpp40 size_t index {0}; in ParsePrgHeader32() local
41 type_ = u4Buf[index]; in ParsePrgHeader32()
42 ++index; in ParsePrgHeader32()
43 offset_ = u4Buf[index]; in ParsePrgHeader32()
44 ++index; in ParsePrgHeader32()
45 vaddr_ = u4Buf[index]; in ParsePrgHeader32()
46 ++index; in ParsePrgHeader32()
47 paddr_ = u4Buf[index]; in ParsePrgHeader32()
48 ++index; in ParsePrgHeader32()
49 fileSize_ = u4Buf[index]; in ParsePrgHeader32()
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/hiperf/
Dsection_header.cpp39 const size_t index) in MakeUnique() argument
45 if (!shdr->Init(shdrBuf, bufSize, index)) { in MakeUnique()
56 int index {0}; in ParseSecHeader32() local
57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
58 index = static_cast<int>(NUMBER::NUMBER_ONE); in ParseSecHeader32()
59 secType_ = u4Buf[index]; in ParseSecHeader32()
60 index = static_cast<int>(NUMBER::NUMBER_TWO); in ParseSecHeader32()
61 secFlags_ = u4Buf[index]; in ParseSecHeader32()
62 index = static_cast<int>(NUMBER::NUMBER_SIX); in ParseSecHeader32()
63 link_ = u4Buf[index]; in ParseSecHeader32()
[all …]
Dprogram_header.cpp40 size_t index {0}; in ParsePrgHeader32() local
41 type_ = u4Buf[index]; in ParsePrgHeader32()
42 ++index; in ParsePrgHeader32()
43 offset_ = u4Buf[index]; in ParsePrgHeader32()
44 ++index; in ParsePrgHeader32()
45 vaddr_ = u4Buf[index]; in ParsePrgHeader32()
46 ++index; in ParsePrgHeader32()
47 paddr_ = u4Buf[index]; in ParsePrgHeader32()
48 ++index; in ParsePrgHeader32()
49 fileSize_ = u4Buf[index]; in ParsePrgHeader32()
[all …]
/developtools/hiperf/src/
Dsection_header.cpp39 const size_t index) in MakeUnique() argument
45 if (!shdr->Init(shdrBuf, bufSize, index)) { in MakeUnique()
56 int index {0}; in ParseSecHeader32() local
57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
58 index = static_cast<int>(NUMBER::ONE); in ParseSecHeader32()
59 secType_ = u4Buf[index]; in ParseSecHeader32()
60 index = static_cast<int>(NUMBER::TWO); in ParseSecHeader32()
61 secFlags_ = u4Buf[index]; in ParseSecHeader32()
62 index = static_cast<int>(NUMBER::SIX); in ParseSecHeader32()
63 link_ = u4Buf[index]; in ParseSecHeader32()
[all …]
Dprogram_header.cpp40 size_t index {0}; in ParsePrgHeader32() local
41 type_ = u4Buf[index]; in ParsePrgHeader32()
42 ++index; in ParsePrgHeader32()
43 offset_ = u4Buf[index]; in ParsePrgHeader32()
44 ++index; in ParsePrgHeader32()
45 vaddr_ = u4Buf[index]; in ParsePrgHeader32()
46 ++index; in ParsePrgHeader32()
47 paddr_ = u4Buf[index]; in ParsePrgHeader32()
48 ++index; in ParsePrgHeader32()
49 fileSize_ = u4Buf[index]; in ParsePrgHeader32()
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DSignContentInfo.java116 int index = 0; in getByteContent() local
118 index = ByteArrayUtils.insertCharToByteArray(ret, index, version); in getByteContent()
119 if (index < 0) { in getByteContent()
122 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, size); in getByteContent()
123 if (index < 0) { in getByteContent()
126 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, numOfBlocks); in getByteContent()
127 if (index < 0) { in getByteContent()
132 ret[index] = (byte) tmp.type; in getByteContent()
133 index++; in getByteContent()
134 ret[index] = (byte) tmp.tag; in getByteContent()
[all …]
/developtools/profiler/device/plugins/diskio_plugin/src/
Dio_stats.cpp118 int index = 0; in GetCpuStats() local
120 cpuData->user_ = fields_[index]; in GetCpuStats()
121 index++; in GetCpuStats()
122 cpuData->nice_ = fields_[index]; in GetCpuStats()
123 index++; in GetCpuStats()
124 cpuData->system_ = fields_[index]; in GetCpuStats()
125 index++; in GetCpuStats()
126 cpuData->idle_ = fields_[index]; in GetCpuStats()
127 index++; in GetCpuStats()
128 cpuData->iowait_ = fields_[index]; in GetCpuStats()
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/metrics/
DCpuStrategy.ts20 for (let index = 0; index < metricData.length; index++) {
21 let eventName = metricData[index].event_name;
22 let stat_type = metricData[index].stat_type;
23 let count = metricData[index].count;
24 let source = metricData[index].source;
25 let serverity = metricData[index].serverity;
69 for (let index = 0; index < cpus.length; index++) {
71 cpu: cpus[index],
72 minFreq: minFrequencies[index],
73 maxFreq: maxFrequencies[index],
[all …]
DMemAggStrategy.ts31 for (let index = 0; index < values.length; index++) {
46 for (let index = 0; index < names.length; index++) { variable
48 ts: times[index], variable
50 value: values[index], variable
53 if ("mem.rss.anon" === names[index]) {
56 if ("mem.swap" === names[index]) {
59 if ("mem.rss.file" === names[index]) {
62 if ("oom_score_adj" === names[index]) {
DDistributeTermStrategy.ts39 for (let index = 0; index < flagList.length; index++) {
46 if (flagList[index] == 'S') receiverTime = timeList[index]
47 if (flagList[index] == 'C') senderTime = timeList[index]
59 functionName: funNameList[index],
61 processId: processIdList[index],
62 processName: processNameList[index],
65 threadId: threadIdsList[index],
66 threadName: threadNamesList[index],
68 dur: durList[index],
71 if ("C" == flagList[index]) {
DMetaDataStrategy.ts23 for (let index = 0; index < metricData.length; index++) {
24 let name = metricData[index].name;
25 let value = metricData[index].valueText;
30 if (index >= metricData.length - 1) {
/developtools/profiler/host/smartperf/ide/src/trace/database/
DProcedureWorkerCpuAbility.ts20 for (let index = 0; index < res.length; index++) {
21 let item = res[index];
23 …CpuAbilityMonitorStruct.setCpuAbilityFrame(res[index], 5, startNS || 0, endNS || 0, totalNS || 0, …
25 res[index].frame = null;
32 for (let index = 0; index < list.length; index++) {
33 let item = list[index];
34 if (index === list.length - 1) {
37 item.dur = (list[index + 1].startNS || 0) - (item.startNS || 0)
40 …CpuAbilityMonitorStruct.setCpuAbilityFrame(list[index], 5, startNS || 0, endNS || 0, totalNS || 0,…
41 …if (index > 0 && ((list[index - 1].frame?.x || 0) == (list[index].frame?.x || 0) && (list[index - …
[all …]
DProcedureWorkerDiskIoAbility.ts32 for (let index = 0; index < list.length; index++) {
33 let item = list[index];
34 if (index === list.length - 1) {
37 item.dur = (list[index + 1].startNS || 0) - (item.startNS || 0)
40 …DiskAbilityMonitorStruct.setDiskIOFrame(list[index], 5, startNS || 0, endNS || 0, totalNS || 0, fr…
41 …if (index > 0 && ((list[index - 1].frame?.x || 0) == (list[index].frame?.x || 0) && (list[index - …
64 let index = 2;
65 context2D.fillStyle = ColorUtils.colorForTid(index)
66 context2D.strokeStyle = ColorUtils.colorForTid(index)
DProcedureWorkerNetworkAbility.ts32 for (let index = 0; index < list.length; index++) {
33 let item = list[index];
34 if (index === list.length - 1) {
37 item.dur = (list[index + 1].startNS || 0) - (item.startNS || 0)
40 …NetworkAbilityMonitorStruct.setNetworkFrame(list[index], 5, startNS || 0, endNS || 0, totalNS || 0…
41 …if (index > 0 && ((list[index - 1].frame?.x || 0) == (list[index].frame?.x || 0) && (list[index - …
62 let index = 2;
63 context2D.fillStyle = ColorUtils.colorForTid(index)
64 context2D.strokeStyle = ColorUtils.colorForTid(index)
DProcedureWorkerMemoryAbility.ts32 for (let index = 0; index < list.length; index++) {
33 let item = list[index];
34 if (index === list.length - 1) {
37 item.dur = (list[index + 1].startNS || 0) - (item.startNS || 0)
40 …MemoryAbilityMonitorStruct.setMemoryFrame(list[index], 5, startNS || 0, endNS || 0, totalNS || 0, …
41 …if (index > 0 && ((list[index - 1].frame?.x || 0) == (list[index].frame?.x || 0) && (list[index - …
64 let index = 2;
65 context2D.fillStyle = ColorUtils.colorForTid(index)
66 context2D.strokeStyle = ColorUtils.colorForTid(index)
/developtools/profiler/host/smartperf/ide/src/trace/component/
DSpQuerySQL.ts74 for (let index = 0; index < bodyList.length; index++) {
75 td[index].style.width = bodyList[index].offsetWidth + 'px'
76 td[index].style.overflow = 'hidden'
112 for (let index = 0; index < resultList.length; index++) {
113 const dataResult = resultList[index];
168 for (let index = 0; index < styleTable.children.length; index++) {
170 styleTable.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)'
180 for (let index = 0; index < statList.length; index++) {
181 const statsResult = statList[index]; constant
246 for (let index = 1; index < splitSql?.length; index++) { variable
[all …]
DSpInfoAndStas.ts96 for (let index = 0; index < styleTable.children.length; index++) {
98 styleTable.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)'
113 for (let index = 0; index < mete.length; index++) {
114 this.metaData.push({name: mete[index].name, value: mete[index].valueText})
119 for (let index = 0; index < info.length; index++) {
121 event_name: info[index].event_name,
122 stat_type: info[index].stat_type,
123 count: info[index].count
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/
DTabPaneEnergyAnomaly.ts37 for(let index = 0;index < bean.length;index++){
39 let values = Object.values(bean[index]);
56 for(let index = 0;index < bean.length;index++){
57 let values = Object.values(bean[index]);
70 if(set.has(Object.values(bean[index])[0])){
77 if(index + 1 < bean.length){
78 let nextValues = Object.values(bean[index + 1]);
90 index++;
/developtools/ace_js2bundle/
DREADME_zh.md58 index.hml
62 <text class="title">This is the index page.</text>
69 index.css
95 index.js
101 console.info('index page launch');
125 "pages/index/index"
138 - index
139 - index.hml
140 - index.css
141 - index.js
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerEnergyPower.ts55 for (let index = 0; index < filter.length; index++) {
56 EnergyPowerStruct.draw(req, index, filter[index])
88 for (let index = 0; index < textList.length; index++) {
89 let text = req.context.measureText(textList[index]);
90 req.context.fillStyle = EnergyPowerStruct.getHistogramColor(textList[index]);
92 if(index == 0){
97 …req.context.fillText(textList[index], req.canvas.width - (EnergyPowerStruct.powerItemNumber * 80) …
104 req!.context.fillText(textList[index], EnergyPowerStruct.currentTextWidth + 12, 18);
131 for (let index = 0; index < list.length; index++) {
132 let item = list[index];
[all …]
DProcedureWorkerCpuAbility.ts84 for (let index = 0; index < res.length; index++) {
85 let item = res[index];
87 …CpuAbilityMonitorStruct.setCpuAbilityFrame(res[index], 5, startNS || 0, endNS || 0, totalNS || 0, …
89 res[index].frame = null;
96 for (let index = 0; index < list.length; index++) {
97 let item = list[index];
98 if (index === list.length - 1) {
101 item.dur = (list[index + 1].startNS || 0) - (item.startNS || 0)
104 …CpuAbilityMonitorStruct.setCpuAbilityFrame(list[index], 5, startNS || 0, endNS || 0, totalNS || 0,…
105 …if (index > 0 && ((list[index - 1].frame?.x || 0) == (list[index].frame?.x || 0) && (list[index - …
[all …]
/developtools/hiperf/test/unittest/common/native/
Ddwarf_test.cpp156 for (std::size_t index = 0; index < data128Size; ++index) { in SetUp() local
157 data128[index] = 0xff; in SetUp()
159 std::size_t index {0}; in SetUp() local
160 data[index++] = &absptr; in SetUp()
162 data[index++] = data128; in SetUp()
164 data[index++] = data2; in SetUp()
165 data[index++] = data4; in SetUp()
166 data[index++] = data8; in SetUp()
168 data[index++] = data128; in SetUp()
170 data[index++] = data2; in SetUp()
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DColorUtils.ts64 for (let index: number = 0; index < str.length; index++) {
65 hash ^= str.charCodeAt(index);
100 for (let index: number = 0; index < st.length; index++) {
101 hash ^= st.charCodeAt(index);
/developtools/global_resource_tool/include/
Dsolid_xml.h45 void SetName(int32_t index) in SetName() argument
47 name_ = index; in SetName()
49 void SetValue(int32_t index) in SetValue() argument
51 value_ = index; in SetValue()
53 void SetNameSpace(int32_t index) in SetNameSpace() argument
55 nameSpace_ = index; in SetNameSpace()
71 void SetChild(int32_t index) in SetChild() argument
73 child_ = index; in SetChild()
75 void SetBrother(int32_t index) in SetBrother() argument
77 brother_ = index; in SetBrother()
[all …]

12345678910>>...12