Home
last modified time | relevance | path

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

123

/dports/graphics/xfractint/xfractint-20.04p16/common/
H A Ddiskvid.c230 memorysize += BLOCKLEN - i; in common_startdisk()
479 for (i = 0; i < BLOCKLEN; ++i) in findload_cache()
485 seek_offset = offset + BLOCKLEN; in findload_cache()
488 for (i = 0; i < BLOCKLEN; ++i) in findload_cache()
565 for (i = 0; i < BLOCKLEN; ++i) in write_cache_lru()
569 for (i = 0; i < BLOCKLEN/2; ++i) { in write_cache_lru()
576 for (i = 0; i < BLOCKLEN/4; ++i) { in write_cache_lru()
583 for (i = 0; i < BLOCKLEN/8; ++i) { in write_cache_lru()
605 offset = ptr1->offset + BLOCKLEN; in write_cache_lru()
636 if (membufptr - membuf >= BLOCKLEN) { in mem_getc()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A D_collectionsmodule.c18 #define BLOCKLEN 62 macro
19 #define CENTER ((BLOCKLEN - 1) / 2)
51 PyObject *data[BLOCKLEN];
143 assert(BLOCKLEN >= 2); in deque_new()
736 n = i / BLOCKLEN; in deque_item()
737 i %= BLOCKLEN; in deque_item()
793 n = i / BLOCKLEN; in deque_ass_item()
794 i %= BLOCKLEN; in deque_ass_item()
848 BLOCKLEN - 1; in deque_traverse()
1115 blocks = (deque->leftindex + deque->len + BLOCKLEN - 1) / BLOCKLEN; in deque_sizeof()
[all …]
/dports/lang/python27/Python-2.7.18/Modules/
H A D_collectionsmodule.c18 #define BLOCKLEN 62 macro
19 #define CENTER ((BLOCKLEN - 1) / 2)
51 PyObject *data[BLOCKLEN];
143 assert(BLOCKLEN >= 2); in deque_new()
736 n = i / BLOCKLEN; in deque_item()
737 i %= BLOCKLEN; in deque_item()
793 n = i / BLOCKLEN; in deque_ass_item()
794 i %= BLOCKLEN; in deque_ass_item()
848 BLOCKLEN - 1; in deque_traverse()
1115 blocks = (deque->leftindex + deque->len + BLOCKLEN - 1) / BLOCKLEN; in deque_sizeof()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/src/dos/
H A Dwss.c85 #define BLOCKLEN 512 macro
189 return BLOCKLEN / (wss_stereo ? 2 : 1) / (wss_16bits ? 2 : 1); in wss_buffer_size()
212 wss_dma_block = (_dma_todo(_sound_dma) > BLOCKLEN) ? 1 : 0; in wss_irq_handler()
213 _mix_some_samples(wss_dma_addr + wss_dma_block * BLOCKLEN, _dos_ds, TRUE); in wss_irq_handler()
283 if (_dma_allocate_mem(BLOCKLEN * 2, &wss_dma_sel, &wss_dma_addr) != 0) in wss_init()
286 nsamples = BLOCKLEN; in wss_init()
352 _mix_some_samples(wss_dma_addr + BLOCKLEN, _dos_ds, TRUE); in wss_init()
354 _dma_start(_sound_dma, wss_dma_addr, BLOCKLEN * 2, TRUE, FALSE); in wss_init()
/dports/databases/py-gdbm/Python-3.8.12/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
984 if (index == BLOCKLEN) { in deque_count()
1020 if (index == BLOCKLEN) { in deque_contains()
1066 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1071 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/lang/python37/Python-3.7.12/Modules/
H A D_collectionsmodule.c21 #define BLOCKLEN 64 macro
22 #define CENTER ((BLOCKLEN - 1) / 2)
73 PyObject *data[BLOCKLEN];
165 assert(BLOCKLEN >= 2); in deque_new()
638 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
649 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
1009 if (index == BLOCKLEN) { in deque_count()
1043 if (index == BLOCKLEN) { in deque_contains()
1092 if (index == BLOCKLEN) { in deque_index()
1113 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/lang/python-tools/Python-3.8.12/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
984 if (index == BLOCKLEN) { in deque_count()
1020 if (index == BLOCKLEN) { in deque_contains()
1066 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1071 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/lang/python38/Python-3.8.12/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
984 if (index == BLOCKLEN) { in deque_count()
1020 if (index == BLOCKLEN) { in deque_contains()
1066 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1071 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
984 if (index == BLOCKLEN) { in deque_count()
1020 if (index == BLOCKLEN) { in deque_contains()
1066 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1071 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
984 if (index == BLOCKLEN) { in deque_count()
1020 if (index == BLOCKLEN) { in deque_contains()
1066 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1071 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/digests/
H A DBlake3Digest.java38 private static final int BLOCKLEN = NUMWORDS * Integers.BYTES * 2; field in Blake3Digest
180 private final byte[] theBuffer = new byte[BLOCKLEN];
257 this(BLOCKLEN >> 1); in Blake3Digest()
285 return BLOCKLEN; in getByteLength()
388 remainingLen = BLOCKLEN - thePos; in update()
412 final int blockWiseLastPos = pOffset + pLen - BLOCKLEN; in update()
463 if (thePos < BLOCKLEN) in doOutput()
466 final int dataToCopy = Math.min(dataLeft, BLOCKLEN - thePos); in doOutput()
482 final int dataToCopy = Math.min(dataLeft, BLOCKLEN); in doOutput()
549 initChunkBlock(BLOCKLEN, false); in compressBlock()
[all …]
/dports/lang/python311/Python-3.11.0a3/Modules/
H A D_collectionsmodule.c27 #define BLOCKLEN 64 macro
28 #define CENTER ((BLOCKLEN - 1) / 2)
80 PyObject *data[BLOCKLEN];
170 assert(BLOCKLEN >= 2); in deque_new()
607 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
618 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
991 if (index == BLOCKLEN) { in deque_count()
1027 if (index == BLOCKLEN) { in deque_contains()
1073 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1078 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/lang/python310/Python-3.10.1/Modules/
H A D_collectionsmodule.c31 #define BLOCKLEN 64 macro
32 #define CENTER ((BLOCKLEN - 1) / 2)
83 PyObject *data[BLOCKLEN];
175 assert(BLOCKLEN >= 2); in deque_new()
611 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
622 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
995 if (index == BLOCKLEN) { in deque_count()
1031 if (index == BLOCKLEN) { in deque_contains()
1077 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1082 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/lang/python39/Python-3.9.9/Modules/
H A D_collectionsmodule.c30 #define BLOCKLEN 64 macro
31 #define CENTER ((BLOCKLEN - 1) / 2)
82 PyObject *data[BLOCKLEN];
174 assert(BLOCKLEN >= 2); in deque_new()
610 m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex; in deque_clear()
621 m = (n > BLOCKLEN) ? BLOCKLEN : n; in deque_clear()
983 if (index == BLOCKLEN) { in deque_count()
1019 if (index == BLOCKLEN) { in deque_contains()
1065 for (i=0 ; i < start - BLOCKLEN ; i += BLOCKLEN) { in deque_index()
1070 if (index == BLOCKLEN) { in deque_index()
[all …]
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/AlignIO/
H A Dmega.pm81 use vars qw($MEGANAMELEN %VALID_TYPES $LINELEN $BLOCKLEN);
92 $BLOCKLEN = 10;
221 push @blocks, substr($substring, $blockcount,$BLOCKLEN);
222 $blockcount += $BLOCKLEN;
/dports/archivers/ha/ha-0.999b_2/c/
H A Dhaio.c35 unsigned char ib[BLOCKLEN],ob[BLOCKLEN];
110 ibl=(*inspecial)(ib,BLOCKLEN); in bread()
115 ibl=read(infile,ib,BLOCKLEN); in bread()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_collectionsmodule.c16 #define BLOCKLEN 62 macro
17 #define CENTER ((BLOCKLEN - 1) / 2)
51 PyObject *data[BLOCKLEN];
146 assert(BLOCKLEN >= 2); in deque_new()
267 deque->leftindex = BLOCKLEN; in deque_appendleft()
628 n = i / BLOCKLEN; in deque_item()
629 i %= BLOCKLEN; in deque_item()
685 n = i / BLOCKLEN; in deque_ass_item()
686 i %= BLOCKLEN; in deque_ass_item()
743 BLOCKLEN - 1; in deque_traverse()
[all …]
/dports/net/libsignal-protocol-c/libsignal-protocol-c-2.3.3/src/curve25519/ed25519/additions/generalized/
H A Dgen_eddsa.c55 prefix_len += ((BLOCKLEN - (prefix_len % BLOCKLEN)) % BLOCKLEN); in generalized_commit()
57 prefix_len += ((BLOCKLEN - (prefix_len % BLOCKLEN)) % BLOCKLEN); in generalized_commit()
H A Dgen_labelset.c41 pad_len = (BLOCKLEN - ((bufptr-buf) % BLOCKLEN)) % BLOCKLEN; in buffer_pad()
/dports/net-im/dino/dino-0.2.2/plugins/signal-protocol/libsignal-protocol-c/src/curve25519/ed25519/additions/generalized/
H A Dgen_eddsa.c55 prefix_len += ((BLOCKLEN - (prefix_len % BLOCKLEN)) % BLOCKLEN); in generalized_commit()
57 prefix_len += ((BLOCKLEN - (prefix_len % BLOCKLEN)) % BLOCKLEN); in generalized_commit()
H A Dgen_labelset.c41 pad_len = (BLOCKLEN - ((bufptr-buf) % BLOCKLEN)) % BLOCKLEN; in buffer_pad()
/dports/security/gnupg1/gnupg-1.4.23/cipher/
H A Drandom.c97 #define BLOCKLEN 64 /* hash this amount of bytes */ macro
223 rndpool = secure_alloc ? xmalloc_secure_clear(POOLSIZE+BLOCKLEN) in initialize()
224 : xmalloc_clear(POOLSIZE+BLOCKLEN); in initialize()
225 keypool = secure_alloc ? xmalloc_secure_clear(POOLSIZE+BLOCKLEN) in initialize()
226 : xmalloc_clear(POOLSIZE+BLOCKLEN); in initialize()
366 memcpy(hashbuf+DIGESTLEN, pool, BLOCKLEN-DIGESTLEN); in mix_pool()
373 if( p + BLOCKLEN < pend ) in mix_pool()
374 memcpy(hashbuf, p, BLOCKLEN); in mix_pool()
377 for(i=0; i < BLOCKLEN; i++ ) { in mix_pool()
/dports/archivers/ha/ha-0.999b_2/include/
H A Dhaio.h22 #define BLOCKLEN 8192 macro
29 #define putbyte(c) {ob[obl++]=(c);if(obl==BLOCKLEN)bwrite();}
/dports/comms/cwstudio/cwstudio-0.9.6/src/
H A Dplay.c29 #define BLOCKLEN 32768 macro
337 if(playcounter <= (length - BLOCKLEN + 2 * SUBBLOCKLEN)) in cwstudio_dosplay_irq()
339 dosmemput(buffer + playcounter + BLOCKLEN, SUBBLOCKLEN, dos_offset + (SUBBLOCKLEN * dos_counter)); in cwstudio_dosplay_irq()
391 cwstudio_allocate_dos(BLOCKLEN); in cwstudio_play()
396 dosmemput(buffer, BLOCKLEN, dos_offset); in cwstudio_play()
437 outportb((sb_dma << 1) + 1, BLOCKLEN & 0xFF); in cwstudio_play()
438 outportb((sb_dma << 1) + 1, BLOCKLEN >> 8); in cwstudio_play()
/dports/security/libgcrypt/libgcrypt-1.9.4/random/
H A Drandom-csprng.c85 #define BLOCKLEN 64 /* Hash this amount of bytes... */ macro
312 ? xcalloc_secure (1, POOLSIZE + BLOCKLEN) in initialize()
313 : xcalloc (1, POOLSIZE + BLOCKLEN)); in initialize()
315 ? xcalloc_secure (1, POOLSIZE + BLOCKLEN) in initialize()
316 : xcalloc (1, POOLSIZE + BLOCKLEN)); in initialize()
614 memcpy (hashbuf+DIGESTLEN, pool, BLOCKLEN-DIGESTLEN); in mix_pool()
628 if (p + BLOCKLEN < pend) in mix_pool()
629 memcpy (hashbuf, p, BLOCKLEN); in mix_pool()
634 for (i=0; i < BLOCKLEN; i++ ) in mix_pool()

123