Searched full:gsub (Results 1 – 25 of 27) sorted by relevance
12
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
| D | uncovered_md.rb | 39 i.nil? ? '' : i['format'].join(', ').gsub(/_/, '\\_') 47 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
|
| D | full_md.rb | 42 instr.nil? ? '' : instr['format'].join(', ').gsub(/_/, '\\_') 67 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
|
| D | orphaned_md.rb | 35 str.gsub(/_/, '\\_').gsub(/\n/, ' ').rstrip
|
| D | summary.rb | 126 end.join('. ').gsub(/\n/, ' ').rstrip
|
| /arkcompiler/runtime_core/templates/ |
| D | messages.rb | 26 %("#{string.gsub('"', '\\"').gsub("\n", '\\n').gsub("\t", '\\t').gsub('\\', '\\\\')}")
|
| D | common.rb | 19 gsub(/::/, '/') 20 .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2') 21 .gsub(/([a-z\d])([A-Z])/, '\1_\2')
|
| D | cpu_features.inc.erb | 24 …DEF(<%= val.upcase.gsub( "-", "_") %>, "<%= val %>")<%= op.possible_values.last != val ? " \\" : "…
|
| /arkcompiler/runtime_core/runtime/templates/ |
| D | intrinsics.rb | 91 '[' * 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
|
| D | runtime.rb | 90 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/ |
| D | full_md.erb | 40 <% 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/ |
| D | isa.h.erb | 20 % 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/ |
| D | compiler_intrinsics.rb | 34 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/ |
| D | formats.h.erb | 2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS" 5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
|
| D | isa.h.erb | 2 % 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/ |
| D | isapi.rb | 295 …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/ |
| D | irtoc.rb | 122 …line.gsub(/(\w+) *:= *([^>])/, 'let :\1, \2').gsub(/\} *Else/, "}; Else").gsub(/%(\w+)/, 'LiveIn(r…
|
| /arkcompiler/ets_frontend/ts2panda/templates/ |
| D | diagnostic.ts.erb | 108 % result = result.gsub(/_+/, "_"); 111 % result = result.gsub(/^_([^\d])/, "$1"); 114 % result = result.gsub(/_$/, "");
|
| D | irnodes.ts.erb | 16 % return "#{mnemonic.gsub('.', '_').upcase}" 135 % name_tmp = name.to_s.gsub(/[0-9]/, '').to_sym
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | allure_reporter.rb | 44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
|
| D | jtr_reporter.rb | 28 report_file = report_dir + Pathname.new(@pa_file.gsub(/.pa$/, '.jtr').to_s)
|
| /arkcompiler/runtime_core/templates/logger_components/ |
| D | logger_components.inc.erb | 24 …DEF(<%= val.upcase.gsub( "-", "_") %>, "<%= val %>")<%= op.possible_values.last != val ? " \\" : "…
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | source_lang_enum.h.erb | 59 % else plugin_lang.gsub(/_/, " ").capitalize
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 19 % opc = opc[1].capitalize.gsub('Ashr', 'AShr').gsub('Fdiv', 'Div').gsub('Fmod', 'Mod')
|
| /arkcompiler/runtime_core/tests/cts-generator/generator/ |
| D | command.rb | 74 template = template.gsub('*s', '%s')
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | checker.rb | 135 @cwd = "#{Dir.getwd}/#{name.gsub(/[ -:()]/, '_')}" 397 prefix = line.sub(/#.*/, '#').gsub("\n", '')
|
12