Searched refs:pat (Results 1 - 25 of 392) sorted by relevance

1234567891011>>

/macosx-10.10/ICU-531.30/icuSources/test/testdata/
H A DNumberFormatTestCases.txt17 pat: - "#0.####"
19 pat: - "#0.####"
22 pat: - "#0"
28 pat: - -
30 pat: - "#,@@@"
33 pat: - -
39 pat: - -
44 pat: - -
49 pat: - -
54 pat
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/examples/functions/
H A Dsubstr13 local flag pat str
14 local usage="usage: substr -lLrR pat string or substr string pat"
19 pat="$2"
29 pat="$2"
55 str="${str#$pat}" # substr -l pat string
58 str="${str##$pat}" # substr -L pat string
61 str="${str%$pat}" # subst
[all...]
H A Dsubstr212 local flag pat str
13 local usage="usage: substr -lLrR pat string or substr string pat"
22 pat="$OPTARG"
57 str="${str#$pat}" # substr -l pat string
60 str="${str##$pat}" # substr -L pat string
63 str="${str%$pat}" # substr -r pat strin
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/blt/
H A Dcontainer.rb20 def find_command(pat)
21 Hash[*simplelist(tk_send_without_enc('find', '-command', pat))]
24 def find_name(pat)
25 Hash[*simplelist(tk_send_without_enc('find', '-name', pat))]
/macosx-10.10/bash-94.1.2/bash-3.2/examples/scripts.v2/
H A Drename68 pat=${oldpat#*[\*\?]} # pat=.a
69 pat=${oldpat%%"$pat"} # pat=foo*
70 pat=${pat##*[!\?\*]} # pat=*
72 oldpre[i]=${oldpat%%"$pat"*} # oldpre[1]=foo
73 oldsuf[i]=${oldpat#*"$pat"} # oldsu
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/regex/
H A Dregfatal.c33 regfatalpat(regex_t* p, int level, int code, const char* pat) argument
39 if (pat)
40 error(level, "regular expression: %s: %s", pat, buf);
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_urlglob.c45 URLPattern *pat = &glob->pattern[glob->size]; local
46 pat->type = UPTSet;
47 pat->content.Set.size = 1;
48 pat->content.Set.ptr_s = 0;
49 pat->globindex = -1;
51 pat->content.Set.elements = malloc(sizeof(char*));
53 if(!pat->content.Set.elements)
56 pat->content.Set.elements[0] = malloc(len+1);
57 if(!pat->content.Set.elements[0])
60 memcpy(pat
86 URLPattern *pat; local
182 URLPattern *pat; local
486 URLPattern *pat; local
602 URLPattern *pat =NULL; local
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/Expressions/
H A Dinstanceof-002.js73 var pat = new Engineer()
76 "pat.__proto__ == Engineer.prototype",
78 pat.__proto__ == Engineer.prototype );
81 "pat.__proto__.__proto__ == WorkerBee.prototype",
83 pat.__proto__.__proto__ == WorkerBee.prototype );
86 "pat.__proto__.__proto__.__proto__ == Employee.prototype",
88 pat.__proto__.__proto__.__proto__ == Employee.prototype );
91 "pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype",
93 pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype );
96 "pat
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_3/inherit/
H A Dproto_7.js81 var pat = new Engineer( "Toonces, Pat",
91 "pat.name",
93 pat.name );
96 "pat.dept",
98 pat.dept );
101 "pat.projects.length",
103 pat.projects.length );
106 "pat.projects[0]",
108 pat.projects[0] );
111 "pat
[all...]
H A Dproto_8.js79 var pat = new Engineer( "Toonces, Pat",
89 "pat.name",
91 pat.name );
94 "pat.dept",
96 pat.dept );
99 "pat.projects.length",
101 pat.projects.length );
104 "pat.projects[0]",
106 pat.projects[0] );
109 "pat
[all...]
H A Dproto_10.js100 var pat = new Engineer()
103 "pat.__proto__ == Engineer.prototype",
105 pat.__proto__ == Engineer.prototype );
108 "pat.__proto__.__proto__ == WorkerBee.prototype",
110 pat.__proto__.__proto__ == WorkerBee.prototype );
113 "pat.__proto__.__proto__.__proto__ == Employee.prototype",
115 pat.__proto__.__proto__.__proto__ == Employee.prototype );
118 "pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype",
120 pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype );
123 "pat
[all...]
H A Dproto_6.js94 var pat = new Engineer( "Toonces, Pat",
108 "pat.name",
110 pat.name );
113 "pat.dept",
115 pat.dept );
118 "pat.projects.length",
120 pat.projects.length );
123 "pat.projects[0]",
125 pat.projects[0] );
128 "pat
[all...]
H A Dproto_9.js72 var pat = new WorkerBee()
82 "pat.name",
84 pat.name );
87 "pat.dept",
89 pat.dept );
92 "pat.projects.getClass",
94 pat.projects.getClass() );
97 "pat.projects.length",
99 pat.projects.length );
/macosx-10.10/bash-94.1.2/bash-3.2/lib/glob/
H A Dstrmatch.c63 char *string, *pat; local
66 pat = v[2];
68 if (strmatch (pat, string, 0) == 0)
70 printf ("%s matches %s\n", string, pat);
75 printf ("%s does not match %s\n", string, pat);
/macosx-10.10/bzip2-36/bzip2/
H A Dbzgrep34 pat=""
67 -[ef]) opt="$opt $1"; shift; pat="$1"
74 *) if test -z "$pat"; then
75 pat="$1"
83 if test -z "$pat"; then
90 bzip2 -cdfq | $grep $opt "$pat"
98 $grep $opt "$pat" > /dev/null && printf "%s\n" "$i"
100 $grep $opt "$pat" > /dev/null || printf "%s\n" "$i"
102 $grep $opt "$pat"
114 # $grep $opt "$pat" | se
[all...]
/macosx-10.10/ICU-531.30/icuSources/common/
H A Duset_props.cpp34 UnicodeString pat(patternLength==-1, pattern, patternLength);
35 UnicodeSet* set = new UnicodeSet(pat, *ec);
54 UnicodeString pat(patternLength==-1, pattern, patternLength);
55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec);
90 UnicodeString pat(pattern, patternLength);
94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status);
121 UnicodeString pat(pattern, patternLength);
123 return ((pos+1) < pat.length() &&
124 pat.charAt(pos) == (UChar)91/*[*/) ||
125 UnicodeSet::resemblesPattern(pat, po
133 UnicodeString pat; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/pt/rde_critcl/
H A Dutil.c73 trace_return (const char *pat, ...) argument
82 va_start(args, pat);
83 len = vsprintf(msg, pat, args);
96 trace_printf (const char *pat, ...) argument
103 va_start(args, pat);
104 len = vsprintf(msg, pat, args);
115 trace_printf0 (const char *pat, ...) argument
120 va_start(args, pat);
121 len = vsprintf(msg, pat, args);
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/
H A Dcdtdptst.h53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
/macosx-10.10/ruby-106/ruby/ext/pty/lib/
H A Dexpect.rb32 def expect(pat,timeout=9999999)
34 case pat
36 e_pat = Regexp.new(Regexp.quote(pat))
38 e_pat = pat
40 raise TypeError, "unsupported pattern class: #{pat.class}"
/macosx-10.10/vim-55/src/proto/
H A Dtag.pro5 int find_tags __ARGS((char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname));
10 int expand_tags __ARGS((int tagnames, char_u *pat, int *num_file, char_u ***file));
11 int get_tags __ARGS((list_T *list, char_u *pat));
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblunicode/utbm/
H A Dutbm.c67 _utbm_char_t *pat; member in struct:_utbm_pattern_t
113 _utbm_match(utbm_pattern_t pat, ucs2_t *text, ucs2_t *start, ucs2_t *end, argument
136 if (pat->pat_used == 1) {
144 cp = pat->pat + (pat->pat_used - 1);
146 for (count = pat->patlen; start > text && count > 0;) {
150 if (pat->flags & UTBM_IGNORE_NONSPACING) {
166 if (pat->flags & UTBM_SPACE_COMPRESS) {
248 free((char *) pattern->pat);
257 utbm_compile(ucs2_t *pat, unsigned long patlen, unsigned long flags, utbm_pattern_t p) argument
434 utbm_exec(utbm_pattern_t pat, ucs2_t *text, unsigned long textlen, unsigned long *match_start, unsigned long *match_end) argument
[all...]
/macosx-10.10/postfix-255/postfix/src/postconf/
H A Dpostconf.h233 #define PCF_IS_MAGIC_SERVICE_PATTERN(pat) \
234 (PCF_MATCH_ANY((pat)->argv[0]) || PCF_MATCH_ANY((pat)->argv[1]))
235 #define PCF_MATCH_SERVICE_PATTERN(pat, name, type) \
236 (PCF_MATCH_STRING((pat)->argv[0], (name)) \
237 && PCF_MATCH_STRING((pat)->argv[1], (type)))
239 #define pcf_is_magic_field_pattern(pat) ((pat) == PCF_MASTER_FLD_WILDC)
240 #define pcf_str_field_pattern(pat) ((const char *) (pcf_field_name_offset[pat]
[all...]
/macosx-10.10/cups-408/cups/scheduler/
H A Dtype.c46 static int mime_patmatch(const char *s, const char *pat);
1150 const char *pat) /* I - Pattern to match against */
1156 if (s == NULL || pat == NULL)
1164 while (*s != '\0' && *pat != '\0')
1166 if (*pat == '*')
1172 pat ++;
1173 if (*pat == '\0')
1182 if (mime_patmatch(s, pat))
1188 else if (*pat == '?')
1194 pat
1149 mime_patmatch(const char *s, const char *pat) argument
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/iwidgets/
H A Dscrolledtext.rb415 def search_with_length(pat,start,stop=None)
416 pat = pat.chr if pat.kind_of? Integer
420 if (pos = txt.index(pat))
424 if pat.kind_of? String
425 #return [index(start + " + #{pos} chars"), pat.split('').length]
427 _ktext_length(pat), pat.dup]
438 if (pos = txt.index(pat))
[all...]
/macosx-10.10/zsh-61/zsh/Misc/
H A Dlete2ctl88 local($pat,$arg) = @_;
90 if ($pat eq 'p') {
92 } elsif ($pat eq 'n' || $pat eq 'N') {
94 $num = ($pat eq 'N') ? 2 : 1;
96 } elsif ($pat eq 'c' || $pat eq 'C') {
99 if (($pat eq 'c' && $arg =~ /^\*([^*?]*)$/)) {
105 $let = ($pat eq 'c') ? 's' : 'S';
258 ($pat,
[all...]

Completed in 164 milliseconds

1234567891011>>