Home
last modified time | relevance | path

Searched refs:SBSIZE (Results 1 – 25 of 100) sorted by relevance

1234

/dports/sysutils/scan_ffs/scan_ffs-1.2/
H A Dscan_ffs.c48 #define SBSIZE SBLOCKSIZE macro
63 static u_int8_t buf[SBSIZE * SBCOUNT]; in ufsscan()
72 for (blk = beg; blk <= ((end<0)?blk:end); blk += (SBCOUNT*SBSIZE/512)){ in ufsscan()
73 memset(buf, 0, SBSIZE * SBCOUNT); in ufsscan()
76 if (read(fd, buf, SBSIZE * SBCOUNT) < 0) in ufsscan()
79 for (n = 0; n < (SBSIZE * SBCOUNT); n += 512){ in ufsscan()
103 if (((blk+(n/512)) - lastblk) == (SBSIZE*ufs/512)) { in ufsscan()
112 blk+(n/(512))-(2*SBSIZE/512)-((ufs-1)*SBLOCK_UFS2/512), in ufsscan()
126 blk+(n/(512))-(2*SBSIZE/512)-((ufs-1)*SBLOCK_UFS2/512), in ufsscan()
135 if ((n + size) < (SBSIZE * SBCOUNT)) in ufsscan()
/dports/www/firefox-esr/firefox-91.8.0/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) { in dread()
68 if (stdinBufIdx == SBSIZE) { in dread()
83 if (stdoutBufIdx == SBSIZE) { in dwrite()
90 if (stdoutBufIdx == SBSIZE) in dwrite()
91 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/www/firefox/firefox-99.0/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) { in dread()
68 if (stdinBufIdx == SBSIZE) { in dread()
83 if (stdoutBufIdx == SBSIZE) { in dwrite()
90 if (stdoutBufIdx == SBSIZE) in dwrite()
91 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/lang/spidermonkey60/firefox-60.9.0/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) in dread()
67 if (stdinBufIdx == SBSIZE) in dread()
81 if (stdoutBufIdx == SBSIZE) in dwrite()
87 if (stdoutBufIdx == SBSIZE) in dwrite()
88 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/www/firefox-legacy/firefox-52.8.0esr/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) in dread()
67 if (stdinBufIdx == SBSIZE) in dread()
81 if (stdoutBufIdx == SBSIZE) in dwrite()
87 if (stdoutBufIdx == SBSIZE) in dwrite()
88 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/devel/nspr/nspr-4.33/nspr/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) { in dread()
68 if (stdinBufIdx == SBSIZE) { in dread()
83 if (stdoutBufIdx == SBSIZE) { in dwrite()
90 if (stdoutBufIdx == SBSIZE) in dwrite()
91 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/mail/thunderbird/thunderbird-91.8.0/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) { in dread()
68 if (stdinBufIdx == SBSIZE) { in dread()
83 if (stdoutBufIdx == SBSIZE) { in dwrite()
90 if (stdoutBufIdx == SBSIZE) in dwrite()
91 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/lang/spidermonkey78/firefox-78.9.0/nsprpub/pr/tests/
H A Dsem.c43 #define SBSIZE 1024 macro
47 static char stdinBuf[SBSIZE];
48 static char stdoutBuf[SBSIZE];
61 for (i=0; i<SBSIZE; i++) { in dread()
68 if (stdinBufIdx == SBSIZE) { in dread()
83 if (stdoutBufIdx == SBSIZE) { in dwrite()
90 if (stdoutBufIdx == SBSIZE) in dwrite()
91 for (j=0; j<SBSIZE; j++) in dwrite()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/mcpp/
H A Dsystem.H295 #ifndef SBSIZE
296 #define SBSIZE 0x400 macro
313 #define SBMASK (SBSIZE - 1)
314 #if (SBSIZE ^ SBMASK) != ((SBSIZE * 2) - 1)
/dports/devel/mcpp/mcpp-2.7.2/src/
H A Dsystem.H295 #ifndef SBSIZE
296 #define SBSIZE 0x400 macro
313 #define SBMASK (SBSIZE - 1)
314 #if (SBSIZE ^ SBMASK) != ((SBSIZE * 2) - 1)
/dports/deskutils/knotes/knotes-21.12.3/noteshared/src/network/
H A Dnotesnetworkreceiver.cpp31 #define SBSIZE 512 macro
82 char smallBuffer[SBSIZE]; in slotDataAvailable()
89 smallBufferLen = d->m_sock->read(smallBuffer, SBSIZE); in slotDataAvailable()
98 } while (smallBufferLen == SBSIZE); in slotDataAvailable()
/dports/devel/z88dk/z88dk/src/cpp/
H A Dcpp6.c519 #ifndef SBSIZE
520 #define SBSIZE 64
522 #define SBMASK (SBSIZE - 1)
523 #if (SBSIZE ^ SBMASK) != ((SBSIZE * 2) - 1)
524 << error, SBSIZE must be a power of 2 >>
527 static DEFBUF *symtab[SBSIZE]; /* Symbol table queue headers */
628 for (syp = symtab; syp < &symtab[SBSIZE]; syp++) {
/dports/emulators/z80pack/z80pack-1.37/mosteksim/srcsim/
H A Dsim.h24 #define SBSIZE 4 /* number of software breakpoints */ macro
111 #ifdef SBSIZE
H A Dsimctl.c268 #ifdef SBSIZE in handel_break()
272 for (i = 0; i < SBSIZE; i++) /* search for breakpoint */ in handel_break()
681 #ifndef SBSIZE in do_break()
690 for (i = 0; i < SBSIZE; i++) in do_break()
699 if (i >= SBSIZE) { in do_break()
705 if (sb_next == SBSIZE) in do_break()
908 #ifdef SBSIZE in do_show()
909 i = SBSIZE; in do_show()
/dports/emulators/z80pack/z80pack-1.37/z80sim/srcsim/
H A Dsim.h59 #define SBSIZE 4 /* number of software breakpoints */ macro
147 #ifdef SBSIZE
H A Dsimctl.c292 #ifdef SBSIZE in handel_break()
296 for (i = 0; i < SBSIZE; i++) /* search for breakpoint */ in handel_break()
703 #ifndef SBSIZE in do_break()
712 for (i = 0; i < SBSIZE; i++) in do_break()
721 if (i >= SBSIZE) { in do_break()
727 if (sb_next == SBSIZE) in do_break()
934 #ifdef SBSIZE in do_show()
935 i = SBSIZE; in do_show()
/dports/emulators/z80pack/z80pack-1.37/z80core/
H A Dsimglb.c111 #ifdef SBSIZE
112 struct softbreak soft[SBSIZE]; /* memory to hold breakpoint informations */
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/fcpp/
H A Dcppdef.h377 #ifndef SBSIZE
378 #define SBSIZE 64 macro
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/fcpp/
H A Dcppdef.h377 #ifndef SBSIZE
378 #define SBSIZE 64 macro
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_cache_tool/
H A DCacheDefs.cc898 static const size_t SBSIZE = CacheStoreBlocks::SCALE; // save some typing. in loadMeta() local
899 alignas(SBSIZE) char stripe_buff[SBSIZE]; // Use when reading a single stripe block. in loadMeta()
900 alignas(SBSIZE) char stripe_buff2[SBSIZE]; // use to save the stripe freelist in loadMeta()
901 if (io_align > SBSIZE) { in loadMeta()
903 … " because the I/O block alignment ", io_align, " is larger than the buffer alignment ", SBSIZE); in loadMeta()
909 ssize_t headerbyteCount = pread(fd, stripe_buff2, SBSIZE, pos); in loadMeta()
918 pos += round_up(SBSIZE); in loadMeta()
919 …_directory._skip = Bytes(SBSIZE); // first guess, updated in @c updateLiveData when the header len… in loadMeta()
937 data.remove_prefix(SBSIZE); // skip footer for checking on B copy. in loadMeta()
/dports/misc/rump/buildrump.sh-b914579/src/sys/lib/libsa/
H A Dminixfs3.h109 #define SBSIZE offsetof(struct mfs_sblock, mfs_inodes_per_block) macro
135 memcpy((new), (old), SBSIZE);
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/lp/
H A Dlpdsend.c27 #define SBSIZE 8192 macro
28 unsigned char sendbuf[SBSIZE];
54 while ((n=read(in, sendbuf, SBSIZE)) > 0) { in copyfile()
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/ext2fs/
H A Dext2fs.h83 #define SBSIZE 1024 macro
410 # define e2fs_sbload(old, new) memcpy((new), (old), SBSIZE);
412 # define e2fs_sbsave(old, new) memcpy((new), (old), SBSIZE);
/dports/emulators/qemu60/qemu-6.0.0/roms/openbios/fs/grubfs/
H A Dfsys_ffs.c88 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE)) in ffs_mount()
89 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK) in ffs_mount()
/dports/emulators/qemu42/qemu-4.2.1/roms/openbios/fs/grubfs/
H A Dfsys_ffs.c88 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE)) in ffs_mount()
89 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK) in ffs_mount()

1234