/freebsd/lib/libveriexec/ |
H A D | veriexec_get.c | 167 const char *want, size_t wantlen) in check_label_want() argument 173 (cp = strstr(label, want)) != NULL) { in check_label_want() 176 (cp[wantlen-1] == '/' && want[wantlen-1] == '/')) in check_label_want() 199 veriexec_check_pid_label(pid_t pid, const char *want) in veriexec_check_pid_label() argument 204 if (want != NULL && in veriexec_check_pid_label() 205 (n = strlen(want)) > 0 && in veriexec_check_pid_label() 208 want, n); in veriexec_check_pid_label() 229 veriexec_check_path_label(const char *file, const char *want) in veriexec_check_path_label() argument 234 if (want != NULL && file != NULL && in veriexec_check_path_label() 235 (n = strlen(want)) > 0 && in veriexec_check_path_label() [all …]
|
/freebsd/lib/libc/locale/ |
H A D | utf8.c | 60 int want; member 89 return (ps == NULL || ((const _UTF8State *)ps)->want == 0); in _UTF8_mbsinit() 97 int ch, i, mask, want; in _UTF8_mbrtowc() local 102 if (us->want < 0 || us->want > 6) { in _UTF8_mbrtowc() 117 if (us->want == 0) { in _UTF8_mbrtowc() 139 want = 2; in _UTF8_mbrtowc() 143 want = 3; in _UTF8_mbrtowc() 147 want = 4; in _UTF8_mbrtowc() 157 want = us->want; in _UTF8_mbrtowc() 165 if (us->want == 0) in _UTF8_mbrtowc() [all …]
|
H A D | euc.c | 108 int want; member 115 return (ps == NULL || ((const _EucState *)ps)->want == 0); in _EUC_mbsinit() 316 int i, want; in _EUC_mbrtowc_impl() local 322 if (es->want < 0 || es->want > MB_CUR_MAX) { in _EUC_mbrtowc_impl() 337 if (es->want == 0) { in _EUC_mbrtowc_impl() 347 want = 2; in _EUC_mbrtowc_impl() 349 want = cs2width; in _EUC_mbrtowc_impl() 351 want = cs3width; in _EUC_mbrtowc_impl() 358 es->want = want; in _EUC_mbrtowc_impl() 361 want = es->want; in _EUC_mbrtowc_impl() [all …]
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_d2i_fp.c | 114 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() local 133 if (want >= diff) { in asn1_d2i_read_bio() 134 want -= diff; in asn1_d2i_read_bio() 136 if (len + want < len || !BUF_MEM_grow_clean(b, len + want)) { in asn1_d2i_read_bio() 140 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio() 151 if ((size_t)i < want) in asn1_d2i_read_bio() 182 want = HEADER_SIZE; in asn1_d2i_read_bio() 189 want = HEADER_SIZE; in asn1_d2i_read_bio() 192 want = slen; in asn1_d2i_read_bio() 193 if (want > (len - off)) { in asn1_d2i_read_bio() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | ulp.h | 43 RT(float) want = p->y; in RT() 47 if (RT(asuint) (got) == RT(asuint) (want)) in RT() 49 if (isnan (got) && isnan (want)) in RT() 54 return RT (issignaling) (got) == RT (issignaling) (want) ? 0 : INFINITY; in RT() 56 if (signbit (got) != signbit (want)) in RT() 60 if (ignore_zero_sign && want == got) in RT() 62 if (!ignore_zero_sign || (want != 0 && got != 0)) in RT() 65 if (!isfinite (want) || !isfinite (got)) in RT() 67 if (isnan (got) != isnan (want)) in RT() 69 if (isnan (want)) in RT() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna.c | 22 unsigned long long want = (poly1305_block_size - st->leftover); in poly1305_update() local 24 if (want > bytes) { in poly1305_update() 25 want = bytes; in poly1305_update() 27 for (i = 0; i < want; i++) { in poly1305_update() 30 bytes -= want; in poly1305_update() 31 m += want; in poly1305_update() 32 st->leftover += want; in poly1305_update() 42 unsigned long long want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() local 44 poly1305_blocks(st, m, want); in poly1305_update() 45 m += want; in poly1305_update() [all …]
|
/freebsd/contrib/dialog/samples/ |
H A D | run_test.sh | 9 want=dialog 12 prog=$p/$want 23 echo "? did not find $want" >&2 31 want=`basename $DIALOG` 33 DIALOGOPTS="$DIALOGOPTS --trace $want.log" 52 rm -f trace "$want.log" "$name.log" 55 [ -f "$want.log" ] && cp "$want.log" "$name.log"
|
/freebsd/contrib/mandoc/ |
H A D | tbl_opts.c | 68 int len, want; in arg() local 86 want = 2; in arg() 89 want = 1; in arg() 90 if (len == want) in arg() 94 want = 0; in arg() 97 want = 1; in arg() 98 if (len == want) in arg() 108 else if (want && len != want) in arg() 110 "%s want %d have %d", keys[key].name, want, len); in arg()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
H A D | zpool_split_dryrun_output.ksh | 57 want="$STR_DRYRUN 69 want="$STR_DRYRUN 87 want="$STR_DRYRUN 105 want="$STR_DRYRUN 138 want="${tests[$i].want}" 145 if [[ "$out" != "$want" ]]; then 146 log_fail "Got:\n" "$out" "\nbut expected:\n" "$want"
|
/freebsd/lib/libcrypt/tests/ |
H A D | crypt_tests.c | 19 const char want[] = "$1$deadbeef$0Huu6KHrKLVWfqa4WljDE0"; in ATF_TC_BODY() local 22 pw = crypt(LEET, want); in ATF_TC_BODY() 23 ATF_CHECK_STREQ(pw, want); in ATF_TC_BODY() 35 const char want[] = "$1$cafebabe$0Huu6KHrKLVWfqa4WljDE0"; in ATF_TC_BODY() local 38 pw = crypt(LEET, want); in ATF_TC_BODY() 39 ATF_CHECK(strcmp(pw, want) != 0); in ATF_TC_BODY()
|
/freebsd/contrib/expat/tests/ |
H A D | structdata.c | 123 const StructDataEntry *want = &expected[i]; in StructData_CheckItems() local 126 assert(want != NULL); in StructData_CheckItems() 128 if (xcstrcmp(got->str, want->str) != 0) { in StructData_CheckItems() 132 if (got->data0 != want->data0 || got->data1 != want->data1 in StructData_CheckItems() 133 || got->data2 != want->data2) { in StructData_CheckItems() 137 got->str, want->data0, want->data1, want->data2, got->data0, in StructData_CheckItems()
|
/freebsd/usr.bin/units/ |
H A D | units.c | 91 static void showanswer(struct unittype * have, struct unittype * want); 652 showanswer(struct unittype * have, struct unittype * want) 657 if (compareunits(have, want)) { in showanswer() 669 showunit(want); in showanswer() 672 else if (have->offset != want->offset) { in showanswer() 673 if (want->quantity) in showanswer() 678 (have->factor + have->offset-want->offset)/want->factor); in showanswer() 685 have->factor / want->factor, in showanswer() 686 (have->offset-want in showanswer() 653 showanswer(struct unittype * have,struct unittype * want) showanswer() argument 752 struct unittype have, want; main() local [all...] |
/freebsd/contrib/arm-optimized-routines/string/test/ |
H A D | memmove.c | 58 unsigned char *want = wbuf; in test() local 61 unsigned char *w = want + dalign; in test() 72 want[i] = dst[i] = '*'; in test() 82 if (dst[i] != want[i]) in test() 87 quoteat ("want", want, len + A, i); in test() 98 unsigned char *want = wbuf; in test_overlap() local 110 src[i] = want[i] = '?'; in test_overlap() 113 s[i] = want[salign + i] = 'a' + i % 23; in test_overlap() 127 if (dst[i] != want[i]) in test_overlap() 132 quoteat ("want", want, len + A, i); in test_overlap()
|
H A D | memcpy.c | 60 unsigned char *want = wbuf; in test() local 63 unsigned char *w = want + dalign; in test() 74 want[i] = dst[i] = '*'; in test() 89 if (dst[i] != want[i]) in test() 94 quoteat ("want", want, len + A, i); in test()
|
H A D | stpcpy.c | 58 char *want = wbuf; in test() local 61 char *w = want + dalign; in test() 72 want[i] = dst[i] = '*'; in test() 93 if (dst[i] != want[i]) in test() 98 quoteat ("want", want, len + ALIGN, i); in test()
|
H A D | strcpy.c | 56 char *want = wbuf; in test() local 59 char *w = want + dalign; in test() 70 want[i] = dst[i] = '*'; in test() 91 if (dst[i] != want[i]) in test() 96 quoteat ("want", want, len + ALIGN, i); in test()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | zpool_add_dryrun_output.ksh | 53 want="$STR_DRYRUN 75 want="$STR_DRYRUN 105 want="$STR_DRYRUN 153 want="${tests[$i].want}" 160 if [[ "$out" != "$want" ]]; then 161 log_fail "Got:\n" "$out" "\nbut expected:\n" "$want"
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | trace_buf.c | 47 _nc_trace_alloc(int bufnum, size_t want) in _nc_trace_alloc() argument 62 || want > MyList[bufnum].size) { in _nc_trace_alloc() 63 MyList[bufnum].text = typeRealloc(char, want, MyList[bufnum].text); in _nc_trace_alloc() 65 MyList[bufnum].size = want; in _nc_trace_alloc() 93 _nc_trace_buf(int bufnum, size_t want) in _nc_trace_buf() argument 95 char *result = _nc_trace_alloc(bufnum, want); in _nc_trace_buf()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_dryrun_output.ksh | 53 want="$STR_DRYRUN 82 want="$STR_DRYRUN 128 want="${tests[$i].want}" 133 if [[ "$out" != "$want" ]]; then 134 log_fail "Got:\n" "$out" "\nbut expected:\n" "$want"
|
/freebsd/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_proc1.c | 103 u_int want; in ATF_TC_BODY() local 120 want = NOTE_EXIT | NOTE_FORK | NOTE_EXEC; in ATF_TC_BODY() 125 while (want) { in ATF_TC_BODY() 130 want &= ~NOTE_EXIT; in ATF_TC_BODY() 134 want &= ~NOTE_EXEC; in ATF_TC_BODY() 138 want &= ~NOTE_FORK; in ATF_TC_BODY()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_disk/ |
H A D | page_alignment.c | 449 run_test_set(const page_test_t *tests, bool want, int *ntests, int *npassed) in run_test_set() argument 452 bool pass = (run_test(test, false) == want); in run_test_set() 454 printf("%c %s: PASS\n", want ? '+' : '-', test->name); in run_test_set() 458 want ? "VALID" : "INVALID", in run_test_set() 459 want ? "INVALID" : "VALID"); in run_test_set()
|
/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | generic.txt | 4 - maximum-speed: tells USB controllers we want to work up to a certain 10 - dr_mode: tells Dual-Role USB controllers that we want to work on a 15 - phy_type: tells USB controllers that we want to configure the core to support 27 - hnp-disable: tells OTG controllers we want to disable OTG HNP, normally HNP 28 is the basic function of real OTG except you want it 30 - srp-disable: tells OTG controllers we want to disable OTG SRP, SRP is 32 - adp-disable: tells OTG controllers we want to disable OTG ADP, ADP is
|
/freebsd/contrib/dialog/ |
H A D | configure.in | 111 CF_ARG_MSG_ENABLE([if you want --trace option], 127 CF_ARG_MSG_ENABLE([if you want extra dialogs], 133 CF_ARG_MSG_ENABLE([if you want config-file support], 141 CF_ARG_MSG_ENABLE([if you want extra attributes in config-file], 147 CF_ARG_MSG_ENABLE([if you want Xdialog-style dialogs], 153 CF_ARG_MSG_ENABLE([if you want extra Xdialog-style dialogs (1.2)], 159 CF_ARG_MSG_ENABLE([if you want compatibility with whiptail options], 164 CF_ARG_MSG_ENABLE([if you want the form dialog], 170 CF_ARG_MSG_ENABLE([if you want the gauge dialog], 176 CF_ARG_MSG_ENABLE([if you want the tailbox dialog], [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | read_entry.c | 198 fake_read(char *src, int *offset, int limit, char *dst, unsigned want) in fake_read() argument 203 if ((int) want > have) in fake_read() 204 want = (unsigned) have; in fake_read() 205 memcpy(dst, src + *offset, (size_t) want); in fake_read() 206 *offset += (int) want; in fake_read() 208 want = 0; in fake_read() 210 return (int) want; in fake_read() 287 unsigned want, have; in _nc_read_termtype() local 346 want = (unsigned) (str_size + name_size + 1); in _nc_read_termtype() 349 || (string_table = typeMalloc(char, want)) == 0) { in _nc_read_termtype() [all …]
|
H A D | home_terminfo.c | 58 size_t want = (strlen(home) + sizeof(PRIVATE_INFO)); in NCURSES_EXPORT() local 59 TYPE_MALLOC(char, want, MyBuffer); in NCURSES_EXPORT() 60 _nc_SPRINTF(MyBuffer, _nc_SLIMIT(want) PRIVATE_INFO, home); in NCURSES_EXPORT()
|