Searched defs:endian (Results 1 - 12 of 12) sorted by relevance

/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 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 */
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...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dcrc32.c108 allow for word-at-a-time CRC calculation for both big-endian and little-
109 endian machines, where a word is four bytes.
238 u4 endian; local
240 endian = 1;
241 if (*((unsigned char *)(&endian)))
/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
H A Dgamma.c132 static int endian; variable
142 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000
150 endian = (*(int *) &one) ? 1 : 0;
H A Dlgamma.c81 static int endian; variable
88 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000
155 endian = ((*(int *) &one)) ? 1 : 0;
/illumos-gate/usr/src/boot/lib/libz/
H A Dcrc32.c87 allow for word-at-a-time CRC calculation for both big-endian and little-
88 endian machines, where a word is four bytes.
218 z_crc_t endian; local
220 endian = 1;
221 if (*((unsigned char *)(&endian)))
/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...]
/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/man/man5/
H A DMakefile159 endian.5 \
176 endian.5 := LINKSRC = byteorder.5
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c70 /* Big and little endian as boolean values. */
106 uint64_t *data, uint8_t size, boolean_t write, boolean_t endian,
124 * Type is TRUE for big endian, FALSE for little endian.
186 * Type is TRUE for big endian, FALSE for little endian.
557 uint64_t *data, uint8_t size, boolean_t write, boolean_t endian,
585 size, (endian ? "BE" : "LE"), phys_addr);
587 if (pcitool_phys_poke(pci_p, endian, size, phys_addr,
592 size, (endian
556 pcitool_access(pci_t *pci_p, uint64_t phys_addr, uint64_t max_addr, uint64_t *data, uint8_t size, boolean_t write, boolean_t endian, uint32_t *pcitool_status) argument
[all...]

Completed in 72 milliseconds