/developtools/profiler/device/services/ipc/src/ |
D | ipc_generator_impl.cpp | 207 for (int j = 0; j < serviceList_[i].methodCount_; j++) { in GenerateHeader() local 208 …tmp1 += "\tvirtual bool " + serviceList_[i].methodList_[j] + "(SocketContext &context," + packageN… in GenerateHeader() 209 … serviceList_[i].requestList_[j] + " &request," + packageName_ + serviceList_[i].responseList_[j] + in GenerateHeader() 212 … tmp2 += "\tbool SendResponse" + serviceList_[i].responseList_[j] + "(SocketContext &context," + in GenerateHeader() 213 packageName_ + serviceList_[i].responseList_[j] + " &response);\n"; in GenerateHeader() 222 for (int j = 0; j < serviceList_[i].methodCount_; j++) { in GenerateHeader() local 223 …tmp1 += "\tbool " + serviceList_[i].methodList_[j] + "(" + packageName_ + serviceList_[i].requestL… in GenerateHeader() 224 tmp1 += " &request," + packageName_ + serviceList_[i].responseList_[j]; in GenerateHeader() 226 …tmp1 += "\tbool " + serviceList_[i].methodList_[j] + "(" + packageName_ + serviceList_[i].requestL… in GenerateHeader() 230 for (int j = 0; j < serviceList_[i].methodCount_; j++) { in GenerateHeader() local [all …]
|
D | ipc_generator.cpp | 34 for (int j = 0; j < service->method_count(); j++) { in Generate() local 35 const google::protobuf::MethodDescriptor* method = service->method(j); in Generate()
|
/developtools/hiperf/test/unittest/common/native/ |
D | dwarf_test.cpp | 136 for (std::size_t j = 0; j < num; ++j) { variable 138 dw_encode_t dwe = ehas[i] | vfs[j]; 139 DwarfEncoding dw {dwe, data[j]}; 141 if (vfs[j] == DW_EH_PE_absptr) { 142 EXPECT_TRUE(data[j] == dw.GetEnd() - dw.GetSize()); 144 EXPECT_TRUE(data[j] == dw.GetEnd()); 155 for (std::size_t j = 0; j < num; ++j) { variable 157 dw_encode_t dwe = ehas[i] | vfs[j]; 158 DwarfEncoding dw {dwe, data[j]}; 160 if (vfs[j] == DW_EH_PE_absptr) { [all …]
|
D | perf_file_format_test.cpp | 119 for (size_t j = 0; j < a[i].symbolStructs_.size(); j++) { in CompareVecSymFile() local 120 ASSERT_EQ(a[i].symbolStructs_[j].vaddr_, b[i].symbolStructs_[j].vaddr_); in CompareVecSymFile() 121 ASSERT_EQ(a[i].symbolStructs_[j].len_, b[i].symbolStructs_[j].len_); in CompareVecSymFile() 122 ASSERT_EQ(a[i].symbolStructs_[j].symbolName_, b[i].symbolStructs_[j].symbolName_); in CompareVecSymFile() 229 for (size_t j = 0; j < a[i].ids.size(); j++) { in CompareEventDesc() local 230 ASSERT_EQ(a[i].ids[j], b[i].ids[j]); in CompareEventDesc()
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/ |
D | TabPaneFreqDataCut.ts | 228 for (let j = 0; j < dealArr.length; j++) { 230 if (value[i].cpu === dealArr[j].cpu) { 233 value[i].ts > dealArr[j].startNS && 234 value[i].ts < dealArr[j].startNS + dealArr[j].dur && 235 value[i].dur < dealArr[j].startNS + dealArr[j].dur - value[i].ts 245 dealArr[j].value, 258 value[i].ts > dealArr[j].startNS && 259 value[i].ts < dealArr[j].startNS + dealArr[j].dur && 260 value[i].dur > dealArr[j].startNS + dealArr[j].dur - value[i].ts 270 dealArr[j].value, [all …]
|
D | TabPaneFreqUsage.ts | 284 for (let j = 0; j < cpuFreqData.length; j++) { 285 if (item[i].cpu == cpuFreqData[j].cpu) { 289 item[i].ts > cpuFreqData[j].ts && 290 item[i].ts < cpuFreqData[j].ts + cpuFreqData[j].dur && 291 item[i].dur < cpuFreqData[j].ts + cpuFreqData[j].dur - item[i].ts 293 resultList.push(returnObj(item[i], cpuFreqData[j], sum, (flag = 1))!); 299 item[i].ts > cpuFreqData[j].ts && 300 item[i].ts < cpuFreqData[j].ts + cpuFreqData[j].dur && 301 item[i].dur >= cpuFreqData[j].ts + cpuFreqData[j].dur - item[i].ts 304 resultList.push(returnObj(item[i], cpuFreqData[j], sum, (flag = 2))!); [all …]
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpVirtualMemChart.ts | 108 for (let j = 0; j < resultVm.length; j++) { 110 resultVm[j].maxValue = maxValue; 112 resultVm[j].maxValue = Number(virtualMemoryRow.getAttribute('maxValue')); 114 if (j === resultVm.length - 1) { 115 resultVm[j].duration = (TraceRow.range?.totalNS || 0) - (resultVm[j].startTime || 0); 117 resultVm[j].duration = (resultVm[j + 1].startTime || 0) - (resultVm[j].startTime || 0); 119 if (j > 0) { 120 resultVm[j].delta = (resultVm[j].value || 0) - (resultVm[j - 1].value || 0); 122 resultVm[j].delta = 0;
|
D | SpClockChart.ts | 65 for (let j = 0; j < resultClock.length; j++) { 67 resultClock[j].type = 'measure'; // @ts-ignore 68 if ((resultClock[j].value || 0) > it.maxValue!) { 70 it.maxValue = resultClock[j].value || 0; 72 if (j > 0) { 74 resultClock[j].delta = (resultClock[j].value || 0) - (resultClock[j - 1].value || 0); 77 resultClock[j].delta = 0;
|
D | SpAllAppStartups.ts | 70 for (let j = 0; j < tmpResArr.length; j++) { 71 if (Number(tmpResArr[j].startTs) > Number(maxStartTs)) { 72 maxStartTs = tmpResArr[j].startTs; 73 } else if (Number(tmpResArr[j].startTs) < Number(minStartTs)) { 74 minStartTs = tmpResArr[j].startTs;
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpufreq/ |
D | TabPaneGpufreqDataCut.ts | 180 let j: number = 0; 184 let initItem: GpuCountBean = initData[j]; 186 j++; 190 j = 0; 205 private segmentationData(j: GpuCountBean, e: SearchGpuFuncBean, i: number): Array<GpuCountBean> { 207 if (j.startNS <= e.startTime && j.endTime >= e.startTime) { 208 if (j.endTime >= e.endTime) { 211 j.freq, 212 (e.endTime - e.startTime) * j.val, 213 j.val, [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/binder/ |
D | TabPaneBinderDataCut.ts | 240 for (let j: number = 0; j < tBinder.length; j++) { 241 if (!cycleMap.has(tBinder[j].tid + '_' + cid)) { 242 cycleMap.set(tBinder[j].tid + '_' + cid, new Array()); 244 cycleArr = cycleMap.get(tBinder[j].tid + '_' + cid); 245 let thread: string = Utils.THREAD_MAP.get(tBinder[j].tid) || 'Thread'; 247 countBinder.tid = tBinder[j].tid; 248 countBinder.pid = tBinder[j].pid; 254 tBinder[j].ts + tBinder[j].dur > func.cycleStartTime && 255 tBinder[j].ts + tBinder[j].dur < func.cycleStartTime + func!.dur 258 countBinder.binderTransactionCount += tBinder[j].name === 'binder transaction' ? 1 : 0; [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/arkts/ |
D | pbreader_js_memory_parser.cpp | 53 void from_json(const json &j, Meta &v) in from_json() argument 55 for (size_t i = 0; i < j["node_fields"].size(); i++) { in from_json() 56 v.nodeFields.emplace_back(j["node_fields"][i]); in from_json() 58 g_nodesSingleLength = j["node_fields"].size(); in from_json() 59 for (size_t i = 0; i < j["node_types"].size(); i++) { in from_json() 61 if (j["node_types"][i].is_array()) { in from_json() 62 for (size_t m = 0; m < j["node_types"][i].size(); m++) { in from_json() 63 nodeTypes.emplace_back(j["node_types"][i][m]); in from_json() 67 nodeTypes.emplace_back(j["node_types"][i]); in from_json() 71 for (size_t i = 0; i < j["edge_fields"].size(); i++) { in from_json() [all …]
|
D | pbreader_js_cpu_profiler_parser.cpp | 36 void from_json(const json &j, CallFrame &callFrame) in from_json() argument 38 j.at("functionName").get_to(callFrame.functionName); in from_json() 39 j.at("scriptId").get_to(callFrame.scriptId); in from_json() 40 j.at("url").get_to(callFrame.url); in from_json() 41 j.at("lineNumber").get_to(callFrame.lineNumber); in from_json() 42 j.at("columnNumber").get_to(callFrame.columnNumber); in from_json() 46 void from_json(const json &j, Node &node) in from_json() argument 48 j.at("id").get_to(node.id); in from_json() 49 j.at("callFrame").get_to(node.callFrame); in from_json() 50 j.at("hitCount").get_to(node.hitCount); in from_json() [all …]
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ |
D | common_stdtype.cpp | 167 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local 168 stat_[j] = config_.eventErrorDescMap_.at(static_cast<StatType>(j)); in StatAndInfo() 172 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local 173 …statSeverity_[i][j] = config_.eventParserStatSeverityDescMap_.at(static_cast<SupportedTraceEventTy… in StatAndInfo() 174 .at(static_cast<StatType>(j)); in StatAndInfo() 179 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local 180 statSeverityDesc_[i][j] = config_.serverityLevelDescMap_.at(statSeverity_[i][j]); in StatAndInfo() 185 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local 186 statCount_[i][j] = 0; in StatAndInfo()
|
/developtools/integration_verification/tools/fotff/vcs/ |
D | manifest.go | 112 var j int 114 if m2.Projects[j].Name == m1.Projects[i].Name { 115 if !m1.Projects[i].Equals(&m2.Projects[j]) { 119 P2: &m2.Projects[j], 123 j++ 124 } else if m2.Projects[j].Name > m1.Projects[i].Name { 132 logrus.Infof("%v added", &m2.Projects[j]) 135 P2: &m2.Projects[j], 137 j++ 176 sort.Slice(m.Projects, func(i, j int) bool { [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/ |
D | SystemUtils.ets | 58 for (let j = 0; j < final.length - i - 1; j++) { 60 if (final[j] > final[j + 1]) { 61 let temp = final[j + 1]; 62 final[j + 1] = final[j]; 63 final[j] = temp;
|
D | BundleMangerUtils.ts | 42 for (let j = 0; j < data.length; j++) { 43 let bundleName = data[j].bundleName; 50 .getMediaBase64(data[j].iconId)
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | ClockDataReceiver.ts | 98 for (let j = 0; j < list.length; j++) { 99 if (j === list.length - 1) { 101 list[j].dur = (data.params.totalNS || 0) - (list[j].startNs || 0); 104 list[j].dur = (list[j + 1].startNs || 0) - (list[j].startNs || 0);
|
/developtools/packing_tool/adapter/ohos/ |
D | HapVerify.java | 119 for (int j = i + 1; j < hapVerifyInfos.size(); j++) { in checkContinueTypeIsValid() 120 if (!checkContinueTypeIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkContinueTypeIsValid() 138 for (int j = i + 1; j < abilityNames.size(); j++) { in checkContinueTypeIsValid() 139 … List<String> typeList2 = hapVerifyInfo.getContinueTypeMap().get(abilityNames.get(j)); in checkContinueTypeIsValid() 146 abilityNames.get(j) + ") have same continueType."); in checkContinueTypeIsValid() 148 … LOG.error("Another Ability: (" + abilityNames.get(j) + ") have continueType: " + typeList2); in checkContinueTypeIsValid() 204 for (int j = i + 1; j < hapVerifyInfos.size(); j++) { in checkSharedApppIsValid() 205 if (!checkDuplicatedIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkSharedApppIsValid() 322 for (int j = i + 1; j < hapVerifyInfos.size(); ++j) { in checkModuleNameIsValid() 323 … if (hapVerifyInfos.get(i).getModuleName().equals(hapVerifyInfos.get(j).getModuleName()) && in checkModuleNameIsValid() [all …]
|
D | HQFVerify.java | 95 for (int j = i + 1; j < hqfVerifyInfos.size(); ++j) { in checkModuleIsValid() 96 if (checkModuleIsDuplicated(hqfVerifyInfos.get(i), hqfVerifyInfos.get(j))) { in checkModuleIsValid()
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/ |
D | Transformer.ets | 117 for (var j = 0; j < count; j += 2) { 118 var e: Entry = data.getEntryForIndex(j / 2 + froms); 121 valuePoints[j] = e.getX(); 122 valuePoints[j + 1] = e.getY() * phaseY; 124 valuePoints[j] = 0; 125 valuePoints[j + 1] = 0; 151 for (var j = 0; j < count; j += 2) { 152 var e: Entry = data.getEntryForIndex(j / 2 + froms); 155 valuePoints[j] = e.getX(); 156 valuePoints[j + 1] = e.getY() * phaseY; [all …]
|
/developtools/ace_js2bundle/ace-loader/src/lite/ |
D | lite-customize.js | 68 for (let j = 0; j < children.length; j++) { 69 const child = children[j];
|
/developtools/syscap_codec/src/ |
D | create_pcid.c | 303 uint32_t i, j, countOfSyscap = 0; in GetOsSyscap() local 322 for (j = 0; j < UINT8_BIT; j++) { in GetOsSyscap() 323 if (osSyscap[i] & (0x01 << j)) { in GetOsSyscap() 324 indexOfSyscap[countOfSyscap++] = i * UINT8_BIT + j; in GetOsSyscap() 329 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in GetOsSyscap() 330 if (g_arraySyscap[j].num != indexOfSyscap[i]) { in GetOsSyscap() 333 if (!cJSON_AddItemToArray(capVectorPtr, cJSON_CreateString(g_arraySyscap[j].str))) { in GetOsSyscap() 623 uint32_t i, j; in AddOsSyscapToJsonObj() local 627 for (j = 0; j < UINT8_BIT; j++) { in AddOsSyscapToJsonObj() 628 if (osSysCapArrayUint8[i] & (0x01 << j)) { in AddOsSyscapToJsonObj() [all …]
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
D | get_newer_dir.go | 25 func (m *Manager) getNewerFileFromDir(cur string, less func(files []os.DirEntry, i, j int) bool) st… 33 sort.Slice(files, func(i, j int) bool { 34 return less(files, i, j)
|
/developtools/profiler/device/plugins/hisysevent_plugin/test/unittest/ |
D | hisysevent_plugin_unittest.cpp | 119 for (int j = 0; j < info.info_size(); j++) { variable 120 EXPECT_EQ(info.info(j).id(), g_testId); 166 for (int j = 0; j < info.info_size(); j++) { variable 167 EXPECT_EQ(info.info(j).id(), g_testId);
|