/freebsd/lib/libc/tests/gen/ |
H A D | wordexp_test.c | 57 wordexp_t we; in ATF_TC_BODY() local 67 r = wordexp("hello world", &we, 0); in ATF_TC_BODY() 69 ATF_REQUIRE(we.we_wordc == 2); in ATF_TC_BODY() 70 ATF_REQUIRE(strcmp(we.we_wordv[0], "hello") == 0); in ATF_TC_BODY() 71 ATF_REQUIRE(strcmp(we.we_wordv[1], "world") == 0); in ATF_TC_BODY() 72 ATF_REQUIRE(we.we_wordv[2] == NULL); in ATF_TC_BODY() 73 wordfree(&we); in ATF_TC_BODY() 80 wordexp_t we; in ATF_TC_BODY() local 86 r = wordexp(longdata, &we, 0); in ATF_TC_BODY() 88 ATF_REQUIRE(we.we_wordc == 10000); in ATF_TC_BODY() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | wordexp.c | 55 wordexp(const char * __restrict words, wordexp_t * __restrict we, int flags) in wordexp() argument 60 wordfree(we); in wordexp() 62 we->we_wordc = 0; in wordexp() 63 we->we_wordv = NULL; in wordexp() 64 we->we_strings = NULL; in wordexp() 65 we->we_nbytes = 0; in wordexp() 68 wordfree(we); in wordexp() 71 if ((error = we_askshell(words, we, flags)) != 0) { in wordexp() 72 wordfree(we); in wordexp() 121 we_askshell(const char *words, wordexp_t *we, int flags) in we_askshell() argument [all …]
|
/freebsd/usr.sbin/rwhod/ |
H A D | rwhod.c | 96 * We communicate with each neighbor in a list constructed at the time we're 409 struct whoent *we; in receiver_process() local 418 we = wd.wd_we; in receiver_process() 420 we->we_idle = ntohl(we->we_idle); in receiver_process() 421 we->we_utmp.out_time = in receiver_process() 422 ntohl(we->we_utmp.out_time); in receiver_process() 423 we++; in receiver_process() 447 struct whoent *we, *wend; in sender_process() local 451 we in sender_process() 713 struct whoent *we; Sendto() local [all...] |
/freebsd/contrib/tcpdump/ |
H A D | configure.ac | 24 # Try to enable as many C99 features as we can. 25 # At minimum, we want C++/C99-style // comments. 76 # Do we have pkg-config? 81 # Do we have the brew command from Homebrew? 95 # OK, we found smi.h. Do we have libsmi with smiInit? 100 # OK, we have libsmi with smiInit. Can we use it? 250 # All of the ones we check for must be available in order to enable 253 # XXX - do we need to check for all of them, or are there some that, if 258 # First, make sure we have the required header. 263 # We do; now make sure we have the required functions. [all …]
|
H A D | CMakeLists.txt | 3 # We need 3.12 or later, so that we can set policy CMP0074; see 16 # otherwise, require 3.5, so we don't get messages warning 82 # If, for whatever reason, directories in which we search for external 84 # added to the executable's rpath in the build process, we most 134 # Show the bit width for which we're compiling. 138 # libraries that we might use (looking at *you*, Oracle Studio!). 151 # there are two separate .pc files, so if we're doing a 32-bit build we 152 # should make sure we look in /usr/lib/pkgconfig for .pc files and if 153 # we're doing a 64-bit build we should make sure we look in 159 # as an argument, so we set a variable and then use set() to set [all …]
|
H A D | configure.in | 53 # Do we need to include <net/if.h> first? 54 # Unset ac_cv_header_netinet_if_ether_h so we don't 110 # OK, we found smi.h. Do we have libsmi with smiInit? 115 # OK, we have libsmi with smiInit. Can we use it? 218 # All of the ones we check for must be available in order to enable 221 # XXX - do we need to check for all of them, or are there some that, if 246 # If they aren't both defined, we don't have sufficient OS 247 # support for IPv6, so we don't look for IPv6 support libraries, 248 # and we define AF_INET6 and struct in6_addr ourselves. 415 AC_CHECK_LIB(rpc, main) dnl It's unclear why we might need -lrpc [all …]
|
/freebsd/contrib/libpcap/ |
H A D | configure.ac | 28 # for flags required for the platform for which we're building (and 34 # LIBS: inherited from the environment; we add libraries required by 38 # we're finished doing configuration tests for the modules. 64 # or libpcap.pc, as, in all platforms on which we run, if a dynamic 139 dnl include <sys/ioccom.h>, and we were to drop support for older 142 dnl in "aclocal.m4" uses it, so we would still have to test for it 143 dnl and set "HAVE_SYS_IOCCOM_H" if we have it, otherwise 150 # Check whether the platform for which we're compiling requires extra 151 # defines and libraries. If so, add them to CFLAGS and LIBS, as we want 175 # We have strerror_r; if we define _GNU_SOURCE, is it a [all …]
|
H A D | CMakeLists.txt | 3 # We need 3.12 or later, so that we can set policy CMP0074; see 16 # otherwise, require 3.5, so we don't get messages warning 29 # neither do we with autotools; don't do so with CMake, either, and 113 # shipping a pre-built shared library cache, at least), and we do the 147 # system library, which we do *NOT* want to put in our libpcap.pc and 150 # So we just run pkg-config ourselves, so that we get its output 174 # package for it to find. XXX - what do we do here? 196 # package for it to find. XXX - what do we do here? 226 # be CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES, so that's what we use 227 # when we're trying to construct a -L argument, for insertion into [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.cfg | 32 # We need to determine which version of ZFS we're running on, so as to 33 # work out which types of pool we should be able to upgrade on this 173 # This statement builds up a list of configurations we should be able to 174 # upgrade, for each pool version. Once we've built this variable, we'll 178 # we should be able to upgrade pools of version 1 183 # we should be able to upgrade pools of version 1 & 2 188 # we should be able to upgrade pools of version 1, 2 & 3 194 # we should be able to upgrade pools of version 1, 2, 3 & 4 200 # we should be able to upgrade pools up to version 5 206 # we should be able to upgrade pools up to version 6 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | sprd,pinctrl.txt | 12 to choose one function (like: UART0) for which system, since we 15 There are too much various configuration that we can not list all 16 of them, so we can not make every Spreadtrum-special configuration 18 global configuration in future. Then we add one "sprd,control" to 19 set these various global control configuration, and we need use 22 Moreover we recognise every fields comprising one bit or several 23 bits in one global control register as one pin, thus we should 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 42 In some situation we need set the pin sleep mode and pin sleep related 45 sleep mode. For example, if we se [all...] |
/freebsd/contrib/ntp/sntp/m4/ |
H A D | ntp_problemtests.m4 | 5 dnl While we're in the initial phase of the deployment of the test 6 dnl framework, sometimes we may need to disable these tests. 8 dnl This is where we do that. 16 AC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) 28 AC_MSG_CHECKING([if we can run test-ntp_restrict]) 43 AC_MSG_CHECKING([if we can run test-ntp_scanner]) 57 AC_MSG_CHECKING([if we can run test-ntp_signd])
|
H A D | sntp_problemtests.m4 | 5 dnl While we're in the initial phase of the deployment of the test 6 dnl framework, sometimes we may need to disable these tests. 8 dnl This is where we do that. 16 AC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) 28 AC_MSG_CHECKING([if we can run test-kodDatabase]) 37 AC_MSG_CHECKING([if we can run test-kodFile])
|
H A D | ntp_libntp.m4 | 15 # any LIBS we add here should go in to LDADD_LIBNTP 23 # [Bug 2332] because we need to know if we are using GNU ld... 227 # HMS: Do we need to check for -lsocket before or after these tests? 231 # [Bug 1628] On Solaris, we need -lxnet -lsocket. Generalize this to 232 # avoid keying on the OS name: If we find socket functions in 234 # list both. If we simply tested libxnet first, we would find the 244 # code below I wonder if we'll add -lxnet when we do [all...] |
/freebsd/contrib/tcsh/ |
H A D | tc.func.c | 1139 struct wordent *we, *args; in rmstar() local 1154 we = cp->next; in rmstar() 1155 while (*we->word == ';' && we != cp) in rmstar() 1156 we = we->next; in rmstar() 1159 while (we != cp) { in rmstar() 1160 Char *cmd = we->word; in rmstar() 1168 args = we->next; in rmstar() 1191 for (tmp = we; in rmstar() 1209 we = tmp; in rmstar() 1215 for (we = we->next; in rmstar() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | complex | 37 // If we are compiling against libc++, the macro _LIBCPP_STD_VER should be set 38 // after including <cmath> above. Since the complex header we use is a 39 // simplified version of the libc++, we don't need it in this case. If we 40 // compile against libstdc++, or any other standard library, we will overload 41 // the (hopefully template) functions in the <complex> header with the ones we 43 // arithmetic and calls to non-complex functions, all of which we can then
|
/freebsd/share/examples/netgraph/ |
H A D | ngctl | 6 # What we will do here create a divert(4) tap. This simply dumps 46 # Note that we used ngctl's ``name'' command to do this. However, 52 # Here we are using the ASCII <-> binary control message conversion 53 # routines. ngctl does this for us automatically when we use the 65 # That is why we can specify the struct sockaddr argument to the 66 # ``bind'' command as ``inet/192.168.1.1'' (since we didn't specify 78 # types when parsing. Now since we didn't ask for a specific port 79 # number, we need to do a ``getname'' to see what port number we got: 85 # As soon as we sent the message, we got back a response. Here 90 # us in its ASCII form. In this case, what we get back is a struct [all …]
|
/freebsd/lib/libsecureboot/ |
H A D | README.rst | 15 Within Juniper we use signing servers, which apart from signing things 55 The ``keyID`` we want later will be the last 8 octets 57 This is what we will use for looking up the key. 66 The public key ``ACA72B4719FD2523.pub.asc`` is what we want to 69 we want the trust anchor in a file named ``t*.asc`` 97 All we need for this library is a copy of the PEM encoded root CA 107 For Junos we currently use EC DSA signatures with file extension 110 This was the first signature method we used with the remote signing 113 So for Junos we define VE_ECDSA_HASH_AGAIN which causes ``verify_ec`` 116 Later I added a FakeHash class to the signing server so we could [all …]
|
/freebsd/lib/libefivar/ |
H A D | FreeBSD-update | 1 For the printing and parsing functionality, we use the Tianocore routines 13 a much better match for plain narrow characters on FreeBSD. So we pretend that 16 Next, we have have to convert the Unicode printf that this code expects to 18 string." so we mechanically convert them. Once we've done that we can compare 19 efivar-dp-*.c to its source to see what's changed. Because we go through this 33 is relatively easy since we map all the UCS-2 routines to simple char *
|
/freebsd/crypto/heimdal/appl/telnet/ |
H A D | telnet.state | 15 variables. When we are the originator, we can either make the 17 the option is denied we need to change things back) or when 28 * if we are doing so at request initiation 58 * if we are doing so at request acknowledgment 78 will still work. Being conservative in what we send, we have the 79 if() statement in, but we expect the other side to generate the
|
/freebsd/contrib/tzcode/ |
H A D | SECURITY | 8 via email to make sure we received your original message. 10 If we confirm the bug, we plan to notify affected third-party services 11 or software that we know about, prepare an advisory, commit fixes to 14 we give credit to security contributors unless they wish to remain
|
/freebsd/contrib/tzdata/ |
H A D | SECURITY | 8 via email to make sure we received your original message. 10 If we confirm the bug, we plan to notify affected third-party services 11 or software that we know about, prepare an advisory, commit fixes to 14 we give credit to security contributors unless they wish to remain
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx.seq | 83 * If we have completions stalled waiting for the qfreeze 107 * ENSELO is cleared by a SELDO, so we must test for SELDO 167 * Since this status did not consume a FIFO, we have to 168 * be a bit more dilligent in how we check for FIFOs pertaining 176 * count in the SCB. In this case, we allow the routine servicing 181 * we detect case 1, we will properly defer the post of the SCB 220 * bad SCSI status (currently only for underruns), we 221 * queue the SCB for normal completion. Otherwise, we 256 * If we have relatively few commands outstanding, don't 301 * one byte of lun information we support. [all …]
|
/freebsd/contrib/tcpdump/cmake/Modules/ |
H A D | FindPCAP.cmake | 69 # See whether we were handed a QUIET argument, so we can pass it on 85 # *If* we were to require CMake 3.1 or later on UN*X, 87 # we're not doing that, in case somebody's building with 92 # If we ever set a minimum of 3.1 or later on UN*X, we should 106 # Save it, so we can restore it after we run pkg-config. 112 # Convert it to a CMake-style path, before we add additional 197 # If this is a vendor-supplied pcap-config, which we define as 216 # want it. Remember that, so we ignore those values. 230 # So if we're building 64-bit targets, we replace PCAP_CONFIG 231 # with /usr/bin/{64bitarch}; we get {64bitarch} as the [all …]
|
/freebsd/usr.bin/rwho/ |
H A D | rwho.c | 82 struct whoent *we; in main() local 147 we = w->wd_we; in main() 149 if (aflg == 0 && we->we_idle >= 60 * 60) { in main() 150 we++; in main() 155 mp->myutmp = we->we_utmp; in main() 156 mp->myidle = we->we_idle; in main() 159 we++; in main()
|
/freebsd/crypto/openssl/external/perl/ |
H A D | Downloaded.txt | 4 If we find a useful Perl module that isn't one of the core Perl 5 modules, we may choose to bundle it with the OpenSSL source. 8 Here, we simply list those modules and where we got them from.
|