Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 126) sorted by relevance

123456

/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Ddata_area.h151 void GetValue(bool* val) const in GetValue() argument
153 *val = ToBool(); in GetValue()
155 void GetValue(uint32_t* val) const in GetValue() argument
157 *val = ToUint32(); in GetValue()
159 void GetValue(int32_t* val) const in GetValue() argument
161 *val = ToInt32(); in GetValue()
163 void GetValue(uint64_t* val) const in GetValue() argument
165 *val = ToUint64(); in GetValue()
167 void GetValue(int64_t* val) const in GetValue() argument
169 *val = ToInt64(); in GetValue()
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/include/
Ddata_area.h151 void GetValue(bool* val) const in GetValue() argument
153 *val = ToBool(); in GetValue()
155 void GetValue(uint32_t* val) const in GetValue() argument
157 *val = ToUint32(); in GetValue()
159 void GetValue(int32_t* val) const in GetValue() argument
161 *val = ToInt32(); in GetValue()
163 void GetValue(uint64_t* val) const in GetValue() argument
165 *val = ToUint64(); in GetValue()
167 void GetValue(int64_t* val) const in GetValue() argument
169 *val = ToInt64(); in GetValue()
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/file-system/
DTabPaneIoCompletionTimes.test.ts62 let val = [ variable
68 expect(tabPaneIoCompletionTimes.initFilterTypes(val)).toBeTruthy();
71 let val = [ variable
78 expect(tabPaneIoCompletionTimes.fromStastics(val)).toBeTruthy();
81 let val = [ variable
87 expect(tabPaneIoCompletionTimes.queryData(val)).toBeUndefined();
90 let val = [ variable
97 expect(tabPaneIoCompletionTimes.filterTypeData(val)).toBeUndefined();
DTabPaneVMEvents.test.ts71 let val = [ variable
77 expect(tabPaneVMEvents.initFilterTypes(val)).toBeTruthy();
80 let val = [ variable
87 expect(tabPaneVMEvents.fromStastics(val)).toBeTruthy();
90 let val = [ variable
96 expect(tabPaneVMEvents.queryData(val)).toBeUndefined();
99 let val = [ variable
106 expect(tabPaneVMEvents.filterTypeData(val)).toBeUndefined();
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/hiperf/
DTabPanePerfAnalysis.ts55 set data(val: SelectionParam) {
56 if (val === this.currentSelection) {
64 this.currentSelection = val;
73 'Selected range: ' + parseFloat(((val.rightNs - val.leftNs) / 1000000.0).toFixed(5)) + ' ms';
75 this.getCallChainDataFromWorker(val);
129 processPieChart(val: SelectionParam) {
152 this.perfProcessLevelClickEvent(it, val);
197 this.perfProcessLevelClickEvent(data, val);
201 perfProcessLevelClickEvent(it: any, val: SelectionParam) {
208 this.getHiperfThread(it, val);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPanePerfAnalysis.ts55 set data(val: SelectionParam) {
56 if (val === this.currentSelection) {
64 this.currentSelection = val;
73 'Selected range: ' + parseFloat(((val.rightNs - val.leftNs) / 1000000.0).toFixed(5)) + ' ms';
75 this.getCallChainDataFromWorker(val);
129 processPieChart(val: SelectionParam): void {
152 this.perfProcessLevelClickEvent(it, val);
193 this.perfProcessLevelClickEvent(data, val);
201 perfProcessLevelClickEvent(it: any, val: SelectionParam): void {
208 this.getHiperfThread(it, val);
[all …]
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcomponent_validator.js928 function validateIf(val, out, flag, nodeLoc, relativePath) { argument
929 if (!REG_DATA_BINDING.test(val)) {
930 if (val.trim() === 'false') {
931 val = card ? false : '{{false}}'
932 } else if (val.trim() === 'true') {
933 val = card ? true : '{{true}}'
939 reason: 'ERROR: if value cannot be ' + val + '. The default value is true or false.'
944 const content = val.replace('{{', '').replace('}}', '')
945 val = !card ? '{{!(' + content + ')}}' :
946 REG_DATA_BINDING.test(val) ? '!{{' + content + '}}' : '!' + content
[all …]
/developtools/profiler/hiebpf/include/
Dcommandline_flags.h258 bool *val = (bool*) flags_[flag].addr_; in ParseBoolFlag() local
260 *val = false; in ParseBoolFlag()
262 *val = true; in ParseBoolFlag()
284 int8_t* val = (int8_t*) flags_[flag].addr_; in ParseInt8Flag() local
285 *val = static_cast<int8_t>(tmpVal); in ParseInt8Flag()
299 int16_t* val = (int16_t*) flags_[flag].addr_; in ParseInt16Flag() local
300 *val = static_cast<int16_t>(tmpVal); in ParseInt16Flag()
314 int32_t* val = (int32_t*) flags_[flag].addr_; in ParseInt32Flag() local
315 *val = static_cast<int32_t>(tmpVal); in ParseInt32Flag()
329 int64_t* val = (int64_t*) flags_[flag].addr_; in ParseInt64Flag() local
[all …]
/developtools/smartperf_host/ide/src/base-ui/menu/
DLitMainMenuItem.ts34 set title(val: string) {
35 this.setAttribute('title', val);
42 set disabled(val: boolean) {
43 if (val) {
44 this.setAttribute('disabled', val.toString());
45 this.fileEL?.setAttribute('disabled', val.toString());
/developtools/profiler/host/smartperf/ide/src/base-ui/menu/
DLitMainMenuItem.ts34 set title(val: string) {
35 this.setAttribute('title', val);
42 set disabled(val: boolean) {
43 if (val) {
44 this.setAttribute('disabled', val.toString());
45 this.fileEL?.setAttribute('disabled', val.toString());
/developtools/profiler/hiebpf/scripts/
Dhiebpf_code_generator.py56 for opt, val in opts:
58 FSTRACE_PROGS_FILE = val
60 FSTRACE_TYPES_FILE = val
62 FSTRACE_TARGETS_FILE = val
63 if opt == opt_names[3] and val == "true":
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMemory.ts91 getDataByNativeMemoryWorker(val: SelectionParam | any, refresh = false) {
96 args.set('leftNs', val.leftNs);
97 args.set('rightNs', val.rightNs);
162 fromStastics(val: SelectionParam | any) {
164 if (this.currentSelection != val) {
166 this.currentSelection = val;
169 this.queryData(val);
172 let typeIndexOf = this.native_type.indexOf(val.statisticsSelectData.memoryTap);
173 if (this.statsticsSelection.indexOf(val.statisticsSelectData) == -1 && typeIndexOf == -1) {
174 this.statsticsSelection.push(val.statisticsSelectData);
[all …]
/developtools/profiler/host/smartperf/ide/src/base-ui/slicer/
Dlit-slicer.ts43 set direction(val: any) {
44 if (val.startsWith('h')) {
46 } else if (val.startsWith('v')) {
79 set rangeLeft(val: number) {
80 this.setAttribute('range-left', `${val}`);
87 set rangeRight(val: number) {
88 this.setAttribute('range-right', `${val}`);
/developtools/smartperf_host/ide/src/base-ui/slicer/
Dlit-slicer.ts43 set direction(val: any) {
44 if (val.startsWith('h')) {
46 } else if (val.startsWith('v')) {
79 set rangeLeft(val: number) {
80 this.setAttribute('range-left', `${val}`);
87 set rangeRight(val: number) {
88 this.setAttribute('range-right', `${val}`);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFileSystemEvents.ts184 fromStastics(val: SelectionParam | any) {
185 if (val.fileSystemFsData == undefined) {
188 if (val.fileSystemFsData.title == 'All') {
191 } else if (val.fileSystemFsData.pid == undefined) {
192 this.filterEventType = '' + (val.fileSystemFsData.type + 1);
195 this.filterEventType = '' + (val.fileSystemFsData.type + 1);
199 if (this.currentSelection == val) {
202 … this.processList?.indexOf(`${val.fileSystemFsData.name}[${val.fileSystemFsData.pid}]`) + '';
209 this.currentSelection = val;
210 this.queryData(val);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFileSystemEvents.ts184 fromStastics(val: SelectionParam | any) {
185 if (val.fileSystemFsData == undefined) {
188 if (val.fileSystemFsData.title == 'All') {
191 } else if (val.fileSystemFsData.pid == undefined) {
192 this.filterEventType = '' + (val.fileSystemFsData.type + 1);
195 this.filterEventType = '' + (val.fileSystemFsData.type + 1);
199 if (this.currentSelection == val) {
202 … this.processList?.indexOf(`${val.fileSystemFsData.name}[${val.fileSystemFsData.pid}]`) + '';
209 this.currentSelection = val;
210 this.queryData(val);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMemory.ts93 getDataByNativeMemoryWorker(val: SelectionParam | any) {
99 args.set('leftNs', val.leftNs);
100 args.set('rightNs', val.rightNs);
139 fromStastics(val: SelectionParam | any) {
141 if (this.currentSelection != val) {
143 this.currentSelection = val;
156 this.queryData(val);
159 let typeIndexOf = this.native_type.indexOf(val.statisticsSelectData.memoryTap);
160 if (this.statsticsSelection.indexOf(val.statisticsSelectData) == -1 && typeIndexOf == -1) {
161 this.statsticsSelection.push(val.statisticsSelectData);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneBoxChild.ts60 getDataByDB(val: BoxJumpParam) {
62 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
DTabPaneCounterSample.ts102 getInitTime(initCounterResultList: Array<any>, sampleMap: Map<any, any>, val: SelectionParam) {
103 let leftNs = val.leftNs + val.recordStartNs;
104 let rightNs = val.rightNs + val.recordStartNs;
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/cpu/
DTabPaneBoxChild.ts60 getDataByDB(val: BoxJumpParam) {
62 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
DTabPaneCounterSample.ts102 getInitTime(initCounterResultList: Array<any>, sampleMap: Map<any, any>, val: SelectionParam) {
103 let leftNs = val.leftNs + val.recordStartNs;
104 let rightNs = val.rightNs + val.recordStartNs;
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/
DTabPaneHistoryProcesses.test.ts29 let val = [ variable
56 const val = { constant
66 expect(tabPaneHistoryProcesses.toProcessHistoryArray(val)).not.toBeUndefined();
121 expect(tabPaneHistoryProcesses.queryDataByDB(val)).toBeUndefined();
DTabPaneDiskAbility.test.ts29 let val = [ variable
58 const val = { constant
69 expect(tabPaneDiskAbility.toDiskAbilityArray(val)).not.toBeUndefined();
162 val
/developtools/hiperf/include/
Dhashlist.h62 explicit LinkNode(const Key &key, const Val &val);
63 explicit LinkNode(const Key &key, Val &&val);
197 void push_front(const Key &key, const Val &val);
198 void push_front(const Key &key, Val &&val);
199 void push_back(const Key &key, const Val &val);
200 void push_back(const Key &key, Val &&val);
212 LinkNode<Key, Val> *AllocateNode(const Key &key, const Val &val);
213 LinkNode<Key, Val> *AllocateNode(const Key &key, Val &&val);
/developtools/profiler/device/plugins/native_daemon/include/
Dhashlist.h62 explicit LinkNode(const Key &key, const Val &val);
63 explicit LinkNode(const Key &key, Val &&val);
197 void push_front(const Key &key, const Val &val);
198 void push_front(const Key &key, Val &&val);
199 void push_back(const Key &key, const Val &val);
200 void push_back(const Key &key, Val &&val);
212 LinkNode<Key, Val> *AllocateNode(const Key &key, const Val &val);
213 LinkNode<Key, Val> *AllocateNode(const Key &key, Val &&val);

123456