| /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/trace_streamer/src/rpc/ |
| D | ffrt_converter.cpp | 54 std::smatch match; in ExtractProcessId() local 56 if (std::regex_search(log, match, pidPattern)) { in ExtractProcessId() 57 for (size_t i = 0; i < match.size(); i++) { in ExtractProcessId() 58 if (match[i] == '-') { in ExtractProcessId() 62 auto beginPos = match.str().find('(') + 1; in ExtractProcessId() 63 auto endPos = match.str().find(')'); in ExtractProcessId() 64 return std::stoi(match.str().substr(beginPos, endPos - beginPos)); in ExtractProcessId() 72 std::smatch match; in ExtractTimeStr() local 74 if (std::regex_search(log, match, timePattern)) { in ExtractTimeStr() 75 return match.str().substr(1, match.str().size() - STR_LEGH); in ExtractTimeStr() [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/ |
| D | SheetUtils.ts | 151 const match = expression.match(regex); constant 152 if (match && match.length > 1) { 153 expression = match[1];
|
| /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/smartperf_host/ide/src/base-ui/utils/ |
| D | CSVFormater.ts | 142 …(has = agent.indexOf('edge') !== -1 ? (type.edge = 'edge') : agent.match(/rv:([\d.]+)\) like gecko… 144 : (has = agent.match(/msie ([\d.]+)/)) 146 : (has = agent.match(/firefox\/([\d.]+)/)) 148 : (has = agent.match(/chrome\/([\d.]+)/)) 150 : (has = agent.match(/opera.([\d.]+)/)) 152 : (has = agent.match(/version\/([\d.]+).*safari/))
|
| D | Template.ts | 83 const [keys, obj] = strFor.match(reg) ? strFor.split(reg) : ['item', strFor];
|
| /developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorker.ts | 35 function match(req: any) { function 58 match(e.data);
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | compile-plugin.js | 267 if (message.match(/noteStart(([\s\S])*)noteEnd/) !== null) { 270 console.info(' ' + message.match(/noteStart(([\s\S])*)noteEnd/)[1].trim(), reset, '\n') 272 } else if (message.match(/warnStart(([\s\S])*)warnEnd/) !== null) { 275 console.warn(yellow, message.match(/warnStart(([\s\S])*)warnEnd/)[1].trim(), reset, '\n') 295 if (message.match(/errorStart(([\s\S])*)errorEnd/) !== null) { 296 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/device/plugins/arkts_plugin/test/unittest/ |
| D | arkts_plugin_unittest.cpp | 51 std::smatch match; in ArkTSPluginTest() local 52 if (std::regex_search(result, match, pattern)) { in ArkTSPluginTest() 53 std::string matchedString = match[1].str(); in ArkTSPluginTest()
|
| /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 | 290 std::smatch match = *it; in ReciveVsync() local 291 std::string key = match.str(1); in ReciveVsync() 292 std::string value = match.str(2); in ReciveVsync() 326 std::smatch match; in OnRwTransaction() local 327 if (std::regex_search(args, match, transFlagPattern_)) { in OnRwTransaction() 328 std::string flag2 = match.str(2); in OnRwTransaction() 341 std::smatch match = *it; in OnMainThreadProcessCmd() local 342 std::string value1 = match.str(1); in OnMainThreadProcessCmd() 343 std::string value2 = match.str(2); in OnMainThreadProcessCmd()
|
| /developtools/global_resource_tool/src/ |
| D | config_parser.cpp | 393 bool ConfigParser::GetRefIdFromString(string &value, bool &update, const string &match) const in GetRefIdFromString() 396 …string error = "Error: '" + value + "' must start with '" + match.substr(match.find("\\") + 1) + "… in GetRefIdFromString() 404 if (regex_search(value, result, regex(match))) { in GetRefIdFromString()
|
| /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/ace_ets2bundle/compiler/src/fast_build/ets_ui/ |
| D | rollup-plugin-ets-typescript.ts | 148 if (projectConfig.isPreview && !projectConfig.checkEntry && id.match(/(?<!\.d)\.(ets)$/)) { 180 if (moduleInfoId && !moduleInfoId.match(new RegExp(projectConfig.packageDir)) && 192 if (filePath.match(/\.e?ts$/)) { 243 return storedFileInfo.buildStart && filePath.match(/(?<!\.d)\.(ets)$/) && 471 if (jsCacheFilePath.match(/\.d.e?ts$/)) {
|
| /developtools/ace_js2bundle/ace-loader/ |
| D | module-source.js | 20 if (src.match(/\/test$/)) {
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpVmTracker.ts | 42 let result = this.vmTrackerProcessInput!.value.match(/\((.+?)\)/g);
|
| /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]*$")) {
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | Utils.ts | 85 const matches = threadKey.match(regex);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorker.ts | 122 function match(type: string, req: RequestMessage): void { function 174 match(req.type!, req);
|
| /developtools/smartperf_host/ide/src/trace/component/trace/base/ |
| D | TraceRowConfig.ts | 611 let match = item.name.match(pattern); 612 if (match) { 613 chartId = match[0].trim(); 614 name = item.name.split(match[0])[0];
|