| /freebsd/contrib/lutok/ |
| H A D | state_test.cpp | 71 luaL_loadstring(raw(state), (std::string("return ") + symbol).c_str()); in is_available() 72 const bool ok = (lua_pcall(raw(state), 0, 1, 0) == 0 && in is_available() 73 !lua_isnil(raw(state), -1)); in is_available() 74 lua_pop(raw(state), 1); in is_available() 105 /// \param raw_state The raw Lua state. 131 const int f1 = lua_tointeger(raw(state), lua_upvalueindex(1)); in cxx_multiply_closure() 132 const int f2 = lua_tointeger(raw(state), -1); in cxx_multiply_closure() 133 lua_pushinteger(raw(state), f1 * f2); in cxx_multiply_closure() 203 ATF_REQUIRE(luaL_dostring(raw(state), "test_variable = 3") == 0); in ATF_TEST_CASE_BODY() 205 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evppkey_ecx.txt | 44 #Raw versions of the same keys as above 46 PrivateKeyRaw=Alice-25519-Raw:X25519:77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c… 48 PublicKeyRaw=Alice-25519-PUBLIC-Raw:X25519:8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98e… 50 PrivPubKeyPair = Alice-25519-Raw:Alice-25519-PUBLIC-Raw 52 PrivateKeyRaw=Bob-25519-Raw:X25519:5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b27ff88e0eb 54 PublicKeyRaw=Bob-25519-PUBLIC-Raw:X25519:de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f… 58 PrivPubKeyPair = Bob-25519-Raw:Bob-25519-PUBLIC-Raw 79 Derive=Alice-25519-Raw 80 PeerKey=Bob-25519-PUBLIC-Raw 84 Derive=Bob-25519-Raw [all …]
|
| H A D | evppkey_ecx_sigalg.txt | 68 #Raw versions of the ED25519-1 keys 69 PrivateKeyRaw=ED25519-1-Raw:ED25519:9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60 71 PublicKeyRaw=ED25519-1-PUBLIC-Raw:ED25519:d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f… 75 PrivPubKeyPair = ED25519-1-Raw:ED25519-1-PUBLIC-Raw 133 # Raw tests 136 Sign-Message = ED25519:ED25519-1-Raw 141 Verify-Message = ED25519:ED25519-1-PUBLIC-Raw 148 Verify-Message = ED25519:ED25519-1-PUBLIC-Raw 251 #Raw versions of the ED448-1 keys 252 PrivateKeyRaw=ED448-1-Raw:ED448:6c82a562cb808d10d632be89c8513ebf6c929f34ddfa8c9f63c9960ef6e348a3528… [all …]
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_raw.c | 41 struct raw { struct 46 * Set output format to 'raw' format. argument 52 struct raw *raw; in archive_write_set_format_raw() local 61 raw = calloc(1, sizeof(*raw)); in archive_write_set_format_raw() 62 if (raw == NULL) { in archive_write_set_format_raw() 63 archive_set_error(&a->archive, ENOMEM, "Can't allocate raw data"); in archive_write_set_format_raw() 66 raw->entries_written = 0; in archive_write_set_format_raw() 67 a->format_data = raw; in archive_write_set_format_raw() 68 a->format_name = "raw"; in archive_write_set_format_raw() 78 a->archive.archive_format_name = "RAW"; in archive_write_set_format_raw() [all …]
|
| /freebsd/tools/tools/shlib-compat/ |
| H A D | shlib-compat.py | 501 def build_subprogram(self, raw): argument 502 if raw.optname == None: 503 raw.setname('SUBPROGRAM_NONAME_' + raw.arg('low_pc')); 504 params = [ self.build(x) for x in raw.nested ] 505 result = self._build_optarg_type(raw) 506 return FunctionDef(raw.id, raw.name, params=params, result=result) 508 def build_variable(self, raw): argument 509 type = self._build_optarg_type(raw) 510 return VariableDef(raw.id, raw.optname, type=type) 512 def build_subroutine_type(self, raw): argument [all …]
|
| /freebsd/share/doc/smm/18.net/ |
| H A D | b.t | 29 .\".ds RH "Raw sockets 33 \s+2Raw sockets\s0 35 A raw socket is an object which allows users direct access 36 to a lower-level protocol. Raw sockets are intended for knowledgeable 41 user level by utilizing a raw IP socket for delivery of packets. 42 The raw IP socket interface attempts to provide an identical interface 45 The raw socket support is built around a generic raw socket interface, 47 This section will describe the core of the raw socket interface. 51 Every raw socket has a protocol control block of the following form: 72 number with which the raw socket is associated. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send_mixed_raw.ksh | 26 # raw and non-raw sends in a way that would break IV set 31 # 2. Perform a raw send of the first snapshot to 2 other datasets. 32 # 3. Perform a non-raw send of the second snapshot to one of 33 # the other datasets. Perform a raw send from this dataset to 35 # 4. Attempt to raw send the final snapshot of the first dataset 42 # snap1 ---raw---> snap1 --raw--> snap1 # all snaps initialized via raw send 43 # snap2 -non-raw-> snap2 --raw--> snap2 # A sends non-raw to B, B sends raw to C 44 # snap3 ------------raw---------> snap3 # attempt send to C (should fail) 61 log_assert "Mixing raw and non-raw receives should fail" 119 log_pass "Mixing raw and non-raw receives fail as expected"
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | LazyAtomicPointer.h | 43 uintptr_t Raw = Value ? reinterpret_cast<uintptr_t>(Value) : getNull(); in makeRaw() local 44 assert(Raw != getBusy()); in makeRaw() 45 return Raw; in makeRaw() 111 uintptr_t Raw = Storage.load(); in loadOrGenerate() local 112 if (Raw != getNull() && Raw != getBusy()) in loadOrGenerate() 113 return *makePointer(Raw); in loadOrGenerate() 116 if (LLVM_LIKELY(Raw == getNull() && in loadOrGenerate() 117 Storage.compare_exchange_strong(Raw, getBusy()))) { in loadOrGenerate() 118 Raw = makeRaw(Generator()); in loadOrGenerate() 119 assert(Raw != getNull() && "Expected non-null from generator"); in loadOrGenerate() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
| H A D | zfs_send_raw.ksh | 26 # ZFS should perform raw sends of datasets. 31 # 3. Attempt a raw send of both datasets 32 # 4. Attempt a raw send with properties of both datasets 33 # 5. Attempt a raw replication send of both datasets 35 # 7. Attempt a raw send of the encrypted dataset 49 log_assert "ZFS should perform raw sends of datasets" 64 log_note "Verify ZFS can perform raw sends with properties" 68 log_note "Verify ZFS can perform raw replication sends" 72 log_note "Verify ZFS can perform a raw send of an encrypted datasets with" \ 78 log_pass "ZFS performs raw sends of datasets"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_send_delegation_user/ |
| H A D | zfs_send_usertest.ksh | 34 # 6. As root: attempt a send and raw send (both should succeed) 35 # 7. As user: attempt a send and raw send (both should fail, no permission) 37 # 9. As root: attempt a send and raw send (both should succeed) 38 # 10. As user: attempt a send and raw send (both should succeed) 40 # 12. As root: attempt a send and raw send (both should succeed) 41 # 13. As user: attempt a send and raw send (send should fail, raw send should succeed) 43 # 15. As root: attempt a send and raw send (both should succeed) 44 # 16. As user: attempt a send and raw send (both should fail, no permission) 99 # create raw delegation 100 log_must zfs allow $OTHER1 send:raw $TESTPOOL/$TESTFS1 [all …]
|
| /freebsd/sys/arm64/rockchip/ |
| H A D | rk_tsadc.c | 112 uint32_t raw; member 388 int denom, ntbl, raw, i; in tsadc_temp_to_raw() local 394 return (tbl[0].raw); in tsadc_temp_to_raw() 397 return (tbl[ntbl - 1].raw); in tsadc_temp_to_raw() 402 return (tbl[i].raw); in tsadc_temp_to_raw() 411 raw = (int)tbl[i - 1].raw - (int)tbl[i].raw; in tsadc_temp_to_raw() 412 raw *= temp - tbl[i - 1].temp; in tsadc_temp_to_raw() 414 raw = tbl[i - 1].raw + raw / denom; in tsadc_temp_to_raw() 415 return (raw); in tsadc_temp_to_raw() 419 tsadc_raw_to_temp(struct tsadc_softc *sc, uint32_t raw) in tsadc_raw_to_temp() argument [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_get0_peer_rpk.pod | 9 SSL_SESSION_get0_peer_rpk - raw public key (RFC7250) support 32 SSL_get0_peer_rpk() returns the peer's raw public key from SSL B<s>. 34 SSL_SESSION_get0_peer_rpk() returns the peer's raw public key from 39 Raw public keys are used in place of certificates when the option is 46 When raw public keys are used, the certificate verify callback is called, and 48 Raw public keys have no subject, issuer, validity dates nor digital signature 52 The raw public key is typically taken from the certificate assigned to the 67 SSL_get0_peer_rpk() and SSL_SESSION_get0_peer_rpk() return the peer's raw 68 public key as an EVP_PKEY or NULL when the raw public key is not available.
|
| H A D | EVP_PKEY_new.pod | 18 - public/private key allocation and raw key handling functions 88 a raw key, otherwise the duplication will fail. 97 string for a public key algorithm that supports raw private keys, e.g., one of: 109 I<key> points to the raw private key 120 algorithm that supports raw private keys, i.e. one of B<EVP_PKEY_X25519>, 130 EVP_PKEY_new_raw_private_key_ex() except that I<key> points to the raw 132 private key information. Algorithm types that support raw public keys are 146 EVP_PKEY_new_raw_private_key_ex() except that I<key> points to the raw public 154 EVP_PKEY_get_raw_private_key() fills the buffer provided by I<priv> with raw 160 key data. This function only works for algorithms that support raw private keys. [all …]
|
| /freebsd/sbin/ipf/libipf/ |
| H A D | save_file.c | 13 int raw; member 40 if (!strncmp(strings[0], "raw://", 6)) { in file_parse() 41 ctx->raw = 1; in file_parse() 65 if (f1->raw != f2->raw) in file_match() 88 if (file->raw) in file_print() 89 printf("raw://"); in file_print() 116 if (file->raw) { in file_send()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | spec | 4 # spec: file(1) magic for SPEC raw results (*.raw, *.rsf) 11 >>12 string . raw result text 15 >>37 string <: v%.4s raw result text 20 >>>20 string <: v%.4s raw result text 21 >>16 string <: v%.4s raw result text
|
| H A D | modem | 11 # Summary: CCITT Group 3 Facsimile in "raw" form (i.e. no header). 39 >>>>>>>>-0 offset !32034 raw G3 (Group 3) FAX, byte-padded 40 # version 5.25 labeled the entry above "raw G3 data, byte-padded" 45 #0 short 0x1300 raw G3 (Group 3) FAX 52 >>122 ubeshort&0xFcFf !0x8081 raw G3 (Group 3) FAX 53 # version 5.25 labeled the above entry as "raw G3 data" 57 #0 short 0x1900 raw G3 (Group 3) FAX 64 # raw modem data version 1 66 0 string RMD1 raw modem data
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send_delegation/ |
| H A D | zfs_send_test.ksh | 33 # 5. As root: attempt a send and raw send (both should succeed) 35 # 7. As root: attempt a send and raw send (both should succeed) 36 # 8. Create a delegation (zfs allow -u user send:raw testpool/encrypted_dataset) 37 # 9. As root: attempt a send and raw send (both should succeed) 39 # 11. As root: attempt a send and raw send (both should succeed) 87 # create raw delegation 88 log_must zfs allow $OTHER1 send:raw $TESTPOOL/$TESTFS1 96 # disable raw delegation 97 zfs unallow $OTHER1 send:raw $TESTPOOL/$TESTFS1
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | EVP_PKEY_new.3 | 77 \&\- public/private key allocation and raw key handling functions 147 a raw key, otherwise the duplication will fail. 156 string for a public key algorithm that supports raw private keys, e.g., one of: 168 \&\fIkey\fR points to the raw private key 179 algorithm that supports raw private keys, i.e. one of \fBEVP_PKEY_X25519\fR, 189 \&\fBEVP_PKEY_new_raw_private_key_ex()\fR except that \fIkey\fR points to the raw 191 private key information. Algorithm types that support raw public keys are 205 \&\fBEVP_PKEY_new_raw_private_key_ex()\fR except that \fIkey\fR points to the raw public 213 \&\fBEVP_PKEY_get_raw_private_key()\fR fills the buffer provided by \fIpriv\fR with raw 219 key data. This function only works for algorithms that support raw private keys. [all …]
|
| H A D | BIO_ADDR.3 | 122 Read on about the addresses in "RAW ADDRESSES" below. 129 \&\fBBIO_ADDR_rawaddress()\fR will write the raw address of the given 131 and will set \fB*l\fR to be the amount of bytes the raw address 134 with \fBp\fR set to \fBNULL\fR. The raw address will be in network byte 139 Read on about the addresses in "RAW ADDRESSES" below. 141 \&\fBBIO_ADDR_rawport()\fR returns the raw port of the given \fBBIO_ADDR\fR. 142 The raw port will be in network byte order. 162 .SH "RAW ADDRESSES" 163 .IX Header "RAW ADDRESSES"
|
| /freebsd/usr.sbin/ofwdump/ |
| H A D | ofwdump.c | 53 const char *prop, bool raw, bool str); 143 ofw_dump_properties(int fd, phandle_t n, int level, bool raw, bool str) in ofw_dump_properties() argument 150 ofw_dump_property(fd, n, level, prop, raw, str); in ofw_dump_properties() 154 ofw_dump_property(int fd, phandle_t n, int level, const char *prop, bool raw, in ofw_dump_property() argument 166 if (raw) in ofw_dump_property() 211 const char *pmatch, bool raw, bool str) in ofw_dump_node() argument 218 if (!(raw || str)) { in ofw_dump_node() 229 ofw_dump_property(fd, n, level, pmatch, raw, str); in ofw_dump_node() 231 ofw_dump_properties(fd, n, level, raw, str); in ofw_dump_node() 236 raw, str); in ofw_dump_node() [all …]
|
| /freebsd/tools/tools/net80211/ |
| H A D | README | 7 stumbler view nearby networks using raw packet interface 8 w00t variety of programs that use the raw packet interface 9 wesside WEP frag attack tool using raw packet interface 10 wlaninject inject 802.11 packets using the raw packet interface 14 The raw packet tools are from Andrea Bittau <a.bittau@cs.ucl.ac.uk>.
|
| /freebsd/share/examples/sound/ |
| H A D | midi.c | 48 unsigned char raw, type, channel, b1, b2; in main() local 54 if (read(fd, &raw, sizeof(raw)) < sizeof(raw)) in main() 56 if (!(raw & 0x80)) in main() 59 type = raw & CMD_MASK; in main() 60 channel = raw & CHANNEL_MASK; in main()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
| H A D | zfs_receive_raw.ksh | 26 # ZFS should receive streams from raw sends. 32 # 4. Attempt to receive a raw send stream as a child of an unencrypted dataset 36 # 8. Attempt to receive a raw send stream as a child of an encrypted dataset 40 # 12. Verify 'zfs receive -n' works with the raw stream 56 log_assert "ZFS should receive streams from raw sends" 69 log_note "Verify ZFS can receive a raw send stream from an encrypted dataset" 95 log_pass "ZFS can receive streams from raw sends"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
| H A D | userspace_send_encrypted.ksh | 23 # Sending raw encrypted datasets back to the source dataset succeeds. 30 # 4. Raw send both snapshots 33 # 7. Raw send latest snapshot back to source 52 log_assert "Sending raw encrypted datasets back to the source dataset succeeds." 76 # Raw send both snapshots 92 # Raw send latest snapshot back to source 120 log_pass "Sending raw encrypted datasets back to the source dataset succeeds."
|
| /freebsd/tools/boot/ |
| H A D | full-test.sh | 334 # The raw variant, currently used only on arm64. It boots with the raw interface of qemu 344 img=${IMAGES}/${ma_combo}/linuxboot-${ma_combo}-raw 383 img2=${IMAGES}/${ma_combo}/linuxboot-${ma_combo}-raw 386 out2=${SCRIPTS}/${ma_combo}/linuxboot-test-raw.sh 394 -drive file=${img},if=none,id=drive0,cache=writeback,format=raw \\ 396 -drive file=${bios_code},format=raw,if=pflash \\ 397 -drive file=${bios_vars},format=raw,if=pflash \\ 404 raw=${IMAGES}/${ma_combo}/freebsd-arm64-aarch64.img 410 -drive file=${raw},if=none,id=drive1,cache=writeback \\ 412 -drive file=${bios_code},format=raw,if=pflash \\ [all …]
|