Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 86) sorted by relevance

1234

/ndk/sources/host-tools/nawk-20071023/
Dawkgram.y65 %type <p> pas pattern ppattern plist pplist patlist prarg term re
124 FOR '(' opt_simple_stmt ';' opt_nl pattern ';' opt_nl opt_simple_stmt rparen {inloop++;} stmt
138 IF '(' pattern rparen { $$ = notnull($3); }
171 pattern { $$ = notnull($1); }
194 pattern
195 | patlist comma pattern { $$ = linkum($1, $3); }
219 pattern:
220 var ASGNOP pattern { $$ = op2($2, $1, $3); }
221 | pattern '?' pattern ':' pattern %prec '?'
223 | pattern bor pattern %prec BOR
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dpatspecific_vars2 $description = "Test pattern-specific variable settings.";
5 Create a makefile containing various flavors of pattern-specific variable
64 # TEST #5 -- test pattern-specific exported variables
74 # TEST #6 -- test expansion of pattern-specific simple variables
82 b%: pattern := good $$t
90 bar: a = global: $(global) pattern: $(pattern) inherit: $(inherit)
92 bar: a := global: $(global) pattern: $(pattern) inherit: $(inherit)
98 # pattern target
101 %z: a = global: $(global) pattern: $(pattern) inherit: $(inherit)
103 %z: a := global: $(global) pattern: $(pattern) inherit: $(inherit)
[all …]
Dvpath23 ." vpath pattern directive\n"
4 ." vpath pattern (clears path associated with pattern)\n"
Dstatipattrules2 $description = "Test handling of static pattern rules.";
43 # TEST #3 -- PR/1670: don't core dump on invalid static pattern rules
53 # TEST #4 -- bug #12180: core dump on a stat pattern rule with an empty
62 # TEST #5 -- bug #13881: double colon static pattern rule does not
Descape29 "#MAKEFILE#:2: *** target pattern contains no `%'. Stop.",
42 "#MAKEFILE#:2: *** target pattern contains no `%'. Stop.",
Dse_statpat2 $description = "Test second expansion in static pattern rules.";
42 # Test #2: target/pattern -specific variables.
Dpatternrules3 $description = "Test pattern rules.";
119 # TEST #5: make sure targets of a macthed implicit pattern rule never
Dorder_only83 # Test order-only in pattern rules
108 # prerequisites in pattern rules.
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_monetary.h43 struct pattern { struct
99 pattern pos_format() const { return do_pos_format(); } in pos_format()
100 pattern neg_format() const { return do_neg_format(); } in neg_format()
106 pattern _M_pos_format;
107 pattern _M_neg_format;
120 virtual pattern do_pos_format() const;
121 virtual pattern do_neg_format() const;
139 pattern pos_format() const { return do_pos_format(); } in pos_format()
140 pattern neg_format() const { return do_neg_format(); } in neg_format()
146 pattern _M_pos_format;
[all …]
/ndk/sources/host-tools/make-3.81/
Dvpath.c32 char *pattern; /* The pattern to match. */ member
159 construct_vpath_list (char *pattern, char *dirpath) in construct_vpath_list() argument
168 if (pattern != 0) in construct_vpath_list()
170 pattern = xstrdup (pattern); in construct_vpath_list()
171 percent = find_percent (pattern); in construct_vpath_list()
185 if (pattern == 0 in construct_vpath_list()
187 || (percent - pattern == path->percent - path->pattern)) in construct_vpath_list()
188 && streq (pattern, path->pattern))) in construct_vpath_list()
197 free (path->pattern); in construct_vpath_list()
207 if (pattern != 0) in construct_vpath_list()
[all …]
Dexpand.c328 char *pattern, *replace, *ppercent, *rpercent; in variable_expand_string() local
336 pattern = (char *) alloca (subst_end - subst_beg + 2); in variable_expand_string()
337 *(pattern++) = '%'; in variable_expand_string()
338 bcopy (subst_beg, pattern, subst_end - subst_beg); in variable_expand_string()
339 pattern[subst_end - subst_beg] = '\0'; in variable_expand_string()
350 ppercent = find_percent (pattern); in variable_expand_string()
358 ppercent = pattern; in variable_expand_string()
360 --pattern; in variable_expand_string()
364 o = patsubst_expand (o, value, pattern, replace, in variable_expand_string()
Dar.c201 char *pattern; member
216 if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0) in ar_glob_match()
232 glob_pattern_p (const char *pattern, int quote) in glob_pattern_p() argument
237 for (p = pattern; *p != '\0'; ++p) in glob_pattern_p()
283 state.pattern = member_pattern; in ar_glob()
Dread.c134 static void record_files PARAMS ((struct nameseq *filenames, char *pattern, char *pattern_percent,
468 char *pattern = 0, *pattern_percent; in eval() local
478 record_files (filenames, pattern, pattern_percent, deps, \ in eval()
485 if (pattern) { free(pattern); pattern = 0; } \ in eval()
766 char *pattern; in eval() local
772 pattern = savestring (p, len); in eval()
779 pattern = 0; in eval()
780 construct_vpath_list (pattern, p); in eval()
781 if (pattern != 0) in eval()
782 free (pattern); in eval()
[all …]
Dfunction.c147 patsubst_expand (char *o, char *text, char *pattern, char *replace, in patsubst_expand() argument
180 pattern_percent = find_percent (pattern); in patsubst_expand()
186 return subst_expand (o, text, pattern, replace, in patsubst_expand()
187 strlen (pattern), strlen (replace), 1); in patsubst_expand()
191 pattern_prepercent_len = pattern_percent - pattern - 1; in patsubst_expand()
204 && (*t != *pattern in patsubst_expand()
206 || !strneq (t + 1, pattern + 1, pattern_prepercent_len - 1))) in patsubst_expand()
280 pattern_matches (char *pattern, char *percent, char *str) in pattern_matches() argument
286 unsigned int len = strlen (pattern) + 1; in pattern_matches()
288 bcopy (pattern, new_chars, len); in pattern_matches()
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dmonetary.cpp25 static void _Init_monetary_formats(money_base::pattern& pos_format, in _Init_monetary_formats()
26 money_base::pattern& neg_format) { in _Init_monetary_formats()
58 money_base::pattern moneypunct<char, true>::do_pos_format() const {return _M_pos_format;} in do_pos_format()
59 money_base::pattern moneypunct<char, true>::do_neg_format() const {return _M_neg_format;} in do_neg_format()
73 money_base::pattern moneypunct<char, false>::do_pos_format() const {return _M_pos_format;} in do_pos_format()
74 money_base::pattern moneypunct<char, false>::do_neg_format() const {return _M_neg_format;} in do_neg_format()
93 money_base::pattern moneypunct<wchar_t, true>::do_pos_format() const in do_pos_format()
95 money_base::pattern moneypunct<wchar_t, true>::do_neg_format() const in do_neg_format()
113 money_base::pattern moneypunct<wchar_t, false>::do_pos_format() const in do_pos_format()
115 money_base::pattern moneypunct<wchar_t, false>::do_neg_format() const in do_neg_format()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dneg_format.pass.cpp60 std::money_base::pattern p = f.neg_format(); in main()
68 std::money_base::pattern p = f.neg_format(); in main()
76 std::money_base::pattern p = f.neg_format(); in main()
84 std::money_base::pattern p = f.neg_format(); in main()
93 std::money_base::pattern p = f.neg_format(); in main()
101 std::money_base::pattern p = f.neg_format(); in main()
109 std::money_base::pattern p = f.neg_format(); in main()
117 std::money_base::pattern p = f.neg_format(); in main()
126 std::money_base::pattern p = f.neg_format(); in main()
134 std::money_base::pattern p = f.neg_format(); in main()
[all …]
Dpos_format.pass.cpp60 std::money_base::pattern p = f.pos_format(); in main()
68 std::money_base::pattern p = f.pos_format(); in main()
76 std::money_base::pattern p = f.pos_format(); in main()
84 std::money_base::pattern p = f.pos_format(); in main()
93 std::money_base::pattern p = f.pos_format(); in main()
101 std::money_base::pattern p = f.pos_format(); in main()
109 std::money_base::pattern p = f.pos_format(); in main()
117 std::money_base::pattern p = f.pos_format(); in main()
126 std::money_base::pattern p = f.pos_format(); in main()
134 std::money_base::pattern p = f.pos_format(); in main()
[all …]
/ndk/sources/host-tools/make-3.81/glob/
Dglob.c296 static int glob_in_dir __P ((const char *pattern, const char *directory,
304 int __glob_pattern_p __P ((const char *pattern, int quote));
361 glob (pattern, flags, errfunc, pglob) in glob() argument
362 const char *pattern; in glob()
373 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
381 const char *begin = strchr (pattern, '{');
393 char onealt[strlen (pattern) - 1];
395 char *onealt = (char *) malloc (strlen (pattern) - 1);
406 alt_start = mempcpy (onealt, pattern, begin - pattern);
408 memcpy (onealt, pattern, begin - pattern);
[all …]
Dfnmatch.c153 static int internal_fnmatch __P ((const char *pattern, const char *string,
158 internal_fnmatch (pattern, string, no_leading_period, flags) in internal_fnmatch() argument
159 const char *pattern; in internal_fnmatch()
164 register const char *p = pattern, *n = string;
480 fnmatch (pattern, string, flags) in fnmatch() argument
481 const char *pattern; in fnmatch()
485 return internal_fnmatch (pattern, string, flags & FNM_PERIOD, flags);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/
Dmoney_base.pass.cpp30 assert(sizeof(std::money_base::pattern) == 4); in main()
31 std::money_base::pattern p; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
Dpos_format.pass.cpp58 std::money_base::pattern p = f.pos_format(); in main()
66 std::money_base::pattern p = f.pos_format(); in main()
74 std::money_base::pattern p = f.pos_format(); in main()
82 std::money_base::pattern p = f.pos_format(); in main()
Dneg_format.pass.cpp58 std::money_base::pattern p = f.neg_format(); in main()
66 std::money_base::pattern p = f.neg_format(); in main()
74 std::money_base::pattern p = f.neg_format(); in main()
82 std::money_base::pattern p = f.neg_format(); in main()
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dfilter-out7 .o with a single simple pattern. The second filter-out function
8 augments the simple pattern with three literal names, which are
11 the pattern and text arguments. The result of both filter-out
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_output_test.py167 def RemoveMatchingTests(test_output, pattern): argument
184 pattern, pattern),
187 return re.sub(r'.*%s.*\n' % pattern, '', test_output)
/ndk/sources/host-tools/make-3.81/po/
Dremove-potcdate.sin5 # pattern is achieved by looking at the hold space.

1234