| /developtools/ace_js2bundle/ace-loader/plugin/templater/ |
| D | data.js | 24 v.match(dataReg).forEach(element => { 37 let match = dataReg.exec(v) 38 if (!match) { 41 start = match.index 43 parseValue(match, res) 44 next = start + match[0].length 58 function parseValue(match, res) { argument 59 let three= /^{{{.*}}}$/.test(match[0]) 60 let v = three ? match[1] : match[3]
|
| D | component_validator.js | 384 if (!attrKey.match(EVENT_START_REGEXP) && !(attrKey in attrTagMap[tagName])) { 536 if (attrKey.match(EVENT_START_REGEXP)) { 538 …const eventName = (tempName.match(TOUCH_CAPTURE_EVENT_REGEXP) && process.env.DEVICE_LEVEL === DEVI… 785 if (contentValue.match(/^linear-gradient/) && contentValue.match(/\(.*\{\{.*\}\}.*\)/)) { 996 const suffix = val.match(/(?<=in\s)(.*)/) 997 const prefix = val.match(/(.*)(?=\s+in\s+)/) 999 const v = prefix[0].match(/\((.*),(.*)\)/) 1068 …const name = (tempName.match(TOUCH_CAPTURE_EVENT_REGEXP) && process.env.PLATFORM_VERSION === PLATF… 1071 if (card && val.match(/(.*)\((.*)\)/)) { 1083 const empty = val.match(/(.*)\(\)$/) [all …]
|
| /developtools/ace_js2bundle/ace-loader/src/lite/ |
| D | lite-transform-style.js | 116 match: function(key, value) { method 127 match: function(key, value) { method 138 match: function(key, value) { method 150 match: function(key, value) { method 158 match: function(key, value) { method 166 match: function(key, value) { method 174 match: function(key, value) { method 182 match: function(key, value) { method 201 if (rules[i].match(key, value)) {
|
| D | lite-transform-template.js | 84 match: function(key, value) { method 93 match: function(key, value) { method 105 match: function(key, value) { method 114 match: function(key, value) { method 239 if (styleRules[i].match(key, value)) { 498 const i18nExpressions = func.match(REGXP_LANGUAGE_KEY);
|
| /developtools/smartperf_host/ide/src/base-ui/utils/ |
| D | CSVFormater.ts | 118 …(has = agent.indexOf('edge') !== -1 ? (type.edge = 'edge') : agent.match(/rv:([\d.]+)\) like gecko… 120 : (has = agent.match(/msie ([\d.]+)/)) 122 : (has = agent.match(/firefox\/([\d.]+)/)) 124 : (has = agent.match(/chrome\/([\d.]+)/)) 126 : (has = agent.match(/opera.([\d.]+)/)) 128 : (has = agent.match(/version\/([\d.]+).*safari/))
|
| /developtools/profiler/host/smartperf/ide/src/base-ui/utils/ |
| D | CSVFormater.ts | 124 (s = ua.indexOf('edge') !== -1 ? (Sys.edge = 'edge') : ua.match(/rv:([\d.]+)\) like gecko/)) 126 : (s = ua.match(/msie ([\d.]+)/)) 128 : (s = ua.match(/firefox\/([\d.]+)/)) 130 : (s = ua.match(/chrome\/([\d.]+)/)) 132 : (s = ua.match(/opera.([\d.]+)/)) 134 : (s = ua.match(/version\/([\d.]+).*safari/))
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/ |
| D | Thermal.ets | 54 if (name.match("thermal_zone") && name.match("thermal_zone1") == null) { 58 if (typeName.match(item.toString())) { 59 SPLogger.DEBUG(Thermal.name,"thermal_zone match name:" + typeName) 61 …SPLogger.DEBUG(Thermal.name,"thermal_zone match name this.supportItemMap:" + this.supportItemMap.s…
|
| /developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorker.ts | 33 function match(req: any) { function 47 match(e.data);
|
| /developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorker.ts | 35 function match(req: any) { function 49 match(e.data);
|
| /developtools/smartperf_host/ide/src/trace/component/metrics/ |
| D | MetaDataStrategy.ts | 28 if (!value.match('^-?\\d+$')) { 41 if (!value.match('^-?\\d+$')) {
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/metrics/ |
| D | MetaDataStrategy.ts | 29 if (!value.match('^-?\\d+$')) { 41 if (!value.match('^-?\\d+$')) {
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | compile-plugin.js | 265 if (message.match(/noteStart(([\s\S])*)noteEnd/) !== null) { 268 console.info(' ' + message.match(/noteStart(([\s\S])*)noteEnd/)[1].trim(), reset, '\n') 270 } else if (message.match(/warnStart(([\s\S])*)warnEnd/) !== null) { 273 console.warn(yellow, message.match(/warnStart(([\s\S])*)warnEnd/)[1].trim(), reset, '\n') 293 if (message.match(/errorStart(([\s\S])*)errorEnd/) !== null) { 294 const errorMessage = message.match(/errorStart(([\s\S])*)errorEnd/)[1];
|
| D | cardJson-plugin.js | 50 const str = source.match(/card_start((\s||\S)*)card_end/)[1]; 78 const key = element.match(/var ((\s||\S)*) =/)[1]; 79 const value = element.match(/"((\s||\S)*)"/)[1]; 84 let out = subSource.substr(0, partEnd).match(/module\.exports \= ((\s||\S)*)/)[1].trim();
|
| /developtools/bytrace/script/ |
| D | bytrace_multi.py | 38 trace_match = re.match(trace_regex, line) 44 time_match = re.match(time_regex, line) 50 trace_match = re.match(trace_regex, line)
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/ |
| D | print_event_parser.cpp | 230 std::smatch match = *it; in ReciveVsync() local 231 std::string key = match.str(1); in ReciveVsync() 232 std::string value = match.str(2); in ReciveVsync() 268 std::smatch match; in OnRwTransaction() local 269 if (std::regex_search(args, match, transFlagPattern_)) { in OnRwTransaction() 270 std::string flag2 = match.str(2); in OnRwTransaction() 284 std::smatch match = *it; in OnMainThreadProcessCmd() local 285 std::string value1 = match.str(1); in OnMainThreadProcessCmd() 286 std::string value2 = match.str(2); in OnMainThreadProcessCmd()
|
| /developtools/profiler/device/plugins/ftrace_plugin/tools/ |
| D | ftrace_format_parser.py | 120 re.match(r"char\s+\w+\[\d*\]", self.field) 121 or re.match(r"char\s*\*\s*\w+", self.field) 125 or re.match(r"__u8\s+\w+\[\d+\]", self.field) 126 or re.match(r"__u8\s+\w+\[.*]", self.field) 127 or re.match(r"u32\s+\w+\[\d+\]", self.field) 131 return re.match(r"unsigned long\s+\w+\[\d*\]", self.field)
|
| /developtools/smartperf_host/trace_streamer/src/parser/ |
| D | print_event_parser.cpp | 291 std::smatch match = *it; in ReciveVsync() local 292 std::string key = match.str(1); in ReciveVsync() 293 std::string value = match.str(2); in ReciveVsync() 329 std::smatch match; in OnRwTransaction() local 330 if (std::regex_search(args, match, transFlagPattern_)) { in OnRwTransaction() 331 std::string flag2 = match.str(2); in OnRwTransaction() 345 std::smatch match = *it; in OnMainThreadProcessCmd() local 346 std::string value1 = match.str(1); in OnMainThreadProcessCmd() 347 std::string value2 = match.str(2); in OnMainThreadProcessCmd()
|
| /developtools/global_resource_tool/src/ |
| D | config_parser.cpp | 392 bool ConfigParser::GetRefIdFromString(string &value, bool &update, const string &match) const in GetRefIdFromString() 395 …string error = "Error: '" + value + "' must start with '" + match.substr(match.find("\\") + 1) + "… in GetRefIdFromString() 403 if (regex_search(value, result, regex(match))) { in GetRefIdFromString()
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ets_ui/ |
| D | rollup-plugin-ets-typescript.ts | 103 if (projectConfig.isPreview && !projectConfig.checkEntry && id.match(/(?<!\.d)\.(ets)$/)) { 123 if (moduleInfo.id && !moduleInfo.id.match(new RegExp(projectConfig.packageDir)) && 131 if (filePath.match(/\.e?ts$/)) { 164 return storedFileInfo.buildStart && filePath.match(/(?<!\.d)\.(ets)$/) &&
|
| /developtools/ace_ets2bundle/compiler/server/ |
| D | build_pipe_server.js | 366 const match = message.match(reg); 367 if (match[1] && nameArr.includes(match[1])) {
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpVmTracker.ts | 41 let result = this.vmTrackerProcessInput!.value.match(/\((.+?)\)/g);
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | validate_ui_syntax.ts | 530 const match: string[] = param.match(/\b(Checkbox|Switch|Button)\b/); constant 531 if (match && match.length) { 532 isCheckType.value = match[0]; 1010 const urlResult: RegExpMatchArray | null = url.match(/^(\S+)\/(\S+)\/(\S+)\/(\S+)$/); 1022 const urlResult: RegExpMatchArray | null = url.match(/^(\S+)\/(\S+)\/(\S+)$/); 1037 const urlResult: RegExpMatchArray | null = url.match(/^system\.(\S+)/); 1050 …const result: RegExpMatchArray | null = sourcePath.match(/(\S+)(\/|\\)src(\/|\\)(?:main|ohosTest)(… 1053 const urlResult: RegExpMatchArray | null = url.match(/^\/(ets|js|lib|node_modules)\/(\S+)$/); 1072 const result: RegExpMatchArray = moduleRequest.match(/^@(\S+):(\S+)$/); 1181 const decls: string[] = content.match(REG_IMPORT_DECL);
|
| D | utils.ts | 382 if (!jsFilePath.match(new RegExp(projectConfig.packageDir))) { 690 if (id.match(/(?<!\.d)\.(ets)$/)) { 692 } else if (id.match(/(?<!\.d)\.(ts)$/) && process.env.compileMode === 'moduleJson') { 698 …if (id.match(process.env.compileMode === 'moduleJson' ? /(?<!\.d)\.(ets|ts)$/ : /(?<!\.d)\.(ets)$/… 704 …if (id.match(process.env.compileMode === 'moduleJson' ? /(?<!\.d)\.(ets|ts)$/ : /(?<!\.d)\.(ets)$/… 711 …return !entryFileWithoutEntryDecorator.includes(item.toLowerCase()) && item.match(/(?<!\.d)\.(ets)…
|
| /developtools/ace_js2bundle/ace-loader/ |
| D | module-source.js | 20 if (src.match(/\/test$/)) {
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/ |
| D | BaseProfilerUtils.ets | 95 if (name.match(regexp)) { 149 if (element.match("^[0-9]*$")) {
|