Searched defs:byte (Results 1 - 25 of 85) sorted by relevance

1234

/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...]
H A Dwgetstr.c63 int byte[LENGTH]; local
120 cp -= byte[cpos];
159 byte[cpos] = eucw;
168 byte[cpos] = 1;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c38 Byte *byte = &(ehdr->e_ident[0]); local
47 dbg_print(lml, MSG_ORIG(MSG_ELF_MAGIC), byte[EI_MAG0],
48 (byte[EI_MAG1] ? byte[EI_MAG1] : '0'),
49 (byte[EI_MAG2] ? byte[EI_MAG2] : '0'),
50 (byte[EI_MAG3] ? byte[EI_MAG3] : '0'));
/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/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/lib/libdwarf/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...]
H A Dpro_encode_nm.c102 unsigned char byte = value & DATA_MASK; local
113 if (value == sign && ((byte & SIGN_BIT) == (sign & SIGN_BIT))) {
116 byte |= MORE_BYTES;
118 *str = byte;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtputs.c55 __m_putchar(int byte) argument
57 return (putchar(byte));
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dutils.c127 unsigned char byte; local
132 if (ps_pread(ph, address, (char *)&byte,
134 (void) fprintf(stderr, "\nfailed to read byte "
138 (void) printf(" %02x", (unsigned)byte);
/illumos-gate/usr/src/cmd/tic/
H A Dtic_read.c142 unsigned char byte[OFFSET_BUFSIZE][2]; local
226 numread = read(fd, byte, 2*min(num_strings,
233 if (byte[i][0] == 0377 && byte[i][1] == 0377)
236 else if (byte[i][0] == 0376 &&
237 byte[i][1] == 0377)
241 US[i + cur_string] = (byte[i][0] +
242 256*byte[i][1]) + pst;
282 * Test whether this machine will need byte-swapping
291 char byte[ member in union:__anon1922
[all...]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_i386.c65 uchar_t byte; local
68 if (dhp->dh_read(dhp->dh_data, dhp->dh_addr, &byte, sizeof (byte)) !=
69 sizeof (byte))
74 return ((int)byte);
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_hash.c86 * most significant bit of the first byte being the first bit
104 * It naturally follows than H_i_(i+7) only depends on the value of the byte
105 * and the position of the byte in the input.
106 * Therefore we may pre-calculate the value of each byte sub-hash H_i_(i+7)
107 * for each possible byte value and each possible byte input position, and
108 * then just assemble the hash of the packet byte-by-byte instead of
130 unsigned byte; local
143 for (byte
[all...]
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/
H A Dcommon_thai.h44 } byte; member in union:__anon44
82 } byte; member in union:__anon50
/illumos-gate/usr/src/lib/libfruutils/
H A Dfru_tag.h41 unsigned char byte[8]; member in union:__anon3390
83 char byte[8]; member in union:__anon3398
/illumos-gate/usr/src/cmd/dumpcs/
H A Ddumpcs.c177 * prcode() prints series of len-byte codes, of which each byte can
184 int byte, i, nextpos; local
191 for (byte = min; byte <= max; byte++) {
192 codestr[pos] = (unsigned char) byte;
198 for (byte = min; byte <= max; byte
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dpcf8574.c221 pcf8574_get(struct pcf8574_unit *unitp, uchar_t *byte) { argument
247 *byte = i2c_tran_pointer->i2c_rbuf[0];
254 pcf8574_set(struct pcf8574_unit *unitp, uchar_t byte) { argument
268 i2c_tran_pointer->i2c_wbuf[0] = byte;
295 uchar_t byte; local
325 err = pcf8574_get(unitp, &byte);
333 ioctl_port.value = byte;
343 byte));
383 err = pcf8574_get(unitp, &byte);
391 D1CMN_ERR((CE_NOTE, "%s: byte returne
[all...]
H A Dpic16f819.c146 pic16f819_get(struct pic16f819_unit *unitp, int reg, uchar_t *byte, int flags) argument
164 *byte = i2c_tran_pointer->i2c_rbuf[0];
172 pic16f819_set(struct pic16f819_unit *unitp, int reg, uchar_t byte) argument
187 i2c_tran_pointer->i2c_wbuf[1] = byte;
189 unitp->pic16f819_name, reg, byte));
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_sram.c268 uint8_t byte; local
271 byte = (uint8_t)((offset % 257) % 256);
273 byte = (uint8_t)(~((offset - 8) % 257) % 256);
275 eqp->eq_u8[index] = (negate) ? ~byte : byte;
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dcommon_han.h44 } byte; member in union:__anon11
89 } byte; member in union:__anon18
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnet.c241 unsigned int byte; local
251 byte = addr & 0xff;
252 *--cp = byte % 10 + '0';
253 byte /= 10;
254 if (byte > 0) {
255 *--cp = byte % 10 + '0';
256 byte /= 10;
257 if (byte > 0)
258 *--cp = byte + '0';
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c207 unsigned char nib, *byte; local
211 byte = dst;
222 byte[0] = nib << 2;
226 byte[0] |= nib >> 4;
233 byte[1] = (nib & RIGHT4) << 4;
235 byte[1] |= nib >> 2;
242 byte[2] = (nib & RIGHT2) << 6;
244 byte[2] |= nib;
246 byte += 3;
327 unsigned char *p, *byte, *sto local
433 unsigned char *byte, *stop; local
[all...]
/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmallint.h92 char byte; member in struct:lblk
/illumos-gate/usr/src/common/tsol/
H A Dstol.c67 uchar_t byte; local
74 byte = ch - '0';
76 byte = ch - (isupper(ch) ? 'A' - 10 : 'a' - 10);
77 byte <<= 4;
82 byte |= ch - '0';
84 byte |= ch - (isupper(ch) ? 'A' - 10 : 'a' - 10);
85 *l++ = byte;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci.c319 unsigned char byte; local
323 pcibios_read_config_byte(bus, devfn, i, &byte);
324 printf("%hhx ", byte);
/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...]

Completed in 365 milliseconds

1234