Searched refs:byte (Results 1 - 25 of 246) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_gdt.s61 .byte 0x0 /* segment base 16..23 */
62 .byte 0x92 /* P = 1, read/write data */
63 .byte 0xCF /* G=1, B=1, Limit (16..19)=1111 */
64 .byte 0x0 /* segment base 24..32 */
69 .byte 0x0 /* segment base 16..23 */
70 .byte 0x9A /* P=1, code, exec, readable */
71 .byte 0xCF /* G=1, D=1, Limit (16..19)=1111 */
72 .byte 0x0 /* segment base 24..32 */
79 .byte 0x0 /* segment base 16..23 */
80 .byte
[all...]
/illumos-gate/usr/src/lib/common/i386/
H A Dfsr.s37 .4byte __fsr_init_value
62 .byte 0b11111111
63 .byte 0b11011111
64 .byte 0b11111011
65 .byte 0b11011011
66 .byte 0b11101111
67 .byte 0b11001111
68 .byte 0b11101011
69 .byte 0b11001011
70 .byte
[all...]
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dsock2p.c56 const unsigned char *byte = (const unsigned char *) local
59 byte[0] * 256 + byte[1],
60 byte[2] * 256 + byte[3],
61 byte[4] * 256 + byte[5],
62 byte[6] * 256 + byte[7],
63 byte[
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Dtst.badinstr.s35 .byte 0xff
36 .byte 0xff
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbtranslate.c39 * Translate process code to byte-equivalent
40 * Return the length of the byte-equivalent string
49 * Translate a set of byte to a single process code
58 * Translate a string of wchar_t to a byte string.
60 * byte: if not NULL, space to store the output string
64 *_strcode2byte(wchar_t *code, char *byte, int n) argument
77 if (!byte && (n*CSMAX+1) > bufsize) {
86 if (!byte && !buf)
90 bufp = byte ? byte
107 _strbyte2code(char *byte, wchar_t *code, int n) argument
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dnfold.c62 int byte, i, msbit; local
86 byte = 0;
91 /* compute the msbit in k which gets added into this byte */
93 byte */
95 /* then, for each byte, shift to the right for each
98 /* last, pick out the correct byte within that
103 /* pull out the byte value itself */
104 byte += (((in[((inbits-1)-(msbit>>3))%inbits]<<8)|
109 byte += out[i%outbits];
110 out[i%outbits] = byte
[all...]
/illumos-gate/usr/src/uts/i86xpv/ml/
H A Dxenguest.s46 .4byte 2f - 1f; \
47 .4byte 4f - 3f; \
48 .4byte id; \
61 NOTE("Xen", XEN_ELFNOTE_VIRT_BASE, .4byte, 0x40000000)
62 NOTE("Xen", XEN_ELFNOTE_PADDR_OFFSET, .4byte, 0x40000000)
/illumos-gate/usr/src/lib/libfruutils/
H A Dfru_tag.c168 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1];
174 tmp32 = (tag->byte[0] << 16) | (tag->byte[1] << 8) | tag->byte[2];
181 tmp32 = (tag->byte[0] << 24) | (tag->byte[1] << 16) |
182 (tag->byte[2] << 8) | tag->byte[3];
187 tmp64 = ((uint64_t)tag->byte[
[all...]
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Djson_02_numbers.ksh22 "byte":255,\
41 add_byte "byte" "0";
42 add_byte "byte" "255";
/illumos-gate/usr/src/uts/sun4u/sys/i2c/clients/
H A Dpcf8574_impl.h39 * PCF8574_BIT_READ_MASK takes in a byte from the device and the bit that
40 * the user wants to read. I shifts the byte over so that the bit that we
41 * want is in the 1's bit and masks out the rest of the byte.
43 #define PCF8574_BIT_READ_MASK(byte, bit) ((byte >> bit) & 0x01)
46 * PCF8574_BIT_WRITE_MASK takes in a byte from the device, the bit that the
48 * bit. It zero's out the bit that we are writing to in the byte and then or's
50 * that bit in the byte
52 #define PCF8574_BIT_WRITE_MASK(byte, bit, value)\
53 ((value << bit) | (byte
[all...]
H A Dssc100_impl.h39 * SSC100_BIT_READ_MASK takes in a byte from the device and the bit that
40 * the user wants to read. I shifts the byte over so that the bit that we
41 * want is in the 1's bit and masks out the rest of the byte.
43 #define SSC100_BIT_READ_MASK(byte, bit) ((byte >> bit) & 0x01)
46 * SSC100_BIT_WRITE_MASK takes in a byte from the device, the bit that the
48 * bit. It zero's out the bit that we are writing to in the byte and then or's
50 * that bit in the byte
52 #define SSC100_BIT_WRITE_MASK(byte, bit, value)\
53 ((value << bit) | (byte
[all...]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemccpy.s38 movb %dh,(%rdi) / move byte
39 cmpb %dh,%dl / is it the byte sought?
45 movb %dh,1(%rdi) / move byte
46 cmpb %dh,%dl / is it the byte sought?
52 movb %dh,2(%rdi) / move byte
53 cmpb %dh,%dl / is it the byte sought?
59 movb %dh,3(%rdi) / move byte
62 cmpb %dh,%dl / is it the byte sought?
67 incq %rdi / return pointer to next byte in dest
75 addq $2,%rdi / return pointer to next byte i
[all...]
H A Dmemchr.s67 cmpb %cl, %al / if the first byte is %al
69 cmpb %ch, %al / if the second byte is %al
72 cmpb %cl, %al / if the third byte is %al
83 cmpb (%rdi), %al / if a byte in (%rdi) is %al
86 incq %rdi / next byte
96 cmpb (%rdi), %al / if a byte in (%rdi) is %al
98 incq %rdi / next byte
107 / found at the fourth byte
110 / found at the third byte
113 / found at the second byte
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_leb.c49 unsigned char byte; local
90 than the default int/unsigned, we must cast the 'byte' before
95 byte = *(leb128);
97 number |= ((Dwarf_Unsigned) (byte & 0x7f)) << shift;
99 if ((byte & 0x80) == 0) {
108 byte = *leb128;
123 unsigned char byte = *leb128; local
130 sign = byte & 0x40;
131 number |= ((Dwarf_Signed) ((byte & 0x7f))) << shift;
134 if ((byte
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm64/
H A Dstart.S51 /* The PE32 Signature. Needs to be 8-byte aligned */
67 .byte 0 /* Major linker version */
68 .byte 0 /* Minor linker version */
109 .byte 0
110 .byte 0 /* Pad to 8 bytes */
124 .byte 0
125 .byte 0
126 .byte 0 /* Pad to 8 bytes */
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrncpy.s62 ! is copied based upon destination alignment. (byte, half-word,
72 blu .shortcpy ! n < 7, use byte-wise copy
78 nop ! align loop on 16-byte boundary
79 nop ! align loop on 16-byte boundary
86 tst %i1 ! end of src reached (null byte) ?
87 bz,a .bytepad ! yes, at least one byte to pad here
90 bnz .alignsrc ! no, copy another byte
109 bz,a .storeword ! no zero byte if magic expression == 0
117 srl %i1, 24, %g1 ! first byte
119 sub %g1, 1, %g1 ! byte
[all...]
H A Dstrcpy.s58 ! Methods exist to handle per-byte, half-word, and word sized
73 tst %o1 ! byte zero?
74 stb %o1, [%o2] ! store first byte
76 cmp %o4, 3 ! only one byte needed to align?
82 srl %o1, 8, %o4 ! %o4<7:0> = first byte
83 tst %o4 ! first byte zero ?
85 stb %o4, [%o2] ! store first byte
86 andcc %o1, 0xff, %g0 ! second byte zero ?
88 stb %o1, [%o2 + 1] ! store second byte
106 bz,a .copyword ! no zero byte i
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcpy.s54 ! source alignment and copying byte, half byte, or word
58 ! (methods for xword, word, half-word, and byte copies are present)
70 andcc %o1, 1, %g0 ! need to copy byte ?
84 srl %o5, 8, %o4 ! extract first byte
85 tst %o4 ! first byte == 0 ?
87 stb %o4, [%o2] ! store first byte
88 andcc %o5, 0xff, %g0 ! extract second byte
89 stb %o5, [%o2 + 1] ! store second byte
90 bz,pn %ncc, .done ! yup, 2nd byte zer
[all...]
H A Dmemset.s56 * on an 8-byte boundary. So, leading bytes will be set, then as many
57 * 8-byte aligned chunks as possible will be set, followed by any trailing
61 * set, followed by 4-byte chunks, followed by trailing bytes.
87 blu,pn %xcc, .walign ! not enough to guarantee 8-byte align
93 .dalign: ! Set bytes until 8-byte aligned
94 btst 7, %o5 ! 8-byte aligned?
96 andn %o2, 7, %o3 ! o3 has 8-byte multiple
99 stb %o1, [%o5] ! clear a byte
113 .walign: ! Set bytes until 4-byte aligned
119 stb %o1, [%o5] ! clear a byte
[all...]
/illumos-gate/usr/src/cmd/sgs/lddstub/amd64/
H A Dlddstub.s35 #define syscall .byte 0xf, 0x5
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemccpy.s44 movb %dl,(%eax) / move byte
45 cmpb %dh,%dl / is it the byte sought?
51 movb %dl,1(%eax) / move byte
52 cmpb %dh,%dl / is it the byte sought?
58 movb %dl,2(%eax) / move byte
59 cmpb %dh,%dl / is it the byte sought?
65 movb %dl,3(%eax) / move byte
68 cmpb %dh,%dl / is it the byte sought?
74 incl %eax / return pointer to next byte in dest
82 addl $2,%eax / return pointer to next byte i
[all...]
H A Dmemchr.s61 movl 12(%esp), %ecx / %cl = byte that is sought
70 cmpb %dl, %cl / if the first byte is %cl
72 cmpb %dh, %cl / if the second byte is %cl
75 cmpb %dl, %cl / if the third byte is %cl
86 cmpb (%eax), %cl / if a byte in (%eax) is %cl
89 incl %eax / next byte
100 cmpb (%eax), %cl / if a byte in (%eax) is %cl
102 incl %eax / next byte
111 / found at the fourth byte
114 / found at the third byte
[all...]
H A Dbyteorder.s44 / reverses the byte order of 'long hl'
48 bswap %eax / reverses the byte order of %eax
54 bswap %eax / reverses the byte order of %eax
61 / reverses the byte order in hs.
65 bswap %eax / reverses the byte order of %eax
72 bswap %eax / reverses the byte order of %eax
83 bswap %eax / reverses the byte order of %eax
94 bswap %eax / reverses the byte order of %eax
105 bswap %eax / reverses the byte order of %eax
112 bswap %eax / reverses the byte orde
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp_hash.c115 uint32_t index, bit, byte, crc; local
119 for (byte = 0; byte < 4; byte++) {
125 crc32c_tab[3 - byte][index] = flip32(reflect_32(crc));
127 crc32c_tab[byte][index] = reflect_32(crc);
141 uint16_t index, bit, byte; local
145 for (byte = 0; byte < 4; byte
281 uint32_t crc, bit, byte, index; local
305 int bit, byte; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/
H A Dstart.S53 /* The PE32 Signature. Needs to be 8-byte aligned */
69 .byte 0 /* Major linker version */
70 .byte 0 /* Minor linker version */
112 .byte 0
113 .byte 0 /* Pad to 8 bytes */
127 .byte 0
128 .byte 0
129 .byte 0 /* Pad to 8 bytes */

Completed in 165 milliseconds

12345678910