| /developtools/smartperf_host/trace_streamer/src/proto_reader/include/ |
| D | data_area.h | 151 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/hdc/hdc_rust/src/daemon/ |
| D | sys_para.rs | 22 fn SetParameterEx(key: *const libc::c_char, val: *const libc::c_char) -> libc::c_int; in SetParameterEx() 26 val: *mut libc::c_char, in GetParameterEx() 32 val: *const libc::c_char, in WaitParameterEx() 37 pub fn set_dev_item(key: &str, val: &str) -> bool { in set_dev_item() 39 let cval = CString::new(val).unwrap(); in set_dev_item() 43 println!("set param:{} val:{} ret:{}", key, val, ret); in set_dev_item() 61 let (val, _) = output.split_at(bytes as usize); in get_dev_item() 62 println!("get param:{} bytes:{} val:{}", key, bytes, val); in get_dev_item() 63 (bytes >= 0, val.to_string()) in get_dev_item() 68 pub fn wait_dev_item(key: &str, val: &str, timeout: i32) -> bool { in wait_dev_item() [all …]
|
| /developtools/hdc/hdc_rust/src/cffi/ |
| D | sys_para.cpp | 18 extern "C" int SetParameterEx(const char *key, const char *val) in SetParameterEx() argument 20 return SetParameter(key, val); in SetParameterEx() 23 extern "C" int GetParameterEx(const char *key, const char *def, char *val, unsigned int len) in GetParameterEx() argument 25 return GetParameter(key, def, val, len); in GetParameterEx() 28 extern "C" int WaitParameterEx(const char *key, const char *val, int timeout) in WaitParameterEx() argument 30 return WaitParameter(key, val, timeout); in WaitParameterEx()
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/file-system/ |
| D | TabPaneIoCompletionTimes.test.ts | 60 let val = [ variable 66 expect(tabPaneIoCompletionTimes.initFilterTypes(val)).toBeTruthy(); 69 let val = [ variable 76 expect(tabPaneIoCompletionTimes.fromStastics(val)).toBeTruthy(); 79 let val = [ variable 85 expect(tabPaneIoCompletionTimes.queryData(val)).toBeUndefined(); 88 let val = [ variable 95 expect(tabPaneIoCompletionTimes.filterTypeData(val)).toBeUndefined();
|
| D | TabPaneVMEvents.test.ts | 69 let val = [ variable 75 expect(tabPaneVMEvents.initFilterTypes(val)).toBeTruthy(); 78 let val = [ variable 85 expect(tabPaneVMEvents.fromStastics(val)).toBeTruthy(); 88 let val = [ variable 94 expect(tabPaneVMEvents.queryData(val)).toBeUndefined(); 97 let val = [ variable 104 expect(tabPaneVMEvents.filterTypeData(val)).toBeUndefined();
|
| D | TabPaneVirtualMemoryStatistics.test.ts | 32 let val = [ variable 60 expect(tabPaneVirtualMemoryStatistics.queryDataByDB(val)).toBeUndefined();
|
| /developtools/ace_js2bundle/ace-loader/plugin/templater/ |
| D | component_validator.js | 928 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/ |
| D | commandline_flags.h | 258 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/profiler/device/plugins/xpower_plugin/test/ |
| D | xpower_main.cpp | 37 std::string val = argv[i]; in ParseArgs() local 39 params.insert(std::make_pair(key, val)); in ParseArgs() 44 int GetStringArg(const char* name, std::string& val, const char* defaultVal) in GetStringArg() argument 46 val = params[name]; in GetStringArg() 47 if (val.empty()) { in GetStringArg() 48 val = defaultVal; in GetStringArg() 50 return val.size(); in GetStringArg()
|
| /developtools/smartperf_host/ide/src/base-ui/menu/ |
| D | LitMainMenuItem.ts | 101 set title(val: string) { 102 this.setAttribute('title', val); 109 set disabled(val: boolean) { 110 if (val) { 111 this.setAttribute('disabled', val.toString()); 112 this.fileEL?.setAttribute('disabled', val.toString());
|
| /developtools/profiler/hiebpf/scripts/ |
| D | hiebpf_code_generator.py | 56 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/cpu/ |
| D | TabPaneBoxChild.ts | 55 getDataByDB(val: BoxJumpParam) { 57 …getTabBoxChildData(val.leftNs, val.rightNs, val.cpus, val.state, val.processId, val.threadId).then…
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/ |
| D | TabPaneNMemory.ts | 96 getDataByNativeMemoryWorker(val: SelectionParam | any, refresh = false): void { 101 args.set('leftNs', val.leftNs); 102 args.set('rightNs', val.rightNs); 167 fromStastics(val: SelectionParam | any): void { 169 if (this.currentSelection != val) { 171 this.currentSelection = val; 174 this.queryData(val); 177 let typeIndexOf = this.nativeType.indexOf(val.statisticsSelectData.memoryTap); 178 if (this.statsticsSelection.indexOf(val.statisticsSelectData) === -1 && typeIndexOf === -1) { 179 this.statsticsSelection.push(val.statisticsSelectData); [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/slicer/ |
| D | lit-slicer.ts | 43 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/trace/component/trace/sheet/hiperf/ |
| D | TabPanePerfAnalysis.ts | 65 set data(val: SelectionParam) { 66 if (val === this.currentSelection) { 78 this.currentSelection = val; 85 ((val.rightNs - val.leftNs) / 1000000.0).toFixed(5) 88 this.getCallChainDataFromWorker(val); 303 private processPieChart(val: SelectionParam): void { 328 this.perfProcessLevelClickEvent(it, val); 356 private perfProcessLevelClickEvent(it: any, val: SelectionParam): void { 361 this.getHiperfThread(it, val); 370 private threadPieChart(val: SelectionParam): void { [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/ |
| D | TabPaneFileSystemEvents.ts | 191 fromStastics(val: SelectionParam | any) { 192 if (val.fileSystemFsData == undefined) { 195 if (val.fileSystemFsData.title == 'All') { 198 } else if (val.fileSystemFsData.pid == undefined) { 199 this.filterEventType = '' + (val.fileSystemFsData.type + 1); 202 this.filterEventType = '' + (val.fileSystemFsData.type + 1); 206 if (this.currentSelection == val) { 209 … this.processList?.indexOf(`${val.fileSystemFsData.name}[${val.fileSystemFsData.pid}]`) + ''; 216 this.currentSelection = val; 217 this.queryData(val);
|
| D | TabPaneFilesystemStatistics.ts | 93 queryDataByDB(val: SelectionParam | any): void { 98 val.leftNs + val.recordStartNs, 99 val.rightNs + val.recordStartNs, 100 val.fileSystemType
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/ |
| D | TabPaneHistoryProcesses.test.ts | 31 let val = [ variable 58 const val = { constant 68 expect(tabPaneHistoryProcesses.toProcessHistoryArray(val)).not.toBeUndefined(); 123 expect(tabPaneHistoryProcesses.queryDataByDB(val)).toBeUndefined();
|
| D | TabPaneDiskAbility.test.ts | 31 let val = [ variable 60 const val = { constant 71 expect(tabPaneDiskAbility.toDiskAbilityArray(val)).not.toBeUndefined(); 164 val
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | hashlist.h | 62 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/hiperf/include/ |
| D | hashlist.h | 62 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/smartperf_host/ide/src/trace/component/trace/sheet/ability/ |
| D | TabPaneHistoryProcesses.ts | 84 queryDataByDB(val: SelectionParam | any) { 85 getTabProcessHistoryData(val.leftNs, val.rightNs, val.processId, val.threadId).then((item) => {
|
| /developtools/smartperf_host/ide/src/trace/component/trace/base/ |
| D | TraceSheet.ts | 564 let val = new SelectionParam(); 565 val.nativeMemoryStatistic.push(rowType); 566 val.nativeMemoryCurrentIPid = ipid; 567 val.nativeMemory = []; 568 val.leftNs = data.startTime!; 569 val.rightNs = data.dur === 0 ? data.startTime! : data.startTime! + data.dur! - 1; 570 this.selection = val; 571 …Tab<TabPaneNMStatisticAnalysis>('box-native-statistic-analysis', 'box-native-calltree').data = val; 572 this.showUploadSoBt(val); 573 this.showSwitchProcessBt(val); [all …]
|
| /developtools/syscap_codec/tools/ |
| D | syscap_collector.py | 237 for key, val in subsystem_infos.items(): 239 if not isinstance(val, list): 240 val = [val] 242 if not _check_path_prefix(val): 244 _info = {'path': val} 245 for _path in val: 253 no_src_subsystem[key] = val 271 for key, val in subsystem_config.items(): 272 if 'path' not in val: 274 subsystem_info[key] = val.get('path')
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/ |
| D | TabPaneSystemDetails.ts | 125 queryDataByDB(val: SelectionParam | any) { 127 querySystemWorkData(val.rightNs), 128 querySysLockDetailsData(val.rightNs, 'POWER_RUNNINGLOCK'), 129 querySysLocationDetailsData(val.rightNs, 'GNSS_STATE'), 132 let systemWorkData = this.getSystemWorkData(result[0], val.leftNs, val.rightNs); 138 let systemLockData = this.getSystemLockData(result[1], val.leftNs); 144 let systemLocationData = this.getSystemLocationData(result[2], val.leftNs);
|