Searched refs:endian (Results 1 - 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/boot/sys/i386/include/
H A Dendian.h6 #include <x86/endian.h>
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dendian.h6 #include <x86/endian.h>
/illumos-gate/usr/src/boot/include/
H A Da.out.h38 #include <sys/endian.h>
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_byteorder.c25 #include <endian.h>
66 "illegal byte order, only big and little-endian supported");
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dendian.c16 #include <endian.h>
19 * General endian(3C) functions that are basically no-ops.
H A Dbyteorder.s36 * other debuggers to tell them apart. With the endian
79 / Convert in to big endian, eg. htons()
90 / Convert in to big endian, eg. htonl()
101 / Convert in to little endian, eg. ntohs()
121 / Convert in to little endian, eg. ntohl()
H A Dbyteorder64.c35 #error Use ISA-dependent byteorder64.c only on a 32-bit little-endian machine.
/illumos-gate/usr/src/lib/libtnf/
H A Dmachlibtnf.h52 #error Unknown endian
/illumos-gate/usr/src/boot/lib/libc/net/
H A Dntoh.c30 #include <sys/endian.h>
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioStream.cc73 // Check the endian nature of the data, and change if necessary.
76 AudioEndian endian)
78 // If the stream isn't endian sensitive, don't bother.
82 if (hdr.endian == endian) {
84 AUDIO_DEBUG((1, "AudioStream: endian swap not needed, byte"
99 AUDIO_DEBUG((1, "AudioStream: converting endian.\n"));
100 // printf("AudioStream: converting endian.\n");
105 // This routine knows if the current format is endian sensitive.
109 // Only these encodings have endian problem
75 coerceEndian(unsigned char *buf, size_t len, AudioEndian endian) argument
[all...]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioHdr.h110 // is 16-bit. All variables of this type will have the prefix "endian".
114 SWITCH_ENDIAN = 2, // Flag to switch to the opposite endian, used
128 AudioEndian endian; // byte order member in class:AudioHdr
136 endian = localByteOrder();
148 endian = localByteOrder();
151 // Determines the local byte order, otherwise know as the endian
195 hdr.endian = endian;
207 // place, but doesn't know how to convert between endian formats.
208 // This makes it ignore endian difference
[all...]
H A Daudio_hdr.h46 * endian Byte order of 16-bit or greater PCM,
96 unsigned endian; /* byte order */ member in struct:__anon25
116 * Define the possible endian types.
120 #define AUDIO_ENDIAN_UNKNOWN 2 /* Unknown endian */
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dbyteorder.c33 #error Use ISA-specific byteorder.s on a little-endian machine.
40 * byte order is the same as the network byte order (big endian).
41 * On little endian machines, these functions byte swap.
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dbyteorder.c33 #error Use ISA-specific byteorder.s on a little-endian machine.
40 * byte order is the same as the network byte order (big endian).
41 * On little endian machines, these functions byte swap.
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dendian.c17 * General, no-op functions for endian(3C). The rest are in byteorder.s.
20 #include <endian.h>
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c88 * Type is TRUE for big endian, FALSE for little endian.
162 * Type is TRUE for big endian, FALSE for little endian.
261 boolean_t endian = PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr); local
276 size, (endian ? "BE" : "LE"), phys_addr);
278 if (pxtool_safe_phys_poke(px_p, endian, size, phys_addr,
283 size, (endian ? "BE" : "LE"), phys_addr);
293 size, (endian ? "BE" : "LE"), phys_addr);
295 if (pxtool_safe_phys_peek(px_p, endian, siz
[all...]
H A Dpx_asm_4u.s58 ! %o3 is 0 for little endian, non-zero for big endian
79 movz %xcc, ASI_IOL, %g1 ! Big/little endian physical space
126 ! %o3 is 0 for little endian, non-zero for big endian
135 movz %xcc, ASI_IOL, %g1 ! Big/little endian physical space
/illumos-gate/usr/src/boot/lib/libstand/
H A Din_cksum.c42 #include <machine/endian.h>
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_asm.s30 * Assembly language support for physical big/little endian access of pcitool
56 ! %o3 is 0 for little endian, non-zero for big endian
75 movz %xcc, ASI_IOL, %g1 ! Big/little endian physical space
122 ! %o3 is 0 for little endian, non-zero for big endian
/illumos-gate/usr/src/test/libc-tests/tests/
H A DMakefile36 endian \
/illumos-gate/usr/src/boot/sys/boot/usb/tools/
H A Dsysinit.c64 /* the following function converts the numbers into host endian format */
70 uint32_t endian; local
72 endian = endian32;
76 temp |= (val & 0xF) << ((endian & 0xF) * 4);
77 endian >>= 4;
238 /* switch all fields to host endian order */
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h61 # include <endian.h>
64 # include <machine/endian.h>
74 similarily - as big endian. See definition of "WORDS_BIGENDIAN" in
81 Ignore "PDP endian" machines, this code doesn't support them
178 * Little endian <==> big endian 32-bit swap macros.
205 * Little endian <==> big endian 16-bit swap macros.
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dlog.c87 #define endian (((*(int *) &one)) ? 1 : 0) macro
88 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000
/illumos-gate/usr/src/head/arpa/
H A Dnameser_compat.h76 #include <machine/endian.h>
79 #include <endian.h>
/illumos-gate/usr/src/man/man5/
H A DMakefile159 endian.5 \
176 endian.5 := LINKSRC = byteorder.5

Completed in 127 milliseconds

123