Home
last modified time | relevance | path

Searched +refs:cc +refs:check +refs:sizeof (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/tools/test/stress2/misc/
H A Dpkru.sh36 * cc -Wall -Wextra -g -O -o pkru_fork64 pkru_fork.c
86 cc -Wall -Wextra -g -O -o pkru_exec64 pkru_exec.c || exit 1
87 cc -Wall -Wextra -g -O -o pkru_exec32 pkru_exec.c -m32 || exit 1
96 /* cc -Wall -Wextra -g -O -o pkru_fork64 pkru_fork.c */
152 cc -Wall -Wextra -g -O -o pkru_fork64 pkru_fork.c || exit 1
153 cc -Wall -Wextra -g -O -o pkru_fork32 -m32 pkru_fork.c || exit 1
161 /* cc -Wall -Wextra -g -O -o pkru_fork64 pkru_fork.c */
229 memset(&sa, 0, sizeof(sa));
239 cc -Wall -Wextra -g -O -o pkru_perm64 pkru_perm.c || exit 1
240 cc -Wall -Wextra -g -O -o pkru_perm32 -m32 pkru_perm.c || exit 1
[all …]
/freebsd/contrib/bearssl/src/codec/
H A Dpemdec.t033 memset(ctx, 0, sizeof *ctx);
81 cc: set8 ( value addr -- ) {
88 cc: get8 ( addr -- value ) {
99 cc: read8-native ( -- x ) {
173 cc: from-base64 ( char -- x ) {
201 cc: write8 ( x -- ) {
204 if (CTX->ptr == sizeof CTX->buf) {
206 CTX->dest(CTX->dest_ctx, CTX->buf, sizeof CTX->buf);
213 cc: flush-buf ( -- ) {
276 : check-trailer ( bool -- )
[all …]
/freebsd/contrib/bearssl/src/x509/
H A Dx509_minimal.t0174 memset(ctx, 0, sizeof *ctx);
184 br_x509_minimal_context *cc;
187 cc = (br_x509_minimal_context *)(void *)ctx;
188 for (u = 0; u < cc->num_name_elts; u ++) {
189 cc->name_elts[u].status = 0;
190 cc->name_elts[u].buf[0] = 0;
192 memset(&cc->pkey, 0, sizeof cc->pkey);
193 cc->num_certs = 0;
194 cc->err = 0;
195 cc->cpu.dp = cc->dp_stack;
[all …]
H A Dx509_decoder.t036 memset(ctx, 0, sizeof *ctx);
72 cc: read8-low ( -- x ) {
85 cc: read-blob-inner ( addr len -- addr len ) {
110 cc: copy-rsa-pkey ( nlen elen -- ) {
121 cc: copy-ec-pkey ( curve qlen -- ) {
163 drop check-constructed read-length-open-elt
165 0x02 check-tag-primitive
172 \ Serial number. We just check that the tag is correct.
173 0x02 check-tag-primitive read-length-skip
253 check-constructed read-length-open-elt
[all …]
H A Dskey_decoder.t034 memset(ctx, 0, sizeof *ctx);
56 cc: read8-low ( -- x ) {
65 cc: read-blob-inner ( addr len -- addr len ) {
90 cc: set-rsa-key ( n_bitlen plen qlen dplen dqlen iqlen -- ) {
117 cc: set-ec-key ( curve xlen -- ) {
145 read-tag 0x02 check-tag-primitive read-small-int-value if
151 read-tag 0x02 check-tag-primitive
200 read-tag 0x02 check-tag-primitive read-small-int-value 1- if
206 read-tag 0x04 check-tag-primitive
231 check-constructed read-length-open-elt
[all …]
/freebsd/contrib/ldns/
H A Dacx_nlnetlabs.m417 # 2015-12-11 FLTO check for new OSX, clang.
18 # 2015-11-18 spelling check fix.
36 # 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
38 # 2010-07-02 Add check for ss_family (for minix).
59 # ACX_CHECK_COMPILER_FLAG - see if cc supports a flag.
62 # ACX_DEPFLAG - find cc dependency flags.
64 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
65 # ACX_CHECK_UNUSED_ATTRIBUTE - find cc variable unused syntax.
66 # ACX_CHECK_FLTO - see if cc supports -flto and use it if so.
84 # ACX_FUNC_MALLOC - check malloc, define replacement .
[all …]
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_hs_client.t080 if (nlen > sizeof ctx->eng.pad) {
151 ctx->eng.client_random, sizeof ctx->eng.client_random);
153 ctx->eng.server_random, sizeof ctx->eng.server_random);
158 br_multihash_update(&mhc, head, sizeof head);
296 if (point_len > sizeof point) {
339 ctx->eng.pad, sizeof ctx->eng.pad);
410 cc: ext-ALPN-length ( -- len ) {
472 \ Supported cipher suites. We also check here that we indeed
627 \ Save a value in a 16-bit field, or check it in case of session resumption.
628 : check-resume ( val addr resume -- )
[all …]
H A Dssl_hs_common.t059 \ control, so we need to check that type only when returning from a 'co'.
83 cc: DBG ( addr -- ) {
91 cc: DBG2 ( addr x -- ) {
101 cc: fail ( err -- ! ) {
107 cc: get8 ( addr -- val ) {
113 cc: get16 ( addr -- val ) {
119 cc: get32 ( addr -- val ) {
125 cc: set8 ( val addr -- ) {
131 cc: set16 ( val addr -- ) {
137 cc: set32 ( val addr -- ) {
[all …]
H A Dssl_hs_server.t068 br_hmac_drbg_generate(&ctx->eng.rng, rpms, sizeof rpms);
69 br_ccopy(x ^ 1, epms, rpms, sizeof rpms);
92 if (xcoor_len > sizeof rpms) {
93 xcoor_len = sizeof rpms;
151 if (cpoint_len > sizeof cpoint) {
269 algo_id, ctx->eng.pad, hv_len, sizeof ctx->eng.pad);
412 CX 0 1023 { BR_MAX_CIPHER_SUITES * sizeof(br_suite_translated) } ;
446 cc: set-max-frag-len ( len -- ) {
581 cc: call-policy-handler ( -- bool ) {
595 cc: check-resume ( -- bool ) {
[all …]
/freebsd/contrib/unbound/
H A Dacx_nlnetlabs.m46 # 2024-01-16 fix to add -l:libssp.a to -lcrypto link check.
7 # and check for getaddrinfo with only header.
8 # 2024-01-15 fix to add crypt32 to -lcrypto link check when checking for gdi32.
26 # 2015-12-11 FLTO check for new OSX, clang.
27 # 2015-11-18 spelling check fix.
45 # 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
47 # 2010-07-02 Add check for ss_family (for minix).
68 # ACX_CHECK_COMPILER_FLAG - see if cc supports a flag.
71 # ACX_DEPFLAG - find cc dependency flags.
73 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
[all …]
H A Dconfigure.ac333 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "weak" attribute)
356 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "noreturn" attribute)
379 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "fallthrough" attribute)
530 # check for types.
571 # check to see if libraries are needed for these functions.
575 # check whether strptime also works
601 # check some functions of the OS before linking libs (while still runnable).
611 # check if we can use SO_REUSEPORT
649 # check windows threads (we use them, not pthreads, on windows).
651 # check windows threads
[all …]
/freebsd/contrib/ntp/sntp/m4/
H A Dopenldap.m474 OL_MKDEP="${CC-cc}"
134 dnl OpenLDAP version of STDC header check w/ EBCDIC support
155 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
208 len = res_query(request, ns_c_in, ns_t_srv, reply, sizeof(reply));
214 len = res_query(request, C_IN, T_SRV, reply, sizeof(reply));
225 p += sizeof(HEADER);
227 status = dn_expand( reply, reply+len, p, host, sizeof(host));
484 memset( &env, '\0', sizeof(env) );
536 /* this check could be improved */
871 char x = *strerror_r (0, buf, sizeof buf);
[all …]
/freebsd/contrib/tcp_wrappers/
H A DREADME.NIS102 X * cc -o gethostbyaddr gethostbyaddr.c (SunOS 4.x)
104 X * cc -o gethostbyaddr gethostbyaddr.c -lnsl (SunOS 5.x)
130 X if (hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET)) {
149 # end of overwriting check
159 X * cc -o gethostbyname gethostbyname.c (SunOS 4.x)
161 X * cc -o gethostbyname gethostbyname.c -lnsl (SunOS 5.x)
204 # end of overwriting check
/freebsd/sys/contrib/zlib/
H A DChangeLog57 - Don't compute check value for raw inflate if asked to validate
83 - Don't bother computing check value after successful inflateSync()
87 - Explicitly note that the 32-bit check values are 32 bits
104 - Check for cc masquerading as gcc or clang in configure
161 - Change check for a four-byte type back to hexadecimal
176 - Fix configure check for veracity of compiler error return codes
207 - Remove runtime check in configure for four-byte integer type
386 - Add test to configure for GNU C looking for gcc in output of $cc -v
405 - Add a check in configure for stdarg.h, use for gzprintf()
474 - Add check for shell to configure and invoke another shell if needed
[all …]
/freebsd/crypto/openssh/
H A Dconfigure.ac30 AC_PROG_CC([cc gcc clang])
226 # that can overflow. We must check that the result of enabling it
251 [[ char b[10]; memset(b, 0, sizeof(b)); ]])],
271 int func (int t) {char b[100]; snprintf(b,sizeof b,"%d",t); return t;}
275 snprintf(x, sizeof(x), "XXX%d", func(1));
284 int func (int t) {char b[100]; snprintf(b,sizeof b,"%d",t); return t;}
288 snprintf(x, sizeof(x), "XXX%d", func(1));
674 AC_MSG_ERROR([*** must be able to specify blibpath on AIX - check config.log])
838 [AC_MSG_ERROR([*** -lxnet needed on HP-UX - check config.log ***])])
1400 AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***])
[all …]
/freebsd/contrib/bmake/
H A Dconfigure1360 --disable-check-make-chdir disable make trying to guess
2300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2390 // Also check for declarations in for loops.
2450 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2504 _Static_assert (sizeof (int) <= sizeof (long int),
3066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3088 ac_cv_prog_CC="${ac_tool_prefix}cc"
3112 # Extract the first word of "cc", so it can be a program name with args.
3135 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3139 ac_cv_prog_CC="cc"
[all …]
/freebsd/contrib/tcpdump/
H A Dconfigure1387 --disable-local-libpcap don't look for a local libpcap [default=check for a
2029 if (sizeof ($2))
2043 if (sizeof (($2)))
3122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3144 ac_cv_prog_CC="${ac_tool_prefix}cc"
3167 # Extract the first word of "cc", so it can be a program name with args.
3190 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3194 ac_cv_prog_CC="cc"
4618 /* libsmi available check */
5277 /* AF_INET6 available check */
[all …]
H A DCHANGES27 Kerberos: Print the protocol name, remove a redundant bounds check.
117 Autoconf: check for gethostbyaddr(), not gethostbyname().
138 Don't check for strftime(), as it's in C90 and beyond.
190 lwres: Fix a length check, update a variable type.
192 Ethernet: Rework the length checks, add a length check.
201 TCP: Fix an invalid check.
202 RESP: Fix an invalid check.
205 sFlow: add support for IPv6 agent, add a length check.
214 ICMPv6: Add a length check in the rpl_dio_print() function.
217 IPv6: Add a check for the Jumbo Payload Hop-by-Hop option.
[all …]
/freebsd/contrib/ncurses/
H A Dconfigure720 --without-ada suppress check for Ada compiler, don't build demo
839 --enable-check-size compile-in code to detect screensize of serial terminals
3212 ac_ext=cc
3219 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3258 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3507 ac_ext=cc
5230 for ac_prog in gcc clang c99 c89 cc cl
14649 if (sizeof (signed char))
14693 int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
14719 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
[all …]
H A Daclocal.m4533 # check if $ARFLAGS already contains this choice
709 if (sizeof(x) == sizeof(int)) fputs("int", fp);
710 else if (sizeof(x) == sizeof(char)) fputs("char", fp);
711 else if (sizeof(x) == sizeof(short))fputs("short",fp);
712 else if (sizeof(x) == sizeof(long)) fputs("long", fp);
766 AC_ARG_WITH(build-cc,
767 [ --with-build-cc=XXX the build C compiler ($BUILD_CC)],
769 [AC_CHECK_PROGS(BUILD_CC, [gcc clang c99 c89 cc cl],none)])
837 Use --with-build-cc to specify the native compiler.])
914 : "${CC:=cc}"
[all …]
H A DNEWS59 + build/bug-fix for check-size feature (reports by Sam James, Gabriele
64 + provide for padding in check-size feature, using new_prescr() to
81 + modify check-size feature to avoid using it in a pseudoterminal
92 + add configure check for MB_LEN_MAX, to provide warning as needed.
198 + amend fix for Debian #1055882, correcting nul terminator check in
206 + amend parameter check for entire string versus specific length in
243 + make the recent change to setupterm optional "--enable-check-size"
348 + improve parameter check in tparm_setup()
369 TERMINAL, and check if they are for a terminal, like SVr4.
414 + check return value of _nc_save_str(), in special case for tic where
[all …]
/freebsd/crypto/openssl/Configurations/
H A DREADME.md25 files. The Configure script does check that a config file doesn't
65 cc => The C compiler command, usually one of "cc",
237 and sizeof(long) is 8;
341 "target" => "{cc}:{cflags}:{unistd}:{thread_cflag}:{sys_id}:{lflags}:
665 These scripts are per platform family, to check the integrity of the
672 If the check succeeds, the script is expected to end with a non-zero
673 expression. If the check fails, the script can end with a zero, or
/freebsd/contrib/googletest/docs/
H A Dfaq.md154 particular, it prevents you from writing `Foo<sizeof(htonl(x))>()`, where `Foo`
157 The implementation of `EXPECT_EQ(a, b)` uses `sizeof(... a ...)` inside a
174 you also need to define it *outside* of the class body in `foo.cc`:
186 implicitly an `inline` definition, and a separate definition in `foo.cc` is not
193 static constexpr int kBar = 100; // Defines kBar, no need to do it in foo.cc.
249 [sample5_unittest.cc](https://github.com/google/googletest/blob/main/googletest/samples/sample5_uni…
598 heap check/debug routines.
/freebsd/crypto/heimdal/
H A DChangeLog.200364 * lib/krb5/verify_krb5_conf.c (check_host): don't check for
211 * kdc/kerberos5.c: change logic for when to check transited policy
228 check return value for malloc
245 * kdc/kerberos5.c: always check transited policy if flag set
248 * kdc/config.c: add flag to always check transited policy
257 * kuser/kgetcred.1: add --no-transit-check
259 * kuser/kgetcred.c: add --no-transit-check
335 independent of krb4, also always do krb4 setup of cc. Always try
336 to destroy the v4 cc.
437 * lib/hdb/db3.c: improve readability of ->open ifdef, check if
[all …]
/freebsd/contrib/jemalloc/
H A Dconfigure.ac203 dnl check if a cray prgenv wrapper compiler is being used
207 CC|cc)
319 int *arr = (int *)malloc(sizeof(int) * 42);
349 AC_MSG_RESULT([Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit])
495 if (vaddr > (sizeof(void *) << 3)) {
496 vaddr = sizeof(void *) << 3;
1582 dnl Do not check for use-after-free by default.
1804 dnl Some systems may embed pthreads functionality in libc; check for libpthread
1895 dnl check for CLOCK_MONOTONIC_COARSE (Linux-specific).
1907 dnl check for CLOCK_MONOTONIC.
[all …]

123