Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/developtools/ace_js2bundle/ace-loader/src/lite/
Dlite-transform-style.js46 for (const key of keys) {
47 if (key.charAt(0) === '.') {
48 classSelectors[key.slice(1)] = styleFormat(style[key]);
49 } else if (key.charAt(0) === '#') {
50 idSelectors[key.slice(1)] = styleFormat(style[key]);
51 } else if (key === KEYFRAMES) {
52 styleSheet['@keyframes'] = keyFrameFormat(style[key]);
53 } else if (key === MEDIA_QUERY) {
54 styleSheet['@media'] = mediaQueryFormat(style[key]);
77 for (const key of Object.keys(obj)) {
[all …]
Dlite-transform-template.js58 [AST_KEY.ATTR]: function(dataContent, node, key) { argument
64 [AST_KEY.CLASSLIST]: function(dataContent, node, key) { argument
65 dataContent += sortClass(node[key]);
68 [AST_KEY.STYLE]: function(dataContent, node, key) { argument
69 dataContent += sortStyle(node[key]);
72 [AST_KEY.EVENTS]: function(dataContent, node, key) { argument
76 [AST_KEY.KEY]: function(dataContent, node, key) { argument
77 dataContent += `'${KEY}' : ${node.key},`;
84 match: function(key, value) { argument
85 return key === SPECIAL_STYLE.ANIMATION_DELAY || key === SPECIAL_STYLE.ANIMATION_DURATION;
[all …]
/developtools/smartperf_host/trace_streamer/
D.clang-tidy27 - { key: readability-identifier-naming.NamespaceCase, value: CamelCase }
28 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
29 - { key: readability-identifier-naming.StructCase, value: CamelCase }
30 - { key: readability-identifier-naming.UnionCase, value: CamelCase }
31 - { key: readability-identifier-naming.EnumCase, value: CamelCase }
32 - { key: readability-identifier-naming.TypedefCase, value: CamelCase }
33 - { key: readability-identifier-naming.TypeAliasCase, value: CamelCase }
34 - { key: readability-identifier-naming.FunctionCase, value: CamelCase }
35 - { key: readability-identifier-naming.GlobalVariableCase, value: camelBack }
36 - { key: readability-identifier-naming.GlobalVariablePrefix, value: g_ }
[all …]
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadCpuUsage.ts54 total: { key: '', sort: 0 },
55 small: { key: '', sort: 0 },
56 mid: { key: '', sort: 0 },
57 big: { key: '', sort: 0 },
130 for (let key of this.map!.keys()) {
131 let tab = this.map!.get(key)!.table;
132 let chart = this.map!.get(key)!.chart;
143 this.sort[key].key = evt.detail.key;
144 this.sort[key].sort = evt.detail.sort;
145 if (key == 'total') {
[all …]
DTabCpuDetailsIdle.ts59 this.cpuDetailsLdlSortColumn = evt.detail.key;
95 key: this.cpuDetailsLdlSortColumn,
194 if (detail.key === 'min') {
195 detail.key = 'minValue';
196 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
197 } else if (detail.key === 'max') {
198 detail.key = 'maxValue';
199 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
200 } else if (detail.key === 'avg') {
201 detail.key = 'avgValue';
[all …]
DTabCpuDetailsIrq.ts58 this.cpuDetailsLrqSortColumn = evt.detail.key;
94 key: this.cpuDetailsLrqSortColumn,
188 if (detail.key === 'min') {
189 detail.key = 'minValue';
190 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
191 } else if (detail.key === 'max') {
192 detail.key = 'maxValue';
193 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
194 } else if (detail.key === 'avg') {
195 detail.key = 'avgValue';
[all …]
DTabCpuDetailsFrequency.ts62 this.cpuDetailsFrequencySortColumn = evt.detail.key;
99 key: this.cpuDetailsFrequencySortColumn,
207 if (detail.key === 'min') {
208 detail.key = 'minValue';
209 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
210 } else if (detail.key === 'max') {
211 detail.key = 'maxValue';
212 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
213 } else if (detail.key === 'avg') {
214 detail.key = 'avgValue';
[all …]
/developtools/smartperf_host/ide/src/base-ui/tabs/
Dlit-tabs.ts66 updateLabel(key: string, value: string) {
68 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`);
76 updateDisabled(key: string, value: string) {
78 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`);
90 updateCloseable(key: string, value: string) {
92 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`);
104 updateHidden(key: string, value: string) {
106 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`);
122 this.tabPos[a.dataset.key] = {
175 if (a.key === this.activekey) {
[all …]
/developtools/ace_js2bundle/ace-loader/src/
DcardJson-plugin.js32 keys.forEach(key => {
33 if ('./' + process.env.abilityType + '.js' !== key) {
34 sourceChange(key, assets, compilation);
44 function sourceChange(key, assets, compilation) { argument
46 const extName = path.extname(key);
49 const source = assets[key].source();
57 …jsonOutKey, JSON.parse(jsonOut[jsonOutKey]), compilation, path.join(process.env.projectPath, key));
59 assets[key.replace(extName, '') + '.json'] = {
67 delete assets[key];
70 compilation.errors.push({ message: 'errorStartERROR File:' + key +
[all …]
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpSdkConfig.ts209 …private sdkConfigByBooleanType(key: string, sdkConfigSwitch: LitSwitch, sdkConfigHeadDiv: HTMLDivE…
211 sdkConfigSwitch.setAttribute('configName', key);
212 sdkConfigSwitch.setAttribute('type', this.sdkConfigList.configuration[key].type);
213 if (this.sdkConfigList.configuration[key]['default'] == 'true') {
224 …private sdkConfigByIntegerType(key: string, sdkConfigDiv: HTMLDivElement, sdkConfigTitle: HTMLSpan…
227 if (this.sdkConfigList.configuration[key]['default']) {
228 input.value = this.sdkConfigList.configuration[key]['default'];
230 input.setAttribute('configName', key);
231 input.setAttribute('type', this.sdkConfigList.configuration[key].type);
240 private sdkConfigByNumberType(key: string, sdkConfigDiv: HTMLDivElement): void {
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
DOptions.java260 for (String key : keys) { in required()
261 if (!isEmpty(key) && !this.containsKey(key)) { in required()
262 …CustomException.throwException(ERROR.COMMAND_ERROR, String.format("Params '%s' is required", key)); in required()
277 public char[] getChars(String key) { in getChars() argument
278 Object value = this.get(key); in getChars()
292 public String getString(String key, String defValue) { in getString() argument
293 Object value = this.get(key); in getString()
306 public String getString(String key) { in getString() argument
307 return getString(key, ""); in getString()
317 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument
[all …]
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dcache.ts30 public delete(key: string) { }
32 public get(key: string) {
33 if (this.cacheInfo.has(key)) {
34 return this.cacheInfo.get(key);
39 public has(key: string) { }
41 public set(key: string, value: any) {
42 if (this.cacheInfo.has(key)) {
43 this.cacheInfo.set(key, value);
/developtools/smartperf_host/trace_streamer/src/filter/
Dhi_sysevent_measure_filter.cpp36 DataIndex key, in AppendNewValue() argument
41 uint64_t appKeyId = GetOrCreateFilterIdInternal(appNameId, key); in AppendNewValue()
100 if (item.key() == "domain_") { in FillJsMessage()
103 } else if (item.key() == "name_") { in FillJsMessage()
106 } else if (item.key() == "type_") { in FillJsMessage()
108 } else if (item.key() == "time_") { in FillJsMessage()
111 } else if (item.key() == "tz_") { in FillJsMessage()
113 } else if (item.key() == "pid_") { in FillJsMessage()
115 } else if (item.key() == "tid_") { in FillJsMessage()
117 } else if (item.key() == "uid_") { in FillJsMessage()
[all …]
/developtools/smartperf_host/ide/src/trace/component/setting/utils/
DPluginConvertUtils.ts64 for (const [key, value] of Object.entries(bean)) { constant
67 … prefixText = prefixText + this.handleArray(key, value, indentation, needColon, spacesNumber);
71 … prefixText = this.getMontageStrings(prefixText, spacesNumber, indentation, key, value);
74 … prefixText = this.getMontageStrings(prefixText, spacesNumber, indentation, key, value);
80 … prefixText = this.getMontageStrings(prefixText, spacesNumber, indentation, key, value);
90 this.humpToSnake(key) +
98 this.humpToSnake(key) +
111 this.humpToSnake(key) +
120 this.humpToSnake(key) +
137 key: string,
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneNetworkAbility.ts183 if (detail.key === 'startTime') {
184 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'string'));
185 } else if (detail.key === 'durationStr') {
186 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'durationStr'));
187 } else if (detail.key === 'dataReceivedStr') {
188 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataReceivedStr'));
189 } else if (detail.key === 'dataReceivedSecStr') {
190 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataReceivedSecStr'));
191 } else if (detail.key === 'dataSendStr') {
192 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataSendStr'));
[all …]
DTabPanePurgPin.ts80 this.sortByColumn({key: this.sortKey, sort: this.sortType});
140 function compare(key, sort, type) {
145 key = 'avgSize';
151 ? parseFloat(purgePinRightData[key]) - parseFloat(purgePinLeftData[key])
152 : parseFloat(purgePinLeftData[key]) - parseFloat(purgePinRightData[key]);
155 … return purgePinRightData[key].toString().localeCompare(purgePinLeftData[key].toString());
157 … return purgePinLeftData[key].toString().localeCompare(purgePinRightData[key].toString());
163 if (detail.key === 'type') {
164 this.purgeablePinSource.sort(compare(detail.key, detail.sort, 'string'));
166 this.purgeablePinSource.sort(compare(detail.key, detail.sort, 'number'));
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/
DTabPaneDiskAbility.test.ts77 key: 'startTime',
85 key: !'startTime',
93 key: 'durationStr',
101 key: 'dataReadStr',
109 key: 'dataReadSecStr',
117 key: 'dataWriteStr',
125 key: 'dataWriteSecStr',
133 key: 'readsInStr',
141 key: 'readsInSecStr',
149 key: 'writeOutStr',
[all …]
DTabPaneNetworkAbility.test.ts114 key: 'startTime',
122 key: !'startTime',
130 key: 'dataSendSecStr',
138 key: 'packetsInStr',
146 key: 'packetsInSecStr',
154 key: 'packetsOutStr',
162 key: 'packetsOutSecStr',
170 key: 'dataSendStr',
178 key: 'dataReceivedSecStr',
186 key: 'durationStr',
[all …]
/developtools/smartperf_host/ide/src/hdc/common/
DObjectToMemorySize.ts55 const key = props[i]; constant
57 bytes += this.objectToSize(key);
58 if (typeof object[key] === 'object' && object[key] !== null) {
60 if (this.seen.has(object[key])) continue;
61 this.seen.add(object[key]);
63 bytes += this.objectToSize(object[key]);
/developtools/hdc/hdc_rust/src/daemon/
Dsys_para.rs22 fn SetParameterEx(key: *const libc::c_char, val: *const libc::c_char) -> libc::c_int; in SetParameterEx()
24 key: *const libc::c_char, in GetParameterEx()
31 key: *const libc::c_char, in WaitParameterEx()
37 pub fn set_dev_item(key: &str, val: &str) -> bool { in set_dev_item()
38 let ckey = CString::new(key).unwrap(); in set_dev_item()
43 println!("set param:{} val:{} ret:{}", key, val, ret); in set_dev_item()
48 pub fn get_dev_item(key: &str, def: &str) -> (bool, String) { in get_dev_item()
49 let ckey = CString::new(key).unwrap(); in get_dev_item()
62 println!("get param:{} bytes:{} val:{}", key, bytes, val); in get_dev_item()
68 pub fn wait_dev_item(key: &str, val: &str, timeout: i32) -> bool { in wait_dev_item()
[all …]
/developtools/integration_verification/DeployDevice/src/aw/Param/
DUpgradeParam.py32 for key in cust_param:
33 if checkHz(cust_param.get(key)):
36 if "Location" in key or "param1" in key:
37 if not cust_param.get(key):
41 if len(cust_param.get(key)) > 255 :
85 key = str_list[0].strip()
87 if len(key) != 0 and len(value) != 0:
88 params_dict[key] = value
/developtools/hdc/hdc_rust/src/cffi/
Dsys_para.cpp18 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()
Dsystem_depend.cpp29 bool SetDevItem(const char *key, const char *value) in SetDevItem() argument
33 ret = SetParameter(key, value) == 0; in SetDevItem()
36 string stringBuf = StringFormat("param set %s %s", key, value); in SetDevItem()
42 bool GetDevItem(const char *key, string &out, const char *preDefine) in GetDevItem() argument
47 auto res = GetParameter(key, preDefine, tmpStringBuf, BUF_SIZE_MEDIUM); in GetDevItem()
52 string sFailString = StringFormat("Get parameter \"%s\" fail", key); in GetDevItem()
53 string stringBuf = "param get " + string(key); in GetDevItem()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpuStatistics.ts139 this.sortByColumn({ key: this.sortKey, sort: this.sortType });
167 for (let [key, value] of results.entries()) {
168 statisticsData = this.toStatisticsStruct(key, value, totalTime);
189 function compare(key, sort, type) {
194 key = 'time';
199 …return sort === 2 ? parseFloat(b[key]) - parseFloat(a[key]) : parseFloat(a[key]) - parseFloat(b[ke…
202 return b[key].toString().localeCompare(a[key].toString());
204 return a[key].toString().localeCompare(b[key].toString());
209 if (detail.key === 'timeStr' || detail.key === 'percentage') {
211 } else if (detail.key === 'type') {
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hi-sysevent/
DTabPaneHisysEvents.test.ts111 { key: 'A', sort: 1 },
112 { key: 'B', sort: 2 },
113 { key: 'C', sort: 3 },
116 …tabPaneHisysEvents.sortByColumn.call({ hisysEventSource, hiSysEventTable }, { key: 'key', sort: 1,…
118 { key: 'A', sort: 1 },
119 { key: 'B', sort: 2 },
120 { key: 'C', sort: 3 },
123 { key: 'A', sort: 1 },
124 { key: 'B', sort: 2 },
125 { key: 'C', sort: 3 },
[all …]

12345678910>>...16