Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 91) sorted by relevance

1234

/developtools/profiler/device/services/ipc/src/
Dipc_generator_impl.cpp207 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 …]
Dipc_generator.cpp34 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/
Ddwarf_test.cpp180 for (std::size_t j = 0; j < num; ++j) { variable
182 dw_encode_t dwe = ehas[i] | vfs[j];
183 DwarfEncoding dw {dwe, data[j]};
185 if (vfs[j] == DW_EH_PE_absptr) {
186 EXPECT_TRUE(data[j] == dw.GetEnd() - dw.GetSize());
188 EXPECT_TRUE(data[j] == dw.GetEnd());
199 for (std::size_t j = 0; j < num; ++j) { variable
201 dw_encode_t dwe = ehas[i] | vfs[j];
202 DwarfEncoding dw {dwe, data[j]};
204 if (vfs[j] == DW_EH_PE_absptr) {
[all …]
Dperf_file_format_test.cpp119 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/
DTabPaneFreqUsage.ts187 for (let j = 0; j < dealArr.length; j++) {
188 const consumption: number = dealArr[j].value!; constant
190 if (value[i].cpu === dealArr[j].cpu) {
192 … if (value[i].ts > dealArr[j].startNS && value[i].ts < dealArr[j].startNS + dealArr[j].dur &&
193 value[i].dur < dealArr[j].startNS + dealArr[j].dur - value[i].ts ) {
194 …resultList.push(this.pushNewData(value[i], dealArr[j], {id: 1, sum: sum, consumption: consumption,…
198 … if (value[i].ts > dealArr[j].startNS && value[i].ts < dealArr[j].startNS + dealArr[j].dur &&
199 value[i].dur >= dealArr[j].startNS + dealArr[j].dur - value[i].ts) {
200 …resultList.push(this.pushNewData(value[i], dealArr[j], {id: 2, sum: sum, consumption: consumption,…
203 … if (value[i].ts <= dealArr[j].startNS && value[i].ts + value[i].dur > dealArr[j].startNS &&
[all …]
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpVirtualMemChart.ts109 for (let j = 0; j < resultVm.length; j++) {
111 resultVm[j].maxValue = maxValue;
113 resultVm[j].maxValue = Number(virtualMemoryRow.getAttribute('maxValue'));
115 if (j === resultVm.length - 1) {
116 resultVm[j].duration = (TraceRow.range?.totalNS || 0) - (resultVm[j].startTime || 0);
118 resultVm[j].duration = (resultVm[j + 1].startTime || 0) - (resultVm[j].startTime || 0);
120 if (j > 0) {
121 resultVm[j].delta = (resultVm[j].value || 0) - (resultVm[j - 1].value || 0);
123 resultVm[j].delta = 0;
DSpClockChart.ts76 for (let j = 0; j < resultClock.length; j++) {
77 resultClock[j].type = 'measure';
78 if ((resultClock[j].value || 0) > maxValue) {
79 maxValue = resultClock[j].value || 0;
81 if (j > 0) {
82 … resultClock[j].delta = (resultClock[j].value || 0) - (resultClock[j - 1].value || 0);
84 resultClock[j].delta = 0;
DSpAllAppStartups.ts75 for (let j = 0; j < tmpResArr.length; j++) {
76 if (Number(tmpResArr[j].startTs) > Number(maxStartTs)) {
77 maxStartTs = tmpResArr[j].startTs;
78 } else if (Number(tmpResArr[j].startTs) < Number(minStartTs)) {
79 minStartTs = tmpResArr[j].startTs;
DSpProcessChart.ts346 for (let j = 0; j < res.length; j++) {
347 let expectedItem = res[j];
351 expectedItem.cmdline = this.processNameMap.get(res[j].pid!);
352 if (res[j].pid! === renderServiceProcess[0].pid) {
400 for (let j = 0; j < res.length; j++) {
401 let actualItem = res[j];
405 actualItem.src_slice = this.processSrcSliceMap.get(res[j].id!);
406 actualItem.cmdline = this.processNameMap.get(res[j].pid!);
407 if (res[j].pid! === renderServiceProcess[0].pid) {
699 for (let j = 0; j < resultProcess.length; j++) {
[all …]
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_js_memory_parser.cpp54 void from_json(const json& j, Meta& v) in from_json() argument
56 for (size_t i = 0; i < j["node_fields"].size(); i++) { in from_json()
57 v.nodeFields.emplace_back(j["node_fields"][i]); 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()
72 v.edgeFields.emplace_back(j["edge_fields"][i]); in from_json()
[all …]
Dhtrace_js_cpu_profiler_parser.cpp36 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/
Dcommon_stdtype.cpp164 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local
165 stat_[j] = config_.eventErrorDescMap_.at(static_cast<StatType>(j)); in StatAndInfo()
169 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local
170 …statSeverity_[i][j] = config_.eventParserStatSeverityDescMap_.at(static_cast<SupportedTraceEventTy… in StatAndInfo()
171 .at(static_cast<StatType>(j)); in StatAndInfo()
176 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local
177 statSeverityDesc_[i][j] = config_.serverityLevelDescMap_.at(statSeverity_[i][j]); in StatAndInfo()
182 for (int32_t j = STAT_EVENT_START; j < STAT_EVENT_MAX; j++) { in StatAndInfo() local
183 statCount_[i][j] = 0; in StatAndInfo()
/developtools/integration_verification/tools/fotff/vcs/
Dmanifest.go112 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/
DSystemUtils.ets61 for (let j = 0; j < final.length - i - 1; j++) {
63 if (final[j] > final[j + 1]) {
64 let temp = final[j + 1];
65 final[j + 1] = final[j];
66 final[j] = temp;
DBundleMangerUtils.ts36 for (let j = 0; j < data.length; j++) {
37 let bundleName = data[j].bundleName
41 … await bundleContext.resourceManager.getMediaBase64(data[j].iconId).then((value)=> {
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DClockDataReceiver.ts91 for (let j = 0; j < list.length; j++) {
92 if (j == list.length - 1) {
93 list[j].dur = (data.params.totalNS || 0) - (list[j].startNs || 0);
95 list[j].dur = (list[j + 1].startNs || 0) - (list[j].startNs || 0);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DTransformer.ets115 for (var j = 0; j < count; j += 2) {
117 var e: Entry = data.getEntryForIndex(j / 2 + froms);
120 valuePoints[j] = e.getX();
121 valuePoints[j + 1] = e.getY() * phaseY;
123 valuePoints[j] = 0;
124 valuePoints[j + 1] = 0;
151 for (var j = 0; j < count; j += 2) {
153 var e: Entry = data.getEntryForIndex(j / 2 + froms);
156 valuePoints[j] = e.getX();
157 valuePoints[j + 1] = e.getY() * phaseY;
[all …]
/developtools/syscap_codec/src/
Dcreate_pcid.c294 uint32_t i, j, countOfSyscap = 0; in GetOsSyscap() local
312 for (j = 0; j < UINT8_BIT; j++) { in GetOsSyscap()
313 if (osSyscap[i] & (0x01 << j)) { in GetOsSyscap()
314 indexOfSyscap[countOfSyscap++] = i * UINT8_BIT + j; in GetOsSyscap()
319 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in GetOsSyscap()
320 if (g_arraySyscap[j].num != indexOfSyscap[i]) { in GetOsSyscap()
323 if (!cJSON_AddItemToArray(capVectorPtr, cJSON_CreateString(g_arraySyscap[j].str))) { in GetOsSyscap()
600 uint32_t i, j; in AddOsSyscapToJsonObj() local
604 for (j = 0; j < UINT8_BIT; j++) { in AddOsSyscapToJsonObj()
605 if (osSysCapArrayUint8[i] & (0x01 << j)) { in AddOsSyscapToJsonObj()
[all …]
/developtools/ace_js2bundle/ace-loader/src/lite/
Dlite-customize.js68 for (let j = 0; j < children.length; j++) {
69 const child = children[j];
/developtools/packing_tool/adapter/ohos/
DHapVerify.java137 for (int j = i + 1; j < hapVerifyInfos.size(); j++) { in checkSharedApppIsValid()
138 if (!checkDuplicatedIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkSharedApppIsValid()
239 for (int j = i + 1; j < hapVerifyInfos.size(); ++j) { in checkModuleNameIsValid()
240 … if (hapVerifyInfos.get(i).getModuleName().equals(hapVerifyInfos.get(j).getModuleName()) && in checkModuleNameIsValid()
241 !checkDuplicatedIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkModuleNameIsValid()
243 hapVerifyInfos.get(j).getModuleName() + ") have the same moduleName, " + in checkModuleNameIsValid()
247 … LOG.error("Another Module: " + hapVerifyInfos.get(j).getModuleName() + " has deviceType " in checkModuleNameIsValid()
248 + hapVerifyInfos.get(j).getDeviceType() + "."); in checkModuleNameIsValid()
253 if (!EMPTY_STRING.equals(hapVerifyInfos.get(j).getDistroFilter().dump())) { in checkModuleNameIsValid()
254 … LOG.error("Another Module: " + hapVerifyInfos.get(j).getModuleName() + " DistroFilter is " in checkModuleNameIsValid()
[all …]
DHQFVerify.java95 for (int j = i + 1; j < hqfVerifyInfos.size(); ++j) { in checkModuleIsValid()
96 if (checkModuleIsDuplicated(hqfVerifyInfos.get(i), hqfVerifyInfos.get(j))) { in checkModuleIsValid()
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dget_newer_dir.go25 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)
Dsteps_gitee.go209 for j := i + 1; j < len(us); j++ {
210 if us[j].P1 == us[i].P1 && us[j].P2 == us[i].P2 {
211 dupIndexes[j] = true
305 sort.Slice(infos.MRs, func(i, j int) bool {
307 return infos.MRs[i].Commit.Committer.Date > infos.MRs[j].Commit.Committer.Date
315 sort.Slice(ret, func(i, j int) bool {
316 ti, tj := ret[i].MRs[0].Commit.Committer.Date, ret[j].MRs[0].Commit.Committer.Date
320 if len(ret[j].StructCTime) != 0 {
321 ti = ret[j].StructCTime
/developtools/profiler/device/plugins/hisysevent_plugin/test/unittest/
Dhisysevent_plugin_unittest.cpp119 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);
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c154 uint16_t i, j; in DecodeOsSyscap() local
159 for (j = 0; j < CHAR_BIT; j++) { in DecodeOsSyscap()
160 if (osSyscap[i] & (0x01 << j)) { in DecodeOsSyscap()
161 indexOfSyscap[countOfSyscap++] = i * CHAR_BIT + j; in DecodeOsSyscap()
179 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in DecodeOsSyscap()
180 if (g_arraySyscap[j].num == indexOfSyscap[i]) { in DecodeOsSyscap()
181 nRet = strcpy_s(*strSyscap, SINGLE_SYSCAP_LEN, g_arraySyscap[j].str); in DecodeOsSyscap()
579 uint32_t i, j; in ComparePcidWithPriSyscap() local
585 for (j = 0; j < pcidPriSyscapInfo.pcidPriSyscapLen; j++) { in ComparePcidWithPriSyscap()
587 pcidPriSyscapInfo.pcidPriSyscap + SINGLE_SYSCAP_LEN * j) == 0) { in ComparePcidWithPriSyscap()

1234