HomeSort by: relevance | last modified time | path
    Searched refs:htobe16 (Results 1 - 25 of 67) sorted by relevancy

1 2 3

  /src/external/bsd/nsd/dist/simdzone/src/generic/
ilnp64.h 49 a[0] = htobe16(a[0]);
50 a[1] = htobe16(a[1]);
51 a[2] = htobe16(a[2]);
52 a[3] = htobe16(a[3]);
endian.h 24 #define htobe16(x) _byteswap_ushort(x) macro
38 #define htobe16(x) (x) macro
66 #define htobe16(x) OSSwapHostToBigInt16(x) macro
187 # if !defined htobe16
188 # define htobe16(x) htobe(16,(x)) macro
cert.h 117 cert = htobe16(cert);
svcb.h 178 port = htobe16(port);
396 group = htobe16(group);
601 key = htobe16(key);
617 key = htobe16(key);
641 key = htobe16(key);
701 key = htobe16(key);
737 key = htobe16(key);
904 key = htobe16(key);
908 length = htobe16(length);
1026 key = htobe16(key)
    [all...]
  /src/external/bsd/libfido2/dist/src/
tpm.c 189 x->alg = htobe16(x->alg);
190 x->hash = htobe16(x->hash);
192 x->policy.size = htobe16(x->policy.size);
193 x->param.symmetric = htobe16(x->param.symmetric);
194 x->param.scheme = htobe16(x->param.scheme);
195 x->param.keybits = htobe16(x->param.keybits);
196 x->key.size = htobe16(x->key.size);
202 x->alg = htobe16(x->alg);
203 x->hash = htobe16(x->hash);
205 x->policy.size = htobe16(x->policy.size)
    [all...]
  /src/sys/arch/macppc/stand/fixcoff/
fixcoff.c 171 *(uint16_t *)aoh.magic = htobe16(RS6K_AOUTHDR_ZMAGIC);
178 *(uint16_t *)(aoh.o_snentry) = htobe16(i+1);
179 *(uint16_t *)(aoh.o_sntext) = htobe16(i+1);
181 *(uint16_t *)(aoh.o_sndata) = htobe16(i+1);
183 *(uint16_t *)(aoh.o_snbss) = htobe16(i+1);
  /src/sys/arch/hp300/stand/mkboot/
mkboot.c 157 lifd[1].dir_type = htobe16(0xFFFF);
160 lifd[1].dir_flag = htobe16(0x00FF);
165 lifv.vol_id = htobe16(HP300_VOL_ID);
168 lifv.vol_oct = htobe16(HP300_VOL_OCT);
170 lifv.vol_version = htobe16(1);
177 lifd[0].dir_type = htobe16(HP300_DIR_TYPE);
181 lifd[0].dir_flag = htobe16(HP300_DIR_FLAG);
192 lifd[1].dir_type = htobe16(HP300_DIR_TYPE);
196 lifd[1].dir_flag = htobe16(HP300_DIR_FLAG);
209 lifd[2].dir_type = htobe16(HP300_DIR_TYPE)
    [all...]
  /src/sys/external/bsd/common/include/asm/
byteorder.h 48 #define cpu_to_be16 htobe16
  /src/sys/arch/macppc/stand/mkboothfs/
mkboothfs.c 91 dm.sbSig = htobe16(APPLE_DRVR_MAP_MAGIC);
92 dm.sbBlockSize = htobe16(2048);
94 dm.sbDevType = htobe16(1);
95 dm.sbDevID = htobe16(1);
107 pme.pmSig = htobe16(APPLE_PART_MAP_ENTRY_MAGIC);
  /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
endian.h 46 #define htobe16(x) _byteswap_ushort(x) macro
69 #define htobe16(x) OSSwapHostToBigInt16(x) macro
140 #ifndef htobe16
143 #define htobe16(x) (x) macro
150 #define htobe16(x) bswap_16(x) macro
156 #endif /* !htobe16 */
  /src/crypto/external/cpl/trousers/dist/src/include/
portable_endian.h 21 # define htobe16(x) OSSwapHostToBigInt16(x) macro
65 # define htobe16(x) htons(x) macro
83 # define htobe16(x) (x) macro
  /src/usr.sbin/installboot/arch/
macppc.c 119 dm.sbSig = htobe16(APPLE_DRVR_MAP_MAGIC);
120 dm.sbBlockSize = htobe16(512);
153 pme.pmSig = htobe16(APPLE_PART_MAP_ENTRY_MAGIC);
170 pme.pmSig = htobe16(APPLE_PART_MAP_ENTRY_MAGIC);
alpha.c 411 bb16[BB_ADJUST_OFFSET + 2] = htobe16(SUN_DKMAGIC) - bb16[254];
453 if (bb16[254] != htobe16(SUN_DKMAGIC))
455 htobe16(SUN_DKMAGIC));
  /src/external/bsd/libfido2/dist/openbsd-compat/
openbsd-compat.h 22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro
36 #define htobe16(x) htons((x)) macro
  /src/sys/arch/sgimips/stand/sgivol/
sgivol.c 338 volhdr->root = htobe16(0);
339 volhdr->swap = htobe16(1);
350 htobe16(st.st_size / (SGIVOL_NBTOOL_NSECS * SGIVOL_NBTOOL_NTRACKS));
352 volhdr->dp.dp_cyls = htobe16(lbl.d_ncylinders);
356 volhdr->dp.dp_trks0 = htobe16(SGIVOL_NBTOOL_NTRACKS);
357 volhdr->dp.dp_secs = htobe16(SGIVOL_NBTOOL_NSECS);
358 volhdr->dp.dp_secbytes = htobe16(SGI_BOOT_BLOCK_BLOCKSIZE);
359 volhdr->dp.dp_interleave = htobe16(1);
361 volhdr->dp.dp_trks0 = htobe16(lbl.d_ntracks);
362 volhdr->dp.dp_secs = htobe16(lbl.d_nsectors)
    [all...]
  /src/sys/net/agr/
if_agrether_hash.c 90 if (etype == htobe16(ETHERTYPE_VLAN)) {
111 if (etype == htobe16(ETHERTYPE_IP)) {
126 } else if (etype == htobe16(ETHERTYPE_IPV6)) {
  /src/sys/ufs/ffs/
ffs_appleufs.c 70 res += htobe16(*(u_char *)p<<8);
147 appleufs->ul_namelen = htobe16(namelen);
  /src/external/mpl/bind/dist/lib/isc/include/isc/
endian.h 45 #define htobe16(x) OSSwapHostToBigInt16(x) macro
116 #ifndef htobe16
119 #define htobe16(x) (x) macro
126 #define htobe16(x) bswap_16(x) macro
132 #endif /* !htobe16 */
  /src/sys/arch/hppa/stand/mkboot/
mkboot.c 172 lifv->vol_id = htobe16(HPPA_LIF_VOL_ID);
175 lifv->vol_oct = htobe16(HPPA_LIF_VOL_OCT);
177 lifv->vol_version = htobe16(1);
197 lifd[optind].dir_type = htobe16(HPPA_LIF_DIR_ISL);
200 lifd[optind].dir_type = htobe16(HPPA_LIF_DIR_TYPE);
208 lifd[optind].dir_flag = htobe16(HPPA_LIF_DIR_FLAG);
215 lifd[optind].dir_type = htobe16(0xffff);
  /src/sys/dev/ic/
qemufwcfg.c 52 #define FWCFG_SEL_SWAP htobe16
57 #define FWCFG_SEL_SWAP htobe16
  /src/sys/dev/gpib/
cs80bus.c 296 ssm.c_refm = htobe16(REF_MASK);
297 ssm.c_fefm = htobe16(FEF_MASK);
298 ssm.c_aefm = htobe16(AEF_MASK);
299 ssm.c_iefm = htobe16(IEF_MASK);
  /src/sys/arch/hpc/stand/include/machine/
endian.h 162 #define htobe16(x) (x) macro
169 #define HTOBE16(x) (void) (x)
178 #define htobe16(x) bswap16((uint16_t)(x))
185 #define HTOBE16(x) (x) = bswap16((uint16_t)(x))
194 #define be16toh(x) htobe16(x)
201 #define BE16TOH(x) HTOBE16(x)
  /src/sys/dev/pci/
if_mcx.c 2846 htobe16(MCX_CMD_QUERY_PAGES_BOOT)) != 0) {
2862 htobe16(MCX_CMD_QUERY_PAGES_INIT)) != 0) {
2873 htobe16(MCX_CMD_QUERY_PAGES_REGULAR)) != 0) {
3081 mcx_teardown_hca(sc, htobe16(MCX_CMD_TEARDOWN_HCA_GRACEFUL));
3354 in->cmd_opcode = htobe16(MCX_CMD_ENABLE_HCA);
3355 in->cmd_op_mod = htobe16(0);
3356 in->cmd_function_id = htobe16(0);
3392 in->cmd_opcode = htobe16(MCX_CMD_TEARDOWN_HCA);
3393 in->cmd_op_mod = htobe16(0);
3641 in->cmd_opcode = htobe16(MCX_CMD_ACCESS_REG)
    [all...]
  /src/sys/arch/evbarm/mpcsa/
mpcsa_leds.c 199 return (sc->sc_pinstate & htobe16(1U << pin)) ? 1 : 0;
214 sc->sc_pinstate |= htobe16(1U << pin);
216 sc->sc_pinstate &= htobe16(~(1U << pin));
282 HTOBE16(pins);
  /src/sys/sys/
endian.h 144 #define htobe16(x) __CAST(uint16_t, (x)) macro
151 #define HTOBE16(x) __CAST(void, (x))
160 #define htobe16(x) bswap16(__CAST(uint16_t, (x)))
167 #define HTOBE16(x) (x) = bswap16(__CAST(uint16_t, (x)))
176 #define be16toh(x) htobe16(x)
183 #define BE16TOH(x) HTOBE16(x)

Completed in 58 milliseconds

1 2 3