| /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 | 180 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 …]
|
| 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/profiler/host/smartperf/ide/src/trace/component/chart/ |
| D | SpVirtualMemChart.ts | 80 for (let j = 0; j < resultVm.length; j++) { 81 resultVm[j].maxValue = maxValue; 82 if (j == resultVm.length - 1) { 83 resultVm[j].duration = (TraceRow.range?.totalNS || 0) - (resultVm[j].startTime || 0); 85 resultVm[j].duration = (resultVm[j + 1].startTime || 0) - (resultVm[j].startTime || 0); 87 if (j > 0) { 88 resultVm[j].delta = (resultVm[j].value || 0) - (resultVm[j - 1].value || 0); 90 resultVm[j].delta = 0;
|
| D | SpClockChart.ts | 75 for (let j = 0; j < resultClock.length; j++) { 77 if (j == resultClock.length - 1) { 78 … resultClock[j].dur = (TraceRow.range?.totalNS || 0) - (resultClock[j].startNS || 0); 80 … resultClock[j].dur = (resultClock[j + 1].startNS || 0) - (resultClock[j].startNS || 0); 83 if ((resultClock[j].value || 0) > maxValue) { 84 maxValue = resultClock[j].value || 0; 86 if (j > 0) { 87 … resultClock[j].delta = (resultClock[j].value || 0) - (resultClock[j - 1].value || 0); 89 resultClock[j].delta = 0;
|
| D | SpProcessChart.ts | 271 for (let j = 0; j < expectedData.length; j++) { 272 let expectedItem = expectedData[j]; 338 for (let j = 0; j < actualData.length; j++) { 339 let actualItem = actualData[j]; 570 for (let j = 0; j < resultProcess.length; j++) { 571 resultProcess[j].maxValue = maxValue; 572 if (j == resultProcess.length - 1) { 573 … resultProcess[j].duration = (TraceRow.range?.totalNS || 0) - (resultProcess[j].startTime || 0); 575 …resultProcess[j].duration = (resultProcess[j + 1].startTime || 0) - (resultProcess[j].startTime ||… 577 if (j > 0) { [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | SpVirtualMemChart.ts | 80 for (let j = 0; j < resultVm.length; j++) { 81 resultVm[j].maxValue = maxValue; 82 if (j == resultVm.length - 1) { 83 resultVm[j].duration = (TraceRow.range?.totalNS || 0) - (resultVm[j].startTime || 0); 85 resultVm[j].duration = (resultVm[j + 1].startTime || 0) - (resultVm[j].startTime || 0); 87 if (j > 0) { 88 resultVm[j].delta = (resultVm[j].value || 0) - (resultVm[j - 1].value || 0); 90 resultVm[j].delta = 0;
|
| D | SpClockChart.ts | 75 for (let j = 0; j < resultClock.length; j++) { 77 if (j == resultClock.length - 1) { 78 … resultClock[j].dur = (TraceRow.range?.totalNS || 0) - (resultClock[j].startNS || 0); 80 … resultClock[j].dur = (resultClock[j + 1].startNS || 0) - (resultClock[j].startNS || 0); 83 if ((resultClock[j].value || 0) > maxValue) { 84 maxValue = resultClock[j].value || 0; 86 if (j > 0) { 87 … resultClock[j].delta = (resultClock[j].value || 0) - (resultClock[j - 1].value || 0); 89 resultClock[j].delta = 0;
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_js_memory_parser.cpp | 53 void from_json(const json& j, Meta& v) in from_json() argument 55 for (int32_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 for (int32_t i = 0; i < j["node_types"].size(); i++) { in from_json() 60 if (j["node_types"][i].is_array()) { in from_json() 61 for (int32_t m = 0; m < j["node_types"][i].size(); m++) { in from_json() 62 nodeTypes.emplace_back(j["node_types"][i][m]); in from_json() 66 nodeTypes.emplace_back(j["node_types"][i]); in from_json() 70 for (int32_t i = 0; i < j["edge_fields"].size(); i++) { in from_json() 71 v.edgeFields.emplace_back(j["edge_fields"][i]); in from_json() [all …]
|
| D | htrace_hisysevent_parser.cpp | 105 for (int32_t j = 0; j < maxArraySize; j++) { in ArrayDataParse() local 107 auto value = jData.value[*itor][j]; in ArrayDataParse() 126 for (int32_t j = 0; j < jData.key.size(); j++) { in CommonDataParser() local 127 std::string key = jData.key[j]; in CommonDataParser() 128 auto value = jData.value[j]; in CommonDataParser()
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_js_memory_parser.cpp | 53 void from_json(const json& j, Meta& v) in from_json() argument 55 for (int32_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 for (int32_t i = 0; i < j["node_types"].size(); i++) { in from_json() 60 if (j["node_types"][i].is_array()) { in from_json() 61 for (int32_t m = 0; m < j["node_types"][i].size(); m++) { in from_json() 62 nodeTypes.emplace_back(j["node_types"][i][m]); in from_json() 66 nodeTypes.emplace_back(j["node_types"][i]); in from_json() 70 for (int32_t i = 0; i < j["edge_fields"].size(); i++) { in from_json() 71 v.edgeFields.emplace_back(j["edge_fields"][i]); in from_json() [all …]
|
| D | htrace_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 …]
|
| D | htrace_hisysevent_parser.cpp | 54 for (int32_t j = 0; j < maxArraySize; j++) { in ArrayDataParse() local 56 auto value = jData.value[*itor][j]; in ArrayDataParse() 92 for (int32_t j = 0; j < jData.key.size(); j++) { in CommonDataParser() local 93 std::string key = jData.key[j]; in CommonDataParser() 94 auto value = jData.value[j]; in CommonDataParser()
|
| /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 | 61 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;
|
| D | BundleMangerUtils.ts | 36 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/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) { 119 var e: Entry = data.getEntryForIndex(j / 2 + froms); 122 valuePoints[j] = e.getX(); 123 valuePoints[j + 1] = e.getY() * phaseY; 125 valuePoints[j] = 0; 126 valuePoints[j + 1] = 0; 153 for (var j = 0; j < count; j += 2) { 155 var e: Entry = data.getEntryForIndex(j / 2 + froms); 158 valuePoints[j] = e.getX(); 159 valuePoints[j + 1] = e.getY() * phaseY; [all …]
|
| /developtools/syscap_codec/src/ |
| D | create_pcid.c | 383 uint32_t i, j, countOfSyscap = 0; in GetOsSyscap() local 401 for (j = 0; j < UINT8_BIT; j++) { in GetOsSyscap() 402 if (osSyscap[i] & (0x01 << j)) { in GetOsSyscap() 403 indexOfSyscap[countOfSyscap++] = i * UINT8_BIT + j; in GetOsSyscap() 408 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in GetOsSyscap() 409 if (g_arraySyscap[j].num == indexOfSyscap[i]) { in GetOsSyscap() 410 if (!cJSON_AddItemToArray(capVectorPtr, cJSON_CreateString(g_arraySyscap[j].str))) { in GetOsSyscap() 654 uint32_t i, j; in AddOsSyscapToJsonObj() local 658 for (j = 0; j < UINT8_BIT; j++) { in AddOsSyscapToJsonObj() 659 if (osSysCapArrayUint8[i] & (0x01 << j)) { in AddOsSyscapToJsonObj() [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/packing_tool/adapter/ohos/ |
| D | HapVerify.java | 140 for (int j = i + 1; j < hapVerifyInfos.size(); j++) { in checkSharedApppIsValid() 141 if (!checkDuplicatedIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkSharedApppIsValid() 242 for (int j = i + 1; j < hapVerifyInfos.size(); ++j) { in checkModuleNameIsValid() 243 … if (hapVerifyInfos.get(i).getModuleName().equals(hapVerifyInfos.get(j).getModuleName()) && in checkModuleNameIsValid() 244 !checkDuplicatedIsValid(hapVerifyInfos.get(i), hapVerifyInfos.get(j))) { in checkModuleNameIsValid() 246 hapVerifyInfos.get(j).getModuleName() + ") have the same moduleName, " + in checkModuleNameIsValid() 250 … LOG.error("Another Module: " + hapVerifyInfos.get(j).getModuleName() + " has deviceType " in checkModuleNameIsValid() 251 + hapVerifyInfos.get(j).getDeviceType() + "."); in checkModuleNameIsValid() 256 if (!EMPTY_STRING.equals(hapVerifyInfos.get(j).getDistroFilter().dump())) { in checkModuleNameIsValid() 257 … LOG.error("Another Module: " + hapVerifyInfos.get(j).getModuleName() + " DistroFilter is " 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/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);
|
| /developtools/syscap_codec/interfaces/inner_api/ |
| D | syscap_interface.c | 201 uint16_t i, j; in DecodeOsSyscap() local 206 for (j = 0; j < CHAR_BIT; j++) { in DecodeOsSyscap() 207 if (osSyscap[i] & (0x01 << j)) { in DecodeOsSyscap() 208 indexOfSyscap[countOfSyscap++] = i * CHAR_BIT + j; in DecodeOsSyscap() 226 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in DecodeOsSyscap() 227 if (g_arraySyscap[j].num == indexOfSyscap[i]) { in DecodeOsSyscap() 228 nRet = strcpy_s(*strSyscap, SINGLE_SYSCAP_LEN, g_arraySyscap[j].str); in DecodeOsSyscap() 560 uint32_t i, j; in ComparePcidString() local 617 for (j = 0; j < pcidPriSyscapLen; j++) { in ComparePcidString() 619 pcidPriSyscap + SINGLE_SYSCAP_LEN * j) == 0) { in ComparePcidString()
|