/src/sys/lib/libkern/ |
intoa.c | 55 u_int byte; local in function:intoa 65 byte = addr & 0xff; 66 *--cp = byte % 10 + '0'; 67 byte /= 10; 68 if (byte > 0) { 69 *--cp = byte % 10 + '0'; 70 byte /= 10; 71 if (byte > 0) 72 *--cp = byte + '0';
|
/src/usr.sbin/bootp/common/ |
bptypes.h | 24 typedef unsigned char byte; typedef in typeref:typename:unsigned char
|
/src/sys/fs/udf/ |
udf_osta.h | 28 * byte needs to be unsigned 8-bit, and unicode_t needs to be 32 typedef uint8_t byte; typedef in typeref:typename:uint8_t 35 int udf_UncompressUnicode(int, byte *, unicode_t *); 36 int udf_CompressUnicode(int, int, unicode_t *, byte *);
|
/src/usr.bin/cmp/ |
special.c | 53 off_t byte, line; local in function:c_special 63 for (byte = line = 1; skip1--; byte++) { 70 for (byte = line = 1; skip2--; byte++) { 78 for (byte = line = 1;; ++byte) { 86 (void)printf("%6lld %3o %3o\n", (long long)byte, 89 diffmsg(file1, file2, byte, line); 98 errmsg(file1, byte, line) [all...] |
regular.c | 59 off_t byte, length, line; local in function:c_regular 73 byte = line = 1; 103 for (; blk_cnt--; ++p1, ++p2, ++byte) { 106 diffmsg(file1, file2, byte, line); 111 (long long)byte, ch, *p2); 124 eofmsg(len1 > len2 ? file2 : file1, byte, line);
|
/src/lib/libtelnet/ |
pk.h | 34 typedef unsigned char byte, DesData[ 8], IdeaData[16]; typedef in typeref:typename:unsigned char
|
/src/sys/ddb/ |
db_expr.c | 55 int i, c, byte; local in function:db_term 59 byte = 0; 61 byte = c - '0'; 63 byte = c - 'a' + 10; 65 byte = c - 'A' + 10; 69 v = v * db_radix + byte;
|
/src/sys/dev/nand/ |
hamming.c | 59 * If the xor sum of the byte is 0, then this byte has no 66 * Example on one byte: 190 /* this byte should remain zero all the time */ 204 /* Get byte and bit indexes */ 205 uint8_t byte = correction_code[0] & 0x80; local in function:hamming_correct_256 206 byte |= (correction_code[0] << 1) & 0x40; 207 byte |= (correction_code[0] << 2) & 0x20; 208 byte |= (correction_code[0] << 3) & 0x10; 210 byte |= (correction_code[1] >> 4) & 0x08 [all...] |
nand_bbt.c | 214 /* set byte containing the 2 bit marker for this block */ 225 uint8_t byte, marker; local in function:nand_bbt_block_isbad 231 /* get byte containing the 2 bit marker for this block */ 232 byte = bbt->nbbt_bitmap[block / 4]; 234 /* extract the 2 bit marker from the byte */ 235 marker = (byte >> ((block % 4) * 2)) & 0x03;
|
/src/sys/arch/x86/x86/ |
i8259.c | 196 uint8_t byte; local in function:i8259_hwmask 204 byte = i8259_imen >> 8; 207 byte = i8259_imen & 0xff; 209 outb(port, byte); 216 uint8_t byte; local in function:i8259_hwunmask 225 byte = i8259_imen >> 8; 228 byte = i8259_imen & 0xff; 230 outb(port, byte);
|
/src/sys/dev/fdt/ |
fdt_ddb.c | 109 const uint8_t *byte = (const uint8_t *)prop->data; local in function:fdt_for_each_property_offset 113 pr("%02x%s", byte[j],
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_dp_auxch.c | 69 u8 byte; local in function:radeon_dp_aux_transfer_native 125 byte = (msg->request << 4) | ((msg->address >> 16) & 0xf); 127 AUX_SW_DATA_MASK(byte) | AUX_SW_AUTOINCREMENT_DISABLE); 129 byte = (msg->address >> 8) & 0xff; 131 AUX_SW_DATA_MASK(byte)); 133 byte = msg->address & 0xff; 135 AUX_SW_DATA_MASK(byte)); 137 byte = msize; 139 AUX_SW_DATA_MASK(byte));
|
/src/sys/external/bsd/drm2/include/linux/ |
string.h | 45 const uint8_t byte = c; /* XXX lose */ local in function:memchr_inv 49 if (*p != byte)
|
/src/usr.bin/make/unit-tests/ |
opt-file.mk | 12 all: file-containing-null-byte 65 # echo 'VAR=value' | tr 'l' '\0' > zero-byte.in 66 # printf '%s\n' 'all:' ': VAR=${VAR:Q}' >> zero-byte.in 70 # make-$year.01.01.00.00.00 -r -f zero-byte.in 82 # make: "(stdin)" line 1: Zero byte read from file 95 # make: "(stdin)" line 1: warning: Zero byte read from file, skipping rest of line. 99 # make: "(stdin)" line 1: Zero byte read from file 105 # make: "(stdin)" line 1: Zero byte read from file 107 file-containing-null-byte: .PHONY
|
/src/lib/libc/net/ |
iso_addr.c | 71 register int byte = 0, state = VIRGIN; local in function:iso_addr 91 *cp++ = byte; /*FALLTHROUGH*/ 93 state = GOTONE; byte = newaddr; continue; 95 state = GOTTWO; byte = newaddr + (byte << 4); continue; 97 state = VIRGIN; *cp++ = byte; byte = 0; continue; 100 *cp++ = byte; /* FALLTHROUGH */
|
linkaddr.c | 64 int byte = 0, state = NAMING; local in function:link_addr 100 *cp++ = byte; 104 byte = (int)newaddr; 108 byte = (int)newaddr + (byte << 4); 112 *cp++ = byte; 113 byte = 0; 117 *cp++ = byte;
|
/src/sys/arch/acorn32/podulebus/ |
cosc.c | 186 int byte; local in function:coscattach 189 byte = sc->sc_iobase[COSC_REGISTER_01]; 190 byte = 0; 193 byte |= (1 << loop); 195 printf(" byte=%02x", byte);
|
/src/sys/arch/x86/pci/imcsmb/ |
imcsmb.c | 247 uint8_t *byte; local in function:imcsmb_exec 254 byte = (uint8_t *) buf; 256 lbyte = *byte; 327 * the temperature sensors are I2C. Thus, byte-swap the 332 /* For byte operations, the data goes in the LSB, and 424 * above, byte-swap.
|
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
gcc_personality_v0.c | 47 unsigned char byte; local in function:readULEB128 50 byte = *p++; 51 result |= (byte & 0x7f) << shift; 53 } while (byte & 0x80);
|
/src/usr.sbin/memswitch/ |
memswitch.h | 60 unsigned char byte[4]; member in union:property::value
|
/src/common/dist/zlib/contrib/iostream2/ |
zstream.h | 46 struct Val { unsigned char byte; size_t word; } val; member in struct:zstringlen::Val 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 132 else val.word = val.byte; 278 val.byte = 255; val.word = ::strlen(x); 279 if (val.word < 255) zs < (val.byte = val.word);
|
/src/sys/dev/marvell/ |
mvspi.c | 292 uint8_t byte; local in function:mvspi_sched 317 byte = *chunk->chunk_wptr; 320 byte = MVSPI_DUMMY_BYTE; 323 PUTREG(sc, MVSPI_DATAOUT_REG, byte);
|
/src/sbin/ifconfig/ |
af_inet6.c | 114 int byte, bit, plen = 0; local in function:prefix 116 for (byte = 0; byte < size; byte++, plen += 8) 117 if (pname[byte] != 0xff) 119 if (byte == size) 122 if (!(pname[byte] & (1 << bit))) 125 if (pname[byte] & (1 << bit)) 127 byte++; 128 for (; byte < size; byte++ [all...] |
/src/sys/arch/mac68k/nubus/ |
nubus.c | 309 * end of the slot. If so, then we check for a bytelanes byte. We 315 * Checking for a card involves locating the "bytelanes" byte which 318 * bytelanes byte is at the end of that block. 320 * After some inspection of the bytelanes byte, it appears that it 392 * First, we need to find the first byte beyond memory that 493 * Compute byte offset on card, taking into account bytelanes. 611 u_int8_t byte, lanes = fmt->bytelanes; local in function:nubus_find_rsrc 623 byte = nubus_read_1(bst, bsh, lanes, entry); 626 printf("\tFound rsrc 0x%x.\n", byte); 628 if (byte == rsrcid) [all...] |
/src/sys/arch/vax/mba/ |
hp.c | 363 unsigned byte; local in function:hpfinish 379 byte = ~(bc >> 16); 381 btodb(bp->b_bcount - byte), sc->sc_disk.dk_label);
|