/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/usecode/ |
H A D | bit_set.cpp | 58 unsigned int firstbyte = pos / 8; in getEntries() local 61 if (firstbyte == lastbyte) { in getEntries() 62 return ((_data[firstbyte] >> (pos % 8)) & ((1 << n) - 1)); in getEntries() 73 ret |= (_data[firstbyte] & firstmask) >> (8 - firstbits); in getEntries() 75 for (unsigned int i = firstbyte + 1; i < lastbyte; ++i) { in getEntries() 89 unsigned int firstbyte = pos / 8; in setEntries() local 92 if (firstbyte == lastbyte) { in setEntries() 93 _data[firstbyte] &= ~(((1 << n) - 1) << (pos % 8)); in setEntries() 94 _data[firstbyte] |= (bits & ((1 << n) - 1)) << (pos % 8); in setEntries() 104 _data[firstbyte] &= ~firstmask; in setEntries() [all …]
|
/dports/sysutils/fusefs-ntfs/ntfs-3g_ntfsprogs-2017.3.23/libntfs-3g/ |
H A D | bitmap.c | 120 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, ret = -1; in ntfs_bitmap_set_bits_in_run() local 131 firstbyte = 1; in ntfs_bitmap_set_bits_in_run() 133 firstbyte = 0; in ntfs_bitmap_set_bits_in_run() 136 bufsize = ((count - (bit ? 8 - bit : 0) + 7) >> 3) + firstbyte; in ntfs_bitmap_set_bits_in_run() 174 lastbyte_pos = ((count + 7) >> 3) + firstbyte; in ntfs_bitmap_set_bits_in_run() 213 tmp = (start_bit >> 3) - firstbyte; in ntfs_bitmap_set_bits_in_run() 226 tmp = (bufsize - firstbyte - lastbyte) << 3; in ntfs_bitmap_set_bits_in_run() 227 if (firstbyte) { in ntfs_bitmap_set_bits_in_run() 228 firstbyte = 0; in ntfs_bitmap_set_bits_in_run()
|
/dports/net-p2p/libswift/libswift-dc0cbcc/tests/ |
H A D | httpmftest.py | 41 firstbyte = bytestr2int(firstbytestr) 47 elif firstbyte is None and lastbyte is None: 50 elif firstbyte >= length: 53 if firstbyte is None: 64 if firstbyte is not None and lastbyte is None: 66 nbytes2send = length - firstbyte 68 elif firstbyte is None and lastbyte is not None: 71 firstbyte = length - lastbyte 75 nbytes2send = lastbyte+1 - firstbyte 77 return (firstbyte,lastbyte,nbytes2send) [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/i2c/ |
H A D | i2c-ddc.c | 39 s->firstbyte = false; in i2c_ddc_reset() 48 s->firstbyte = true; in i2c_ddc_event() 67 if (s->firstbyte) { in i2c_ddc_tx() 69 s->firstbyte = false; in i2c_ddc_tx() 90 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/mail/libspamtest/libspamtest/ |
H A D | bufio.c | 199 if(buf->rbuf.firstbyte<buf->rbuf.lastbyte) in bufio_getbyte() 201 *byte=buf->rbuf.buf[buf->rbuf.firstbyte++]; in bufio_getbyte() 206 buf->rbuf.firstbyte = buf->rbuf.lastbyte = 0; in bufio_getbyte() 211 if(buf->rbuf.firstbyte<buf->rbuf.lastbyte) in bufio_getbyte() 213 *byte=buf->rbuf.buf[buf->rbuf.firstbyte++]; in bufio_getbyte() 277 while(buf->wbuf.firstbyte < buf->wbuf.lastbyte) in bufio_flush() 338 written = write(buf->fd,buf->wbuf.buf+buf->wbuf.firstbyte, in bufio_flush() 339 buf->wbuf.lastbyte-buf->wbuf.firstbyte); in bufio_flush() 355 buf->wbuf.firstbyte +=written; in bufio_flush() 358 buf->wbuf.firstbyte = buf->wbuf.lastbyte = 0; in bufio_flush()
|
/dports/emulators/qemu42/qemu-4.2.1/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu/qemu-6.2.0/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu60/qemu-6.0.0/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu5/qemu-5.2.0/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; 50 s->firstbyte = true; in win_iocp_wait_op() 69 if (s->firstbyte) { 71 s->firstbyte = false; 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/display/ |
H A D | i2c-ddc.c | 41 s->firstbyte = false; in i2c_ddc_reset() 50 s->firstbyte = true; in i2c_ddc_event() 69 if (s->firstbyte) { in i2c_ddc_tx() 71 s->firstbyte = false; in i2c_ddc_tx() 92 VMSTATE_BOOL(firstbyte, I2CDDCState),
|
/dports/security/nmap/nmap-7.91/libnetutil/ |
H A D | IPv6Header.cc | 189 struct firstbyte{ in setVersion() struct 218 struct firstbyte{ in getVersion() struct 237 struct firstbyte{ in setTrafficClass() struct 249 struct firstbyte{ in setTrafficClass() struct 279 struct firstbyte{ in getTrafficClass() struct 291 struct firstbyte{ in getTrafficClass() struct 303 struct firstbyte{ in getTrafficClass() struct 327 struct firstbyte{ in setFlowLabel() struct 352 struct firstbyte{ in getFlowLabel() struct
|
/dports/security/libssh/libssh-0.9.6/src/ |
H A D | dh-gex.c | 397 int firstbyte; in ssh_retrieve_dhgroup_file() local 404 firstbyte = getc(moduli); in ssh_retrieve_dhgroup_file() 405 if (firstbyte == '#'){ in ssh_retrieve_dhgroup_file() 407 firstbyte = getc(moduli); in ssh_retrieve_dhgroup_file() 408 } while(firstbyte != '\n' && firstbyte != EOF); in ssh_retrieve_dhgroup_file() 411 if (firstbyte == EOF) { in ssh_retrieve_dhgroup_file() 414 ungetc(firstbyte, moduli); in ssh_retrieve_dhgroup_file() 430 firstbyte = getc(moduli); in ssh_retrieve_dhgroup_file() 431 } while(firstbyte != '\n' && firstbyte != EOF); in ssh_retrieve_dhgroup_file()
|
/dports/math/gap/gap-4.11.0/pkg/OpenMath-11.5.0/gap/ |
H A D | omget.g | 28 fromgap, firstbyte, gap_obj, # string 37 firstbyte := ReadByte(stream); 39 if firstbyte = 24 then 41 gap_obj := GetNextObject( stream, firstbyte ); 50 success := PipeOpenMathObject( stream, fromgap, firstbyte );
|
/dports/net-mgmt/p5-SNMP_Session/SNMP_Session-1.13/test/ |
H A D | walk-test.pl | 121 my ($firstbyte) = split ('\.', $net); 123 = $firstbyte < 128 ? 8 124 : $firstbyte < 192 ? 16 125 : $firstbyte < 224 ? 24 : -1;
|
/dports/chinese/tin/tin-2.4.5/pcre/ |
H A D | pcre_compile.c | 2024 int firstbyte, reqbyte; in compile_branch() local 2251 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2266 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2814 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2841 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4077 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4388 firstbyte = REQ_NONE; in compile_branch() 4413 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4594 int firstbyte, reqbyte; in compile_regex() local 4680 if (firstbyte >= 0 && firstbyte != branchfirstbyte) in compile_regex() [all …]
|
/dports/news/tin/tin-2.4.5/pcre/ |
H A D | pcre_compile.c | 2024 int firstbyte, reqbyte; in compile_branch() local 2251 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2266 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2814 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2841 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4077 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4388 firstbyte = REQ_NONE; in compile_branch() 4413 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4594 int firstbyte, reqbyte; in compile_regex() local 4680 if (firstbyte >= 0 && firstbyte != branchfirstbyte) in compile_regex() [all …]
|
/dports/security/nmap/nmap-7.91/libpcre/ |
H A D | pcre_compile.c | 2358 int firstbyte, reqbyte; in compile_branch() local 2603 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2618 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3355 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3382 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4769 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5090 firstbyte = REQ_NONE; in compile_branch() 5116 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5304 int firstbyte, reqbyte; in compile_regex() local 5403 if (firstbyte >= 0 && firstbyte != branchfirstbyte) in compile_regex() [all …]
|
/dports/devel/cutter/cutter-1.2.6/glib-compatible/pcre/ |
H A D | pcre_compile.c | 2225 int firstbyte, reqbyte; in compile_branch() local 2470 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2485 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3222 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3249 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4636 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 4957 firstbyte = REQ_NONE; in compile_branch() 4983 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5171 int firstbyte, reqbyte; in compile_regex() local 5270 if (firstbyte >= 0 && firstbyte != branchfirstbyte) in compile_regex() [all …]
|
/dports/biology/emboss/EMBOSS-6.6.0/ajax/pcre/ |
H A D | pcre_compile.c | 2582 int firstbyte, reqbyte; in compile_branch() local 2828 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2843 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 2920 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3610 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 3637 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5056 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5463 if (firstbyte == REQ_UNSET) firstbyte = REQ_NONE; in compile_branch() 5651 int firstbyte, reqbyte; in compile_regex() local 5750 if (firstbyte >= 0 && firstbyte != branchfirstbyte) in compile_regex() [all …]
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | unsp.c | 125 uint32_t i, firstbyte, tre, allocsz, tablesz, dsize, ssize; in unspack() local 134 firstbyte = i = c / 0x2d; in unspack() 139 firstbyte = 0; in unspack() 170 tre = very_real_unpack(table, tablesz, tre, allocsz, firstbyte, src, ssize, dst, dsize); in unspack() 181 …16_t *table, uint32_t tablesz, uint32_t tre, uint32_t allocsz, uint32_t firstbyte, const char *src… in very_real_unpack() argument 198 firstbyte = (1 << (firstbyte & 0xff)) - 1; in very_real_unpack() 223 uint32_t backsize = firstbyte & unpacked_so_far; in very_real_unpack()
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | unsp.c | 125 uint32_t i, firstbyte, tre, allocsz, tablesz, dsize, ssize; in unspack() local 134 firstbyte = i = c / 0x2d; in unspack() 139 firstbyte = 0; in unspack() 170 tre = very_real_unpack(table, tablesz, tre, allocsz, firstbyte, src, ssize, dst, dsize); in unspack() 181 …16_t *table, uint32_t tablesz, uint32_t tre, uint32_t allocsz, uint32_t firstbyte, const char *src… in very_real_unpack() argument 198 firstbyte = (1 << (firstbyte & 0xff)) - 1; in very_real_unpack() 223 uint32_t backsize = firstbyte & unpacked_so_far; in very_real_unpack()
|
/dports/textproc/redisearch16/RediSearch-1.6.16/src/dep/cndict/ |
H A D | read_friso.py | 40 firstbyte = fp.read(1) 41 if len(firstbyte) == 0: 44 hdrinfo = ord(firstbyte)
|