Home
last modified time | relevance | path

Searched refs:flagstr (Results 1 – 9 of 9) sorted by relevance

/freebsd/usr.sbin/pw/
H A Dpw_utils.c100 const char *flagstr, *type; in metalog_emit_record() local
115 flagstr = fflagstostr(flags & in metalog_emit_record()
117 if (flagstr == NULL) in metalog_emit_record()
124 *flagstr != '\0' ? " flags=" : "", *flagstr != '\0' ? flagstr : ""); in metalog_emit_record()
/freebsd/contrib/ntp/libntp/
H A Dstatestr.c365 const char * flagstr; in decode_bitflags()
368 flagstr = tab[b].string1; in decode_bitflags()
370 flagstr = tab[b].string0; in decode_bitflags()
373 if (flagstr) { in decode_bitflags()
376 flagstr); in decode_bitflags()
366 const char * flagstr; decode_bitflags() local
/freebsd/usr.sbin/rtadvd/
H A Dconfig.c351 char *addr, *flagstr; in getconfig() local
429 if ((flagstr = (char *)agetstr("raflags", &bp))) { in getconfig()
431 if (strchr(flagstr, 'm')) in getconfig()
433 if (strchr(flagstr, 'o')) in getconfig()
435 if (strchr(flagstr, 'h')) in getconfig()
437 if (strchr(flagstr, 'l')) { in getconfig()
551 if ((flagstr = (char *)agetstr(entbuf, &bp))) { in getconfig()
553 if (strchr(flagstr, 'l')) in getconfig()
555 if (strchr(flagstr, 'a')) in getconfig()
737 if ((flagstr = (char *)agetstr(entbuf, &bp))) { in getconfig()
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/test/
H A Dkdb_test.c392 char *search_name = NULL, *canon = NULL, *flagstr; in test_get_principal() local
458 flagstr = get_string(h, "princs", ename, "flags"); in test_get_principal()
459 if (flagstr != NULL) { in test_get_principal()
460 check(krb5_flagspec_to_mask(flagstr, &ent->attributes, in test_get_principal()
463 free(flagstr); in test_get_principal()
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc_ops.c1697 char flagstr[300]; in reslist() local
1744 flagstr[0] = '\0'; in reslist()
1751 strlcat(flagstr, comma, in reslist()
1752 sizeof(flagstr)); in reslist()
1754 strlcat(flagstr, rf->str, in reslist()
1755 sizeof(flagstr)); in reslist()
1767 strlcat(flagstr, comma, in reslist()
1768 sizeof(flagstr)); in reslist()
1770 strlcat(flagstr, rf->str, in reslist()
1771 sizeof(flagstr)); in reslist()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2213 char flagstr[64] = {0}; in dump_ddt_log() local
2215 flagstr[0] = ' '; in dump_ddt_log()
2218 c += strlcpy(&flagstr[c], " FLUSHING", in dump_ddt_log()
2219 sizeof (flagstr) - c); in dump_ddt_log()
2221 c += strlcpy(&flagstr[c], " CHECKPOINT", in dump_ddt_log()
2222 sizeof (flagstr) - c); in dump_ddt_log()
2225 c += strlcpy(&flagstr[c], " UNKNOWN", in dump_ddt_log()
2226 sizeof (flagstr) - c); in dump_ddt_log()
2227 flagstr[1] = '['; in dump_ddt_log()
2228 flagstr[c] = ']'; in dump_ddt_log()
[all …]
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c325 char flagstr[128]; member
3646 prow->hits, addrmaskstr, prow->flagstr);
3710 row.flagstr[0] = '\0'; in reslist()
3712 } else if ((len = strlen(val)) < sizeof(row.flagstr)) { in reslist()
3713 memcpy(row.flagstr, val, len); in reslist()
3714 row.flagstr[len] = '\0'; in reslist()
3718 row.flagstr[0] = '\0'; in reslist()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c12551 static char flagstr[256]; in zpool_do_events_nvprint() local
12615 (void) zfs_valstr_zio_stage(i32, flagstr, in zpool_do_events_nvprint()
12616 sizeof (flagstr)); in zpool_do_events_nvprint()
12617 printf(gettext("0x%x [%s]"), i32, flagstr); in zpool_do_events_nvprint()
12620 (void) zfs_valstr_zio_type(i32, flagstr, in zpool_do_events_nvprint()
12621 sizeof (flagstr)); in zpool_do_events_nvprint()
12622 printf(gettext("0x%x [%s]"), i32, flagstr); in zpool_do_events_nvprint()
12625 (void) zfs_valstr_zio_priority(i32, flagstr, in zpool_do_events_nvprint()
12626 sizeof (flagstr)); in zpool_do_events_nvprint()
12627 printf(gettext("0x%x [%s]"), i32, flagstr); in zpool_do_events_nvprint()
[all …]
/freebsd/contrib/ntp/
H A DNEWS1224 encounters a flagstr variable of an excessive length. The string
4990 encounters a flagstr variable of an excessive length. The string