Home
last modified time | relevance | path

Searched refs:need (Results 1 – 25 of 1933) sorted by relevance

12345678910>>...78

/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/t/
H A Daccepts.t11 ok( $req->accepts_module(Foo => 1), "need 1, got 1");
12 ok(! $req->accepts_module(Foo => 0), "need 0, got 1");
18 ok( $req->accepts_module(Foo => 1), "need 0, got 1");
19 ok( $req->accepts_module(Foo => undef), "need 0, got undef");
20 ok( $req->accepts_module(Foo => "v0"), "need 0, got 'v0'");
21 ok( $req->accepts_module(Foo => v1.2.3), "need 0, got v1.2.3");
22 ok( $req->accepts_module(Foo => "v1.2.3"), "need 0, got 'v1.2.3'");
28 ok( $req->accepts_module(Foo => 1), "need <=1, got 1");
29 ok(! $req->accepts_module(Foo => 2), "need <=1, got 2");
35 ok( $req->accepts_module(Foo => 0), "need !
[all...]
/openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/fallback/
H A Dconst-xs.inc12 /* NV nv; Uncomment this if you need to return NVs */
13 /* const char *pv; Uncomment this if you need to return PVs */
19 if you need to return both NVs and IVs */
40 /* Uncomment this if you need to return NOs
46 /* Uncomment this if you need to return NVs
52 /* Uncomment this if you need to return PVs
58 /* Uncomment this if you need to return PVNs
64 /* Uncomment this if you need to return SVs
70 /* Uncomment this if you need to return UNDEFs
73 /* Uncomment this if you need to return UVs
[all …]
/openbsd-src/usr.bin/ssh/
H A Dkexsntrup761x25519.c47 size_t need; in kex_kem_sntrup761x25519_keypair()
52 need = crypto_kem_sntrup761_PUBLICKEYBYTES + CURVE25519_SIZE; in kex_kem_sntrup761x25519_keypair()
53 if ((r = sshbuf_reserve(buf, need, &cp)) != 0) in kex_kem_sntrup761x25519_keypair()
83 size_t need; in kex_kem_sntrup761x25519_enc()
90 need = crypto_kem_sntrup761_PUBLICKEYBYTES + CURVE25519_SIZE; in kex_kem_sntrup761x25519_enc()
91 if (sshbuf_len(client_blob) != need) { in kex_kem_sntrup761x25519_enc()
117 need = crypto_kem_sntrup761_CIPHERTEXTBYTES + CURVE25519_SIZE; in kex_kem_sntrup761x25519_enc()
118 if ((r = sshbuf_reserve(server_blob, need, &ciphertext)) != 0) in kex_kem_sntrup761x25519_enc()
167 size_t need; in kex_kem_sntrup761x25519_dec()
172 need in kex_kem_sntrup761x25519_dec()
43 size_t need; kex_kem_sntrup761x25519_keypair() local
79 size_t need; kex_kem_sntrup761x25519_enc() local
163 size_t need; kex_kem_sntrup761x25519_dec() local
[all...]
H A Ddh.c277 dh_gen_key(DH *dh, int need) in dh_gen_key() argument
284 if (need < 0 || dh_p == NULL || in dh_gen_key()
286 need > INT_MAX / 2 || 2 * need > pbits) in dh_gen_key()
288 if (need < 256) in dh_gen_key()
289 need = 256; in dh_gen_key()
292 * so double requested need here. in dh_gen_key()
294 if (!DH_set_length(dh, MINIMUM(need * 2, pbits - 1))) in dh_gen_key()
327 * This just returns the group, we still need to generate the exchange
H A Dbitmap.c169 size_t i, j, k, need = bitmap_nbytes(b); in bitmap_to_string() local
171 if (l < need || b->top >= b->len) in bitmap_to_string()
173 if (l > need) in bitmap_to_string()
174 l = need; in bitmap_to_string()
180 s[need - 1 - k++] = (b->d[i] >> (j * 8)) & 0xff; in bitmap_to_string()
/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/fallback/
H A Dconst-xs.inc12 /* NV nv; Uncomment this if you need to return NVs */
19 if you need to return both NVs and IVs */
38 /* Uncomment this if you need to return NOs
44 /* Uncomment this if you need to return NVs
55 /* Uncomment this if you need to return PVNs
61 /* Uncomment this if you need to return SVs
67 /* Uncomment this if you need to return UNDEFs
70 /* Uncomment this if you need to return UVs
76 /* Uncomment this if you need to return YESs
/openbsd-src/lib/libcurses/tinfo/
H A Dlib_print.c54 size_t need; in NCURSES_EXPORT() local
74 need = onsize + (size_t) len + offsize; in NCURSES_EXPORT()
77 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
83 _nc_STRCPY(mybuf, switchon, need); in NCURSES_EXPORT()
86 _nc_STRCPY(mybuf + onsize + len, prtr_off, need); in NCURSES_EXPORT()
95 result = (int) write(SP_PARM->_ofd, mybuf, need); in NCURSES_EXPORT()
H A Dlib_tgoto.c80 size_t need = 10; in tgoto_internal() local
85 need += strlen(BC); in tgoto_internal()
92 if ((used + need) > length) { in tgoto_internal()
93 length += (used + need); in tgoto_internal()
/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A D120_incr_parse_truncated.t17 my $e = $@; # test more clobbers $@, we need it twice
27 my $e = $@; # test more clobbers $@, we need it twice
37 my $e = $@; # test more clobbers $@, we need it twice
47 my $e = $@; # test more clobbers $@, we need it twice
57 my $e = $@; # test more clobbers $@, we need it twice
67 my $e = $@; # test more clobbers $@, we need it twice
77 my $e = $@; # test more clobbers $@, we need it twice
87 my $e = $@; # test more clobbers $@, we need it twice
97 my $e = $@; # test more clobbers $@, we need it twice
107 my $e = $@; # test more clobbers $@, we need it twice
[all …]
/openbsd-src/usr.bin/tic/
H A Ddump_entry.c120 strncpy_DYN(DYNBUF * dst, const char *src, size_t need) in strncpy_DYN() argument
122 size_t want = need + dst->used + 1; in strncpy_DYN()
129 _nc_STRNCPY(dst->text + dst->used, src, need + 1); in strncpy_DYN()
130 dst->used += need; in strncpy_DYN()
506 int need = op_length(src, step + n); in find_split() local
507 if ((n + need) > size) { in find_split()
529 size_t need = strlen(src); in fill_spaces() local
538 _nc_STRCPY(&result[d], fill, need + 1 - d); in fill_spaces()
541 need += size; in fill_spaces()
554 result = calloc(need + 1, sizeof(char)); in fill_spaces()
[all …]
H A Dtransform.c48 size_t need = (sizeof(ignore) - 1); in trim_suffix() local
50 if (*len > need) { in trim_suffix()
51 size_t first = *len - need; in trim_suffix()
61 *len -= need; in trim_suffix()
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dutf8decode.t179 3.3.1 N2 - 1 c0 - 1 byte available, need 2
180 3.3.2 N2 - 2 e0:80 - 2 bytes available, need 3
181 3.3.3 N2 - 3 f0:80:80 - 3 bytes available, need 4
182 3.3.4 N2 - 4 f8:80:80:80 - 4 bytes available, need 5
183 3.3.5 N2 - 5 fc:80:80:80:80 - 5 bytes available, need 6
184 3.3.6 n - 1 df - 1 byte available, need 2
185 3.3.7 n - 2 ef:bf - 2 bytes available, need 3
186 3.3.8 n - 3 f7:bf:bf - 3 bytes available, need 4
187 3.3.9 n - 4 fb:bf:bf:bf - 4 bytes available, need 5
188 3.3.10 n - 5 fd:bf:bf:bf:bf - 5 bytes available, need 6
/openbsd-src/usr.bin/hexdump/
H A Ddisplay.c228 int need, nread; in get() local
241 for (need = blocksize, nread = 0;;) { in get()
248 if (need == blocksize) in get()
250 if (!need && vflag != ALL && in get()
256 memset((char *)curp + nread, 0, need); in get()
261 length == -1 ? need : MINIMUM(length, need), stdin); in get()
271 if (!(need -= n)) { in get()
282 need = blocksize; in get()
/openbsd-src/usr.bin/file/magdir/
H A Dmup17 >>>>14 string x \b, need V%.4s
19 >>>>14 string x \b, need V%.3s
22 >>>7 string x \b, need V%.4s
24 >>>7 string x \b, need V%.3s
/openbsd-src/lib/libcurses/base/
H A Dlib_slkset.c86 size_t need; in NCURSES_EXPORT() local
89 need = mbrtowc(0, p, strlen(p), &state); in NCURSES_EXPORT()
90 if (need == (size_t) -1) in NCURSES_EXPORT()
92 mbrtowc(&wc, p, need, &state); in NCURSES_EXPORT()
98 p += need; in NCURSES_EXPORT()
/openbsd-src/libexec/ld.so/ldconfig/
H A Dldconfig_path.c31 _dl_malloc(size_t need) in _dl_malloc() argument
33 void *ret = malloc(need); in _dl_malloc()
35 memset(ret, 0, need); in _dl_malloc()
/openbsd-src/gnu/usr.bin/cvs/os2/
H A DREADME3 might not work, and the server would definitely not work. You'll need
6 did the port on your machine. :-) ). You also may need to comment out
8 ../config.status not existing. You also might need to edit srcdir to
18 differently. This is (IMHO) a bizarre behavior, but you need to
32 You need the OS/2 TCPIP developers toolkit to translate the sources.
42 The executable created by the watcom compiler does *not* need a runtime
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dbuffer.c1064 int need; local
1078 need = sizeof (int);
1082 if (data->size >= need)
1084 memcpy (intp, data->bufp, need);
1089 need -= data->size;
1094 return need;
1099 startoff = need;
1116 need = count - (start->size - startoff);
1117 if (need <= 0)
1126 if (need <= data->size)
[all …]
/openbsd-src/gnu/usr.bin/perl/
H A Dscope.h30 #define SSGROW(need) if (UNLIKELY(PL_savestack_ix + (I32)(need) > PL_savestack_max)) savestack_grow_cnt(need) argument
31 #define SSCHECK(need) SSGROW(need) /* legacy */ argument
45 * don't need saving around the call to grow. Also, tail-call elimination
59 #define SS_ADD_END(need) \ argument
60 assert((need) <= SS_MAXPUSH); \
61 ix += (need); \
/openbsd-src/sbin/iked/
H A Ddh.c785 size_t have, need; in kemsx_create_exchange2() local
799 need = crypto_kem_sntrup761_PUBLICKEYBYTES + in kemsx_create_exchange2()
801 buf = ibuf_new(NULL, need); in kemsx_create_exchange2()
812 need = crypto_kem_sntrup761_PUBLICKEYBYTES + in kemsx_create_exchange2()
814 if (have != need) in kemsx_create_exchange2()
817 need = crypto_kem_sntrup761_CIPHERTEXTBYTES + in kemsx_create_exchange2()
819 buf = ibuf_new(NULL, need); in kemsx_create_exchange2()
843 size_t have, need; in kemsx_create_shared2() local
856 need = crypto_kem_sntrup761_CIPHERTEXTBYTES + in kemsx_create_shared2()
858 if (have != need) in kemsx_create_shared2()
[all …]
/openbsd-src/usr.sbin/smtpd/
H A Drfc5322.c216 buf_alloc(struct buf *b, size_t need) in buf_alloc() argument
221 if (b->buf && b->bufsz >= need) in buf_alloc()
224 if (need >= b->bufmax) { in buf_alloc()
230 alloc = N * (need / N) + ((need % N) ? N : 0); in buf_alloc()
/openbsd-src/gnu/lib/libstdc++/libstdc++/docs/html/17_intro/
H A DTODO23 placement. Do pback bits need to be in streambuf? How about
31 - exception specifications need to be reviewed for all parts of the
34 - scoping/linking issues WRT to C structs need to be worked out. See
41 - operator!= and utility/rel_ops operators need to be made safe with
43 be implemented incorrectly, or need things like
56 straighten this stuff out with the glibc-2.2 libio. Also may need to
84 - All of the Library working group closed issues need to be
/openbsd-src/distrib/notes/sparc64/
H A Dprep2 If your UltraSPARC machine is somewhat old, it might need a firmware update
4 OpenBSD first; if it can't boot or fails mysteriously, you might need to
8 Your OpenBOOT ROM may need some setup. You cannot use the security modes
39 If OpenBSD does not boot or install properly on your machine, it might need
46 You will need to have a working operating system installed on your machine,
87 Follow the patch installation notes very carefully. You may need to open
/openbsd-src/sbin/ipsecctl/
H A Dipsecctl.c599 ipsecctl_get_rules(struct ipsecctl *ipsec, size_t *need) in ipsecctl_get_rules() argument
609 if (sysctl(mib, 4, NULL, need, NULL, 0) == -1) in ipsecctl_get_rules()
611 if (*need == 0) in ipsecctl_get_rules()
613 if ((buf = malloc(*need)) == NULL) in ipsecctl_get_rules()
615 if (sysctl(mib, 4, buf, need, NULL, 0) == -1) in ipsecctl_get_rules()
622 ipsecctl_parse_rules(struct ipsecctl *ipsec, char *buf, size_t need) in ipsecctl_parse_rules() argument
628 lim = buf + need; in ipsecctl_parse_rules()
680 size_t need = 0, rlen; in ipsecctl_show() local
698 if (sysctl(mib, 5, NULL, &need, NULL, 0) == -1 && in ipsecctl_show()
701 if (need > 0) { in ipsecctl_show()
[all …]
/openbsd-src/bin/ksh/
H A DPROJECTS6 pdksh has most if not all POSIX/at&t ksh builtins, but they need to
31 the lexing may need a re-write since it currently doesn't parse $( .. ),
33 * need to ignore contents of quoted strings (and escaped chars?)
35 * need to put bounds check on states[] array (if it still exists after
42 * Arrays need to be implemented differently: currently does a linear

12345678910>>...78