Home
last modified time | relevance | path

Searched refs:byte (Results 51 – 75 of 347) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dunihan_to_UCS_sub.c51 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _unified_hangul_to_UCS2LE()
52 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _unified_hangul_to_UCS2LE()
53 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _unified_hangul_to_UCS2LE()
54 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _unified_hangul_to_UCS2LE()
61 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _unified_hangul_to_UCS2LE()
63 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _unified_hangul_to_UCS2LE()
H A Deuc_to_utf_sub.c53 && ( (EUC_UDC_SEG1 == euc_code.byte.byte3) || in _wansung_to_utf8()
54 (EUC_UDC_SEG2 == euc_code.byte.byte3) ) in _wansung_to_utf8()
56 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _wansung_to_utf8()
57 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _wansung_to_utf8()
64 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _wansung_to_utf8()
66 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _wansung_to_utf8()
H A Duhang_to_utf_main.c127 euc_code.byte.byte3 = *ib; in _icv_iconv()
128 euc_code.byte.byte4 = *(ib + 1); in _icv_iconv()
140 if(utf_code.byte.byte2) in _icv_iconv()
141 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv()
142 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv()
143 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
H A Dutf_to_njh_main.c105 utf8_code.byte.byte1 = 0; in _icv_iconv()
106 utf8_code.byte.byte2 = *ib; in _icv_iconv()
107 utf8_code.byte.byte3 = *(ib + 1); in _icv_iconv()
108 utf8_code.byte.byte4 = *(ib + 2); in _icv_iconv()
114 *ob++ = njh_code.byte.byte3; in _icv_iconv()
115 *ob++ = njh_code.byte.byte4; in _icv_iconv()
H A Dutf_to_ojh_main.c105 utf8_code.byte.byte1 = 0; in _icv_iconv()
106 utf8_code.byte.byte2 = *ib; in _icv_iconv()
107 utf8_code.byte.byte3 = *(ib + 1); in _icv_iconv()
108 utf8_code.byte.byte4 = *(ib + 2); in _icv_iconv()
114 *ob++ = ojh_code.byte.byte3; in _icv_iconv()
115 *ob++ = ojh_code.byte.byte4; in _icv_iconv()
/illumos-gate/usr/src/boot/efi/loader/arch/arm/
H A Dstart.S69 .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 */
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemcpy.S1405 .byte 0xd9,0x01
1411 .byte 0xc2,0x01
1417 .byte 0xec,0x01
1431 .byte 0xd9,0x01
1443 .byte 0xc2,0x01
1460 .byte 0xd9,0x02
1466 .byte 0xc2,0x02
1472 .byte 0xec,0x02
1486 .byte 0xd9,0x02
1498 .byte 0xc2,0x02
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dnet.c241 unsigned int byte; in intoa() local
251 byte = addr & 0xff; in intoa()
252 *--cp = byte % 10 + '0'; in intoa()
253 byte /= 10; in intoa()
254 if (byte > 0) { in intoa()
255 *--cp = byte % 10 + '0'; in intoa()
256 byte /= 10; in intoa()
257 if (byte > 0) in intoa()
258 *--cp = byte + '0'; in intoa()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c137 int byte; in dump_bytes() local
146 for (byte = 0; byte < BPL; byte++) { in dump_bytes()
147 if (countup + byte < n) { in dump_bytes()
159 for (byte = 0; byte < BPL; byte++) { in dump_bytes()
160 if ((countup + byte < n) && in dump_bytes()
161 ((buf[countup + byte] >= ' ') && in dump_bytes()
164 buf[countup + byte]); in dump_bytes()
182 int byte; in header_for_dump() local
185 for (byte = 0; byte < BPL; byte++) in header_for_dump()
188 byte = 3*BPL; in header_for_dump()
[all …]
/illumos-gate/usr/src/common/font/
H A Dfont.c398 int byte; in font_bit_to_pix4() local
414 for (byte = 0; byte < bytes_wide; byte++) { in font_bit_to_pix4()
459 int byte; in font_bit_to_pix8() local
477 for (byte = 0; byte < bytes_wide; byte++) { in font_bit_to_pix8()
522 int byte; in font_bit_to_pix16() local
539 for (byte = 0; byte < bytes_wide; byte++) { in font_bit_to_pix16()
584 int byte; in font_bit_to_pix24() local
601 for (byte = 0; byte < bytes_wide; byte++) { in font_bit_to_pix24()
651 int byte; in font_bit_to_pix32() local
668 for (byte = 0; byte < bytes_wide; byte++) { in font_bit_to_pix32()
/illumos-gate/usr/src/cmd/tic/
H A Dtic_read.c148 unsigned char byte[OFFSET_BUFSIZE][2]; in read_entry() local
232 numread = read(fd, byte, 2*min(num_strings, in read_entry()
239 if (byte[i][0] == 0377 && byte[i][1] == 0377) in read_entry()
242 else if (byte[i][0] == 0376 && in read_entry()
243 byte[i][1] == 0377) in read_entry()
247 US[i + cur_string] = (byte[i][0] + in read_entry()
248 256*byte[i][1]) + pst; in read_entry()
297 char byte[2]; in must_swap() member
301 return (test.byte[1]); in must_swap()
/illumos-gate/usr/src/uts/i86xpv/ml/
H A Dxenguest.S34 .4byte 2f - 1f; \
35 .4byte 4f - 3f; \
36 .4byte id; \
49 NOTE("Xen", XEN_ELFNOTE_VIRT_BASE, .4byte, 0x40000000)
50 NOTE("Xen", XEN_ELFNOTE_PADDR_OFFSET, .4byte, 0x40000000)
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.S98 blt,pn %ncc, .byte
113 .byte: label
118 ldub [%o1], %o3 ! read a byte
122 stb %o3, [%o0] ! write byte
136 ldub [%o1], %o3 ! read a byte
140 stb %o3, [%o0] ! store a byte
317 ldub [%o1], %o3 ! read a byte
321 stb %o3, [%o0] ! write byte
346 ldub [%o1], %o3 ! read byte
348 stb %o3, [%o0] ! write byte
[all …]
/illumos-gate/usr/src/cmd/dumpcs/
H A Ddumpcs.c182 int byte, i, nextpos; local
189 for (byte = min; byte <= max; byte++) {
190 codestr[pos] = (unsigned char) byte;
196 for (byte = min; byte <= max; byte++) {
197 codestr[pos] = (unsigned char) byte;
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.S238 srl %i3, %l0, %i4 ! upper src byte into lower dst byte
711 ! Something is left - do it byte for byte.
716 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy.
888 ! bounce to the byte for byte copy loop. Otherwise do it in
899 ! 8 byte aligned?
906 ! byte copy loop above.
914 ! 4 byte aligned?
949 ! Something is left. Do it byte for byte.
954 ! 4 byte copy loop. %o2 is number of 4 byte chunks to copy.
969 ! Something is left. Do it byte for byte.
[all …]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.S93 blt,pn %ncc, .byte
108 .byte: label
113 ldub [%o1], %o3 ! read a byte
117 stb %o3, [%o0] ! write byte
129 ldub [%o1], %o3 ! read a byte
133 stb %o3, [%o0] ! store a byte
340 ldub [%o1], %o3 ! read a byte
344 stb %o3, [%o0] ! write byte
367 ldub [%o1], %o3 ! read byte
369 stb %o3, [%o0] ! write byte
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c38 Byte *byte = &(ehdr->e_ident[0]); in Elf_ehdr() local
47 dbg_print(lml, MSG_ORIG(MSG_ELF_MAGIC), byte[EI_MAG0], in Elf_ehdr()
48 (byte[EI_MAG1] ? byte[EI_MAG1] : '0'), in Elf_ehdr()
49 (byte[EI_MAG2] ? byte[EI_MAG2] : '0'), in Elf_ehdr()
50 (byte[EI_MAG3] ? byte[EI_MAG3] : '0')); in Elf_ehdr()
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrlen.S52 ! null byte. To this end, we attempt to get our string aligned
58 ! at a time until we've located the zero byte, and return
72 tst %o1 ! byte zero?
74 cmp %o4, 3 ! src is byte aligned
120 bz,pn %icc, .done ! first byte zero
124 bz,pn %icc, .done ! second byte zero
129 bz,pn %icc, .done ! thrid byte zero
132 inc 1, %o2 ! fourth byte zero
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrlen.S52 ! null byte. To this end, we attempt to get our string aligned
58 ! at a time until we've located the zero byte, and return
72 tst %o1 ! byte zero?
74 cmp %o4, 3 ! src is byte aligned
120 bz,pn %icc, .done ! first byte zero
124 bz,pn %icc, .done ! second byte zero
129 bz,pn %icc, .done ! thrid byte zero
132 inc 1, %o2 ! fourth byte zero
/illumos-gate/usr/src/uts/common/pcmcia/sys/
H A Dcis.h258 cisdata_t *byte; /* read pointer for GET_BYTE macros */ member
326 ((uintptr_t)(tp)->read.byte - \
328 *(tp)->read.byte++ : ((tp)->flags |= CISTPLF_MEM_ERR))
330 ((uintptr_t)(tp)->read.byte - \
335 (((uintptr_t)(tp)->read.byte - \
339 #define GET_AM_LEN(tp) ((size_t)(tp)->len - (((uintptr_t)(tp)->read.byte - \
343 #define RESET_TP(tp) (tp)->read.byte = (tp)->data
344 #define LOOK_BYTE(tp) *(tp)->read.byte
345 #define GET_BYTE_ADDR(tp) (tp)->read.byte
/illumos-gate/usr/src/uts/sun4/ml/
H A Dcopy.S74 ! Do a byte by byte loop.
79 stb %g1, [%o1] ! store byte
84 ba,pt %ncc, .cs_out ! last byte in string
89 ldub [%o0 + %o1], %g1 ! delay slot, get source byte
126 ! Do a byte by byte loop.
131 stb %g1, [%g4] ! store byte
136 ba,pt %ncc, .copyinstr_out ! last byte in string
141 lduba [%g2+%g4]ASI_USER, %g1 ! delay slot, get source byte
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgpio_87317.c348 uint8_t byte; in gpio_ioctl() local
374 DBG(softc->gp_dip, "ioctl: SET_BITS, byte is %x", byte, 0, 0, in gpio_ioctl()
376 byte |= info.gpio_data; in gpio_ioctl()
378 byte); in gpio_ioctl()
379 byte = ddi_get8(softc->gp_handle, in gpio_ioctl()
381 DBG(softc->gp_dip, "ioctl: SET_BITS, byte is %x", byte, 0, 0, in gpio_ioctl()
386 DBG(softc->gp_dip, "ioctl: CLR_BITS, byte is %x", byte, 0, 0, in gpio_ioctl()
388 byte &= ~info.gpio_data; in gpio_ioctl()
390 byte); in gpio_ioctl()
391 byte = ddi_get8(softc->gp_handle, in gpio_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/
H A Dnvm_iscsi_cfg.h59 u8 byte[NVM_ISCSI_CFG_DHCP_NAME_MAX_LEN]; member
66 u8 byte[NVM_ISCSI_IPV4_ADDR_BYTE_LEN]; member
73 u8 byte[NVM_ISCSI_IPV6_ADDR_BYTE_LEN]; member
123 u8 byte[NVM_ISCSI_CFG_ISCSI_NAME_MAX_PLUS_RESERVED]; member
131 u8 byte[NVM_ISCSI_CFG_CHAP_NAME_MAX_LEN]; member
139 u8 byte[NVM_ISCSI_CFG_CHAP_PWD_MAX_LEN]; member
144 u8 byte[8]; member
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dnotes.S38 .4byte .name1_end - .name1_begin
39 .4byte .desc1_end - .desc1_begin
40 .4byte ELF_NOTE_PAGESIZE_HINT
46 .4byte FOUR_MEG
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c1393 uchar_t byte; in apic_shutdown() local
1455 byte = inb(CMOS_DATA); in apic_shutdown()
1477 byte |= PAB_CBIT; in apic_shutdown()
1491 if (byte != 0) { in apic_shutdown()
1497 } while (byte != 0); in apic_shutdown()
1500 byte |= 0x1; in apic_shutdown()
1509 if (byte != 0) { in apic_shutdown()
1515 } while (byte != 0); in apic_shutdown()
1519 byte |= 0x1; in apic_shutdown()
1550 if (byte != 0) { in apic_shutdown()
[all …]

12345678910>>...14