/freebsd-9.3-release/contrib/ntp/sntp/unity/auto/ |
H A D | type_sanitizer.rb | 5 return unsanitized.gsub(/[-\/\\\.\,\s]/, "_")
|
H A D | generate_test_runner.rb | 102 source_scrubbed = source.gsub(/\/\/.*$/, '') # remove line comments 103 source_scrubbed = source_scrubbed.gsub(/\/\*.*?\*\//m, '') # remove block comments 144 source.gsub!(/\/\/(?:.+\/\*|\*(?:$|[^\/])).*$/, '') # remove line comments that comment out the start of blocks 145 source.gsub!(/\/\*.*?\*\//m, '') # remove block comments 146 source.gsub!(/\/\/.*$/, '') # remove line comments (all that remain) 177 output.puts("#include #{inc.include?('<') ? inc : "\"#{inc.gsub('.h','')}.h\""}") 185 output.puts("#include #{inc.include?('<') ? inc : "\"#{inc.gsub('.h','')}.h\""}") 188 output.puts("#include \"#{mock.gsub('.h','')}.h\"") 399 ARGV[1] = ARGV[0].gsub(".c","_Runner.c") if (!ARGV[1])
|
H A D | unity_test_summary.rb | 30 results = @targets.map {|target| target.gsub(/\\/,'/')} 100 line_out = ((@root && (@root != 0)) ? "#{@root}#{line}" : line ).gsub(/\//, "\\") 134 targets = "#{ARGV[0].gsub(/\\/, '/')}**/*.test*"
|
/freebsd-9.3-release/gnu/usr.bin/grep/tests/ |
H A D | formatbre.awk | 21 # gsub (/@/, ","); 23 gsub (/\"\"/, ""); 25 gsub (/\\\'/, "\\\'\'"); 47 # gsub (/@/, ","); 49 gsub (/\"\"/, ""); 51 gsub (/\\\'/, "\\\'\'");
|
H A D | formatere.awk | 22 # gsub (/@/, ","); 24 gsub (/\"\"/, ""); 26 gsub (/\\\'/, "\\\'\'"); 49 # gsub (/@/, ","); 51 gsub (/\"\"/, ""); 53 gsub (/\\\'/, "\\\'\'");
|
/freebsd-9.3-release/sys/tools/ |
H A D | pccarddevs2h.awk | 94 gsub("\\$", "", VERSION) 137 gsub("&sp", " ", $f) 138 gsub("&tab", "\t", $f) 139 gsub("&nl", "\n", $f)
|
H A D | acpi_quirks2h.awk | 38 gsub("\^# ", "", VERSION) 39 gsub("\\$", "", VERSION)
|
H A D | fw_stub.awk | 122 gsub(/[-\.]/, "_", modname); 143 gsub(/-|\.|\//, "_", symb); 170 gsub(/-|\.|\//, "_", symb);
|
H A D | miidevs2h.awk | 95 gsub("\\$", "", VERSION)
|
H A D | vnode_if.awk | 239 gsub (/\/\*.*\*\//, ""); 242 gsub(/[[:space:]]+/, " ");
|
H A D | makeobjops.awk | 266 gsub(/[ ]+/, " ", line); # remove double spaces
|
H A D | usbdevs2h.awk | 244 gsub("\\$", "", VERSION)
|
/freebsd-9.3-release/sys/boot/ficl/softwords/ |
H A D | softcore.awk | 76 gsub(/\t/, " "); # replace each tab with 4 spaces 77 gsub(/\"/, "\\\""); # escape quotes 78 gsub(/\\[[:space:]]+$/, ""); # toss empty comments
|
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/msg/ |
H A D | parsemsg.awk | 34 gsub("^[^$]*", "") 35 gsub("[^$]*$", "") 92 gsub("[a-zA-Z][a-zA-Z0-9]*", "cx->&", $3)
|
H A D | parseie.awk | 34 gsub("^[^$]*", "") 35 gsub("[^$]*$", "")
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | makemib | 42 # eliminate use of gsub and functions to use classic "awk"), you have to 99 { sub(/--\*.*\*--/, ""); sub(/--.*/, ""); gsub(/[{}]/, " & "); } 191 gsub(/[-&\/]/,"",new) 192 gsub(/[-&\/]/,"",parent)
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | opt-functions.awk | 68 gsub ( "\\+", "\\+", regex ) 114 gsub ("[^A-Za-z0-9]", "_", name)
|
H A D | opth-gen.awk | 138 gsub( "[^A-Za-z0-9_]", "X", macros[i] ) 163 gsub ("[^A-Za-z0-9]", "_", enum)
|
H A D | optc-gen.awk | 115 gsub( "[^A-Za-z0-9_]", "X", macros[i] ) 154 gsub ("[^A-Za-z0-9]", "_", enum)
|
/freebsd-9.3-release/sys/teken/ |
H A D | gensequences | 80 gsub(" ", "_", l_cmd_c_name[cmd]);
|
/freebsd-9.3-release/usr.sbin/bsdconfig/startup/ |
H A D | rcconf | 139 gsub(/'\''/, "'\''\\'\'\''", default) 141 gsub(/'\''/, "'\''\\'\'\''", value) 148 gsub(/'\''/, "'\''\\'\'\''", value) 154 gsub(/'\''/, "'\''\\'\'\''", desc)
|
H A D | rcdelete | 120 gsub(/'\''/, "'\''\\'\'\''", default) 122 gsub(/'\''/, "'\''\\'\'\''", value) 129 gsub(/'\''/, "'\''\\'\'\''", value) 135 gsub(/'\''/, "'\''\\'\'\''", desc)
|
/freebsd-9.3-release/contrib/one-true-awk/ |
H A D | proto.h | 192 extern Cell *gsub(Node **, int);
|
H A D | FIXES | 129 fixed a bug in matching the null RE in sub and gsub. thanks to al aho 508 fixed some bugs in sub and gsub when replacement includes \\. 544 to grow arrays as needed for printf, sub, gsub, etc. 573 fixed long-standing bug in sub, gsub(/a/, "\\\\&"); thanks to 658 fixed at least one error in gsub that looked at -1-th element 740 increased buffer in gsub. a very crude fix to a general problem. 911 Changed grammar to prohibit constants as 3rd arg of sub and gsub; 966 affected are sub (gsub was ok), substr, printf, and
|
/freebsd-9.3-release/tools/regression/usr.bin/env/ |
H A D | regress-sb.rb | 349 optval.gsub!(/\[%- testpgm\.basename -%\]/x, File.basename($testpgm)) 350 optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile)
|