/macosx-10.10/zsh-61/zsh/Functions/Misc/ |
H A D | zcalc | 4 # Line editing and history are available. A blank line or `q' quits. 11 # The prompt shows a number for the current line. The corresponding 12 # result can be referred to with $<line-no>, e.g. 18 # command line. For example, 41 # but note this can't appear on the same line as a calculation. Don't 60 # Note the line isn't remembered. 84 # Options: -#<base> is the same as a line containing just `[#<base>], 101 local line ans base defbase forms match mbegin mend psvar optlist opt arg 102 local compcontext="-zcalc-line-" 120 # Process command line [all...] |
/macosx-10.10/vim-55/runtime/indent/ |
H A D | rst.vim | 26 let line = getline(lnum) 28 if line =~ '^\s*[-*+]\s' 30 elseif line =~ '^\s*\d\+.\s' 31 let ind = ind + matchend(substitute(line, '^\s*', '', ''), '\d\+.\s\+') 34 let line = getline(v:lnum - 1) 36 if line =~ '^\s*$' 39 let line = getline('.') 40 if line =~ '^\s*[-*+]' 42 elseif line =~ '^\s*\d\+\.\s' 43 let ind = ind - matchend(substitute(line, ' [all...] |
/macosx-10.10/ruby-106/ruby/sample/ |
H A D | freq.rb | 4 while line = gets() 5 line.scan(/\w+/) do |word|
|
H A D | occur.rb | 4 while line = gets() 5 for word in line.split(/\W+/)
|
H A D | uumerge.rb | 11 while line = gets() 12 if /^begin\s*(\d*)\s*(\S*)/ =~ line 28 while line = gets() 29 if /^end/ =~ line 35 line.sub!(/[a-z]+$/, "") # handle stupid trailing lowercase letters 36 next if /[a-z]/ =~ line
|
/macosx-10.10/tcsh-65/tcsh/win32/msg/ |
H A D | makerc.pl | 37 ($num,$line)= split(' ',$_,2);
39 print " \"" . $line . "\"\n";
|
/macosx-10.10/vim-55/runtime/tools/ |
H A D | mve.awk | 15 line=s[2] 22 printf("%s, line %d, col %d : %s\n", file,line,col,msg)
|
/macosx-10.10/swig-12/Source/Swig/ |
H A D | warn.c | 23 void Swig_warn(const char *filename, int line, const char *msg) { argument 28 key = NewStringf("%s:%d", filename, line); 30 Printf(stderr, "swig-dev warning:%s:%d:%s\n", filename, line, msg);
|
/macosx-10.10/tcl-105/tcl_ext/trf/trf/compat/ |
H A D | _eprintf.c | 6 __eprintf (string, expression, line, filename) 9 int line; 12 fprintf (stderr, string, expression, line, filename);
|
/macosx-10.10/ICU-531.30/icuSources/test/depstest/ |
H A D | dependencies.py | 61 def _RemoveComment(line): 64 index = line.find("#") # Remove trailing comment. 65 if index >= 0: line = line[:index] 66 return line.rstrip() # Remove trailing newlines etc. 70 line = _RemoveComment(f.next()) 71 if line: return line 77 line = _ReadLine(deps_file) 78 if not line [all...] |
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | mdoc2man.awk | 39 line="" 54 line=line "\n" 55 line=line str 82 if(length(line)&&!(match(line," $")||prenl)) 104 sub(" $","",line) 107 sub(" $","",line) 135 if(!nospace&&length(line) [all...] |
/macosx-10.10/ruby-106/ruby/ext/psych/lib/psych/ |
H A D | syntax_error.rb | 6 attr_reader :file, :line, :column, :offset, :problem, :context 8 def initialize file, line, col, offset, problem, context 11 message = "(%s): %s at line %d column %d" % [filename, err, line, col] 14 @line = line
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/support/devel/sak/test/ |
H A D | run.tcl | 273 if {[gets $pipe line] < 0} break 274 if {$alog || $araw} {puts $logext $line ; flush $logext} 275 set rline $line 276 set line [string trim $line] 277 if {[string equal $line ""]} continue 305 if {!$araw} {puts !$line} 320 upvar 1 line line ; variable xhost 321 if {![regexp "^@@ Host (.*)$" $line [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/bytecode/ |
H A D | ExpressionRangeInfo.h | 37 // 1. FatLine: 22-bit line, 8-bit column. 38 // 2. FatColumn: 8-bit line, 22-bit column. 39 // 3. FatLineAndColumn: 32-bit line, 32-bit column. 41 // For the first 2 modes, the line and column will be encoded in the 30-bit 44 // holds the FatPosition records with the full 32-bit line and column values. 53 uint32_t line; member in struct:JSC::ExpressionRangeInfo::FatPosition 75 void encodeFatLineMode(unsigned line, unsigned column) argument 77 ASSERT(line <= MaxFatLineModeLine); 79 position = ((line & FatLineModeLineMask) << FatLineModeLineShift | (column & FatLineModeColumnMask)); 82 void encodeFatColumnMode(unsigned line, unsigne argument 89 decodeFatLineMode(unsigned& line, unsigned& column) argument 95 decodeFatColumnMode(unsigned& line, unsigned& column) argument [all...] |
/macosx-10.10/ruby-106/ruby/test/dtrace/ |
H A D | test_array_create.rb | 7 saw = saw.map(&:split).find_all { |num, file, line| 10 assert_equal([rbfile], saw.map { |line| line[1] }) 11 assert_equal(['1'], saw.map { |line| line[2] }) 17 saw = saw.map(&:split).find_all { |num, file, line| 18 file == rbfile && num == '4' && line == '1'
|
/macosx-10.10/vim-55/runtime/macros/maze/ |
H A D | mazeclean.c | 9 char *M, A, Z, E = 40, line[80], T[3]; variable 13 for (M = line + E, *line = A = scanf ("%d", &C); --E; line[E] = M[E] = E) 16 T[Z] = Z[A - (E = A[line - Z]) && !C 19 || !C & !Z ? line[M[E] = M[A]] = E, line[M[A] = A - Z] =
|
/macosx-10.10/bash-94.1.2/bash-3.2/ |
H A D | bashhist.c | 95 /* Non-zero means do no history expansion on this line, regardless 100 /* With the old default, every line was saved in the history individually. 106 Each line will be individually saved in the history. 126 of just being able to recall one line at a time. 132 /* Set to 1 if the first line of a possibly-multi-line command was saved 150 line saved. 152 history list before saving the latest line. */ 156 as a separate history entry; set to 0 if the line was ignored or added 170 line wit [all...] |
/macosx-10.10/tcl-105/tcl_ext/snack/snack/demos/tcl/ |
H A D | mixer.tcl | 2 # the next line restarts using wish \ 21 foreach line [snack::mixer lines] { 22 pack [frame .f.g$line -bd 1 -relief solid] -side left -expand yes -fill both 23 pack [label .f.g$line.l -text $line] 24 if {[snack::mixer channels $line] == "Mono"} { 25 snack::mixer volume $line v(r$line) 27 snack::mixer volume $line v(l$line) [all...] |
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/unix/tools/ |
H A D | bldmanhelp.tcl | 5 # pages, sections. Brief entries are extracted from the name line. 12 # The command line is: 51 # It returns the line that was read. 54 set line [gets $manFH] 55 case [lindex $line 0] { 57 set line [gets $manFH] 60 set brief [string trim [crange $line [string first - $line]+1 end]] 62 return $line 81 while {[gets $fh line] > [all...] |
/macosx-10.10/ntp-92/libntp/ |
H A D | ntp_lineedit.c | 2 * ntp_lineedit.c - generic interface to various line editing libs 146 * ntp_readline - read a line with the line editor available 162 char * line; local 171 line = readline(lineedit_prompt ? lineedit_prompt : ""); 172 if (NULL != line) { 173 if (*line) { 174 add_history(line); 175 *pcount = strlen(line); 177 free(line); [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/textutil/ |
H A D | tabify.tcl | 34 # Both have one feature in common: They accept multi-line strings (a whole 36 # they split the incoming string into individual lines and hand each line to 93 # tabifyLine: Works on a single line of text, replacing 'spaces at correct 95 # Returns the (possibly modified) line. 106 # - Find the last occurrence of ' ' in 'line' with respect to 'lastPos' 123 # This algorithm only works, if $line does not contain tabs. Otherwise our 125 # find a ' ' at position 4 in $line. If you got 3 leading tabs, your *real* 130 proc ::textutil::tabify::tabifyLine { line num } { 131 if { [string first \t $line] != -1 } { 135 set line [untabifyLin [all...] |
/macosx-10.10/rsync-45/rsync/popt/ |
H A D | poptconfig.c | 13 static void configLine(poptContext con, unsigned char * line) argument 27 if (strncmp(line, con->appName, nameLength)) return; 30 line += nameLength; 31 if (*line == '\0' || !isspace(*line)) return; 33 while (*line != '\0' && isspace(*line)) line++; 34 entryType = line; 35 while (*line [all...] |
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/support/devel/sak/test/ |
H A D | run.tcl | 248 if {[gets $pipe line] < 0} break 249 if {$alog || $araw} {puts $logext $line ; flush $logext} 250 set line [string trim $line] 251 if {[string equal $line ""]} continue 277 if {!$araw} {puts !$line} 292 upvar 1 line line ; variable xhost 293 if {![regexp "^@@ Host (.*)$" $line -> xhost]} return 301 upvar 1 line lin [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/java/Test/ |
H A D | testserver.java | 67 String line = br.readLine(); 69 System.out.println("in = "+line); 71 if (line!=null) 72 in = SaslUtils.decode64(line); 88 String line; 94 line = br.readLine(); 96 if (line == null) { 101 if (line.startsWith(". ")==false) { 106 line=line [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/isc/ |
H A D | error.c | 61 isc_error_unexpected(const char *file, int line, const char *format, ...) { argument 65 (unexpected_callback)(file, line, format, args); 70 isc_error_fatal(const char *file, int line, const char *format, ...) { argument 74 (fatal_callback)(file, line, format, args); 80 isc_error_runtimecheck(const char *file, int line, const char *expression) { argument 81 isc_error_fatal(file, line, "RUNTIME_CHECK(%s) %s", expression, 87 default_unexpected_callback(const char *file, int line, const char *format, argument 90 fprintf(stderr, "%s:%d: ", file, line); 97 default_fatal_callback(const char *file, int line, const char *format, argument 100 fprintf(stderr, "%s:%d: %s: ", file, line, [all...] |