| /developtools/smartperf_host/trace_streamer/prebuilts/patch_libunwind/ |
| D | libunwindbuild.gn | 1 # Copyright (c) 2021 Huawei Device Co., Ltd. 16 "src/dwarf/Gexpr.c", 17 "src/dwarf/Gfde.c", 18 "src/dwarf/Gfind_proc_info-lsb.c", 19 "src/dwarf/Gfind_unwind_table.c", 20 "src/dwarf/global.c", 21 "src/dwarf/Gparser.c", 22 "src/dwarf/Gpe.c", 23 "src/dwarf/Lexpr.c", 24 "src/dwarf/Lfde.c", [all …]
|
| /developtools/smartperf_host/trace_streamer/prebuilts/patch_bounds_checking_function/ |
| D | bounds_checking_functionbuild.gn | 2 # Copyright (c) 2020 Huawei Device Co., Ltd. 18 "//third_party/bounds_checking_function/src/fscanf_s.c", 19 "//third_party/bounds_checking_function/src/fwscanf_s.c", 20 "//third_party/bounds_checking_function/src/gets_s.c", 21 "//third_party/bounds_checking_function/src/memcpy_s.c", 22 "//third_party/bounds_checking_function/src/memmove_s.c", 23 "//third_party/bounds_checking_function/src/memset_s.c", 24 "//third_party/bounds_checking_function/src/scanf_s.c", 25 "//third_party/bounds_checking_function/src/securecutil.c", 26 "//third_party/bounds_checking_function/src/secureinput_a.c", [all …]
|
| /developtools/smartperf_host/ide/src/ |
| D | icon.svg | 5 …d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-… 7 … 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 820c-205.4 0-372-166.6-37… 11 … 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 820c-205.4 0-372-166.6-37… 13 …c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zM448.6 361.5c49.… 17 … 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 820c-205.4 0-372-166.6-37… 19 …c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44… 23 … 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 820c-205.4 0-372-166.6-37… 25 …d="M710.4 295.9c-8-3.1-16.7-2.9-24.5 0.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 … 30 …6-8-8-8l-66 0.3L512 465.6l-99.3-118.4-66.1-0.3c-4.4 0-8 3.5-8 8 0 1.9 0.7 3.7 1.9 5.2l130.1 155L34… 32 … 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65z m0 820c-205.4 0-372-166.6-37… [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerTimeline.ts | 110 c: OffscreenCanvasRenderingContext2D; property in Graph 119 c: OffscreenCanvasRenderingContext2D, 124 this.c = c; 140 c: OffscreenCanvasRenderingContext2D, 144 super(canvas, c, frame); 155 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height); 156 this.c.beginPath(); 157 this.c.strokeStyle = '#999'; 158 this.c.lineWidth = 1; 161 this.c.moveTo(x, 0); [all …]
|
| /developtools/smartperf_host/trace_streamer/src/proto_reader/include/ |
| D | proto_reader_help.h | 79 inline char Lowercase(char c) in Lowercase() argument 81 return ('A' <= c && c <= 'Z') ? static_cast<char>(c - ('A' - 'a')) : c; in Lowercase() 84 inline char Uppercase(char c) in Uppercase() argument 86 return ('a' <= c && c <= 'z') ? static_cast<char>(c + ('A' - 'a')) : c; in Uppercase() 93 for (auto c = string.begin(); c != end; ++c) in ToUppercase() local 94 *c = Uppercase(*c); in ToUppercase() 102 for (auto c = string.begin(); c != end; ++c) in ToLowercase() local 103 *c = Lowercase(*c); in ToLowercase()
|
| /developtools/smartperf_host/ide/src/base-ui/chart/ |
| D | helper.ts | 16 export const resizeCanvas = (c: HTMLCanvasElement) => { 17 let el: Element = (c.getRootNode({ composed: false }) as ShadowRoot).host; 19 c.width = Math.ceil(el.clientWidth * dpr); 20 c.height = Math.ceil(el.clientHeight * dpr); 21 c.style.width = `${el.clientWidth}px`; 22 c.style.height = `${el.clientHeight}px`; 23 c.getContext('2d', { alpha: true })?.scale(dpr, dpr);
|
| /developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/ |
| D | DataFilter.ts | 40 let c = slice[i][startKey] - slice[i - 1][startKey] - slice[i - 1][durKey]; 41 if (c < pns && sum < pns) { 42 sum += c + slice[i - 1][durKey]; 85 let c = slice[i][startKey] - slice[i - 1][startKey] - slice[i - 1][durKey]; 86 if (c < pns && sum < pns) { 87 sum += c + slice[i - 1][durKey]; 121 res.add(arr.reduce((p, c) => (p[durKey] > c[durKey]) ? p : c)); 123 res.add(arr.reduce((p, c) => (p[valueKey] > c[valueKey]) ? p : c)); 128 res.add(filterArr.reduce((p, c) => (p[durKey] > c[durKey]) ? p : c)); 155 let childArray = (group[key] as any[]).reduce((p, c) => (p.durTmp > c.durTmp) ? p : c);
|
| /developtools/smartperf_host/ide/src/base-ui/chart/column/ |
| D | LitChartColumn.ts | 344 drawLine(c: CanvasRenderingContext2D) { 345 c.strokeStyle = '#dfdfdf'; 346 c.lineWidth = 1; 347 c.beginPath(); 348 c.fillStyle = '#8c8c8c'; 350 c.moveTo(this.offset!.x!, it.y); 351 c.lineTo(this.clientWidth, it.y); 353 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 11); 355 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 4); 358 c.stroke(); [all …]
|
| /developtools/syscap_codec/test/unittest/common/ |
| D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 39 "../../../interfaces/inner_api/syscap_interface.c", 40 "../../../src/context_tool.c", 41 "../../../src/create_pcid.c", 42 "../../../src/endian_internal.c", 43 "../../../src/syscap_tool.c", 80 "../../../interfaces/inner_api/syscap_interface.c", 81 "../../../src/context_tool.c", 82 "../../../src/create_pcid.c", 83 "../../../src/endian_internal.c", [all …]
|
| /developtools/global_resource_tool/src/ |
| D | cmd_list.cpp | 67 uint32_t CmdList::GetString(const Json::Value &node, int c, HandleBack callback) in GetString() argument 73 if (callback(c, node.asString()) != RESTOOL_SUCCESS) { in GetString() 79 uint32_t CmdList::GetArray(const Json::Value &node, int c, HandleBack callback) in GetArray() argument 89 if (callback(c, node[i].asString()) != RESTOOL_SUCCESS) { in GetArray() 96 uint32_t CmdList::GetModuleNames(const Json::Value &node, int c, HandleBack callback) in GetModuleNames() argument 100 return GetString(node, c, callback); in GetModuleNames() 102 if (GetArray(node, c, [&moduleNames](int c, const string &argValue) { in GetModuleNames() argument 112 if (!moduleNames.empty() && callback(c, moduleNames) != RESTOOL_SUCCESS) { in GetModuleNames() 118 uint32_t CmdList::GetBool(const Json::Value &node, int c, HandleBack callback) in GetBool() argument 124 if (node.asBool() && callback(c, "") != RESTOOL_SUCCESS) { in GetBool()
|
| /developtools/smartperf_host/trace_streamer/src/proto_reader/protoc_plugin/ |
| D | proto_reader_plugin.h | 35 inline char Uppercase(char c) in Uppercase() argument 37 return ('a' <= c && c <= 'z') ? static_cast<char>(c + ('A' - 'a')) : c; in Uppercase() 44 for (auto c = string.begin(); c != end; ++c) { in ToUppercase() local 45 *c = Uppercase(*c); in ToUppercase()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/ |
| D | HwSignHead.java | 102 for (char c : ELF_MAGIC) { in getSignHeadLittleEndian() 103 bf.put((byte) c); in getSignHeadLittleEndian() 105 for (char c : VERSION) { in getSignHeadLittleEndian() 106 bf.put((byte) c); in getSignHeadLittleEndian() 110 for (char c : reserve) { in getSignHeadLittleEndian() 111 bf.put((byte) c); in getSignHeadLittleEndian()
|
| /developtools/syscap_codec/ |
| D | BUILD.gn | 28 "./src/syscap_tool.c", 29 "./src/create_pcid.c", 30 "./src/endian_internal.c", 31 "./src/context_tool.c", 53 sources = [ "./src/main.c" ] 96 "./interfaces/inner_api/syscap_interface.c", 97 "./src/context_tool.c", 98 "./src/endian_internal.c", 99 "./src/syscap_tool.c", 120 "./interfaces/inner_api/syscap_interface.c", [all …]
|
| /developtools/global_resource_tool/include/ |
| D | cmd_list.h | 30 using HandleBack = std::function<uint32_t(int c, const std::string &argValue)>; 36 uint32_t GetString(const Json::Value &node, int c, HandleBack callback); 37 uint32_t GetArray(const Json::Value &node, int c, HandleBack callback); 38 uint32_t GetModuleNames(const Json::Value &node, int c, HandleBack callback); 39 uint32_t GetBool(const Json::Value &node, int c, HandleBack callback);
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | string_help.cpp | 69 for (const char* c = p; *c != 0; c++) { in FormatString() local 70 if (*c == '\\' || *c == '\"') { in FormatString() 73 str += *c; in FormatString()
|
| D | index_map.cpp | 190 std::vector<TableRowId> c = other->rowIndex_; in MergeIndexTypeId() local 194 c.push_back(rowIndex_[aIndex]); in MergeIndexTypeId() 208 std::vector<TableRowId> c; in Merge() local 216 c.push_back(b[bIndex]); in Merge() 223 c.push_back(a[aIndex]); in Merge() 229 c.push_back(a[aIndex]); in Merge() 232 c.push_back(a[aIndex]); in Merge() 236 c.push_back(b[bIndex]); in Merge() 240 rowIndex_ = c; in Merge()
|
| /developtools/smartperf_host/trace_streamer/src/table/ftrace/ |
| D | frame_slice_table.cpp | 123 const auto& c = cs[i]; in HandleIndex() local 124 switch (static_cast<Index>(c.col)) { in HandleIndex() 126 FilterId(c.op, argv[i]); in HandleIndex() 129 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in HandleIndex() 133 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Ipids(… in HandleIndex() 136 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.VsyncI… in HandleIndex() 139 indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int(argv[i])), in HandleIndex() 143 …indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Durs()… in HandleIndex() 146 …indexMap_->MixRange(c.op, static_cast<uint8_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Types()… in HandleIndex() 149 …indexMap_->MixRange(c.op, static_cast<uint8_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Flags()… in HandleIndex() [all …]
|
| D | thread_state_table.cpp | 143 const auto& c = cs[i]; in HandleIndex() local 144 switch (static_cast<Index>(c.col)) { in HandleIndex() 146 indexMapBack->FilterId(c.op, argv[i]); in HandleIndex() 149 indexMapBack->FilterTS(c.op, argv[i], threadStateObj_.TimeStamsData()); in HandleIndex() 152 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in HandleIndex() 156 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in HandleIndex() 160 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in HandleIndex() 164 indexMapBack->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int64(argv[i])), in HandleIndex() 168 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in HandleIndex() 172 indexMapBack->MixRange(c.op, in HandleIndex() [all …]
|
| D | sched_slice_table.cpp | 131 const auto& c = schedSliceTabCs[i]; in Filter() local 132 switch (static_cast<Index>(c.col)) { in Filter() 134 FilterId(c.op, argv[i]); in Filter() 137 FilterTS(c.op, argv[i], schedSliceObj_.TimeStampData()); in Filter() 140 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), schedSliceObj_.CpusDa… in Filter() 143 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter() 147 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter() 151 indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int64(argv[i])), in Filter()
|
| /developtools/ace_ets2bundle/compiler/test/pages/ |
| D | import@Observed.ets | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 20 public c: number 23 constructor(c: number, name: string = 'OK') { 25 this.c = c
|
| /developtools/syscap_codec/src/ |
| D | endian_internal.c | 30 } c; in CheckEndian() local 31 c.i = 0x12345678; in CheckEndian() 33 return (c.s[0] == 0x12); in CheckEndian()
|
| /developtools/syscap_codec/napi/ |
| D | BUILD.gn | 27 "../src/syscap_tool.c", 28 "../src/create_pcid.c", 29 "../src/endian_internal.c", 30 "../src/context_tool.c", 31 "../interfaces/inner_api/syscap_interface.c",
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/resource/testdata/ |
| D | shdrs_from_readelf_64 | 9 000000000000001c 0000000000000000 A 0 0 1 14 [ 4] .note.ABI-tag NOTE 000000000000037c 0000037c 49 000000000000004c 0000000000000000 A 0 0 4 69 000000000000012c 0000000000000000 0 0 1
|
| /developtools/hiperf/test/unittest/resource/testdata/ |
| D | shdrs_from_readelf_64 | 9 000000000000001c 0000000000000000 A 0 0 1 14 [ 4] .note.ABI-tag NOTE 000000000000037c 0000037c 49 000000000000004c 0000000000000000 A 0 0 4 69 000000000000012c 0000000000000000 0 0 1
|
| /developtools/smartperf_host/trace_streamer/src/table/hiperf/ |
| D | perf_sample_table.cpp | 97 const auto& c = perfSampleCs[i]; in Filter() local 98 switch (static_cast<Index>(c.col)) { in Filter() 100 FilterId(c.op, argv[i]); in Filter() 103 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int64(argv[i])), in Filter() 107 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int64(argv[i])), perfSampleObj_.Tids… in Filter() 110 indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int64(argv[i])), in Filter() 114 …indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int64(argv[i])), perfSampleObj_.CpuI… in Filter()
|