Searched refs:pat (Results 76 - 100 of 405) sorted by relevance

1234567891011>>

/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dlistformatter.cpp195 * Joins originalString and nextString using the pattern pat and puts the result in
198 void ListFormatter::addNewString(const UnicodeString& pat, UnicodeString& originalString, argument
204 int32_t p0Offset = pat.indexOf(FIRST_PARAMETER, 3, 0);
209 int32_t p1Offset = pat.indexOf(SECOND_PARAMETER, 3, 0);
231 UnicodeString result = UnicodeString(pat, 0, i) + *firstString;
232 result += UnicodeString(pat, i+3, j-i-3);
234 result += UnicodeString(pat, j+3);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/cm/
H A Dhtmlmixed.js20 function maybeBackup(stream, pat, style) {
22 var close = cur.search(pat), m;
26 if (!stream.match(pat, false)) stream.match(cur[0]);
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tkextlib/iwidgets/
H A Dmenubar.rb186 def menupath(pat)
187 if (win = tk_call(@path, 'path', pat)) == '-1'
192 def menupath_glob(pat)
193 if (win = tk_call(@path, 'path', '-glob', pat)) == '-1'
198 def menupath_tclregexp(pat)
199 if (win = tk_call(@path, 'path', '-regexp', pat)) == '-1'
/macosx-10.9.5/text_cmds-87/ed/
H A Dsub.c114 search_and_replace(pattern_t *pat, int gflag, int kth) argument
128 if ((len = substitute_matching_text(pat, lp, gflag, kth)) < 0)
170 substitute_matching_text(pattern_t *pat, line_t *lp, int gflag, int kth) argument
185 if (!regexec(pat, txt, SE_MAX, rm, 0)) {
196 pat->re_nsub)) < 0)
209 !regexec(pat, txt, SE_MAX, rm, REG_NOTBOL));
H A Dglbl.c43 pattern_t *pat; local
52 } else if ((pat = get_compiled_pattern()) == NULL)
63 if (!regexec(pat, s, 0, NULL, 0) == isgcmd &&
/macosx-10.9.5/zsh-60/zsh/Functions/VCS_Info/
H A Dvcs_info51 local pat
95 for pat in ${dps} ; do
96 if [[ ${PWD} == ${~pat} ]] ; then
/macosx-10.9.5/CPANInternal-140/PathTools/
H A Dppport.h3697 static SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3700 extern SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3712 DPPP_(my_vnewSVpvf)(pTHX_ const char *pat, va_list *args) argument
3715 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
3724 # define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
3729 # define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strle
3746 my_sv_catpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3774 my_sv_catpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
3819 my_sv_setpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3847 my_sv_setpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
[all...]
/macosx-10.9.5/CPANInternal-140/Unix-Getrusage/
H A Dppport.h3631 static SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3634 extern SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3646 DPPP_(my_vnewSVpvf)(pTHX_ const char *pat, va_list *args) argument
3649 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
3658 # define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
3663 # define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strle
3680 my_sv_catpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3708 my_sv_catpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
3753 my_sv_setpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3781 my_sv_setpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
[all...]
/macosx-10.9.5/CPANInternal-140/Unix-Getrusage-0.03/
H A Dppport.h3631 static SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3634 extern SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3646 DPPP_(my_vnewSVpvf)(pTHX_ const char *pat, va_list *args) argument
3649 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
3658 # define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
3663 # define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strle
3680 my_sv_catpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3708 my_sv_catpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
3753 my_sv_setpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3781 my_sv_setpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
[all...]
/macosx-10.9.5/CPANInternal-140/XML-LibXML/
H A Dppport.h3757 static SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3760 extern SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args);
3772 DPPP_(my_vnewSVpvf)(pTHX_ const char *pat, va_list *args) argument
3775 sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
3784 # define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
3789 # define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strle
3806 my_sv_catpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3834 my_sv_catpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
3879 my_sv_setpvf_mg(pTHX_ SV *sv, const char *pat, ...) argument
3907 my_sv_setpvf_mg_nocontext(SV *sv, const char *pat, ...) argument
[all...]
/macosx-10.9.5/vim-53/src/
H A Dsearch.c15 static void save_re_pat __ARGS((int idx, char_u *pat, int magic));
74 char_u *pat; /* the pattern (in allocated memory) or NULL */ member in struct:spat
87 {NULL, TRUE, FALSE, {'/', 0, 0, 0L}}, /* last used search pat */
88 {NULL, TRUE, FALSE, {'/', 0, 0, 0L}} /* last used substitute pat */
124 * pat_save == RE_SEARCH: save pat in spats[RE_SEARCH].pat (normal search cmd)
125 * pat_save == RE_SUBST: save pat in spats[RE_SUBST].pat (:substitute command)
126 * pat_save == RE_BOTH: save pat in both patterns (:global command)
127 * pat_use == RE_SEARCH: use previous search pattern if "pat" i
4556 char_u *pat; local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dplurfmt.cpp79 PluralFormat::PluralFormat(const UnicodeString& pat, argument
86 applyPattern(pat, status);
90 const UnicodeString& pat,
97 applyPattern(pat, status);
101 const UnicodeString& pat,
108 applyPattern(pat, status);
113 const UnicodeString& pat,
120 applyPattern(pat, status);
125 const UnicodeString& pat,
132 applyPattern(pat, statu
89 PluralFormat(const Locale& loc, const UnicodeString& pat, UErrorCode& status) argument
100 PluralFormat(const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) argument
111 PluralFormat(const Locale& loc, const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) argument
123 PluralFormat(const Locale& loc, UPluralType type, const UnicodeString& pat, UErrorCode& status) argument
[all...]
H A Dunum.cpp60 const UnicodeString pat(pattern, patternLength);
76 retVal = new DecimalFormat(pat, syms, *parseErr, *status);
86 const UnicodeString pat(pattern, patternLength);
92 retVal = new RuleBasedNumberFormat(pat, Locale(locale), *parseErr, *status);
659 UnicodeString pat;
663 pat.setTo(result, 0, resultLength);
670 df->toLocalizedPattern(pat);
672 df->toPattern(pat);
676 pat = rbnf->getRules();
678 return pat
[all...]
/macosx-10.9.5/tcsh-65/tcsh/
H A Dtw.comp.c251 tw_match(const Char *str, const Char *pat) argument
254 int rv = Gnmatch(str, pat, &estr);
257 xprintf("%s, ", short2str(pat));
269 tw_result(const Char *act, Char **pat) argument
347 *pat = res = Strsave(&act[1]);
352 *pat = res = Strsave(&act[1]);
375 *pat = res = Strsave(p);
391 *pat = res = Strsave(&act[2]);
456 tw_complete(const Char *line, Char **word, Char **pat, int looking, eChar *suf) argument
634 res = tw_result(com, pat);
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libdll/
H A Ddllscan.c51 char pat[64]; \
96 char pat[256]; local
137 if (pn >= sizeof(pat))
138 pn = sizeof(pat) - 1;
139 memcpy(pat, p, pn);
140 pat[pn] = 0;
141 if (strmatch(h, pat))
335 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
338 sfsprintf(scan->pat, sizeo
[all...]
/macosx-10.9.5/sudo-72/src/
H A Dglob.c793 match(name, pat, patend)
794 Char *name, *pat, *patend;
799 while (pat < patend) {
800 c = *pat++;
803 if (pat == patend)
806 if (match(name, pat, patend))
818 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS)
819 ++pat;
820 while (((c = *pat++) & M_MASK) != M_END) {
822 int idx = *pat
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/
H A Dcdtdptst.c158 UChar *str, *pat; local
165 pat=(UChar*)malloc(sizeof(UChar) * (strlen(pattern) + 1) );
166 u_uastrcpy(pat, pattern);
167 log_verbose("Pattern : %s ; String : %s\n", austrdup(pat), austrdup(str));
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
186 free(pat);
/macosx-10.9.5/ruby-104/ruby/lib/
H A Doptparse.rb234 def self.candidate(key, icase = false, pat = nil, &block)
235 pat ||= Completion.regexp(key, icase)
243 pat === kn
251 def candidate(key, icase = false, pat = nil)
252 Completion.candidate(key, icase, pat, &method(:each))
256 def complete(key, icase = false, pat = nil)
257 candidates = candidate(key, icase, pat, &method(:each)).sort_by {|k, v, kn| kn.size}
575 def accept(t, pat = /.*/m, &block)
576 if pat
577 pat
[all...]
/macosx-10.9.5/ruby-104/ruby/
H A Dregerror.c322 UChar* pat, UChar* pat_end, const UChar *fmt, va_list args)
331 need = (pat_end - pat) * 4 + 4;
337 p = pat;
384 UChar* pat, UChar* pat_end, const UChar *fmt, ...)
386 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
390 UChar* pat;
399 pat, pat_end, fmt, args);
321 onig_vsnprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, va_list args) argument
383 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...) argument
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dnumfmtst.cpp218 const char* pat[] = { "#.#", "#.", ".#", "#" }; local
219 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[0]));
225 DecimalFormat fmt(pat[i], sym, status);
226 if (U_FAILURE(status)) { errln((UnicodeString)"FAIL: DecimalFormat constructor failed for " + pat[i]); continue; }
229 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] +
235 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should format zero as " + num[i] +
275 const char* pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; local
276 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[
586 UnicodeString *pat; local
626 UnicodeString pat; local
2079 const char* pat=DATA[i]; local
2155 UnicodeString pat, tok, mloc, str, out, where, currAmt; local
2412 UnicodeString pat; local
2485 UnicodeString pat; local
2569 UnicodeString pat; local
2578 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos) argument
2582 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos, int32_t width, UChar pad) argument
2586 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos, int32_t width, const UnicodeString& pad) argument
3110 UnicodeString pat = ctou(DATA[i][1]); local
3224 UnicodeString pat; local
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Dtext.rb1322 def search_with_length(pat,start,stop=None)
1323 pat = pat.chr if pat.kind_of?(Integer)
1327 if (pos = txt.index(pat))
1331 if pat.kind_of?(String)
1332 #return [index(start + " + #{pos} chars"), pat.split('').length]
1334 _ktext_length(pat), pat.dup]
1345 if (pos = txt.index(pat))
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dmtrr.c342 uint64_t pat = rdmsr64(MSR_IA32_CR_PAT); local
343 DBG("CPU%d PAT: was 0x%016llx\n", get_cpu_number(), pat);
344 pat &= ~(0x0FULL << 48);
345 pat |= (0x01ULL << 48);
346 wrmsr64(MSR_IA32_CR_PAT, pat);
681 uint64_t pat; local
688 pat = rdmsr64(MSR_IA32_CR_PAT);
689 DBG("CPU%d PAT: was 0x%016llx\n", get_cpu_number(), pat);
692 if ((pat & ~(0x0FULL << 48)) != (0x01ULL << 48)) {
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/perldriver/
H A DPerfFramework.pm255 #my $pat = shift;
258 #my $cmd = "java -cp c:\\dev\\myicu4j\\classes $TESTCLASS $method $n $pat";
332 my $pat = shift;
335 out("<P>Measuring $method using $pat, ");
347 my @t = callJava($method, $pat, -$CALIBRATE);
364 my @t = callJava($method, $pat, "$iterCount " x $NUMPASSES);
/macosx-10.9.5/postfix-252/postfix/src/util/
H A Ddict_regexp.c373 DICT_REGEXP_PATTERN *pat)
381 pat->match = 1;
383 pat->match = !pat->match;
402 pat->regexp = p;
424 pat->options = REG_EXTENDED | REG_ICASE;
428 pat->options ^= REG_ICASE;
431 pat->options ^= REG_NEWLINE;
434 pat->options ^= REG_EXTENDED;
520 DICT_REGEXP_PATTERN *pat)
372 dict_regexp_get_pat(const char *mapname, int lineno, char **bufp, DICT_REGEXP_PATTERN *pat) argument
519 dict_regexp_compile_pat(const char *mapname, int lineno, DICT_REGEXP_PATTERN *pat) argument
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/
H A Dloop.c530 char *word, *pat; local
547 pat = NULL;
558 pat = dupstring(opat = ecrawstr(state->prog, state->pc, NULL));
559 singsub(&pat);
561 !strcmp(pat, opat) && *spprog != dummy_patprog2);
565 quote_tokenized_output(pat, xtrerr);
575 if (!pat) {
579 pat = dupstring(opat = ecrawstr(state->prog,
582 singsub(&pat);
584 !strcmp(pat, opa
[all...]

Completed in 281 milliseconds

1234567891011>>