| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | section_header.cpp | 39 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 …]
|
| D | program_header.cpp | 39 size_t index {0}; in ParsePrgHeader32() local 40 type_ = u4Buf[index]; in ParsePrgHeader32() 41 ++index; in ParsePrgHeader32() 42 offset_ = u4Buf[index]; in ParsePrgHeader32() 43 ++index; in ParsePrgHeader32() 44 vaddr_ = u4Buf[index]; in ParsePrgHeader32() 45 ++index; in ParsePrgHeader32() 46 paddr_ = u4Buf[index]; in ParsePrgHeader32() 47 ++index; in ParsePrgHeader32() 48 fileSize_ = u4Buf[index]; in ParsePrgHeader32() [all …]
|
| /developtools/hiperf/src/ |
| D | section_header.cpp | 39 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 …]
|
| D | program_header.cpp | 40 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/ |
| D | SignContentInfo.java | 116 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/ |
| D | io_stats.cpp | 111 int index = 0; in GetCpuStats() local 113 cpuData->user_ = fields_[index]; in GetCpuStats() 114 index++; in GetCpuStats() 115 cpuData->nice_ = fields_[index]; in GetCpuStats() 116 index++; in GetCpuStats() 117 cpuData->system_ = fields_[index]; in GetCpuStats() 118 index++; in GetCpuStats() 119 cpuData->idle_ = fields_[index]; in GetCpuStats() 120 index++; in GetCpuStats() 121 cpuData->iowait_ = fields_[index]; in GetCpuStats() [all …]
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | task_pool_filter.cpp | 29 uint32_t TaskPoolFilter::GetIpId(uint32_t index) in GetIpId() argument 31 if (index >= traceDataCache_->GetConstInternalSlicesData().CallIds().size()) { in GetIpId() 34 auto itid = traceDataCache_->GetConstInternalSlicesData().CallIds()[index]; in GetIpId() 42 uint32_t TaskPoolFilter::CheckTheSameTask(uint32_t executeId, uint32_t index) in CheckTheSameTask() argument 44 return IpidExecuteMap_.Find(GetIpId(index), executeId); in CheckTheSameTask() 64 bool TaskPoolFilter::TaskPoolEvent(const std::string& taskPoolStr, uint32_t index) in TaskPoolEvent() argument 71 return UpdateAssignData(args, index); in TaskPoolEvent() 76 return UpdateExecuteData(args, index); in TaskPoolEvent() 81 return UpdateReturnData(args, index); in TaskPoolEvent() 85 return AppendTimeoutRow(index); in TaskPoolEvent() [all …]
|
| /developtools/profiler/hiebpf/src/ |
| D | elf_file.cpp | 393 const size_t index) in MakeUnique() argument 399 …CHECK_TRUE(shdr->Init(shdrBuf, bufSize, index), nullptr, "SectionHeader::Init(shdrBuf, bufSize, in… in MakeUnique() 406 int index {0}; in ParseSecHeader32() local 407 nameIndex_ = u4Buf[index]; in ParseSecHeader32() 408 index = static_cast<int>(NUMBER::ONE); in ParseSecHeader32() 409 secType_ = u4Buf[index]; in ParseSecHeader32() 410 index = static_cast<int>(NUMBER::TWO); in ParseSecHeader32() 411 secFlags_ = u4Buf[index]; in ParseSecHeader32() 412 index = static_cast<int>(NUMBER::SIX); in ParseSecHeader32() 413 link_ = u4Buf[index]; in ParseSecHeader32() [all …]
|
| /developtools/profiler/hiebpf/scripts/ |
| D | fstrace_code_generator.py | 183 index = MIN_DECL_LIST_LEN + 1 186 while index < len(decl_list): 189 prog_decl = '%s, %s %s' % (prog_decl, decl_list[index - 1], decl_list[index]) 190 index += 2 322 index = MIN_DECL_LIST_LEN + 1 325 while index < len(decl_list): 328 member_index_list.append(index) 329 index += 2 359 for index in member_index_list: 362 member_name = decl_list[index] [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/metrics/ |
| D | MemAggStrategy.ts | 34 for (let index = 0; index < values.length; index++) { 51 for (let index = 0; index < names.length; index++) { variable 53 ts: times[index], variable 55 value: values[index], variable 60 if ('mem.rss.anon' === names[index]) { 63 if ('mem.swap' === names[index]) { 66 if ('mem.rss.file' === names[index]) { 69 if ('oom_score_adj' === names[index]) {
|
| D | CpuStrategy.ts | 45 for (let index = 0; index < cpus.length; index++) { 47 cpu: cpus[index], 48 minFreq: minFrequencies[index], 49 maxFreq: maxFrequencies[index], 50 avgFrequency: avgFrequencies[index], 51 duration: durations[index],
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | SpInfoAndStas.ts | 81 for (let index = 0; index < styleTable.children.length; index++) { 83 styleTable.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)'; 98 for (let index = 0; index < mete.length; index++) { 100 name: mete[index].name, 101 value: mete[index].valueText, 107 for (let index = 0; index < info.length; index++) { 109 eventName: info[index].event_name, 110 statType: info[index].stat_type, 111 count: info[index].count,
|
| D | SpQuerySQL.ts | 80 for (let index = 0; index < bodyList.length; index++) { 81 td[index].style.width = `${bodyList[index].offsetWidth}px`; 82 td[index].style.overflow = 'hidden'; 90 for (let index = 0; index < tableHeadStyle.children.length; index++) { 92 tableHeadStyle.children[index].style.gridArea = null; 206 for (let index = 0; index < this.notSupportList.length; index++) { 207 let regexStr = new RegExp(this.notSupportList[index], 'i'); 286 for (let index = 0; index < queryDataSty.children.length; index++) { 288 queryDataSty.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)';
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/metrics/ |
| D | MemAggStrategy.ts | 36 for (let index = 0; index < values.length; index++) { 51 for (let index = 0; index < names.length; index++) { variable 53 ts: times[index], variable 55 value: values[index], variable 58 if ('mem.rss.anon' === names[index]) { 61 if ('mem.swap' === names[index]) { 64 if ('mem.rss.file' === names[index]) { 67 if ('oom_score_adj' === names[index]) {
|
| D | DistributeTermStrategy.ts | 55 for (let index = 0; index < flagList.length; index++) { 62 if (flagList[index] == 'S') receiverTime = Number(timeList[index]); 63 if (flagList[index] == 'C') senderTime = Number(timeList[index]); 75 functionName: funNameList[index], 77 processId: processIdList[index], 78 processName: processNameList[index], 81 threadId: threadIdsList[index], 82 threadName: threadNamesList[index], 84 dur: durList[index], 87 if ('C' == flagList[index]) {
|
| D | CpuStrategy.ts | 44 for (let index = 0; index < cpus.length; index++) { 46 cpu: cpus[index], 47 minFreq: minFrequencies[index], 48 maxFreq: maxFrequencies[index], 49 avgFrequency: avgFrequencies[index], 50 duration: durations[index],
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/ |
| D | SpInfoAndStas.ts | 102 for (let index = 0; index < styleTable.children.length; index++) { 104 styleTable.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)'; 119 for (let index = 0; index < mete.length; index++) { 121 name: mete[index].name, 122 value: mete[index].valueText, 128 for (let index = 0; index < info.length; index++) { 130 event_name: info[index].event_name, 131 stat_type: info[index].stat_type, 132 count: info[index].count,
|
| D | SpQuerySQL.ts | 82 for (let index = 0; index < bodyList.length; index++) { 83 td[index].style.width = bodyList[index].offsetWidth + 'px'; 84 td[index].style.overflow = 'hidden'; 130 for (let index = 0; index < resultList.length; index++) { 131 const dataResult = resultList[index]; 203 for (let index = 0; index < styleTable.children.length; index++) { 205 styleTable.children[index].style.backgroundColor = 'var(--dark-background5,#F6F6F6)'; 215 for (let index = 0; index < statList.length; index++) { 216 const statsResult = statList[index]; constant 282 for (let index = 1; index < splitSql?.length; index++) { variable [all …]
|
| /developtools/ace_js2bundle/ |
| D | README_zh.md | 58 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/smartperf_host/ide/src/trace/component/trace/sheet/energy/ |
| D | TabPaneEnergyAnomaly.ts | 36 for (let index = 0; index < bean.length; index++) { 39 let values = Object.values(bean[index]); 56 for (let index = 0; index < bean.length; index++) { 58 let values = Object.values(bean[index]); 75 if (set.has(Object.values(bean[index])[0])) { 89 if (index + 1 < bean.length) { 91 let nextValues = Object.values(bean[index + 1]); 110 index++;
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/ |
| D | TabPaneEnergyAnomaly.ts | 36 for (let index = 0; index < bean.length; index++) { 39 let values = Object.values(bean[index]); 56 for (let index = 0; index < bean.length; index++) { 58 let values = Object.values(bean[index]); 75 if (set.has(Object.values(bean[index])[0])) { 89 if (index + 1 < bean.length) { 91 let nextValues = Object.values(bean[index + 1]); 110 index++;
|
| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | SpFrameTimeChart.ts | 214 divElement.forEach((divEl, index) => { 216 if (radioList[index]) { 217 radioList[index].checked = true; 218 frameChart.name = radioList[index].value; 220 childrenRow.setAttribute('model-name', `${radioList[index].value}`); 355 divElement.forEach((divEl, index) => { 357 if (radioList[index]) { 358 radioList[index].checked = true; 359 dynamicCurveRow.setAttribute('model-type', `${radioList[index].value}`); 393 for (let index = 0; index < nameArr.length; index++) { [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | dwarf_test.cpp | 156 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/smartperf_host/ide/src/base-ui/chart/pagenation/ |
| D | PageNation.ts | 237 for (let index = 0; index < 2; index++) { variable 238 this.buildLi(origin, index, current); 271 for (let index = 0; index < 5; index++) { 272 this.buildLi(origin, index, current); 277 for (let index = totalpage - 2; index < totalpage; index++) { variable 278 this.buildLi(origin, index, current); 291 for (let index = totalpage - 2; index < totalpage; index++) { variable 292 this.buildLi(origin, index, current); 299 for (let index = 0; index < 2; index++) { variable 300 this.buildLi(origin, index, current);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerEnergyPower.ts | 143 for (let index = 0; index < filter.length; index++) {} 182 for (let index = 0; index < textList.length; index++) { 183 let text = req.context.measureText(textList[index]); 184 req.context.fillStyle = EnergyPowerStruct.getHistogramColor(textList[index]); 188 if (index == 0) { 193 …req.context.fillText(textList[index], canvasEndX - EnergyPowerStruct.powerItemNumber * 80 + 10, 18… 200 req!.context.fillText(textList[index], EnergyPowerStruct.currentTextWidth + 12, 18); 235 for (let index = 0; index < list.length; index++) { 236 let item = list[index]; 246 for (let index = 0; index < array.length; index++) { [all …]
|