| /developtools/ace_js2bundle/ace-loader/src/lite/ |
| D | lite-transform-style.js | 46 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 …]
|
| D | lite-transform-template.js | 58 [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-tidy | 27 - { 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/profiler/host/smartperf/trace_streamer/ |
| D | .clang-tidy | 27 - { 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/profiler/host/smartperf/ide/src/base-ui/tabs/ |
| D | lit-tabs.ts | 461 updateLabel(key: string, value: string) { 463 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 471 updateDisabled(key: string, value: string) { 473 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 485 updateCloseable(key: string, value: string) { 487 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 499 updateHidden(key: string, value: string) { 501 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 517 this.tabPos[a.dataset.key] = { 570 if (a.key === this.activekey) { [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/tabs/ |
| D | lit-tabs.ts | 461 updateLabel(key: string, value: string) { 463 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 471 updateDisabled(key: string, value: string) { 473 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 485 updateCloseable(key: string, value: string) { 487 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 499 updateHidden(key: string, value: string) { 501 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 517 this.tabPos[a.dataset.key] = { 570 if (a.key === this.activekey) { [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 53 total: { key: '', sort: 0 }, 54 small: { key: '', sort: 0 }, 55 mid: { key: '', sort: 0 }, 56 big: { key: '', sort: 0 }, 126 for (let key of this.map!.keys()) { 127 let tab = this.map!.get(key)!.table; 128 let chart = this.map!.get(key)!.chart; 139 this.sort[key].key = evt.detail.key; 140 this.sort[key].sort = evt.detail.sort; 141 if (key == 'total') { [all …]
|
| D | TabCpuDetailsIdle.ts | 58 this.cpuDetailsLdlSortColumn = evt.detail.key; 132 key: this.cpuDetailsLdlSortColumn, 189 if (detail.key === 'min') { 190 detail.key = 'minValue'; 191 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number')); 192 } else if (detail.key === 'max') { 193 detail.key = 'maxValue'; 194 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number')); 195 } else if (detail.key === 'avg') { 196 detail.key = 'avgValue'; [all …]
|
| D | TabCpuDetailsIrq.ts | 57 this.cpuDetailsLrqSortColumn = evt.detail.key; 126 key: this.cpuDetailsLrqSortColumn, 183 if (detail.key === 'min') { 184 detail.key = 'minValue'; 185 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number')); 186 } else if (detail.key === 'max') { 187 detail.key = 'maxValue'; 188 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number')); 189 } else if (detail.key === 'avg') { 190 detail.key = 'avgValue'; [all …]
|
| D | TabCpuDetailsFrequency.ts | 61 this.cpuDetailsFrequencySortColumn = evt.detail.key; 135 key: this.cpuDetailsFrequencySortColumn, 202 if (detail.key === 'min') { 203 detail.key = 'minValue'; 204 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number')); 205 } else if (detail.key === 'max') { 206 detail.key = 'maxValue'; 207 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number')); 208 } else if (detail.key === 'avg') { 209 detail.key = 'avgValue'; [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 53 total: { key: '', sort: 0 }, 54 small: { key: '', sort: 0 }, 55 mid: { key: '', sort: 0 }, 56 big: { key: '', sort: 0 }, 126 for (let key of this.map!.keys()) { 127 let tab = this.map!.get(key)!.table; 128 let chart = this.map!.get(key)!.chart; 139 this.sort[key].key = evt.detail.key; 140 this.sort[key].sort = evt.detail.sort; 141 if (key == 'total') { [all …]
|
| D | TabCpuDetailsIdle.ts | 58 this.cpuDetailsLdlSortColumn = evt.detail.key; 132 key: this.cpuDetailsLdlSortColumn, 189 if (detail.key === 'min') { 190 detail.key = 'minValue'; 191 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number')); 192 } else if (detail.key === 'max') { 193 detail.key = 'maxValue'; 194 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number')); 195 } else if (detail.key === 'avg') { 196 detail.key = 'avgValue'; [all …]
|
| D | TabCpuDetailsIrq.ts | 57 this.cpuDetailsLrqSortColumn = evt.detail.key; 126 key: this.cpuDetailsLrqSortColumn, 183 if (detail.key === 'min') { 184 detail.key = 'minValue'; 185 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number')); 186 } else if (detail.key === 'max') { 187 detail.key = 'maxValue'; 188 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number')); 189 } else if (detail.key === 'avg') { 190 detail.key = 'avgValue'; [all …]
|
| D | TabCpuDetailsFrequency.ts | 61 this.cpuDetailsFrequencySortColumn = evt.detail.key; 135 key: this.cpuDetailsFrequencySortColumn, 202 if (detail.key === 'min') { 203 detail.key = 'minValue'; 204 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number')); 205 } else if (detail.key === 'max') { 206 detail.key = 'maxValue'; 207 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number')); 208 } else if (detail.key === 'avg') { 209 detail.key = 'avgValue'; [all …]
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | cardJson-plugin.js | 32 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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/model/ |
| D | Options.java | 261 for (String key : keys) { in required() 262 if (!StringUtils.isEmpty(key) && !this.containsKey(key)) { in required() 263 …CustomException.throwException(ERROR.COMMAND_ERROR, String.format("Params '%s' is required", key)); in required() 274 public char[] getChars(String key) { in getChars() argument 275 Object value = this.get(key); in getChars() 289 public String getString(String key, String defValue) { in getString() argument 290 Object value = this.get(key); in getString() 303 public String getString(String key) { in getString() argument 304 return getString(key, ""); in getString() 314 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/setting/utils/ |
| D | PluginConvertUtils.ts | 64 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/profiler/host/smartperf/ide/src/trace/component/setting/utils/ |
| D | PluginConvertUtils.ts | 64 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/profiler/host/smartperf/ide/src/trace/component/setting/ |
| D | SpSdkConfig.ts | 208 for (let key in this.sdkConfigList.configuration) { 216 sdkConfigTitle.textContent = key; 219 sdkConfigDes.textContent = this.sdkConfigList.configuration[key].description; 222 switch (this.sdkConfigList.configuration[key].type) { 224 if (this.sdkConfigList.configuration[key].enum) { 226 if (this.sdkConfigList.configuration[key].default) { 227 placeholder = this.sdkConfigList.configuration[key].default; 229 …key}" type="${this.sdkConfigList.configuration[key].type}" default-value="" rounded="" class="sdk-… 234 if (this.sdkConfigList.configuration[key].default) { 235 inputElement.value = this.sdkConfigList.configuration[key].default; [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpSdkConfig.ts | 208 for (let key in this.sdkConfigList.configuration) { 216 sdkConfigTitle.textContent = key; 219 sdkConfigDes.textContent = this.sdkConfigList.configuration[key].description; 222 switch (this.sdkConfigList.configuration[key].type) { 224 if (this.sdkConfigList.configuration[key].enum) { 226 if (this.sdkConfigList.configuration[key].default) { 227 placeholder = this.sdkConfigList.configuration[key].default; 229 …key}" type="${this.sdkConfigList.configuration[key].type}" default-value="" rounded="" class="sdk-… 234 if (this.sdkConfigList.configuration[key].default) { 235 inputElement.value = this.sdkConfigList.configuration[key].default; [all …]
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/ |
| D | TabPaneDiskAbility.test.ts | 75 key: 'startTime', 83 key: !'startTime', 91 key: 'durationStr', 99 key: 'dataReadStr', 107 key: 'dataReadSecStr', 115 key: 'dataWriteStr', 123 key: 'dataWriteSecStr', 131 key: 'readsInStr', 139 key: 'readsInSecStr', 147 key: 'writeOutStr', [all …]
|
| /developtools/profiler/host/smartperf/ide/src/hdc/common/ |
| D | ObjectToMemorySize.ts | 55 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/smartperf_host/ide/src/hdc/common/ |
| D | ObjectToMemorySize.ts | 55 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/integration_verification/DeployDevice/src/aw/Param/ |
| D | UpgradeParam.py | 32 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/profiler/host/smartperf/ide/src/trace/component/trace/sheet/ability/ |
| D | TabPaneNetworkAbility.ts | 201 if (detail.key === 'startTime') { 202 this.networkAbilitySource.sort(compare(detail.key, detail.sort, 'string')); 203 } else if (detail.key === 'durationStr') { 204 this.networkAbilitySource.sort(compare(detail.key, detail.sort, 'durationStr')); 205 } else if (detail.key === 'dataReceivedStr') { 206 this.networkAbilitySource.sort(compare(detail.key, detail.sort, 'dataReceivedStr')); 207 } else if (detail.key === 'dataReceivedSecStr') { 208 this.networkAbilitySource.sort(compare(detail.key, detail.sort, 'dataReceivedSecStr')); 209 } else if (detail.key === 'dataSendStr') { 210 this.networkAbilitySource.sort(compare(detail.key, detail.sort, 'dataSendStr')); [all …]
|