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

12

/osnet-11/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;
/osnet-11/usr/src/grub/grub2/grub-core/commands/i386/
H A Dcmostest.c28 parse_args (int argc, char *argv[], int *byte, int *bit) argument
35 *byte = grub_strtoul (argv[0], &rest, 0);
48 int byte, bit; local
52 err = parse_args (argc, argv, &byte, &bit);
56 err = grub_cmos_read (byte, &value);
70 int byte, bit; local
74 err = parse_args (argc, argv, &byte, &bit);
77 err = grub_cmos_read (byte, &value);
81 return grub_cmos_write (byte, value & (~(1 << bit)));
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtputs.c55 __m_putchar(int byte) argument
57 return (putchar(byte));
H A Dm_cc.c60 write_string(int byte, t_string *sp) argument
65 sp->mbs[sp->used++] = (char)byte;
67 return (byte);
186 /* Is it a single-byte character? */
207 * If n < 0, return the accumulated byte length of the current multibyte
307 /* Remainder of string evaluates to the null byte. */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/
H A Dencengine.c4 Perl works internally in either a native 'byte' encoding or
8 Most character encodings are either simple byte mappings or
9 variable length multi-byte encodings. UTF-8 can be viewed as a
13 "multi-byte -> multi-byte" case. The simple byte forms are then just degenerate
58 my $byte = $substr($src,0,1,'');
59 my $out_seq = $seq->[$byte];
68 ($next,$seq) = @$next->[$byte] if $next;
75 For the single byte cas
106 U8 byte = *s; local
[all...]
/osnet-11/usr/src/lib/libldap4/util/
H A Dline64.c60 char *p, *s, *d, *byte, *stop; local
119 byte = s;
133 byte[0] = nib << 2;
136 byte[0] |= nib >> 4;
137 byte[1] = (nib & RIGHT4) << 4;
144 byte[1] |= nib >> 2;
145 byte[2] = (nib & RIGHT2) << 6;
152 byte[2] |= nib;
154 byte += 3;
274 unsigned char *byte, * local
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dlcnalloc.c110 u8 *buf, *byte; local
249 byte = buf + (lcn >> 3);
252 "need_writeback = %i, byte ofs = 0x%x, "
253 "*byte = 0x%x.\n", buf_size,
256 (unsigned int)*byte);
258 if (*byte == 0xff) {
266 if (*byte & bit) {
290 *byte |= bit;
294 ntfs_log_trace("*byte = 0x%x, need_writeback is set.\n",
295 (unsigned int)*byte);
[all...]
H A Dmft.c294 /* Aligned to 2-byte boundary. */
330 /* Aligned to 8-byte boundary. */
336 * aligned to 8-byte boundary.
429 u8 *buf, *byte; local
469 byte = NULL;
487 /* If we read at least one byte, search @buf for a zero bit. */
494 "*byte 0x%hhx, b %u.\n", size,
496 byte ? *byte : -1, b);
499 byte
[all...]
H A Dindex.c892 u8 byte; local
916 if (ntfs_attr_pread(na, bpos, 1, &byte) != 1) {
922 byte |= bit;
924 byte &= ~bit;
926 if (ntfs_attr_pwrite(na, bpos, 1, &byte) != 1) {
952 s64 vcn, byte, size; local
961 for (byte = 0; byte < size; byte++) {
963 if (bm[byte]
[all...]
/osnet-11/usr/src/lib/libdisasm/i386/
H A Ddis_i386.c72 uchar_t byte; local
75 if (dhp->dh_read(dhp->dh_data, dhp->dh_addr, &byte, sizeof (byte)) !=
76 sizeof (byte))
81 return ((int)byte);
/osnet-11/usr/src/lib/libfruutils/
H A Dfru_tag.h41 unsigned char byte[8]; member in union:__anon1689
83 char byte[8]; member in union:__anon1697
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt_wrap/
H A Dcipher_wrap.h41 typedef grub_uint8_t byte; typedef
/osnet-11/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c203 unsigned char nib, *byte; local
207 byte = dst;
218 byte[0] = nib << 2;
222 byte[0] |= nib >> 4;
229 byte[1] = (nib & RIGHT4) << 4;
231 byte[1] |= nib >> 2;
238 byte[2] = (nib & RIGHT2) << 6;
240 byte[2] |= nib;
242 byte += 3;
323 unsigned char *p, *byte, *sto local
429 unsigned char *byte, *stop; local
[all...]
/osnet-11/usr/src/lib/libmalloc/common/
H A Dmallint.h92 char byte; member in struct:lblk
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dunit.c111 * Get the byte size of a given \p unit.
187 * \brief Get a string that describes the location of the \p byte on
194 ped_unit_format_custom_byte (const PedDevice* dev, PedSector byte, PedUnit unit) argument
197 PedSector sector = byte / dev->sector_size;
218 byte / ped_unit_get_size (dev, unit),
224 if (byte >= 10LL * PED_TERABYTE_SIZE)
226 else if (byte >= 10LL * PED_GIGABYTE_SIZE)
228 else if (byte >= 10LL * PED_MEGABYTE_SIZE)
230 else if (byte >= 10LL * PED_KILOBYTE_SIZE)
240 d = ((double)byte / ped_unit_get_siz
267 ped_unit_format_byte(const PedDevice* dev, PedSector byte) argument
[all...]
/osnet-11/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);
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_stream.c200 uint8_t byte; local
206 byte = in[*in_pos];
209 s->vli |= (vli_type)(byte & 0x7F) << s->pos;
211 if ((byte & 0x80) == 0) {
213 if (byte == 0 && s->pos != 0)
377 * s->pos must be zero when starting to validate the first byte.
698 /* Size of Properties = 1-byte Filter Properties */
753 /* We need one byte of input to continue. */
899 * Since we know that the last input byte never produces any output, we know
H A Dxz_dec_lzma2.c183 * If 1, the repeated match has length of one byte. Otherwise
304 /* Return true if at least one byte can be written into the dictionary. */
311 * Get a byte from the dictionary at the given distance. The distance is
328 * Put one byte into the dictionary. It is assumed that there is space for it.
330 static inline void dict_put(struct dictionary *dict, uint8_t byte) argument
332 dict->buf[dict->pos++] = byte;
446 * read already. (Yes, the first byte gets completely ignored.)
476 /* Read the next input byte if needed. */
579 /* Decode a literal (one 8-bit byte) */
939 * LZMA2 control byte
[all...]
/osnet-11/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c164 * Test whether this machine will need byte-swapping
171 char byte[2]; member in union:__anon2741
174 return (test.byte[1]);
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcp_network.c108 * indicated by a byte in the container header. When performing an update
1454 * Get the byte `offset' bytes into open file `fd', and store in `bytep'.
1473 * Set the byte `offset' bytes into open file `fd' to `byte'. Returns a
1477 setabyte(int fd, off_t offset, uchar_t byte) argument
1479 switch (pwrite(fd, &byte, 1, offset)) {
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.c149 int byte;
150 byte = fgetc(fp);
151 acl_buf[i] = byte;
152 if (byte == (char)EOF) {
148 int byte; local
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dutils.c657 int byte, bit; local
690 byte = (lcn >> 3) & (sizeof(buffer) - 1);
691 ntfs_log_debug("cluster = %lld, bmplcn = %lld, byte = %d, bit = %d, "
692 "in use %d\n", lcn, bmplcn, byte, bit, buffer[byte] &
695 return (buffer[byte] & bit);
719 int byte, bit; local
746 byte = (mref >> 3) & (sizeof(buffer) - 1);
747 ntfs_log_debug("cluster = %lld, bmpmref = %lld, byte = %d, bit = %d, in use %d\n", mref, bmpmref, byte, bi
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/
H A DFTP.pm160 sub byte subroutine
1269 and byte. ASCII is the default type, and indicates that the sender of
1275 values of which remain the same regardless of differences in byte size
1402 Set the byte offset at which to begin the next data transfer. Net::FTP simply
/osnet-11/usr/src/lib/efcode/engine/
H A Dfcode.c40 uchar_t byte; local
42 byte = *env->fcode_ptr;
44 return (byte);
482 CHECK_DEPTH(env, 2, "byte-load");
486 log_message(MSG_WARN, "byte-load: ignoring xt\n");
491 if (!check_fcode_header("byte-load", env->fcode_ptr, length))
492 log_message(MSG_WARN, "byte-load: header NOT OK\n");
517 log_message(MSG_WARN, "byte-load: past EOB\n");
1088 FCODE(0x0fe, 0, "4-byte-id", fc_historical);
1149 P1275(0x23e, 0, "byte
[all...]

Completed in 105 milliseconds

12