Home
last modified time | relevance | path

Searched full:gsub (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
Duncovered_md.rb39 i.nil? ? '' : i['format'].join(', ').gsub(/_/, '\\_')
47 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
Dfull_md.rb42 instr.nil? ? '' : instr['format'].join(', ').gsub(/_/, '\\_')
67 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
Dorphaned_md.rb35 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
Dsummary.rb126 end.join('. ').gsub(/\n/, ' ').rstrip
/arkcompiler/runtime_core/templates/
Dmessages.rb26 %("#{string.gsub('"', '\\"').gsub("\n", '\\n').gsub("\t", '\\t').gsub('\\', '\\\\')}")
Dcommon.rb19 gsub(/::/, '/')
20 .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
21 .gsub(/([a-z\d])([A-Z])/, '\1_\2')
Dcpu_features.inc.erb24 …DEF(<%= val.upcase.gsub( "-", "_") %>, "<%= val %>")<%= op.possible_values.last != val ? " \\" : "…
/arkcompiler/runtime_core/runtime/templates/
Dintrinsics.rb91 '[' * rank + 'L' + type.gsub('.', '/') + ';'
104 res = name.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
105 res.gsub(/([a-z\d])([A-Z])/,'\1_\2').upcase
Druntime.rb90 res = name.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
91 res.gsub(/([a-z\d])([A-Z])/,'\1_\2').upcase
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/
Dfull_md.erb40 <% if i['type'] %> - *type:* <%= i['type'].gsub(/_/, '\\_') + "\n" %><% end -%>
41 <% if i['dtype'] %> - *dtype:* <%= i['dtype'].gsub(/_/, '\\_') + "\n" %><% end -%>
42 <% if i['etype'] %> - *etype:* <%= i['etype'].gsub(/_/, '\\_') + "\n" %><% end -%>
/arkcompiler/runtime_core/assembler/templates/
Disa.h.erb20 % pretty_format = insn.format.pretty.upcase.gsub(/[0-9]/, '')
21 % pretty_format.gsub!('IMM', 'ID') if insn.jump?
22 % pretty_format.gsub!('ID', 'TYPE') if insn.properties.include?('type_id')
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dcompiler_intrinsics.rb34 res = name.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
35 res.gsub(/([a-z\d])([A-Z])/,'\1_\2').upcase
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Dformats.h.erb2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
Disa.h.erb2 % return "#{mnemonic.gsub('.', '_').upcase}"
6 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
164 % name_tmp = name_tmp = name.to_s.gsub(/[0-9]/, '').to_sym;
/arkcompiler/runtime_core/isa/
Disapi.rb295 …name.sub('op_', '').gsub(/id[0-9]?/, 'id').gsub(/imm[0-9]?/, 'imm').gsub(/v[0-9]?/, 'v').gsub(/_([…
303 bits = pretty.gsub(/[a-z]/, '').split('_').map(&:to_i).sum
337 @name = name.to_s.gsub(/[0-9]/, '').to_sym
/arkcompiler/runtime_core/irtoc/lang/
Dirtoc.rb122 …line.gsub(/(\w+) *:= *([^>])/, 'let :\1, \2').gsub(/\} *Else/, "}; Else").gsub(/%(\w+)/, 'LiveIn(r…
/arkcompiler/ets_frontend/ts2panda/templates/
Ddiagnostic.ts.erb108 % result = result.gsub(/_+/, "_");
111 % result = result.gsub(/^_([^\d])/, "$1");
114 % result = result.gsub(/_$/, "");
Dirnodes.ts.erb16 % return "#{mnemonic.gsub('.', '_').upcase}"
135 % name_tmp = name.to_s.gsub(/[0-9]/, '').to_sym
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Dallure_reporter.rb44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
Djtr_reporter.rb28 report_file = report_dir + Pathname.new(@pa_file.gsub(/.pa$/, '.jtr').to_s)
/arkcompiler/runtime_core/templates/logger_components/
Dlogger_components.inc.erb24 …DEF(<%= val.upcase.gsub( "-", "_") %>, "<%= val %>")<%= op.possible_values.last != val ? " \\" : "…
/arkcompiler/runtime_core/libpandafile/templates/
Dsource_lang_enum.h.erb59 % else plugin_lang.gsub(/_/, " ").capitalize
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml19 % opc = opc[1].capitalize.gsub('Ashr', 'AShr').gsub('Fdiv', 'Div').gsub('Fmod', 'Mod')
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dcommand.rb74 template = template.gsub('*s', '%s')
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb135 @cwd = "#{Dir.getwd}/#{name.gsub(/[ -:()]/, '_')}"
397 prefix = line.sub(/#.*/, '#').gsub("\n", '')

12