Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 538) sorted by relevance

12345678910>>...22

/freebsd/contrib/lutok/
H A Dstate_test.cpp71 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()
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()
206 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_raw.c41 struct raw { struct
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()
66 raw->entries_written = 0; in archive_write_set_format_raw()
67 a->format_data = raw; in archive_write_set_format_raw()
85 struct raw *raw = (struct raw *)a->format_data; in archive_write_raw_header() local
94 if (raw->entries_written > 0) { in archive_write_raw_header()
99 raw->entries_written++; in archive_write_raw_header()
119 struct raw *raw; in archive_write_raw_free() local
[all …]
/freebsd/tools/tools/shlib-compat/
H A Dshlib-compat.py501 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/sys/arm64/rockchip/
H A Drk_tsadc.c112 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/share/examples/sound/
H A Dmidi.c48 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/include/sys/zstd/
H A Dzstd.h157 uint32_t raw = blob->raw_version_level; in zfs_get_hdrmeta() local
161 findme = BF32_GET(raw, 8*shift, 8); in zfs_get_hdrmeta()
167 res->level = BF32_GET(raw, 24, 8); in zfs_get_hdrmeta()
168 res->version = BSWAP_32(raw); in zfs_get_hdrmeta()
172 res->level = BF32_GET(raw, 0, 8); in zfs_get_hdrmeta()
173 res->version = BSWAP_32(raw); in zfs_get_hdrmeta()
177 res->level = BF32_GET(raw, 24, 8); in zfs_get_hdrmeta()
178 res->version = BF32_GET(raw, 0, 24); in zfs_get_hdrmeta()
181 res->level = BF32_GET(raw, 0, 8); in zfs_get_hdrmeta()
182 res->version = BF32_GET(raw, 8, 24); in zfs_get_hdrmeta()
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c51 return !(gid->raw[8] | gid->raw[9] | gid->raw[10] | gid->raw[11] | in null_gid()
52 gid->raw[12] | gid->raw[13] | gid->raw[14] | gid->raw[15]); in null_gid()
180 gid.raw[ 0], gid.raw[ 1], in print_all_port_gids()
181 gid.raw[ 2], gid.raw[ 3], in print_all_port_gids()
182 gid.raw[ 4], gid.raw[ 5], in print_all_port_gids()
183 gid.raw[ 6], gid.raw[ 7], in print_all_port_gids()
184 gid.raw[ 8], gid.raw[ 9], in print_all_port_gids()
185 gid.raw[10], gid.raw[11], in print_all_port_gids()
186 gid.raw[12], gid.raw[13], in print_all_port_gids()
187 gid.raw[14], gid.raw[15]); in print_all_port_gids()
/freebsd/usr.sbin/ofwdump/
H A Dofwdump.c53 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/contrib/file/magic/Magdir/
H A Dspec4 # 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 Dmodem11 # 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/sbin/ipf/libipf/
H A Dsave_file.c13 int raw; member
41 ctx->raw = 1; in file_parse()
65 if (f1->raw != f2->raw) in file_match()
88 if (file->raw) in file_print()
116 if (file->raw) { in file_send()
/freebsd/contrib/kyua/utils/sqlite/
H A Ddatabase_test.cpp50 create_test_table(raw(db)); in ATF_TEST_CASE_BODY()
51 verify_test_table(raw(db)); in ATF_TEST_CASE_BODY()
70 verify_test_table(raw(db)); in ATF_TEST_CASE_BODY()
91 create_test_table(raw(db)); in ATF_TEST_CASE_BODY()
126 create_test_table(raw(db)); in ATF_TEST_CASE_BODY()
127 verify_test_table(raw(db)); in ATF_TEST_CASE_BODY()
147 create_test_table(raw(db2)); in ATF_TEST_CASE_BODY()
149 verify_test_table(raw(db1)); in ATF_TEST_CASE_BODY()
153 verify_test_table(raw(db1)); in ATF_TEST_CASE_BODY()
200 verify_test_table(raw(db)); in ATF_TEST_CASE_BODY()
/freebsd/tools/tools/net80211/
H A DREADME7 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
15 The raw packet tools are from Andrea Bittau <a.bittau@cs.ucl.ac.uk>.
/freebsd/usr.sbin/bhyve/
H A Dbhyvegc.c39 int raw; member
55 gc->raw = 1; in bhyvegc_init()
58 gc->raw = 0; in bhyvegc_init()
69 gc->raw = 1; in bhyvegc_set_fbaddr()
84 if (!gc->raw) { in bhyvegc_resize()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c68 mcast->mcmember.mgid.raw, ":"); in ipoib_mcast_free()
111 ret = memcmp(mgid, mcast->mcmember.mgid.raw, in __ipoib_mcast_find()
136 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, in __ipoib_mcast_add()
165 if (!memcmp(mcast->mcmember.mgid.raw, if_getbroadcastaddr(dev) + 4, in ipoib_mcast_join_finish()
181 mcast->mcmember.mgid.raw, ":"); in ipoib_mcast_join_finish()
190 mcast->mcmember.mgid.raw, ":"); in ipoib_mcast_join_finish()
222 mcast->mcmember.mgid.raw, ":", in ipoib_mcast_join_finish()
262 mcast->mcmember.mgid.raw, ":", status); in ipoib_mcast_sendonly_join_complete()
317 mcast->mcmember.mgid.raw, ":"); in ipoib_mcast_sendonly_join()
349 mcast->mcmember.mgid.raw, ":", status); in ipoib_mcast_join_complete()
[all …]
/freebsd/crypto/openssl/test/
H A Dpunycode_test.c19 unsigned int raw[50]; member
157 for (i = 0; i < OSSL_NELEM(tc->raw); i++) in test_punycode()
158 if (tc->raw[i] == 0) in test_punycode()
161 tc->raw, i * sizeof(*tc->raw))) in test_punycode()
H A Dpemtest.c18 const char *raw; member
40 const char *raw = b64_pem_data[idx].raw; in test_b64() local
51 || !TEST_int_eq(len, strlen(raw)) in test_b64()
52 || !TEST_int_eq(memcmp(data, raw, strlen(raw)), 0)) in test_b64()
/freebsd/usr.bin/bintrans/
H A Duuencode.c63 static bool raw; variable
70 raw = 1; in main_base64_encode()
105 raw = true; in main_encode()
172 if (!raw) in base64_encode()
193 if (!raw) in base64_encode()
207 if (!raw) in encode()
242 if (!raw) in encode()
/freebsd/tools/boot/
H A Dfull-test.sh304 img=${IMAGES}/${ma_combo}/linuxboot-${ma_combo}-raw
343 img2=${IMAGES}/${ma_combo}/linuxboot-${ma_combo}-raw
346 out2=${SCRIPTS}/${ma_combo}/linuxboot-test-raw.sh
354 -drive file=${img},if=none,id=drive0,cache=writeback,format=raw \\
356 -drive file=${bios_code},format=raw,if=pflash \\
357 -drive file=${bios_vars},format=raw,if=pflash \\
364 raw=${IMAGES}/${ma_combo}/freebsd-arm64-aarch64.img
370 -drive file=${raw},if=none,id=drive1,cache=writeback \\
372 -drive file=${bios_code},format=raw,if=pflash \\
373 -drive file=${bios_vars},format=raw,if=pflash \\
[all …]
/freebsd/sys/ofed/include/rdma/
H A Dib_addr.h197 memcpy(gid->raw, &((const struct sockaddr_in6 *)addr)->sin6_addr, 16); in rdma_ip2gid()
199 if (IN6_IS_SCOPE_LINKLOCAL((struct in6_addr *)gid->raw) || in rdma_ip2gid()
200 IN6_IS_ADDR_MC_INTFACELOCAL((struct in6_addr *)gid->raw)) { in rdma_ip2gid()
201 gid->raw[2] = 0; in rdma_ip2gid()
202 gid->raw[3] = 0; in rdma_ip2gid()
219 memcpy(&out_in->sin_addr.s_addr, gid->raw + 12, 4); in rdma_gid2ip()
225 memcpy(&out_in->sin6_addr.s6_addr, gid->raw, 16); in rdma_gid2ip()
363 vid = dgid->raw[11] << 8 | dgid->raw[12]; in rdma_get_vlan_id()
/freebsd/tools/tools/net80211/w00t/redir/
H A Dbuddy.c99 void handle_dude(int dude, int raw) in handle_dude() argument
105 rd = recv(raw, buf, sizeof(buf), 0); in handle_dude()
124 int raw; in main() local
131 if ((raw = socket(PF_INET, SOCK_RAW, 0)) == -1) in main()
153 handle_dude(dude, raw); in main()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c841 sgid->raw[8] = mac_addr[0] ^ 2; in qlnxr_build_sgid_mac()
842 sgid->raw[9] = mac_addr[1]; in qlnxr_build_sgid_mac()
843 sgid->raw[10] = mac_addr[2]; in qlnxr_build_sgid_mac()
845 sgid->raw[11] = vlan_id >> 8; in qlnxr_build_sgid_mac()
846 sgid->raw[12] = vlan_id & 0xff; in qlnxr_build_sgid_mac()
848 sgid->raw[11] = 0xff; in qlnxr_build_sgid_mac()
849 sgid->raw[12] = 0xfe; in qlnxr_build_sgid_mac()
851 sgid->raw[13] = mac_addr[3]; in qlnxr_build_sgid_mac()
852 sgid->raw[14] = mac_addr[4]; in qlnxr_build_sgid_mac()
853 sgid->raw[15] = mac_addr[5]; in qlnxr_build_sgid_mac()
[all …]
/freebsd/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc2man20 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
21 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
49 Mdoc::def_macro( '.An', sub { ".NOP ", @_, "\n.br" }, raw => 1 );
107 }, raw => 1);
112 }, raw => 1);
140 }}, raw => 1);
/freebsd/contrib/ntp/sntp/ag-tpl/
H A Dmdoc2man46 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
47 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
75 Mdoc::def_macro( '.An', sub { ".NOP ", @_, "\n.br" }, raw => 1 );
133 }, raw => 1);
138 }, raw => 1);
166 }}, raw => 1);
/freebsd/sys/dev/bxe/
H A Decore_sp.c334 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw) in ecore_raw_wait() argument
336 return ecore_state_wait(sc, raw->state, raw->pstate); in ecore_raw_wait()
879 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_get_rx_tx_flag() local
882 if ((raw->obj_type == ECORE_OBJ_TYPE_TX) || in ecore_vlan_mac_get_rx_tx_flag()
883 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
886 if ((raw->obj_type == ECORE_OBJ_TYPE_RX) || in ecore_vlan_mac_get_rx_tx_flag()
887 (raw->obj_type == ECORE_OBJ_TYPE_RX_TX)) in ecore_vlan_mac_get_rx_tx_flag()
938 struct ecore_raw_obj *raw = &o->raw; in ecore_vlan_mac_set_cmd_hdr_e2() local
940 hdr->client_id = raw->cl_id; in ecore_vlan_mac_set_cmd_hdr_e2()
941 hdr->func_id = raw->func_id; in ecore_vlan_mac_set_cmd_hdr_e2()
[all …]

12345678910>>...22