Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 813) sorted by relevance

12345678910>>...33

/developtools/profiler/host/smartperf/trace_streamer/prebuilts/patch_libunwind/
Dlibunwindbuild.gn1 # 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_libunwind/
Dlibunwindbuild.gn1 # 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/
Dbounds_checking_functionbuild.gn2 # 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/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/
DSportRuler.ts153 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height + 1);
154 this.c.beginPath();
156 this.c.lineWidth = 1;
157 this.c.strokeStyle = this.lineColor; //"#dadada"
158 this.c.moveTo(this.frame.x, this.frame.y);
159 this.c.lineTo(this.frame.x + this.frame.width, this.frame.y);
160 this.c.stroke();
161 this.c.closePath();
162 this.c.beginPath();
163 this.c.strokeStyle = '#999999';
[all …]
DTimeRuler.ts38 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height);
39 this.c.beginPath();
40 this.c.lineWidth = 1;
41 this.c.strokeStyle = '#999';
44 this.c.moveTo(x, 0);
45 this.c.lineTo(x, this.frame.height);
48 this.c.moveTo(x + Math.floor(inner_index * this.stepSmall), 0);
49 this.c.lineTo(x + Math.floor(inner_index * this.stepSmall), this.frame.height / 4);
51 this.c.fillStyle = '#999';
52 this.c.fillText(`${ns2s(index * this.stepNS)}`, x + 5, this.frame.height - 1);
[all …]
DGraph.ts20 c: CanvasRenderingContext2D; property in Graph
23 …protected constructor(canvas: HTMLCanvasElement | undefined | null, c: CanvasRenderingContext2D, f…
26 this.c = c;
/developtools/smartperf_host/ide/src/
Dicon.svg3 …<path 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.3…
4 … 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…
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…
8c-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.…
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…
12c-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…
15 … 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…
16 …<path 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.…
20 …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…
21 … 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/profiler/host/smartperf/ide/src/
Dicon.svg3 …<path 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.3…
4 … 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…
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…
8c-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.…
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…
12c-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…
15 … 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…
16 …<path 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.…
20 …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…
21 … 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/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts137 c: OffscreenCanvasRenderingContext2D; property in Graph
146 c: OffscreenCanvasRenderingContext2D,
151 this.c = c;
167 c: OffscreenCanvasRenderingContext2D,
171 super(canvas, c, frame);
182 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height);
183 this.c.beginPath();
184 this.c.strokeStyle = '#999';
185 this.c.lineWidth = 1;
188 this.c.moveTo(x, 0);
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts137 c: OffscreenCanvasRenderingContext2D; property in Graph
146 c: OffscreenCanvasRenderingContext2D,
151 this.c = c;
167 c: OffscreenCanvasRenderingContext2D,
171 super(canvas, c, frame);
182 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height);
183 this.c.beginPath();
184 this.c.strokeStyle = '#999';
185 this.c.lineWidth = 1;
188 this.c.moveTo(x, 0);
[all …]
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Dproto_reader_help.h78 inline char Lowercase(char c) in Lowercase() argument
80 return ('A' <= c && c <= 'Z') ? static_cast<char>(c - ('A' - 'a')) : c; in Lowercase()
83 inline char Uppercase(char c) in Uppercase() argument
85 return ('a' <= c && c <= 'z') ? static_cast<char>(c + ('A' - 'a')) : c; in Uppercase()
92 for (auto c = string.begin(); c != end; ++c) in ToUppercase() local
93 *c = Uppercase(*c); in ToUppercase()
101 for (auto c = string.begin(); c != end; ++c) in ToLowercase() local
102 *c = Lowercase(*c); in ToLowercase()
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/include/
Dproto_reader_help.h78 inline char Lowercase(char c) in Lowercase() argument
80 return ('A' <= c && c <= 'Z') ? static_cast<char>(c - ('A' - 'a')) : c; in Lowercase()
83 inline char Uppercase(char c) in Uppercase() argument
85 return ('a' <= c && c <= 'z') ? static_cast<char>(c + ('A' - 'a')) : c; in Uppercase()
92 for (auto c = string.begin(); c != end; ++c) in ToUppercase() local
93 *c = Uppercase(*c); in ToUppercase()
101 for (auto c = string.begin(); c != end; ++c) in ToLowercase() local
102 *c = Lowercase(*c); in ToLowercase()
/developtools/smartperf_host/ide/src/base-ui/chart/
Dhelper.ts16 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/profiler/host/smartperf/ide/src/base-ui/chart/
Dhelper.ts16 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/profiler/host/smartperf/ide/src/base-ui/chart/column/
DLitChartColumn.ts326 drawLine(c: CanvasRenderingContext2D) {
327 c.strokeStyle = '#dfdfdf';
328 c.lineWidth = 1;
329 c.beginPath();
330 c.fillStyle = '#8c8c8c';
332 c.moveTo(this.offset!.x!, it.y);
333 c.lineTo(this.clientWidth, it.y);
335 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 11);
337 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 4);
340 c.stroke();
[all …]
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts326 drawLine(c: CanvasRenderingContext2D) {
327 c.strokeStyle = '#dfdfdf';
328 c.lineWidth = 1;
329 c.beginPath();
330 c.fillStyle = '#8c8c8c';
332 c.moveTo(this.offset!.x!, it.y);
333 c.lineTo(this.clientWidth, it.y);
335 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 11);
337 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 4);
340 c.stroke();
[all …]
/developtools/global_resource_tool/src/
Dcmd_list.cpp67 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/
Dproto_reader_plugin.h35 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/profiler/host/smartperf/trace_streamer/src/proto_reader/protoc_plugin/
Dproto_reader_plugin.h35 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/profiler/host/smartperf/trace_streamer/src/table/ftrace/
Dframe_slice_table.cpp88 const auto& c = fcConstraints[i]; in FilterByConstraint() local
89 switch (c.col) { in FilterByConstraint()
91 if (CanFilterId(c.op, rowCount)) { in FilterByConstraint()
130 const auto& c = cs[i]; in Filter() local
131 switch (c.col) { in Filter()
133 FilterId(c.op, argv[i]); in Filter()
136 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
140 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Ipids(… in Filter()
143 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.VsyncI… in Filter()
146 indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int(argv[i])), in Filter()
[all …]
Dthread_state_table.cpp88 const auto& c = fcConstraints[i]; in FilterByConstraint() local
89 switch (c.col) { in FilterByConstraint()
91 if (CanFilterId(c.op, rowCount)) { in FilterByConstraint()
101 if (CanFilterSorted(c.op, rowCount)) { in FilterByConstraint()
159 const auto& c = cs[i]; in Filter() local
160 switch (c.col) { in Filter()
162 indexMapBack->FilterId(c.op, argv[i]); in Filter()
165 indexMapBack->FilterTS(c.op, argv[i], threadStateObj_.TimeStamsData()); in Filter()
168 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
172 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
[all …]
/developtools/smartperf_host/trace_streamer/src/table/ftrace/
Dframe_slice_table.cpp88 const auto& c = fcConstraints[i]; in FilterByConstraint() local
89 switch (c.col) { in FilterByConstraint()
91 if (CanFilterId(c.op, rowCount)) { in FilterByConstraint()
130 const auto& c = cs[i]; in Filter() local
131 switch (c.col) { in Filter()
133 FilterId(c.op, argv[i]); in Filter()
136 indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
140 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.Ipids(… in Filter()
143 …indexMap_->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), frameSliceObj_.VsyncI… in Filter()
146 indexMap_->MixRange(c.op, static_cast<uint64_t>(sqlite3_value_int(argv[i])), in Filter()
[all …]
Dthread_state_table.cpp88 const auto& c = fcConstraints[i]; in FilterByConstraint() local
89 switch (c.col) { in FilterByConstraint()
91 if (CanFilterId(c.op, rowCount)) { in FilterByConstraint()
101 if (CanFilterSorted(c.op, rowCount)) { in FilterByConstraint()
159 const auto& c = cs[i]; in Filter() local
160 switch (c.col) { in Filter()
162 indexMapBack->FilterId(c.op, argv[i]); in Filter()
165 indexMapBack->FilterTS(c.op, argv[i], threadStateObj_.TimeStamsData()); in Filter()
168 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
172 indexMapBack->MixRange(c.op, static_cast<uint32_t>(sqlite3_value_int(argv[i])), in Filter()
[all …]
/developtools/syscap_codec/test/unittest/common/
DBUILD.gn1 # Copyright (c) 2022 Huawei Device Co., Ltd.
39 "../../../interfaces/inner_api/syscap_interface.c",
40 "../../../src/create_pcid.c",
41 "../../../src/endian_internal.c",
42 "../../../src/syscap_tool.c",
80 "../../../interfaces/inner_api/syscap_interface.c",
81 "../../../src/create_pcid.c",
82 "../../../src/endian_internal.c",
83 "../../../src/syscap_tool.c",
/developtools/global_resource_tool/include/
Dcmd_list.h30 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);

12345678910>>...33