| /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/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/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/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/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/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/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/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/crypto/external/apache2/openssl/dist/test/ |
| bio_base64_test.c | 45 static char *prefixes[NVAR] = { "", junk, gunk, "", "" }; variable 283 * - non-base64 prefixes in NO_NL mode 384 t.prefix = prefixes[variant]; 466 * expected with the junk and gunk prefixes, however, but the "soft EOF"
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| meter.c | 301 static const char prefixes[] = " kMGTPEZY"; local 302 const char *prefix_chp = prefixes;
|
| /src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| vasnprintf.c | 266 int prefixes[2]; local 570 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 576 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 606 prefixes[0], arg, &count); \ 610 prefixes[0], prefixes[1], arg, \ 624 count = sprintf (tmp, buf, prefixes[0], arg); \ 627 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
|
| /src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/ |
| vasnprintf.c | 266 int prefixes[2]; local 570 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 576 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 606 prefixes[0], arg, &count); \ 610 prefixes[0], prefixes[1], arg, \ 624 count = sprintf (tmp, buf, prefixes[0], arg); \ 627 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
|
| /src/external/gpl2/texinfo/dist/intl/ |
| vasnprintf.c | 270 int prefixes[2]; local 573 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 579 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 609 prefixes[0], arg, &count); \ 613 prefixes[0], prefixes[1], arg, \ 627 count = sprintf (tmp, buf, prefixes[0], arg); \ 630 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
|
| /src/external/gpl2/xcvs/dist/lib/ |
| vasnprintf.c | 280 int prefixes[2]; local 576 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 582 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 610 prefixes[0], arg); \ 614 prefixes[0], prefixes[1], arg); \ 627 count = sprintf (tmp, buf, prefixes[0], arg); \ 630 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
|
| /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/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/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.h | 140 cti_prefix_t *NULLABLE *NONNULL prefixes; member in struct:_cti_prefix_vec 445 * prefixes. 460 * prefixes. 464 cti_prefix_vec_release_(cti_prefix_vec_t *NONNULL prefixes, const char *NONNULL file, int line); 465 #define cti_prefix_vec_release(prefixes) cti_prefix_vec_release_(prefixes, __FILE__, __LINE__) 501 * prefixes: The prefix vector to release. 504 * prefixes. 509 #define cti_prefix_release(prefixes) cti_prefix_release(prefix, __FILE__, __LINE__) 526 * prefix_vec: If status is kCTIStatus_NoError, a vector containing all of the prefixes that were reported i [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/ibm-public/postfix/dist/src/proxymap/ |
| proxymap.c | 309 } *prefix, prefixes[] = { local 316 for (prefix = prefixes; prefix < prefixes + COUNT_OF(prefixes); prefix++) {
|
| /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/usr.bin/config/ |
| main.c | 156 struct prefixlist prefixes, /* prefix stack */ variable in typeref:struct:prefixlist 157 allprefixes; /* all prefixes used (after popped) */ 159 allbuildprefixes;/* all build prefixes used (after popped) */
|
| /src/external/bsd/tcpdump/dist/ |
| print-ospf6.c | 480 u_int prefixes; local 662 prefixes = GET_BE_U_4(llsap->llsa_nprefix); 663 ND_PRINT("\n\t Priority %u, Link-local address %s, Prefixes %u:", 666 prefixes); 669 while (prefixes > 0) { 673 prefixes--; 697 prefixes = GET_BE_U_2(lsap->lsa_un.un_intra_ap.intra_ap_nprefix); 698 ND_PRINT("\n\t Prefixes %u:", prefixes); 701 while (prefixes > 0) [all...] |