/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 …]
|
D | lite-return-exports-plugin.js | 30 Reflect.ownKeys(assets).forEach((key) => { 31 if (key.toString().includes('.map') && assets[key] && assets[key]._value) { 32 const sourceMapSources = JSON.parse(assets[key]._value).sources;
|
/developtools/profiler/host/smartperf/ide/src/base-ui/tabs/ |
D | lit-tabs.ts | 429 updateLabel(key: string, value: string) { 431 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 439 updateDisabled(key: string, value: string) { 441 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 453 updateCloseable(key: string, value: string) { 455 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 467 updateHidden(key: string, value: string) { 469 let item = this.nav.querySelector(`.nav-item[data-key='${key}']`); 485 this.tabPos[a.dataset.key] = { 520 if (a.key === this.activekey) { [all …]
|
D | lit-tabpane.ts | 69 get key() { method in LitTabpane 73 set key(value) { method in LitTabpane 106 this.parentNode.updateLabel && this.parentNode.updateLabel(this.key, newValue); 109 … this.parentNode.updateDisabled && this.parentNode.updateDisabled(this.key, newValue); 112 … this.parentNode.updateCloseable && this.parentNode.updateCloseable(this.key, newValue); 115 this.parentNode.updateHidden && this.parentNode.updateHidden(this.key, newValue);
|
/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 …]
|
D | genAbc-plugin.js | 80 keys.forEach(key => { 82 if (output && path.extname(key) === '.js') { 83 let newContent = assets[key].source(); 84 if (checkWorksFile(key, workerFile) && key !== 'commons.js' && key !== 'vendors.js') { 87 if (key === 'commons.js' || key === 'vendors.js' || !checkWorksFile(key, workerFile)) { 90 const keyPath = key.replace(/\.js$/, ".temp.js"); 92 } else if (output && path.extname(key) === '.json' && 93 process.env.DEVICE_LEVEL === 'card' && process.env.configOutput && !checkI18n(key)) { 94 writeFileSync(assets[key].source(), path.resolve(output, key), false); 107 function checkI18n(key) { argument [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/profiler/host/smartperf/ide/src/trace/component/setting/utils/ |
D | PluginConvertUtils.ts | 42 for (const [key, value] of Object.entries(bean)) { constant 45 prefixText = prefixText + this.handleArray(key, value, indentation, needColon); 49 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": " + value.toStr… 52 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": " + value.toStr… 58 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": " + value.toStr… 65 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": " + value.toStr… 67 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": \"" + value.toS… 73 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + ": " + this.handle… 75 …prefixText = prefixText + ' '.repeat(indentation + 1) + this.humpToSnake(key) + this.handleObj(val… 87 …private static handleArray(key: string, arr: Array<any>, indentation: number, needColon: boolean):… [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/charts/model/ |
D | ChartStandard.java | 98 public ChartDataRange getSelectedRange(String key) { in getSelectedRange() argument 99 return selectedRangeMap.get(key); in getSelectedRange() 108 public void updateSelectedStart(String key, int startTime) { in updateSelectedStart() argument 109 ChartDataRange range = selectedRangeMap.get(key); in updateSelectedStart() 112 selectedRangeMap.put(key, range); in updateSelectedStart() 123 public void updateSelectedEnd(String key, int endTime) { in updateSelectedEnd() argument 124 ChartDataRange range = selectedRangeMap.get(key); in updateSelectedEnd() 127 selectedRangeMap.put(key, range); in updateSelectedEnd() 144 public void clearSelectedRange(String key) { in clearSelectedRange() argument 145 selectedRangeMap.remove(key); in clearSelectedRange()
|
/developtools/hdc_standard/src/daemon/ |
D | system_depend.cpp | 36 bool SetDevItem(const char *key, const char *value) in SetDevItem() argument 40 ret = SetParameter(key, value) == 0; in SetDevItem() 43 string stringBuf = Base::StringFormat("param set %s %s", key, value); in SetDevItem() 49 bool GetDevItem(const char *key, string &out, string preDefine) in GetDevItem() argument 54 const string strKey(key); in GetDevItem() 55 if (GetParameter(key, preDefine.c_str(), tmpStringBuf, BUF_SIZE_MEDIUM) < 0) { in GetDevItem() 60 string sFailString = Base::StringFormat("Get parameter \"%s\" fail", key); in GetDevItem() 61 string stringBuf = "param get " + string(key); in GetDevItem()
|
D | system_depend.h | 23 inline bool GetDevItem(const char *key, string value) in GetDevItem() argument 27 inline bool SetDevItem(const char *key, const char *value) in SetDevItem() argument 32 bool GetDevItem(const char *key, string &out, string preDefine = ""); 33 bool SetDevItem(const char *key, const char *value);
|
/developtools/profiler/host/smartperf/ide/test/trace/component/trace/timer-shaft/ |
D | RangeRuler.test.ts | 61 key: 'w' 67 key: 's' 73 key: 'a' 79 key: 'd' 85 key: 'w' 91 key: 's' 97 key: 'a' 103 key: 'd' 109 key: '' 115 key: '' [all …]
|
/developtools/hapsigner/tools/ |
D | commands.config | 3 …'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keyst… 4 …'generate-keypair -keyAlias "oh-app1-什么key-v1" -keyPwd 123456 -keyAlg RSA -keySize 3072 -keystoreF… 5 …'generate-keypair -keyAlias "oh-app2-key-v1" -keyAlg RSA -keySize 3072 -keystoreFile "ohtest.p12" … 6 …'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keyst… 7 …key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -sig… 8 …key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -sig… 9 …key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -sig… 10 …'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmon… 11 …key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -sig… 12 …'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmon… [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/resources/ |
D | help.txt | 20 -keyAlias : key alias, required fields; 21 -keyPwd : key password, optional fields; 22 -keyAlg : key algorithm, required fields, including RSA/ECC; 23 …-keySize : key size, required fields, the size of the RSA algorithm is 2048/3072/4096, and the siz… 28 …generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd ****** -keyAlg ECC -keySize NIST-P-256 -keysto… 29 …generate-keypair -keyAlias "oh-profile-key-v1" -keyPwd ****** -keyAlg RSA -keySize 2048 -keystoreF… 32 -keyAlias : key alias, required fields; 33 -keyPwd : key password, optional fields; 41 …key-v1" -keyPwd ****** -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -sig… 44 -keyAlias : key alias, required fields; [all …]
|
/developtools/global_resource_tool/src/ |
D | reference_parser.cpp | 77 if (!xmlKeyNode.LoadFromFile(filePath, [this](auto &key) -> bool { in ParseRefInSolidXml() argument 78 return ParseRefString(key); in ParseRefInSolidXml() 251 bool ReferenceParser::ParseRefString(string &key) const in ParseRefString() 254 return ParseRefString(key, update); in ParseRefString() 257 bool ReferenceParser::ParseRefString(std::string &key, bool &update) const in ParseRefString() argument 260 if (regex_match(key, regex("^\\$ohos:[a-z]+:.+"))) { in ParseRefString() 262 return ParseRefImpl(key, ID_OHOS_REFS, true); in ParseRefString() 263 } else if (regex_match(key, regex("^\\$[a-z]+:.+"))) { in ParseRefString() 265 return ParseRefImpl(key, ID_REFS, false); in ParseRefString() 270 bool ReferenceParser::ParseRefImpl(string &key, const map<string, ResType> &refs, bool isSystem) co… in ParseRefImpl() argument [all …]
|
D | config_parser.cpp | 310 bool ConfigParser::ParseRefImpl(Json::Value &parent, const std::string &key, Json::Value &node) in ParseRefImpl() argument 313 const auto &result = JSON_ARRAY_IDS.find(key); in ParseRefImpl() 315 return ParseJsonArrayRef(parent, key, node); in ParseRefImpl() 329 } else if (!key.empty() && node.isString()) { in ParseRefImpl() 330 return ParseJsonStringRef(parent, key, node); in ParseRefImpl() 335 bool ConfigParser::ParseJsonArrayRef(Json::Value &parent, const string &key, Json::Value &node) in ParseJsonArrayRef() argument 341 cerr << "Error: '" << key << "' invalid value. " << filePath_ << endl; in ParseJsonArrayRef() 346 if (!GetRefIdFromString(value, update, JSON_ARRAY_IDS.at(key))) { in ParseJsonArrayRef() 347 … cerr << "Error: '" << key << "' value " << node[index] << " invalid. " << filePath_ << endl; in ParseJsonArrayRef() 354 parent[key + "Id"] = array; in ParseJsonArrayRef() [all …]
|
/developtools/hiperf/include/ |
D | hashlist.h | 61 explicit LinkNode(const Key &key); 62 explicit LinkNode(const Key &key, const Val &val); 63 explicit LinkNode(const Key &key, Val &&val); 174 inline std::size_t count(const Key &key) const in count() argument 176 return valueTab_.count(key); in count() 193 Val &operator[](const Key &key); 195 Iterator find(const Key &key); 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); [all …]
|
D | hashlist.hpp | 26 LinkNode<Key, Val>::LinkNode(const Key &key) : key_ {key} {} in LinkNode() argument 29 LinkNode<Key, Val>::LinkNode(const Key &key, const Val &val) : key_ {key}, val_ {val} {} in LinkNode() argument 32 LinkNode<Key, Val>::LinkNode(const Key &key, Val &&val) : key_ {key}, val_ {std::move(val)} {} in LinkNode() argument 687 Val& HashList<Key, Val>::operator[](const Key &key) in operator []() argument 690 if (valueTab_.find(key) == valueTab_.end()) { in operator []() 691 pnode = AllocateNode(key); in operator []() 692 valueTab_[key] = pnode; in operator []() 694 pnode = valueTab_[key]; in operator []() 703 auto HashList<Key, Val>::find(const Key &key) in find() argument 706 const auto &itr = valueTab_.find(key); in find() [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/ |
D | TabPaneCpuByThread.ts | 107 …if (detail.key === 'pid' || detail.key == "tid" || detail.key === 'wallDuration' || detail.key ===… 108 this.source.sort(compare(detail.key, detail.sort, 'number')) 110 this.source.sort(compare(detail.key, detail.sort, 'string'))
|
D | TabPaneCpuByProcess.ts | 103 …if (detail.key === 'pid' || detail.key === 'wallDuration' || detail.key === 'avgDuration' || detai… 104 this.source.sort(compare(detail.key, detail.sort, 'number')) 106 this.source.sort(compare(detail.key, detail.sort, 'string'))
|
/developtools/ace-js2bundle/ace-loader/plugin/templater/ |
D | lite_component_map.js | 334 const key = keys[i]; 335 res.push(key); 363 const key = keys[i]; 364 const value = source[key]; 365 let target = object[key]; 366 if (target != null && !nativekeys.includes(key)) { 369 `Attribute '${key}' already exists and cannot be modified\u001b[39m`, 374 object[key] = merge(target, value, nativekeys); 376 object[key] = value;
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | hashlist.h | 61 explicit LinkNode(const Key &key); 62 explicit LinkNode(const Key &key, const Val &val); 63 explicit LinkNode(const Key &key, Val &&val); 166 inline std::size_t count(const Key &key) const in count() argument 168 return valueTab_.count(key); in count() 183 Val &operator[](const Key &key); 185 Iterator find(const Key &key); 187 void push_front(const Key& key, const Val &val); 188 void push_front(const Key& key, Val &&val); 189 void push_back(const Key& key, const Val &val); [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/ |
D | TraceSheet.ts | 124 this.loadTabPaneData(e.detail.key) 420 loadTabPaneData(key: string) { 421 if (key == "2") { 424 } else if (key == "3") { 427 } else if (key == "4") { 430 } else if (key == "5") { 433 } else if (key == "6") { 436 } else if (key == "7") { 439 } else if (key == "8") { 442 } else if (key == "9") { [all …]
|
/developtools/ace-ets2bundle/compiler/src/ |
D | compile_info.ts | 109 Reflect.ownKeys(assets).forEach(key => { 110 if (/\.map$/.test(key.toString()) && assets[key]._value) { 111 assets[key]._value = assets[key]._value.toString().replace('.ets?entry', '.ets'); 112 assets[key]._value = assets[key]._value.toString().replace('.ts?entry', '.ts');
|