Home
last modified time | relevance | path

Searched refs:BYTE (Results 1 – 25 of 70) sorted by relevance

123

/trueos/sys/dev/si/
HDsi.h46 typedef uint8_t BYTE; /* Type cast for unsigned 8 bit */ typedef
55 BYTE initstat;
56 BYTE memsize;
59 BYTE rx_int_count; /* isr_count on Jet */
60 BYTE main_count; /* spare on Z-280 */
63 BYTE int_scounter;
64 BYTE res[0x80 - 13];
72 BYTE sm_type; /* Number of channels */
73 BYTE sm_number; /* Module number on cable */
74 BYTE sm_dsr; /* Private dsr copy */
[all …]
HDsi.c812 BYTE val; in siparam()
1106 static BYTE si_rxbuf[SI_BUFFERSIZE]; /* input staging area */
1107 static BYTE si_txbuf[SI_BUFFERSIZE]; /* output staging area */
1117 BYTE op, ip; in si_intr()
1119 volatile BYTE *z; in si_intr()
1120 BYTE c; in si_intr()
1370 BYTE ipos, count; in si_start()
1388 DPRINT((pp, DBG_START, "txbuf pend count %d\n", (BYTE)count)); in si_start()
1416 (BYTE)count, nchar)); in si_start()
/trueos/contrib/ntp/include/
HDhopf6039.h19 typedef unsigned char BYTE; typedef
24 #define LOBYTE(w) ((BYTE)(w))
25 #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF))
58 BYTE wVisible;
59 BYTE wMode;
60 BYTE wSat0;
61 BYTE wRat0;
62 BYTE wSat1;
63 BYTE wRat1;
64 BYTE wSat2;
[all …]
HDglobal.h34 typedef unsigned char BYTE; /* local modification for RSAEuro */ typedef
/trueos/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDlz4.c266 #define BYTE uint8_t macro
336 #define INITBASE(base) const BYTE* const base = ip
344 #define HTYPE const BYTE *
370 #define LZ4_BLINDCOPY(s, d, l) { BYTE* e = (d) + l; LZ4_WILDCOPY(s, d, e); \
476 const BYTE *ip = (BYTE *) source; in LZ4_compressCtx()
478 const BYTE *anchor = ip; in LZ4_compressCtx()
479 const BYTE *const iend = ip + isize; in LZ4_compressCtx()
480 const BYTE *const oend = (BYTE *) dest + osize; in LZ4_compressCtx()
481 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compressCtx()
484 BYTE *op = (BYTE *) dest; in LZ4_compressCtx()
[all …]
/trueos/sys/i386/i386/
HDdb_disasm.c42 #define BYTE 0 macro
339 /*b0*/ { "cmpxchg",TRUE, BYTE, op2(R, E), 0 },
359 /*c0*/ { "xadd", TRUE, BYTE, op2(R, E), 0 },
556 { "inc", TRUE, BYTE, op1(E), 0 },
557 { "dec", TRUE, BYTE, op1(E), 0 },
578 /*00*/ { "add", TRUE, BYTE, op2(R, E), 0 },
580 /*02*/ { "add", TRUE, BYTE, op2(E, R), 0 },
582 /*04*/ { "add", FALSE, BYTE, op2(I, A), 0 },
587 /*08*/ { "or", TRUE, BYTE, op2(R, E), 0 },
589 /*0a*/ { "or", TRUE, BYTE, op2(E, R), 0 },
[all …]
/trueos/sys/amd64/amd64/
HDdb_disasm.c43 #define BYTE 0 macro
413 /*b0*/ { "cmpxchg",TRUE, BYTE, op2(R, E), 0 },
433 /*c0*/ { "xadd", TRUE, BYTE, op2(R, E), 0 },
630 { "inc", TRUE, BYTE, op1(E), 0 },
631 { "dec", TRUE, BYTE, op1(E), 0 },
652 /*00*/ { "add", TRUE, BYTE, op2(R, E), 0 },
654 /*02*/ { "add", TRUE, BYTE, op2(E, R), 0 },
656 /*04*/ { "add", FALSE, BYTE, op2(I, A), 0 },
661 /*08*/ { "or", TRUE, BYTE, op2(R, E), 0 },
663 /*0a*/ { "or", TRUE, BYTE, op2(E, R), 0 },
[all …]
/trueos/sys/cddl/boot/zfs/
HDlz4.c121 #define BYTE uint8_t macro
173 #define INITBASE(base) const BYTE* const base = ip
181 #define HTYPE const BYTE*
205 const BYTE *restrict ip = (const BYTE *) source; in LZ4_uncompress_unknownOutputSize()
206 const BYTE *const iend = ip + isize; in LZ4_uncompress_unknownOutputSize()
207 const BYTE *restrict ref; in LZ4_uncompress_unknownOutputSize()
209 BYTE *restrict op = (BYTE *) dest; in LZ4_uncompress_unknownOutputSize()
210 BYTE *const oend = op + maxOutputSize; in LZ4_uncompress_unknownOutputSize()
211 BYTE *cpy; in LZ4_uncompress_unknownOutputSize()
217 BYTE token; in LZ4_uncompress_unknownOutputSize()
[all …]
/trueos/contrib/libpcap/
HDpcap-dos.h18 typedef unsigned char BYTE; typedef
21 typedef BYTE ETHER[6];
131 BYTE data[ETH_MAX+10]; /* add some margin. data[0] should be */
134 extern BYTE *get_rxbuf (int len) LOCKED_FUNC;
135 extern int peek_rxbuf (BYTE **buf);
136 extern int release_rxbuf (BYTE *buf);
164 int (*copy_rx_buf) (BYTE *buf, int max); /* rx-copy (pktdrvr only) */
165 BYTE *(*get_rx_buf) (int len); /* rx-buf fetch/enqueue */
166 int (*peek_rx_buf) (BYTE **buf); /* rx-non-copy at queue */
167 int (*release_rx_buf) (BYTE *buf); /* release after peek */
/trueos/contrib/ncurses/include/
HDtic.h80 #undef BYTE
81 #define BYTE(p,n) (unsigned char)((p)[n]) macro
83 #define IS_NEG1(p) ((BYTE(p,0) == 0377) && (BYTE(p,1) == 0377))
84 #define IS_NEG2(p) ((BYTE(p,0) == 0376) && (BYTE(p,1) == 0377))
85 #define LOW_MSB(p) (BYTE(p,0) + 256*BYTE(p,1))
/trueos/contrib/libucl/src/
HDxxhash.c100 typedef uint8_t BYTE; typedef
106 typedef unsigned char BYTE; typedef
208 const BYTE* p = (const BYTE*)input; in XXH32_endian_align()
209 const BYTE* const bEnd = p + len; in XXH32_endian_align()
213 if (p==NULL) { len=0; p=(const BYTE*)(size_t)16; } in XXH32_endian_align()
218 const BYTE* const limit = bEnd - 16; in XXH32_endian_align()
342 const BYTE* p = (const BYTE*)input; in XXH32_update_endian()
343 const BYTE* const bEnd = p + len; in XXH32_update_endian()
374 const BYTE* const limit = bEnd - 16; in XXH32_update_endian()
418 const BYTE * p = (const BYTE*)state->memory; in XXH32_intermediateDigest_endian()
[all …]
/trueos/sys/dev/hptmv/
HDcommand.h43 BYTE bFeaturesReg; /* feature register */
44 BYTE bSectorCountReg; /* IDE sector count register. */
45 BYTE bLbaLowReg; /* IDE sector number register. */
46 BYTE bLbaMidReg; /* IDE low order cylinder value. */
47 BYTE bLbaHighReg; /* IDE high order cylinder value. */
48 BYTE bDriveHeadReg; /* IDE drive/head register. */
49 BYTE bCommandReg; /* Actual IDE command. Checked for validity by driver. */
50 BYTE nSectors; /* data transfer */
HDhptintf.h698 BYTE bFeaturesReg; /* feature register */
699 BYTE bSectorCountReg; /* IDE sector count register. */
700 BYTE bLbaLowReg; /* IDE sector number register. */
701 BYTE bLbaMidReg; /* IDE low order cylinder value. */
702 BYTE bLbaHighReg; /* IDE high order cylinder value. */
703 BYTE bDriveHeadReg; /* IDE drive/head register. */
704 BYTE bCommandReg; /* Actual IDE command. Checked for validity by driver. */
705 BYTE nSectors; /* data sze in sectors, if the command has data transfer */
706 BYTE protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
707 BYTE reserve[3];
/trueos/usr.bin/systat/
HDconvtbl.c43 #define BYTE (1) macro
59 [SC_BYTE] = { BYTE, BYTES, "B", "byte" },
60 [SC_KILOBYTE] = { BYTE, KILOBYTE, "KB", "kbyte" },
61 [SC_MEGABYTE] = { BYTE, MEGABYTE, "MB", "mbyte" },
62 [SC_GIGABYTE] = { BYTE, GIGABYTE, "GB", "gbyte" },
63 [SC_TERABYTE] = { BYTE, TERABYTE, "TB", "tbyte" },
/trueos/contrib/wpa/src/crypto/
HDcrypto_cryptoapi.c127 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) { in cryptoapi_hash_vector()
163 BYTE key[8]; in des_encrypt()
189 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0, in des_encrypt()
197 if (!CryptSetKeyParam(ckey, KP_MODE, (BYTE *) &mode, 0)) { in des_encrypt()
242 BYTE key[16]; in aes_encrypt_init()
269 if (!CryptImportKey(akey->prov, (BYTE *) &key_blob, sizeof(key_blob), in aes_encrypt_init()
278 if (!CryptSetKeyParam(akey->ckey, KP_MODE, (BYTE *) &mode, 0)) { in aes_encrypt_init()
360 BYTE key[32]; in crypto_hash_init()
409 if (!CryptImportKey(ctx->prov, (BYTE *) &key_blob, in crypto_hash_init()
441 if (!CryptSetHashParam(ctx->hash, HP_HMAC_INFO, (BYTE *) &info, in crypto_hash_init()
[all …]
/trueos/sys/crypto/rijndael/
HDrijndael-api-fst.c35 typedef u_int8_t BYTE; typedef
37 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, char *keyMaterial) { in rijndael_makeKey()
71 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit()
86 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockEncrypt()
201 BYTE *input, int inputOctets, BYTE *outBuffer) { in rijndael_padEncrypt()
251 block[i] = (BYTE)padLen ^ iv[i]; in rijndael_padEncrypt()
264 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockDecrypt()
363 BYTE *input, int inputOctets, BYTE *outBuffer) { in rijndael_padDecrypt()
/trueos/contrib/gdb/gdb/
HDminimon.h31 typedef unsigned char BYTE; /* byte (8 bit) */ typedef
178 BYTE byte[DUMMY];
233 BYTE data[DUMMY];
297 BYTE fill_data[DUMMY];
354 BYTE data;
420 BYTE data[DUMMY];
548 BYTE data[DUMMY];
/trueos/sys/dev/cx/
HDcxddk.c28 #define BYTE *(unsigned char*)& macro
281 outb (RCOR(c->port), BYTE c->opt.rcor); in cx_set_baud()
286 outb (RCOR(c->port), BYTE c->opt.rcor); in cx_set_baud()
307 outb (RCOR(c->port), BYTE c->opt.rcor); in cx_set_baud()
311 outb (COR2(c->port), (BYTE c->hopt.cor2) & ~3); in cx_set_baud()
313 outb (COR2(c->port), BYTE c->hopt.cor2); in cx_set_baud()
314 outb (TCOR(c->port), BYTE c->opt.tcor); in cx_set_baud()
339 outb (RCOR(c->port), BYTE c->opt.rcor); in cx_set_nrzi()
720 BYTE cor1 = 0; in cx_set_async_param()
760 outb (RCOR(c->port), BYTE c->opt.rcor); in cx_set_async_param()
[all …]
HDcsigma.c27 #define BYTE *(unsigned char*)& macro
1039 outb (COR1(c->port), BYTE c->aopt.cor1); in cx_update_chan()
1040 outb (COR2(c->port), BYTE c->aopt.cor2); in cx_update_chan()
1041 outb (COR3(c->port), BYTE c->aopt.cor3); in cx_update_chan()
1042 outb (COR6(c->port), BYTE c->aopt.cor6); in cx_update_chan()
1043 outb (COR7(c->port), BYTE c->aopt.cor7); in cx_update_chan()
1054 outb (COR1(c->port), BYTE c->hopt.cor1); in cx_update_chan()
1055 outb (COR2(c->port), BYTE c->hopt.cor2); in cx_update_chan()
1056 outb (COR3(c->port), BYTE c->hopt.cor3); in cx_update_chan()
1066 outb (COR4(c->port), BYTE c->opt.cor4); in cx_update_chan()
[all …]
/trueos/contrib/netbsd-tests/lib/libcurses/director/
HDtestlang_conf.l158 BYTE BYTE
356 return BYTE;
386 return BYTE;
/trueos/lib/libelf/
HDelf_types.m445 `BYTE, Byte, 600102',
231 `st_info, BYTE',
232 `st_other, BYTE',
238 `st_info, BYTE',
239 `st_other, BYTE',
/trueos/contrib/subversion/subversion/libsvn_subr/
HDwin32_crypto.c67 blobin.pbData = (BYTE *)orig->data; in encrypt_data()
90 blobin.pbData = (BYTE *)crypted->data; in decrypt_data()
358 BYTE *binary_cert; in certcontext_from_base64()
/trueos/contrib/jansson/src/
HDhashtable_seed.c101 typedef BOOL (WINAPI *CRYPTGENRANDOM)(HCRYPTPROV hProv, DWORD dwLen, BYTE *pbBuffer);
111 BYTE data[sizeof(uint32_t)]; in seed_from_windows_cryptoapi()
/trueos/contrib/file/magic/Magdir/
HDvicar10 >32 string BYTE \b, 8 bits = VAX byte
/trueos/contrib/apr-util/dbd/
HDapr_dbd_freetds.c56 BYTE *data;
83 BYTE buf[MAX_COL_LEN];
348 BYTE *ptr = dbdata(proc, n+1); in dbd_freetds_get_entry()
352 dbconvert(proc, t, ptr, l, SYBCHAR, (BYTE *)row->buf, -1); in dbd_freetds_get_entry()

123