/freebsd/usr.bin/cap_mkdb/ |
H A D | cap_mkdb.c | 70 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 D | localedef.c | 58 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 D | Makefile.inc | 37 MAN+= byteorder.3 ethers.3 eui64.3 \ 51 MLINKS+=byteorder.3 htonl.3 \ 52 byteorder.3 htons.3 \ 53 byteorder.3 ntohl.3 \ 54 byteorder.3 ntohs.3
|
/freebsd/share/man/man9/ |
H A D | Makefile | 60 byteorder.9 \ 796 MLINKS+=byteorder.9 be16dec.9 \ 797 byteorder.9 be16enc.9 \ 798 byteorder.9 be16toh.9 \ 799 byteorder.9 be32dec.9 \ 800 byteorder.9 be32enc.9 \ 801 byteorder.9 be32toh.9 \ 802 byteorder.9 be64dec.9 \ 803 byteorder.9 be64enc.9 \ 804 byteorder.9 be64toh.9 \ [all …]
|
/freebsd/stand/libsa/ |
H A D | smbios.c | 256 int byteorder, i, ones, zeros; in smbios_setuuid() local 287 byteorder = LITTLE_ENDIAN; in smbios_setuuid() 289 byteorder = BIG_ENDIAN; in smbios_setuuid() 291 byteorder = ver < 0x0206 ? BIG_ENDIAN : LITTLE_ENDIAN; in smbios_setuuid() 293 if (byteorder != LITTLE_ENDIAN) { in smbios_setuuid()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | arc.h | 275 void arc_get_raw_params(arc_buf_t *buf, boolean_t *byteorder, uint8_t *salt, 279 void arc_convert_to_raw(arc_buf_t *buf, uint64_t dsobj, boolean_t byteorder, 288 boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, 295 arc_buf_t *arc_loan_raw_buf(spa_t *spa, uint64_t dsobj, boolean_t byteorder,
|
/freebsd/lib/libthread_db/ |
H A D | thread_db.c | 278 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/usr.sbin/services_mkdb/ |
H A D | services_mkdb.c | 89 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/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 56 encoding = LIBELF_PRIVATE(byteorder); in _libelf_xlate() 135 byteswap = encoding != LIBELF_PRIVATE(byteorder); in _libelf_xlate()
|
H A D | libelf_ehdr.c | 71 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_load_extended() 176 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_ehdr()
|
H A D | libelf_phdr.c | 107 e->e_byteorder != LIBELF_PRIVATE(byteorder)); in _libelf_getphdr()
|
H A D | libelf_open.c | 158 e->e_byteorder = LIBELF_PRIVATE(byteorder); in _libelf_open_object()
|
H A D | elf_scn.c | 103 swapbytes = e->e_byteorder != LIBELF_PRIVATE(byteorder); in _libelf_load_section_headers()
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_trace.c | 387 } byteorder; in _nc_fmt_funcptr() local 389 byteorder.value = 0x1234; in _nc_fmt_funcptr() 395 unsigned ch = ((byteorder.bytes[0] == 0x34) in _nc_fmt_funcptr()
|
/freebsd/lib/libc/db/btree/ |
H A D | bt_open.c | 66 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 D | Makefile.am | 70 %D%/os/linux/sys/byteorder.h \ 85 %D%/os/freebsd/sys/byteorder.h \
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ThreadElfCore.cpp | 358 ByteOrder byteorder = data.GetByteOrder(); in Parse() local 395 data.ExtractBytes(offset, size, byteorder, pr_fname); in Parse() 399 data.ExtractBytes(offset, size, byteorder, pr_psargs); in Parse()
|
/freebsd/contrib/netbsd-tests/ipf/ |
H A D | h_common.sh | 89 if [ `sysctl -n hw.byteorder` = 4321 ]; then
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 736 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 D | Makefile.in | 96 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 [all...] |
H A D | README | 25 The byteorder.c and longsize.c programs are used during the configuration
|
/freebsd/contrib/netbsd-tests/sbin/resize_ffs/ |
H A D | common.sh | 12 if [ $(sysctl -n hw.byteorder) = "1234" ]; then
|
/freebsd/libexec/bootpd/ |
H A D | Announce | 41 Cleaned-up signed/unsigned and byteorder bugs.
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | mkey.c | 149 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 D | sctp.py | 74 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')
|