/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioStream.cc | 73 // 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 D | audio_hdr.h | 46 * 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 D | AudioHdr.h | 110 // 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 D | crc32.c | 108 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 D | log.c | 87 #define endian (((*(int *) &one)) ? 1 : 0) macro 88 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000
|
H A D | gamma.c | 132 static int endian; variable 142 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000 150 endian = (*(int *) &one) ? 1 : 0;
|
H A D | lgamma.c | 81 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 D | crc32.c | 87 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 D | px_tools_4u.c | 88 * 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 D | sysinit.c | 64 /* 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 D | Makefile | 159 endian.5 \ 176 endian.5 := LINKSRC = byteorder.5
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_tools.c | 70 /* 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...] |