/macosx-10.10/ruby-106/ruby/sample/ |
H A D | freq.rb | 0 # word occurrence listing 5 line.scan(/\w+/) do |word| 6 freq[word] += 1 10 for word in freq.keys.sort! 11 print word, " -- ", freq[word], "\n"
|
H A D | occur.rb | 0 # word occurrence listing 5 for word in line.split(/\W+/) 6 freq[word] += 1 10 for word in freq.keys.sort! 11 print word, " -- ", freq[word], "\n"
|
H A D | occur2.rb | 0 # word occurrence listing 5 for word in line.split(/\W+/) 6 freq[word] ||= 0 7 freq[word] += 1 11 for word in freq.keys.sort 12 printf("%s -- %d\n", word, freq[word])
|
/macosx-10.10/bash-94.1.2/bash-3.2/ |
H A D | bashtypes.h | 25 # define word __word macro 31 # undef word macro
|
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/testsuite/binutils-all/vax/ |
H A D | entrymask.s | 5 .word 0x0110 10 .word 0x0224
|
/macosx-10.10/bash-94.1.2/bash-3.2/builtins/ |
H A D | bashgetopt.c | 68 /* Hmmm.... called with a different word list. Reset. */ 75 if (lcurrent == 0 || NOTOPT(lcurrent->word->word)) { 79 } else if (lcurrent->word->word[0] == '-' && 80 lcurrent->word->word[1] == '-' && 81 lcurrent->word->word[2] == 0) { 86 errstr[0] = list_opttype = lcurrent->word [all...] |
H A D | kill.c | 48 char *sigspec, *word; local 66 word = list->word->word; 68 if (ISOPTION (word, 'l')) 73 else if (ISOPTION (word, 's') || ISOPTION (word, 'n')) 78 sigspec = list->word->word; 87 sh_needarg (word); [all...] |
H A D | source.c | 85 if (restricted && strchr (list->word->word, '/')) 87 sh_restricted (list->word->word); 94 filename = find_path_file (list->word->word); 99 builtin_error (_("%s: file not found"), list->word->word); 103 filename = savestring (list->word->word); [all...] |
H A D | shift.c | 41 sh_erange (list ? list->word->word : NULL, _("shift count")); 47 sh_erange (list ? list->word->word : NULL, _("shift count")); 62 dollar_vars[9] = savestring (temp->word->word);
|
H A D | pushd.c | 77 if (list && list->word && ISOPTION (list->word->word, '-')) 109 if (ISOPTION (list->word->word, 'n')) 113 else if (ISOPTION (list->word->word, '-')) 118 else if (list->word->word[0] == '-' && list->word [all...] |
H A D | echo.c | 39 /* Print the words in LIST to standard output. If the first word is 55 for (; list && (temp = list->word->word) && *temp == '-'; list = list->next) 102 temp = do_v9 ? ansicstr (list->word->word, STRLEN (list->word->word), 1, &i, &len) 103 : list->word->word;
|
H A D | let.c | 27 if (list && list->word && ISOPTION (list->word->word, '-')) 38 ret = evalexp (list->word->word, &expok);
|
/macosx-10.10/ruby-106/ruby/lib/ |
H A D | abbrev.rb | 75 words.each do |word| 76 next if word.empty? 77 word.size.downto(1) { |len| 78 abbrev = word[0...len] 84 table[abbrev] = word 93 words.each do |word| 94 next if pattern && pattern !~ word 96 table[word] = word
|
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/testsuite/binutils-all/ |
H A D | group.s | 4 .word 0 8 .word 0
|
/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/ |
H A D | unlink.c | 31 if (unlink (list->word->word) != 0) 33 builtin_error ("%s: cannot unlink: %s", list->word->word, strerror (errno));
|
H A D | head.c | 39 arg = l->word->word; 45 l->word->word[1] = 'n'; 46 l->word->word[2] = '\0'; 111 fp = fopen (l->word->word, "r"); 114 builtin_error ("%s: %s", l->word->word, strerro [all...] |
H A D | rmdir.c | 26 if (rmdir (l->word->word) < 0) 28 builtin_error ("%s: %s", l->word->word, strerror (errno));
|
H A D | strftime.c | 40 format = list->word->word; 49 if (list && list->word->word) 51 n = legal_number (list->word->word, &i); 54 sh_invalidnum (list->word->word);
|
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | line_wrap.c | 80 const char *word; local 99 for (start_line = word = str; word != 0; word = next_word) { 100 next_space = word + strcspn(word, " \t"); 101 if (word > start_line) { 103 line_len = word - start_line; 107 while (*word && ISSPACE(*word)) [all...] |
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | decnet.h | 33 typedef u_int8_t word[2]; /* 2 byte field */ typedef 67 word sh_dst; /* destination node address */ 68 word sh_src; /* source node address */ 156 word inIII_src; /* source node address */ 158 word inIII_blksize; /* maximum data link block size */ 168 word in_src; /* source node address */ 170 word in_blksize; /* maximum data link block size */ 174 word in_hello; /* hello timer */ 181 word ve_src; /* source node address */ 188 word te_sr [all...] |
/macosx-10.10/apache-793/httpd/server/ |
H A D | util_expr_parse.y | 96 %type <exVal> word 123 | T_OP_UNARY word { $$ = ap_expr_unary_op_make( $1, $2, ctx); } 124 | word T_OP_BINARY word { $$ = ap_expr_binary_op_make($2, $1, $3, ctx); } 129 comparison: word T_OP_EQ word { $$ = ap_expr_make(op_EQ, $1, $3, ctx); } 130 | word T_OP_NE word { $$ = ap_expr_make(op_NE, $1, $3, ctx); } 131 | word T_OP_LT word { 168 word : T_DIGIT { $$ = ap_expr_make(op_Digit, $1, NULL, ctx); } label [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/hx509/ |
H A D | sel-gram.y | 59 %type <expr> word words 84 words : word { $$ = _hx509_make_expr(expr_WORDS, $1, NULL); } 85 | word ',' words { $$ = _hx509_make_expr(expr_WORDS, $1, $3); } 88 comp : word '=' '=' word { $$ = _hx509_make_expr(comp_EQ, $1, $4); } 89 | word '!' '=' word { $$ = _hx509_make_expr(comp_NE, $1, $4); } 90 | word kw_TAILMATCH word { $$ = _hx509_make_expr(comp_TAILEQ, $1, $3); } 91 | word kw_I 95 word : number { $$ = $1; } label [all...] |
/macosx-10.10/vim-55/runtime/spell/ |
H A D | fixdup.vim | 7 " Start below the word count. 10 let word = getline(lnum) variable 11 if word !~ '/' 12 if search('^' . word . '/', 'w') != 0 15 continue " don't increment lnum, it's already at the next word 24 echomsg "Deleted 1 duplicate word"
|
/macosx-10.10/Libc-1044.1.2/string/FreeBSD/ |
H A D | strtok.c | 113 char *brkb, *brkt, *phrase, *sep, *word; local 120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) 121 printf("Next word is \"%s\".\n", word); 124 for (word = strtok_r(test, sep, &brkt); word; 125 word = strtok_r(NULL, sep, &brkt)) { 130 printf("So far we're at %s:%s\n", word, phras [all...] |
/macosx-10.10/emacs-93/emacs/lisp/ |
H A D | soundex.el | 42 (defun soundex (word) 47 (let* ((word (upcase word)) (length (length word)) 48 (code (cdr (assq (aref word 0) soundex-alist))) 49 (key (substring word 0 1)) (index 1) (prev-code code)) 52 ;; look up the code for each letter in word at index 53 (setq code (cdr (assq (aref word index) soundex-alist))
|