/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/generic/ |
H A D | predefined.h | 1 static char cmd[] = variable 3 "foreach cmd [info command ::xotcl::Object::instcmd::*] {\n" 4 "::xotcl::alias ::xotcl::Object [namespace tail $cmd] $cmd}\n" 5 "foreach cmd {array append eval incr lappend trace subst unset} {\n" 6 "::xotcl::alias ::xotcl::Object $cmd -objscope ::$cmd}\n" 7 "foreach cmd [info command ::xotcl::Class::instcmd::*] {\n" 8 "::xotcl::alias ::xotcl::Class [namespace tail $cmd] $cmd}\ [all...] |
H A D | xotclAccessInt.h | 29 #define Tcl_Command_refCount(cmd) ((Command *)cmd)->refCount 30 #define Tcl_Command_cmdEpoch(cmd) ((Command *)cmd)->cmdEpoch 32 Tcl_GetCommandInfoFromToken(cmd, infoPtr) */ 33 #define Tcl_Command_nsPtr(cmd) ((Tcl_Namespace*)(((Command *)cmd)->nsPtr)) 34 #define Tcl_Command_objProc(cmd) ((Command *)cmd)->objProc 35 #define Tcl_Command_objClientData(cmd) ((Comman 45 XOTclGetCDFromCmdPtr(Tcl_Command cmd) argument 54 XOTclGetClassFromCmdPtr(Tcl_Command cmd) argument 63 XOTclGetObjectFromCmdPtr(Tcl_Command cmd) argument [all...] |
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/ |
H A D | lib.c | 23 #include <cmd.h> 25 SHLIB(cmd)
|
/macosx-10.9.5/bash-92/bash-3.2/examples/functions/ |
H A D | whence | 34 for cmd 37 echo $(builtin type $cmd | sed 1q) 39 path=$(builtin type -path $cmd) 43 case "$cmd" in 44 /*) if [ -x "$cmd" ]; then 45 echo "$cmd" 48 *) case "$(builtin type -type $cmd)" in 50 *) echo "$cmd"
|
H A D | fstty | 21 local cmd="" bargs="" 27 -a) cmd="$cmd everything" 31 cmd="$cmd erase $1" 36 cmd="$cmd kill $1" 41 cmd="$cmd erase $1" 46 cmd [all...] |
/macosx-10.9.5/zsh-60/zsh/Functions/VCS_Info/ |
H A D | VCS_INFO_get_cmd | 4 local cmd 5 zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" "command" cmd 6 vcs_comm[cmd]=${cmd:-$vcs}
|
/macosx-10.9.5/curl-78.94.1/curl/tests/libtest/ |
H A D | test610.pl | 11 my $cmd = shift @ARGV; 13 if ($cmd eq "mkdir") { 16 elsif ($cmd eq "rmdir") { 19 elsif ($cmd eq "rm") { 22 elsif ($cmd eq "move") { 26 elsif ($cmd eq "gone") { 29 print "Unsupported command $cmd\n";
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/perf_index/ |
H A D | compile.c | 11 char *cmd; local 15 assert(asprintf(&cmd, "ditto \"%s\" \"%s\"", src, src_dst) >= 0); 16 assert(system(cmd) == 0); 17 free(cmd); 21 char *cmd; local 22 assert(asprintf(&cmd, "rm -rf \"%s\"", src_dst) >= 0); 23 assert(system(cmd) == 0); 24 free(cmd); 28 char *cmd; local 30 assert(asprintf(&cmd, "mak [all...] |
H A D | iperf.c | 12 char *cmd; local 13 assert(asprintf(&cmd, "iperf -c \"%s\" -n %lld > /dev/null", test_argv[0], length) >= 0); 14 assert(system(cmd) == 0); 15 free(cmd);
|
/macosx-10.9.5/vim-53/runtime/macros/ |
H A D | less.sh | 7 vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - 9 vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@"
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/stdio/ |
H A D | popen.c | 27 popen(const char* cmd, const char* mode) argument 29 return sfpopen((Sfio_t*)(-1), cmd, mode);
|
/macosx-10.9.5/bash-92/bash-3.2/examples/scripts/ |
H A D | nohup.bash | 6 path=$(builtin type -p $cmd | sed 1q) 11 case "$cmd" in 12 */*) [ -x "$cmd ] && { echo "$cmd" ; return 0; } ;; 13 *) case "$(builtin type -t $cmd)" in 15 *) echo "$cmd" ; return 0;;
|
H A D | bcsh.sh | 435 read cmd || cmd="exit" 468 case "$cmd" in 477 cmd=$lastcmd 483 cmd="`expr \"$cmd\" : '\(.*\):p'` +~+p" 491 cmd="${cmd};$line" 493 echo "$cmd" > /tmp/bcsh$$ 519 cmd [all...] |
/macosx-10.9.5/IOFireWireFamily-455.4.0/IOFireWireFamily.kmodproj/ |
H A D | IOFWCmdQ.cpp | 33 IOFWCommand *cmd; local 35 cmd = fHead; 37 while( cmd ) 40 newHead = cmd->getNext(); 49 cmd->fQueue = NULL; // Not on this queue anymore 50 cmd->startExecution(); 55 cmd = newHead; 67 IOFWCommand *cmd; local 68 cmd = fHead; 69 while(cmd) [all...] |
/macosx-10.9.5/ruby-104/ruby/test/rubygems/ |
H A D | test_gem_commands_server_command.rb | 9 @cmd = Gem::Commands::ServerCommand.new 13 @cmd.send :handle_options, %w[-p 8808 --no-daemon] 15 assert_equal false, @cmd.options[:daemon] 16 assert_equal [], @cmd.options[:gemdir] 17 assert_equal 8808, @cmd.options[:port] 19 @cmd.send :handle_options, %w[-p 9999 -d /nonexistent --daemon] 21 assert_equal true, @cmd.options[:daemon] 22 assert_equal [File.expand_path('/nonexistent')], @cmd.options[:gemdir] 23 assert_equal 9999, @cmd.options[:port] 27 @cmd [all...] |
H A D | test_gem_commands_generate_index_command.rb | 10 @cmd = Gem::Commands::GenerateIndexCommand.new 11 @cmd.options[:directory] = @gemhome 16 @cmd.execute 26 refute_equal '/nonexistent', @cmd.options[:directory] 28 @cmd.handle_options %w[--directory /nonexistent] 30 assert_equal '/nonexistent', @cmd.options[:directory] 36 refute_equal '/nonexistent', @cmd.options[:directory] 38 @cmd.handle_options %w[--directory C:/nonexistent] 40 assert_equal 'C:/nonexistent', @cmd.options[:directory] 44 @cmd [all...] |
H A D | test_gem_local_remote_options.rb | 10 @cmd = Gem::Command.new 'dummy', 'dummy' 11 @cmd.extend Gem::LocalRemoteOptions 15 @cmd.add_local_remote_options 18 assert @cmd.handles?(args) 22 assert_equal false, @cmd.both? 24 @cmd.options[:domain] = :local 26 assert_equal false, @cmd.both? 28 @cmd.options[:domain] = :both 30 assert_equal true, @cmd.both? 34 @cmd [all...] |
H A D | test_gem_version_option.rb | 10 @cmd = Gem::Command.new 'dummy', 'dummy' 11 @cmd.extend Gem::VersionOption 15 @cmd.add_platform_option 17 assert @cmd.handles?(%w[--platform x86-darwin]) 21 @cmd.add_version_option 23 assert @cmd.handles?(%w[--version >1]) 27 @cmd.add_version_option 29 @cmd.handle_options %w[mygem -v 0.2.0.a] 30 assert @cmd.options[:prerelease] 32 @cmd [all...] |
H A D | test_gem_commands_check_command.rb | 9 @cmd = Gem::Commands::CheckCommand.new 24 assert_equal "check", @cmd.command 25 assert_equal "gem check", @cmd.program_name 26 assert_match(/Check/, @cmd.summary) 30 @cmd.handle_options %w[--no-alien --no-gems --doctor --dry-run] 32 assert @cmd.options[:doctor] 33 refute @cmd.options[:alien] 34 assert @cmd.options[:dry_run] 35 refute @cmd.options[:gems] 39 @cmd [all...] |
H A D | test_gem_install_update_options.rb | 11 @cmd = Gem::Command.new 'dummy', 'dummy', 13 @cmd.extend Gem::InstallUpdateOptions 14 @cmd.add_install_update_options 31 assert @cmd.handles?(args) 35 @cmd.handle_options %w[--doc] 37 assert_equal %w[ri], @cmd.options[:document].sort 41 @cmd.handle_options %w[--doc=rdoc] 43 assert_equal %w[rdoc], @cmd.options[:document] 45 @cmd.handle_options %w[--doc ri] 47 assert_equal %w[ri], @cmd [all...] |
H A D | test_gem_command.rb | 23 @cmd = Gem::Command.new @cmd_name, 'summary' 28 @cmd.add_option '--all' do |v,o| end 34 h = @cmd.add_extra_args [] 46 h = @cmd.add_extra_args [] 52 assert_equal "doit", @cmd.command 53 assert_equal "gem doit", @cmd.program_name 54 assert_equal "summary", @cmd.summary 62 @cmd.add_option('-h', '--help [COMMAND]', 'Get help on COMMAND') do |value, options| 66 @cmd.defaults = { :help => true } 68 @cmd [all...] |
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/tests/ |
H A D | math.sh | 46 cmd='@@TYPE@@ -a @@VAR@@ ; @@VAR@@[1]=90 ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1]' ; stdoutpattern=' 90==90' 49 cmd='@@TYPE@@ -a @@VAR@@=( [1]=90 ) ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1]' ; stdoutpattern=' 90==90' 52 cmd='@@TYPE@@ -a @@VAR@@ ; @@VAR@@[1][3]=90 ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1][3]' ; stdoutpattern=' 90==90' 55 cmd='@@TYPE@@ -a @@VAR@@=( [1][3]=90 ) ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1][3]' ; stdoutpattern=' 90==90' 58 cmd='@@TYPE@@ -a @@VAR@@ ; @@VAR@@[1][3][5]=90 ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1][3][5]' ; stdoutpattern=' 90==90' 61 cmd='@@TYPE@@ -a @@VAR@@=( [1][3][5]=90 ) ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1][3][5]' ; stdoutpattern=' 90==90' 64 cmd='@@TYPE@@ -a @@VAR@@ ; @@VAR@@[1][3][5]=90 ; function x { nameref nz=${1}[$2][$3][$4] ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@ 1 3 5' ; stdoutpattern=' 90==90' 67 cmd='@@TYPE@@ -A @@VAR@@ ; @@VAR@@[1]=90 ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1]' ; stdoutpattern=' 90==90' 70 cmd='@@TYPE@@ -A @@VAR@@=( [1]=90 ) ; function x { nameref nz=$1 ; print " $(( round(nz) ))==$(( round($nz) ))" ; } ; x @@VAR@@[1]' ; stdoutpattern=' 90==90' 77 typeset cmd [all...] |
H A D | statics.sh | 41 typeset cmd 48 typeset cmd="$2" 52 output="$($SHELL -c "${cmd}" 2>&1 )" 93 cmd=$' 112 cmd=$' 133 cmd=$' 159 cmd=$' 190 cmd=$' 207 cmd=$' 228 cmd [all...] |
/macosx-10.9.5/zsh-60/zsh/Util/ |
H A D | preconfig | 5 cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'` 6 echo >&2 "$cmd" 7 if ( eval "$cmd" ); then :; else
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/ |
H A D | cmdarg.c | 55 register Cmdarg_t* cmd; local 105 if (!(cmd = newof(0, Cmdarg_t, 1, n + m))) 113 s = cmd->buf; 117 cmd->echo = 1; 121 cmd->echo = 1; 133 free(cmd); 141 cmd->insert = strcpy(s, argpat); 142 cmd->insertlen = m - 1; 145 s += sizeof(char**) - (s - cmd->buf) % sizeof(char**); 148 cmd 180 cmdflush(register Cmdarg_t* cmd) argument 301 cmdarg(register Cmdarg_t* cmd, const char* file, register int len) argument 339 cmdclose(Cmdarg_t* cmd) argument [all...] |