Searched refs:prefixes (Results 1 - 25 of 44) sorted by relevance

12

/openbsd-current/gnu/llvm/llvm/utils/filecheck_lint/
H A Dfilecheck_lint_test.py18 prefixes = set(fcl.parse_custom_prefixes(content))
20 self.assertIn(prefix, prefixes)
28 ('-check-prefixes=PREFIX1,PREFIX2', {'PREFIX1', 'PREFIX2'}),
29 ('-check-prefixes PREFIX1,PREFIX2', {'PREFIX1', 'PREFIX2'}),
32 -check-prefixes=PREFIX3,PREFIX4 -check-prefix=PREFIX5
33 -check-prefixes PREFIX6,PREFIX7 -check-prefixes=PREFIX8',
41 prefixes = set(fcl.parse_custom_prefixes('\n'.join(lines)))
42 assert len(prefixes) == 1
H A Dfilecheck_lint.py18 We first detect the locally valid FileCheck directive prefixes by parsing the
50 # 'COM' and 'RUN' are default comment prefixes for FileCheck.
159 # TODO(bchetioui): also parse comment prefixes to ignore.
161 """Parses custom prefixes defined in the string provided.
164 RUN: something | FileCheck %s -check-prefixes CHECK1,CHECK2
167 the custom prefixes are CHECK1, CHECK2, and CHECK3.
172 prefixes = m.group(1)
173 if prefixes.startswith('\'') or prefixes.startswith('"'):
174 prefixes
[all...]
/openbsd-current/gnu/llvm/llvm/utils/
H A Dupdate_test_checks.py115 # FIXME: We should use multiple check prefixes to common check lines. For
130 for prefixes, tool_args, preprocess_cmd in prefix_list:
132 common.debug('Extracted FileCheck prefixes: ' + str(prefixes))
138 raw_tool_output, prefixes, False)
139 builder.processed_prefixes(prefixes)
145 prefix_set = set([prefix for prefixes, _, _ in prefix_list for prefix in prefixes])
146 common.debug('Rewriting FileCheck prefixes:', str(prefix_set))
176 lambda my_output_lines, prefixes, fun
[all...]
H A Dupdate_analyze_test_checks.py92 # FIXME: We should use multiple check prefixes to common check lines. For
107 for prefixes, opt_args in prefix_list:
109 common.debug('Extracted FileCheck prefixes:', str(prefixes), file=sys.stderr)
117 raw_tool_output, prefixes, False)
122 raw_tool_output, prefixes, False)
127 builder.processed_prefixes(prefixes)
132 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes])
133 common.debug('Rewriting FileCheck prefixes
[all...]
H A Dupdate_mca_test_checks.py126 prefixes = list(block_info.values())
163 # If there are no prefixes available, warn and bail out.
164 if not prefixes[0]:
165 _warn('multiple lines not disambiguated by prefixes:\n{}\n'
174 for prefix in prefixes[i]:
184 """ Given the run_infos, calculate any prefixes that are common to every one,
196 _warn('Multiple prefixes common to all RUN lines: {}'.format(
282 text of each block is the key and a list of the sets of prefixes that may
285 written by taking advantage of common prefixes.
288 def _block_key(tool_args, prefixes)
[all...]
H A Dupdate_cc_test_checks.py204 prefixes):
224 prefixes, False)
225 builder.processed_prefixes(prefixes)
306 for prefixes, args, extra_commands, triple_in_cmd in run_list:
308 if not prefixes:
315 common.debug('Extracted FileCheck prefixes: {}'.format(prefixes))
318 prefixes)
350 def check_generator(my_output_lines, prefixes, func):
353 prefixes,
[all...]
H A Dupdate_llc_test_checks.py106 # FIXME: We should use multiple check prefixes to common check lines. For
127 for prefixes, llc_tool, llc_args, preprocess_cmd, triple_in_cmd, march_in_cmd in run_list:
129 common.debug('Extracted FileCheck prefixes:', str(prefixes))
139 builder.process_run_line(function_re, scrubber, raw_tool_output, prefixes, True)
140 builder.processed_prefixes(prefixes)
149 common.debug('Rewriting FileCheck prefixes:', str(prefix_set))
172 lambda my_output_lines, prefixes, func:
175 prefixes, func_dict, func,
H A Dupdate_mir_test_checks.py18 default, or removed if the --remove-common-prefixes flag is provided.
84 def __init__(self, prefixes, cmd_args, triple):
85 self.prefixes = prefixes
90 return [self.prefixes, self.cmd_args, self.triple][index]
149 # Sort prefixes that are shared between run lines before unshared prefixes.
150 # This causes us to prefer printing shared prefixes.
152 run.prefixes.sort(key=lambda prefix: -all_prefixes.count(prefix))
187 def build_function_info_dictionary(test, raw_tool_output, triple, prefixes,
[all...]
/openbsd-current/gnu/lib/libreadline/
H A Dtilde.c139 register char **prefixes; local
141 prefixes = tilde_additional_prefixes;
149 if (prefixes)
153 for (j = 0; prefixes[j]; j++)
155 if (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0)
157 *len = strlen (prefixes[j]) - 1;
/openbsd-current/gnu/llvm/clang/utils/
H A Dclangdiag.py112 prefixes = ['err_', 'warn_', 'exp_']
113 if len([prefix for prefix in prefixes+[''] if name.startswith(prefix)][0]):
129 prefixes = ['err_', 'warn_', 'exp_']
130 if len([prefix for prefix in prefixes+[''] if args.id.startswith(prefix)][0]):
/openbsd-current/usr.sbin/rpki-client/
H A Dspl.c134 const STACK_OF(ASN1_BIT_STRING) *prefixes;
174 prefixes = afp->addressPrefixes;
216 prefix_asn1 = sk_ASN1_BIT_STRING_value(prefixes, j);
403 memmove(vsp->prefixes + idx + 1, vsp->prefixes + idx,
404 (vsp->prefixesz - idx) * sizeof(*vsp->prefixes));
405 vsp->prefixes[idx] = *pfx;
412 * number of prefixes.
449 vsp->prefixes = reallocarray(vsp->prefixes,
[all...]
H A Doutput-json.c130 json_do_array("prefixes");
132 ip_addr_print(&vsp->prefixes[i].prefix,
133 vsp->prefixes[i].afi, buf, sizeof(buf));
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dtilde.c66 register char **prefixes = tilde_additional_prefixes; local
74 if (prefixes)
78 for (j = 0; prefixes[j]; j++)
80 if (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0)
82 *len = strlen (prefixes[j]) - 1;
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Di386-dis.c135 /* Flags for the prefixes for the current instruction. See below. */
136 static int prefixes; variable
158 /* Flags for prefixes which we somehow handled when printing the
350 #define v_mode 2 /* operand size depends on prefixes */
359 #define dq_mode 11 /* operand size depends on REX prefixes. */
2348 prefixes = 0;
2357 /* REX prefixes family. */
2380 prefixes |= PREFIX_REPZ;
2383 prefixes |= PREFIX_REPNZ;
2386 prefixes |
[all...]
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Di386-dis.c125 /* Flags for the prefixes for the current instruction. See below. */
126 static int prefixes; variable
148 /* Flags for prefixes which we somehow handled when printing the
319 #define v_mode 2 /* operand size depends on prefixes */
327 #define dq_mode 10 /* operand size depends on REX prefixes. */
1715 prefixes = 0;
1724 /* REX prefixes family. */
1747 prefixes |= PREFIX_REPZ;
1750 prefixes |= PREFIX_REPNZ;
1753 prefixes |
[all...]
/openbsd-current/usr.sbin/unbound/
H A Dinstall-sh386 prefixes=
394 prefixes=
406 prefixes="$prefixes '$qprefix'"
412 if test -n "$prefixes"; then
415 eval "\$doit_exec \$mkdirprog $prefixes") ||
/openbsd-current/sbin/unwind/
H A Dresolver.c2322 struct dns64_prefix *prefixes = NULL; local
2372 prefixes = calloc(an_rrset_data->count, sizeof(struct dns64_prefix));
2373 if (prefixes == NULL)
2389 add_dns64_prefix(&in6, preflen, prefixes,
2392 add_dns64_prefix(&in6, preflen, prefixes,
2396 for (i = 0; i < an_rrset_data->count && prefixes[i].flags != 0; i++)
2397 if ((prefixes[i].flags & (WKA1_FOUND | WKA2_FOUND)) ==
2415 for (i = 0; i < an_rrset_data->count && prefixes[i].flags != 0; i++) {
2416 if ((prefixes[i].flags & (WKA1_FOUND | WKA2_FOUND)) ==
2419 0, &prefixes[
2463 add_dns64_prefix(const struct in6_addr *in6, int prefixlen, struct dns64_prefix *prefixes, int prefixes_size, int flag) argument
[all...]
/openbsd-current/gnu/llvm/llvm/utils/UpdateTestChecks/
H A Dcommon.py135 # we need to rename the flag to just -generate-body-for-unused-prefixes.
136 parser.add_argument('--no-generate-body-for-unused-prefixes',
140 help='Generate a function body that always matches for unused prefixes. This is useful when unused prefixes are desired, and it avoids needing to annotate each FileCheck as allowing them.')
329 UNUSED_NOTE = 'NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:'
522 def process_run_line(self, function_re, scrubber, raw_tool_output, prefixes, is_backend):
523 build_global_values_dictionary(self._global_var_dict, raw_tool_output, prefixes)
563 for prefix in prefixes:
614 # An earlier RUN line used this check prefixes but didn't produce
620 def processed_prefixes(self, prefixes)
[all...]
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/
H A Dpftable.sh85 echo Check default prefixes
/openbsd-current/usr.sbin/rad/
H A Dfrontend.c104 struct ra_prefix_conf_head prefixes; member in struct:ra_iface
875 SIMPLEQ_INIT(&ra_iface->prefixes);
941 while ((ra_prefix_conf = SIMPLEQ_FIRST(&ra_iface->prefixes))
943 SIMPLEQ_REMOVE_HEAD(&ra_iface->prefixes,
960 log_debug("add static prefixes for %s", ra_iface->name);
992 while ((prefix = SIMPLEQ_FIRST(&ra_iface->prefixes)) != NULL) {
993 SIMPLEQ_REMOVE_HEAD(&ra_iface->prefixes, entry);
1110 if ((new_ra_prefix_conf = find_ra_prefix_conf(&ra_iface->prefixes, addr,
1131 SIMPLEQ_FOREACH(pc, &ra_iface->prefixes, entry) {
1165 SIMPLEQ_INSERT_TAIL(&ra_iface->prefixes, new_ra_prefix_con
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/
H A DLiblist.pm115 C<-l> and C<-L> prefixes used by Unix linkers. If neither prefix is
119 prefixes, since the Unix-OS/2 version of ext() requires them.
173 C<-l> and C<-L> prefixes used by Unix linkers.
192 Note that the C<-L> and C<-l> prefixes are B<not required>, but authors
194 prefixes, since the Unix-OS/2 version of ext() requires them.
/openbsd-current/gnu/usr.bin/perl/t/mro/
H A Ddbic_c3_utf8.t15 The xx:: prefixes are just to be sure these bogus declarations never stomp on real ones
H A Ddbic_dfs_utf8.t17 The xx:: prefixes are just to be sure these bogus declarations never stomp on real ones
/openbsd-current/usr.bin/ftp/
H A Dutil.c753 * List of order of magnitude prefixes.
756 static const char prefixes[] = " KMGTP"; local
845 while (abbrevsize >= 100000 && i < sizeof(prefixes)-1) {
850 " %5lld %c%c ", (long long)abbrevsize, prefixes[i],
851 prefixes[i] == ' ' ? ' ' : 'B');
/openbsd-current/gnu/usr.bin/binutils/gas/config/
H A Dtc-i386.c167 unsigned int prefixes; member in struct:_i386_insn
537 maximally four 0x66 prefixes. Balance the size of nops. */
746 i.prefixes += 1;
1553 /* Add prefix, checking for repeated prefixes. */
2947 i.prefixes -= 1;
2955 i.prefixes--;
2960 i.prefixes--;
2963 if (i.prefixes != 0 && !intel_syntax)
2964 as_warn (_("skipping prefixes on this instruction"));
3021 i.prefixes
[all...]

Completed in 593 milliseconds

12