Searched defs:byte (Results 1 - 25 of 78) 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/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...]
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:__anon1880
[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/libfruutils/
H A Dfru_tag.h41 unsigned char byte[8]; member in union:__anon3266
83 char byte[8]; member in union:__anon3274
/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/boot/lib/libstand/
H A Dnet.c223 u_int byte; local
233 byte = addr & 0xff;
234 *--cp = byte % 10 + '0';
235 byte /= 10;
236 if (byte > 0) {
237 *--cp = byte % 10 + '0';
238 byte /= 10;
239 if (byte > 0)
240 *--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/cmd/sgs/libelf/common/
H A Dupdate.c467 int byte; local
472 * byte order of the system we are running on rather than that of
476 * the linker-host byte order is necessary so that the linker can
479 * to the target byte order.
577 ELFACCESSDATA(byte, _elf_byte);
610 (void) memset(start - sz, byte, sz);
627 * function. Otherwise, use the fill byte.
635 (void) memset(here - sz, byte, sz);
671 (void) memset(image + hi, byte, sz);
851 * gets the byte orde
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c234 long byte; local
239 if (ddi_strtol(cp, &end, 10, &byte) != 0 || byte < 0 ||
240 byte > 255) {
243 addr = (addr << 8) | (uint8_t)byte;
272 long byte; local
325 if ((error = ddi_strtol(inp, &end, 16, &byte)) != 0) {
328 byte = 0;
330 if (byte < 0 || byte >
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c260 u32_t byte = 0 ; local
272 for (byte = 0; byte < crc32_length; byte = byte + 1)
274 current_byte = crc32_packet[byte];
321 * a. The "Major, "Minor, "Build and "Sub build" bytes are BCD-encoded, and each byte holds two BCD digits.

Completed in 126 milliseconds

1234