Home
last modified time | relevance | path

Searched refs:byteorder (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/usr.bin/cap_mkdb/
H A Dcap_mkdb.c70 int byteorder, c; in main() local
73 byteorder = 0; in main()
78 if (byteorder != 0) in main()
80 byteorder = c == 'b' ? 4321 : 1234; in main()
100 openinfo.lorder = byteorder; in main()
/freebsd/usr.bin/localedef/
H A Dlocaledef.c58 static int byteorder = 0; variable
231 if (byteorder == 4321) in htote()
233 else if (byteorder == 1234) in htote()
290 if (byteorder != 0) in main()
292 byteorder = c == 'b' ? 4321 : 1234; in main()
/freebsd/lib/libc/net/
H A DMakefile.inc38 MAN+= byteorder.3 ethers.3 eui64.3 \
52 MLINKS+=byteorder.3 htonl.3 \
53 byteorder.3 htons.3 \
54 byteorder.3 ntohl.3 \
55 byteorder.3 ntohs.3
/freebsd/share/man/man9/
H A DMakefile61 byteorder.9 \
789 byteorder.9 be16enc.9 \
790 byteorder.9 be16toh.9 \
791 byteorder.9 be32dec.9 \
792 byteorder.9 be32enc.9 \
793 byteorder.9 be32toh.9 \
794 byteorder.9 be64dec.9 \
795 byteorder.9 be64enc.9 \
796 byteorder.9 be64toh.9 \
797 byteorder.9 bswap16.9 \
[all …]
/freebsd/stand/libsa/
H A Dsmbios.c238 int byteorder, i, ones, zeros; in smbios_setuuid() local
269 byteorder = LITTLE_ENDIAN; in smbios_setuuid()
271 byteorder = BIG_ENDIAN; in smbios_setuuid()
273 byteorder = ver < 0x0206 ? BIG_ENDIAN : LITTLE_ENDIAN; in smbios_setuuid()
275 if (byteorder != LITTLE_ENDIAN) { in smbios_setuuid()
/freebsd/sys/contrib/openzfs/include/sys/
H A Darc.h259 void arc_get_raw_params(arc_buf_t *buf, boolean_t *byteorder, uint8_t *salt,
263 void arc_convert_to_raw(arc_buf_t *buf, uint64_t dsobj, boolean_t byteorder,
272 boolean_t byteorder, const uint8_t *salt, const uint8_t *iv,
279 arc_buf_t *arc_loan_raw_buf(spa_t *spa, uint64_t dsobj, boolean_t byteorder,
/freebsd/lib/libthread_db/
H A Dthread_db.c278 u_int size, u_int byteorder) in thr_pread() argument
290 switch (byteorder) { in thr_pread()
369 u_int size, u_int byteorder) in thr_pwrite() argument
377 switch (byteorder) { in thr_pwrite()
/freebsd/contrib/ncurses/ncurses/trace/
H A Dlib_trace.c338 } byteorder; in _nc_fmt_funcptr() local
340 byteorder.value = 0x1234; in _nc_fmt_funcptr()
346 unsigned ch = ((byteorder.bytes[0] == 0x34) in _nc_fmt_funcptr()
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c56 encoding = LIBELF_PRIVATE(byteorder); in _libelf_xlate()
135 byteswap = encoding != LIBELF_PRIVATE(byteorder); in _libelf_xlate()
H A Dlibelf_ehdr.c71 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_load_extended()
176 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_ehdr()
H A Dlibelf_phdr.c107 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_getphdr()
H A Dlibelf_open.c158 e->e_byteorder = LIBELF_PRIVATE(byteorder); in _libelf_open_object()
H A Delf_scn.c103 swapbytes = e->e_byteorder != LIBELF_PRIVATE(byteorder); in _libelf_load_section_headers()
/freebsd/usr.sbin/services_mkdb/
H A Dservices_mkdb.c89 int byteorder = 0; in main() local
102 if (byteorder != 0) in main()
104 byteorder = ch == 'b' ? 4321 : 1234; in main()
131 hinfo.lorder = byteorder; in main()
/freebsd/lib/libc/db/btree/
H A Dbt_open.c66 static int byteorder(void);
107 machine_lorder = byteorder(); in __bt_open()
408 byteorder(void) in byteorder() function
/freebsd/sys/contrib/openzfs/lib/libspl/include/
H A DMakefile.am70 %D%/os/linux/sys/byteorder.h \
85 %D%/os/freebsd/sys/byteorder.h \
/freebsd/contrib/netbsd-tests/ipf/
H A Dh_common.sh89 if [ `sysctl -n hw.byteorder` = 4321 ]; then
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DThreadElfCore.cpp352 ByteOrder byteorder = data.GetByteOrder(); in Parse() local
389 data.ExtractBytes(offset, size, byteorder, pr_fname); in Parse()
393 data.ExtractBytes(offset, size, byteorder, pr_psargs); in Parse()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c736 int byteorder; in write_ctf() local
751 byteorder = ELFDATA2MSB; in write_ctf()
753 byteorder = ELFDATA2LSB; in write_ctf()
759 if (ehdr.e_ident[EI_DATA] == byteorder) in write_ctf()
/freebsd/contrib/ntp/util/
H A DMakefile.in96 EXTRA_PROGRAMS = audio-pcm$(EXEEXT) byteorder$(EXEEXT) hist$(EXEEXT) \
166 byteorder_SOURCES = byteorder.c
167 byteorder_OBJECTS = byteorder.$(OBJEXT)
262 ./$(DEPDIR)/byteorder.Po ./$(DEPDIR)/hist.Po \
290 SOURCES = audio-pcm.c byteorder.c hist.c $(jitter_SOURCES) kern.c \
294 DIST_SOURCES = audio-pcm.c byteorder.c hist.c $(jitter_SOURCES) kern.c \
880 byteorder$(EXEEXT): $(byteorder_OBJECTS) $(byteorder_DEPENDENCIES) $(EXTRA_byteorder_DEPENDENCIES)
881 @rm -f byteorder$(EXEEXT)
951 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/byteorder.Po@am__quote@ # am--include-marker
1247 -rm -f ./$(DEPDIR)/byteorder.Po
[all …]
H A DREADME25 The byteorder.c and longsize.c programs are used during the configuration
/freebsd/contrib/netbsd-tests/sbin/resize_ffs/
H A Dcommon.sh12 if [ $(sysctl -n hw.byteorder) = "1234" ]; then
/freebsd/libexec/bootpd/
H A DAnnounce41 Cleaned-up signed/unsigned and byteorder bugs.
/freebsd/crypto/heimdal/lib/hdb/
H A Dmkey.c149 int byteorder, hdb_master_key *mkey) in read_master_mit() argument
169 krb5_storage_set_flags(sp, byteorder); in read_master_mit()
/freebsd/tests/sys/netpfil/pf/
H A Dsctp.py74 addr.sin_addr = socket.htonl(int.from_bytes(ip.packed, byteorder='big'))
118 return ''.join([chr(int.from_bytes(i, byteorder='big')) for i in buf]).rstrip('\x00')

12