| /src/external/apache2/llvm/dist/llvm/utils/ |
| update_test_prefix.py | 12 r = re.search('no check strings found with (?:prefix|prefixes) \'([^:]+)', s) 21 s = re.sub('-?-check-prefixes=([\w-]+)(\Z|[ \t\n])', '--check-prefix=\\1\\2', s) 22 t = re.search('-?-check-(?:prefix|prefixes)=([^ ]+)\s+-?-check-(?:prefix|prefixes)=([^ ]+)', s) 24 s = re.sub(t.group(), '--check-prefixes=' + t.group(1) + ',' + t.group(2), s) 25 t = re.search('-?-check-(?:prefix|prefixes)=([^ ]+)\s+-?-check-(?:prefix|prefixes)=([^ ]+)', s)
|
| update_test_checks.py | 108 # FIXME: We should use multiple check prefixes to common check lines. For 118 for prefixes, opt_args, preprocess_cmd in prefix_list: 120 common.debug('Extracted FileCheck prefixes: ' + str(prefixes)) 126 raw_tool_output, prefixes) 132 prefix_set = set([prefix for prefixes, _, _ in prefix_list for prefix in prefixes]) 133 common.debug('Rewriting FileCheck prefixes:', str(prefix_set)) 157 ';', lambda my_output_lines, prefixes, func: 159 prefixes, [all...] |
| update_cc_test_checks.py | 180 prefixes): 200 prefixes) 280 for prefixes, args, extra_commands, triple_in_cmd in run_list: 282 if not prefixes: 289 common.debug('Extracted FileCheck prefixes: {}'.format(prefixes)) 292 prefixes) 323 def check_generator(my_output_lines, prefixes, func): 326 prefixes, 332 prefixes, [all...] |
| update_mir_test_checks.py | 17 default, or removed if the --remove-common-prefixes flag is provided. 77 def __init__(self, prefixes, cmd_args, triple): 78 self.prefixes = prefixes 83 return [self.prefixes, self.cmd_args, self.triple][index] 142 # Remove any common prefixes. We'll just leave those entirely alone. 146 run.prefixes = [p for p in run.prefixes if p not in common_prefixes] 170 def build_function_body_dictionary(test, raw_tool_output, triple, prefixes, 179 for prefix in prefixes [all...] |
| update_analyze_test_checks.py | 107 # FIXME: We should use multiple check prefixes to common check lines. For 120 for prefixes, opt_args in prefix_list: 122 common.debug('Extracted FileCheck prefixes:', str(prefixes), file=sys.stderr) 129 raw_tool_output, prefixes) 134 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes]) 135 common.debug('Rewriting FileCheck prefixes:', str(prefix_set), file=sys.stderr)
|
| update_llc_test_checks.py | 100 # FIXME: We should use multiple check prefixes to common check lines. For 119 for prefixes, llc_tool, llc_args, preprocess_cmd, triple_in_cmd, march_in_cmd in run_list: 121 common.debug('Extracted FileCheck prefixes:', str(prefixes)) 131 builder.process_run_line(function_re, scrubber, raw_tool_output, prefixes) 139 common.debug('Rewriting FileCheck prefixes:', str(prefix_set)) 160 lambda my_output_lines, prefixes, func: 163 prefixes, func_dict, func))
|
| update_mca_test_checks.py | 126 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...] |
| /src/sys/kern/ |
| subr_humanize.c | 55 /* prefixes are: (none), kilo, Mega, Giga, Tera, Peta, Exa */ 56 const char *prefixes; local 75 prefixes = " KMGTPE"; 77 prefixes = " kMGTPE"; /* SI for decimal multiplies */ 94 for (i = 0; bytes >= umax && prefixes[i + 1]; i++) 98 i == 0 ? "" : " ", prefixes[i], suffix);
|
| /src/external/mit/isl/dist/ |
| isl_arg.c | 209 /* Data structure for collecting the prefixes of ancestor nodes. 211 * n is the number of prefixes. 221 /* Add "prefix" to the list of prefixes and return the updated 222 * number of prefixes. 224 static int add_prefix(struct isl_prefixes *prefixes, const char *prefix) 226 int n = prefixes->n; 231 if (prefixes->n >= 10) { 232 fprintf(stderr, "too many prefixes\n"); 235 prefixes->len[prefixes->n] = strlen(prefix) 719 struct isl_prefixes prefixes = { 0 }; local 1263 struct isl_prefixes prefixes = { 0 }; local [all...] |
| /src/lib/libc/gen/ |
| humanize_number.c | 50 const char *prefixes, *sep; local 66 prefixes = "B\0k\0M\0G\0T\0P\0E"; 68 prefixes = "\0\0k\0M\0G\0T\0P\0E"; 76 prefixes = "B\0K\0M\0G\0T\0P\0E"; 78 prefixes = "\0\0K\0M\0G\0T\0P\0E"; 81 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
|
| /src/external/gpl3/gcc.old/dist/gcc/config/avr/ |
| gen-avr-mmcu-texi.cc | 54 static const char *const prefixes[] = local 59 int i, n = (int) (sizeof (prefixes) / sizeof (*prefixes)); 62 if (str_prefix_p (str, prefixes[i])) 102 // Second, if their prefixes are the same, group according to
|
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| omr-watcher.c | 17 * This file contains the implementation of the omr_watcher_t object, which tracks off-mesh-routable prefixes on the 104 omr_prefix_t *prefixes; member in struct:omr_watcher 232 for (omr_prefix_t *prefix = omw->prefixes; prefix != NULL; prefix = next) { 272 omr_prefix_t *NULLABLE prefixes, omr_prefix_t *NULLABLE prefix) 278 cb->callback(omw->route_state, cb->context, event_type, prefixes, prefix); 284 omr_watcher_prefix_list_callback(void *context, cti_prefix_vec_t *prefixes, cti_status_t status) 288 omr_prefix_t **ppref = &omw->prefixes, *prefix = NULL, **new = NULL; 292 INFO("status: %d prefixes: %p count: %d", status, prefixes, prefixes == NULL ? -1 : (int)prefixes->num) [all...] |
| route-tracker.c | 17 * This file contains the implementation for a route tracker for tracking prefixes and routes on infrastructure so that 85 // The route tracker keeps a set of prefixes that it's tracking. These prefixes are what's published on the 93 prefix_tracker_t **prefixes; member in struct:route_tracker 138 free(tracker->prefixes); 150 if (tracker->prefixes != NULL) { 152 prefix_tracker_t *prefix = tracker->prefixes[i]; 154 tracker->prefixes[i] = NULL; 188 tracker->prefixes = calloc(tracker->max_prefixes, sizeof (*tracker->prefixes)); 225 prefix_tracker_t **prefixes = calloc(new_max, sizeof (*prefixes)); local [all...] |
| cti-services.c | 1601 cti_prefix_vec_finalize(cti_prefix_vec_t *prefixes) 1605 if (prefixes->prefixes != NULL) { 1606 for (i = 0; i < prefixes->num; i++) { 1607 if (prefixes->prefixes[i] != NULL) { 1608 RELEASE_HERE(prefixes->prefixes[i], cti_prefix); 1611 free(prefixes->prefixes); 1619 cti_prefix_vec_t *prefixes = calloc(1, sizeof(*prefixes)); local 1669 cti_prefix_vec_t *prefixes = cti_prefix_vec_create(prefixes_array_length); local 2087 cti_prefix_vec_t *prefixes = cti_prefix_vec_create(prefix_array_length); local [all...] |
| /src/external/gpl3/gdb/dist/readline/readline/ |
| tilde.c | 131 register char **prefixes; local 133 prefixes = tilde_additional_prefixes; 141 if (prefixes) 145 for (j = 0; prefixes[j]; j++) 147 if (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0) 149 *len = strlen (prefixes[j]) - 1;
|
| /src/external/gpl3/gdb.old/dist/readline/readline/ |
| tilde.c | 131 register char **prefixes; local 133 prefixes = tilde_additional_prefixes; 141 if (prefixes) 145 for (j = 0; prefixes[j]; j++) 147 if (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0) 149 *len = strlen (prefixes[j]) - 1;
|
| /src/external/gpl3/gcc/dist/gcc/config/avr/ |
| gen-avr-mmcu-texi.cc | 56 static const char *const prefixes[] = local 61 int i, n = (int) (ARRAY_SIZE (prefixes)); 64 if (str_prefix_p (str, prefixes[i])) 104 // Second, if their prefixes are the same, group according to
|
| /src/sbin/nvmectl/ |
| humanize_bignum.c | 105 const char *prefixes, *sep; local 122 prefixes = "B\0k\0M\0G\0T\0P\0E\0Z\0Y"; 124 prefixes = "\0\0k\0M\0G\0T\0P\0E\0Z\0Y"; 132 prefixes = "B\0K\0M\0G\0T\0P\0E\0Z\0Y"; 134 prefixes = "\0\0K\0M\0G\0T\0P\0E\0Z\0Y"; 137 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
|
| /src/external/gpl2/texinfo/dist/info/ |
| tilde.c | 68 register char **prefixes = tilde_additional_prefixes; local 76 if (prefixes) 80 for (j = 0; prefixes[j]; j++) 82 if (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0) 84 *len = strlen (prefixes[j]) - 1;
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| netstuff.cc | 118 /* Struct to hold the association between valid prefixes, their 131 static const struct host_prefix prefixes[] = local 141 for (const host_prefix prefix : prefixes)
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| netstuff.cc | 118 /* Struct to hold the association between valid prefixes, their 131 static const struct host_prefix prefixes[] = local 141 for (const host_prefix prefix : prefixes)
|
| /src/external/apache2/llvm/dist/clang/utils/ |
| clangdiag.py | 112 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]):
|
| /src/external/mpl/bind/dist/lib/dns/ |
| dns64.c | 331 * for valid RFC6052 prefixes. 338 } const prefixes[6] = { variable 376 if (prefixes[i++].plen == plen) { 386 if (prefixes[i].plen != plen) { 399 c = (rd2 == NULL) ? prefixes[i].aa : prefixes[i].ab; 400 m = prefixes[i].mask; 407 return prefixes[i].plen;
|
| /src/lib/librumpuser/build-aux/ |
| install-sh | 409 prefixes= 417 prefixes= 429 prefixes="$prefixes '$qprefix'" 435 if test -n "$prefixes"; then 438 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
| /src/sys/external/isc/libsodium/dist/build-aux/ |
| install-sh | 386 prefixes= 394 prefixes= 406 prefixes="$prefixes '$qprefix'" 412 if test -n "$prefixes"; then 415 eval "\$doit_exec \$mkdirprog $prefixes") ||
|