Home
last modified time | relevance | path

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

123

/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
/arkcompiler/runtime_core/static_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
/arkcompiler/runtime_core/static_core/bytecode_optimizer/templates/
Dcodegen_call_intrinsics.inc.erb19 % types = intrinsic.signature.args.map { |i| i.gsub("\\[", "[]") } + [intrinsic.signature.ret]
26 % class_name = class_name.gsub('.', sep)
27 % signature = signature.gsub('.', sep)
/arkcompiler/runtime_core/libabckit/src/codegen/templates/
Dcodegen_call_intrinsics_static.inc.erb19 % types = intrinsic.signature.args.map { |i| i.gsub("\\[", "[]") } + [intrinsic.signature.ret]
26 % class_name = class_name.gsub('.', sep)
27 % signature = signature.gsub('.', sep)
/arkcompiler/runtime_core/static_core/templates/
Dmessages.rb26 %("#{string.gsub('"', '\\"').gsub("\n", '\\n').gsub("\t", '\\t').gsub('\\', '\\\\')}")
/arkcompiler/runtime_core/templates/
Dmessages.rb26 %("#{string.gsub('"', '\\"').gsub("\n", '\\n').gsub("\t", '\\t').gsub('\\', '\\\\')}")
/arkcompiler/runtime_core/static_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
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dentrypoints.rb50 self.gsub(/::/, '/').
51 gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
52 gsub(/([a-z\d])([A-Z])/,'\1_\2').
Dintrinsics.rb51 res = name.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
52 res = 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/static_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/libabckit/src/wrappers/templates/
Dopc_to_string.h.erb48 if (name == "<%= insn.mnemonic.gsub('.', '_') %>") {
54 if (name == "<%= insn.opcode.gsub('.', '_') %>") {
/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/runtime_core/static_core/assembler/templates/
Disa.h.erb26 % pretty_format = insn.format.pretty.upcase.gsub(/[0-9]/, '')
27 % pretty_format.gsub!('IMM', 'ID') if insn.jump?
28 % pretty_format.gsub!('ID', 'TYPE') if insn.properties.include?('type_id')
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_es_checked/generate-es-checked/
Dmain.rb157 file_name = File.basename(path, ".yaml").gsub(/\s+/, '_').gsub(/[^a-zA-Z0-9_=]/, '_')
211 name = conf.category + sub["expr"].gsub(/\s+/, '').gsub(/[^a-zA-Z0-9_=]/, '_')
268 push.conf.setup = push.conf.setup.gsub(/\bpars\b/, pars.ts.join(', '))
271 push.ts.expr = sub["expr"].gsub(/\bpars\b/, pars.ts.join(', '))
353 puts res.gsub(/^/, "\t")
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/intrinsics/
Dcompiler_intrinsics.rb35 res = name.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2')
36 res.gsub(/([a-z\d])([A-Z])/,'\1_\2').upcase
/arkcompiler/runtime_core/libabckit/src/codegen/templates_dynamic/
Dic_info.h.erb35 % instFormat = inst.format.pretty.upcase.gsub("PREF_", "")
36 % invertedInstFormat = inverted_inst.format.pretty.upcase.gsub("PREF_", "")
72 % instFormat = inst.format.pretty.upcase.gsub("PREF_", "")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/
Dmain.rb160 file_name = File.basename(path, ".yaml").gsub(/\s+/, '_').gsub(/[^a-zA-Z0-9_=]/, '_')
214 name = conf.category + sub["expr"].gsub(/\s+/, '').gsub(/[^a-zA-Z0-9_=]/, '_')
271 push.conf.setup = push.conf.setup.gsub(/\bpars\b/, pars.ts.join(', '))
274 push.ts.expr = sub["expr"].gsub(/\bpars\b/, pars.ts.join(', '))
358 puts res.gsub(/^/, "\t")
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Dformats.h.erb2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
/arkcompiler/ets_frontend/ets2panda/compiler/templates/
Dformats.h.erb2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s

123