Home
last modified time | relevance | path

Searched refs:block_sz (Results 1 – 25 of 174) sorted by relevance

1234567

/dports/audio/codec2/codec2-1.0.3/stm32/src/
H A Dstm32f4_vrom.c513 return block_sz; in vrom_overwrite_block()
547 block_sz, in); in vrom_write_internal()
550 count += block_sz; in vrom_write_internal()
559 block_sz = size; in vrom_write_internal()
572 block_sz, in); in vrom_write_internal()
601 uint8_t block_sz; in vrom_read() local
617 block_sz = size; in vrom_read()
620 size -= block_sz; in vrom_read()
621 count += block_sz; in vrom_read()
630 block_sz = size; in vrom_read()
[all …]
/dports/graphics/aloadimage/arcan-0.6.1/src/platform/posix/
H A Dprodthrd.c15 size_t block_sz; member
31 ssize_t nr = read(thd->fd, thd->buf, thd->block_sz); in iothread()
47 size_t ntr = thd->block_sz - ofs; in iothread()
54 if (ofs == thd->block_sz){ in iothread()
55 if (!thd->callback(thd->pipeout, thd->buf, thd->block_sz, thd->tag)) in iothread()
68 size_t block_sz, bool(*callback)(int, uint8_t*, size_t, void*), void* tag) in platform_producer_thread() argument
98 if (block_sz){ in platform_producer_thread()
99 buf_sz = block_sz; in platform_producer_thread()
113 .block_sz = buf_sz, in platform_producer_thread()
/dports/sysutils/acfgfs/arcan-0.6.1/src/platform/posix/
H A Dprodthrd.c15 size_t block_sz; member
31 ssize_t nr = read(thd->fd, thd->buf, thd->block_sz); in iothread()
47 size_t ntr = thd->block_sz - ofs; in iothread()
54 if (ofs == thd->block_sz){ in iothread()
55 if (!thd->callback(thd->pipeout, thd->buf, thd->block_sz, thd->tag)) in iothread()
68 size_t block_sz, bool(*callback)(int, uint8_t*, size_t, void*), void* tag) in platform_producer_thread() argument
98 if (block_sz){ in platform_producer_thread()
99 buf_sz = block_sz; in platform_producer_thread()
113 .block_sz = buf_sz, in platform_producer_thread()
/dports/x11/aclip/arcan-0.6.1/src/platform/posix/
H A Dprodthrd.c15 size_t block_sz; member
31 ssize_t nr = read(thd->fd, thd->buf, thd->block_sz); in iothread()
47 size_t ntr = thd->block_sz - ofs; in iothread()
54 if (ofs == thd->block_sz){ in iothread()
55 if (!thd->callback(thd->pipeout, thd->buf, thd->block_sz, thd->tag)) in iothread()
68 size_t block_sz, bool(*callback)(int, uint8_t*, size_t, void*), void* tag) in platform_producer_thread() argument
98 if (block_sz){ in platform_producer_thread()
99 buf_sz = block_sz; in platform_producer_thread()
113 .block_sz = buf_sz, in platform_producer_thread()
/dports/x11/arcan-trayicon/arcan-0.6.1/src/platform/posix/
H A Dprodthrd.c15 size_t block_sz; member
31 ssize_t nr = read(thd->fd, thd->buf, thd->block_sz); in iothread()
47 size_t ntr = thd->block_sz - ofs; in iothread()
54 if (ofs == thd->block_sz){ in iothread()
55 if (!thd->callback(thd->pipeout, thd->buf, thd->block_sz, thd->tag)) in iothread()
68 size_t block_sz, bool(*callback)(int, uint8_t*, size_t, void*), void* tag) in platform_producer_thread() argument
98 if (block_sz){ in platform_producer_thread()
99 buf_sz = block_sz; in platform_producer_thread()
113 .block_sz = buf_sz, in platform_producer_thread()
/dports/science/hypre/hypre-2.23.0/src/struct_mv/
H A Dbox_algebra.c224 block_sz[0] = 0; in hypre_UnionBoxes()
228 block_sz[d] = 0; in hypre_UnionBoxes()
260 block_sz[d]++; in hypre_UnionBoxes()
267 block_sz[d]--; in hypre_UnionBoxes()
268 block_volume = block_sz[0] * block_sz[1] * block_sz[2]; in hypre_UnionBoxes()
275 factor[1] = (block_sz[0] + 1); in hypre_UnionBoxes()
309 index = ((k) * block_sz[1] + j) * block_sz[0] + i; in hypre_UnionBoxes()
357 index = ((ii[2]) * block_sz[1] + ii[1]) * block_sz[0] + ii[0]; in hypre_UnionBoxes()
394 for (k = 0; k < block_sz[2]; k++) in hypre_UnionBoxes()
396 for (j = 0; j < block_sz[1]; j++) in hypre_UnionBoxes()
[all …]
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Dz_intrf.c141 unsigned int block_sz=0x4000; local
178 int bytes_to_read=min(block_sz, bytes_left);
197 strm.avail_out = block_sz;
203 have = block_sz - strm.avail_out;
250 unsigned int block_sz=0x4000; local
270 int bytes_to_read=min(block_sz, bytes_left);
293 strm.avail_out = block_sz;
299 have = block_sz - strm.avail_out;
354 unsigned int block_sz=0x4000; local
398 strm.avail_out = block_sz;
[all …]
/dports/science/berkeleygw/BGW-2.0.0/BSE/
H A Diterate.f9060 SCALAR, intent(in) :: hbse_a(nmat,peinf%nblocks*peinf%block_sz)
66 SCALAR :: s1_l(peinf%nblocks*peinf%block_sz), xtemp, &
67 s0_l(peinf%nblocks*peinf%block_sz),dum1(nmat),dum2(nmat), &
109 call X(gemv)('N', nmat, peinf%nblocks*peinf%block_sz, ONE, &
126 call X(gemv)('N', nmat, peinf%nblocks*peinf%block_sz, ONE, &
154 call X(gemv)('N', nmat, peinf%nblocks*peinf%block_sz, ONE, &
170 call X(gemv)('N', nmat, peinf%nblocks*peinf%block_sz, ONE, &
224 SCALAR, intent(out) :: ss_l(peinf%nblocks*peinf%block_sz)
232 do ii=1,peinf%ibt(peinf%inode+1)*peinf%block_sz
H A Ddiag.f90272 peinf%block_sz = ncvs_fi
274 peinf%block_sz = xct%nvb_fi*xct%nspin
276 peinf%block_sz = xct%nspin
412 SAFE_ALLOCATE(hbse_a, (xct%nkpt_fi*ncvs_fi, peinf%nblocks*peinf%block_sz))
560 pblock = neig/(peinf%npes*peinf%block_sz)
561 if (pblock*peinf%npes*peinf%block_sz.lt.neig) pblock = pblock + 1
562 pblock = pblock*peinf%block_sz
572 if (mod(jj,peinf%block_sz).eq.0) ii=ii+1
607 write(666,'(2(i0,1x))') xct%nkpt_fi*ncvs_fi, peinf%nblocks*peinf%block_sz
608 write(667,'(2(i0,1x))') xct%nkpt_fi*ncvs_fi, peinf%nblocks*peinf%block_sz
[all …]
/dports/security/botan110/Botan-1.10.17/src/engine/openssl/
H A Dossl_bc.cpp25 size_t block_size() const { return block_sz; } in block_size()
40 size_t block_sz; member in Botan::__anon55a7e0310111::EVP_BlockCipher
51 block_sz(EVP_CIPHER_block_size(algo)), in EVP_BlockCipher()
76 block_sz(EVP_CIPHER_block_size(algo)), in EVP_BlockCipher()
110 EVP_EncryptUpdate(encrypt, out, &out_len, in, blocks * block_sz); in encrypt_n()
120 EVP_DecryptUpdate(decrypt, out, &out_len, in, blocks * block_sz); in decrypt_n()
/dports/multimedia/xvid/xvidcore/src/motion/
H A Dmotion_inlines.h44 uint32_t block_sz, /* block dimension, 3(8) or 4(16) */ in get_range() argument
55 k = (int)(width - (x<<block_sz))<<precision; in get_range()
57 k = (int)(height - (y<<block_sz))<<precision; in get_range()
60 k = (-(int)((x+1)<<block_sz))<<precision; in get_range()
62 k = (-(int)((y+1)<<block_sz))<<precision; in get_range()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/krypto/
H A Dwgaencrypt.c928 if (ix >= sizeof (header->block_sz)) in WGAEncValidateHeader()
931 if (header->block_sz[ix] == '+') in WGAEncValidateHeader()
934 if (ix >= sizeof (header->block_sz)) in WGAEncValidateHeader()
937 for (; (ix < sizeof header->block_sz); ++ix) in WGAEncValidateHeader()
939 if (isdigit (header->block_sz[ix])) in WGAEncValidateHeader()
941 else if ((header->block_sz[ix] >= 'a') && in WGAEncValidateHeader()
942 (header->block_sz[ix] <= 'w')) in WGAEncValidateHeader()
945 (header->block_sz[ix] <= 'W')) in WGAEncValidateHeader()
950 for (; (ix < sizeof header->block_sz); ++ix) in WGAEncValidateHeader()
952 if (header->block_sz[ix] == '\0') in WGAEncValidateHeader()
[all …]
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/krypto/
H A Dwgaencrypt.c928 if (ix >= sizeof (header->block_sz)) in WGAEncValidateHeader()
931 if (header->block_sz[ix] == '+') in WGAEncValidateHeader()
934 if (ix >= sizeof (header->block_sz)) in WGAEncValidateHeader()
937 for (; (ix < sizeof header->block_sz); ++ix) in WGAEncValidateHeader()
939 if (isdigit (header->block_sz[ix])) in WGAEncValidateHeader()
941 else if ((header->block_sz[ix] >= 'a') && in WGAEncValidateHeader()
942 (header->block_sz[ix] <= 'w')) in WGAEncValidateHeader()
945 (header->block_sz[ix] <= 'W')) in WGAEncValidateHeader()
950 for (; (ix < sizeof header->block_sz); ++ix) in WGAEncValidateHeader()
952 if (header->block_sz[ix] == '\0') in WGAEncValidateHeader()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c287 unsigned long block_sz, start_pfn; in pseries_remove_memblock() local
298 block_sz = pseries_memory_block_size(); in pseries_remove_memblock()
299 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
371 unsigned long block_sz; in dlpar_remove_lmb() local
387 block_sz = pseries_memory_block_size(); in dlpar_remove_lmb()
389 __remove_memory(mem_block->nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()
393 memblock_remove(lmb->base_addr, block_sz); in dlpar_remove_lmb()
613 unsigned long block_sz; in dlpar_add_lmb() local
625 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
633 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_NONE); in dlpar_add_lmb()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c287 unsigned long block_sz, start_pfn; in pseries_remove_memblock() local
298 block_sz = pseries_memory_block_size(); in pseries_remove_memblock()
299 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
371 unsigned long block_sz; in dlpar_remove_lmb() local
387 block_sz = pseries_memory_block_size(); in dlpar_remove_lmb()
389 __remove_memory(mem_block->nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()
393 memblock_remove(lmb->base_addr, block_sz); in dlpar_remove_lmb()
613 unsigned long block_sz; in dlpar_add_lmb() local
625 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
633 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_NONE); in dlpar_add_lmb()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c287 unsigned long block_sz, start_pfn; in pseries_remove_memblock() local
298 block_sz = pseries_memory_block_size(); in pseries_remove_memblock()
299 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
371 unsigned long block_sz; in dlpar_remove_lmb() local
387 block_sz = pseries_memory_block_size(); in dlpar_remove_lmb()
389 __remove_memory(mem_block->nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()
393 memblock_remove(lmb->base_addr, block_sz); in dlpar_remove_lmb()
613 unsigned long block_sz; in dlpar_add_lmb() local
625 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
633 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_NONE); in dlpar_add_lmb()
[all …]
/dports/net-mgmt/seafile-client/seafile-7.0.9/common/cdc/
H A Dcdc.c69 if (file_descr->block_sz <= 0) in init_cdc_file_descriptor()
70 file_descr->block_sz = BLOCK_SZ; in init_cdc_file_descriptor()
84 #define WRITE_CDC_BLOCK(block_sz, write_data) \ argument
86 int _block_sz = (block_sz); \
133 uint32_t block_mask = file_descr->block_sz - 1; in file_chunk_cdc()
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/common/cdc/
H A Dcdc.c69 if (file_descr->block_sz <= 0) in init_cdc_file_descriptor()
70 file_descr->block_sz = BLOCK_SZ; in init_cdc_file_descriptor()
84 #define WRITE_CDC_BLOCK(block_sz, write_data) \ argument
86 int _block_sz = (block_sz); \
133 uint32_t block_mask = file_descr->block_sz - 1; in file_chunk_cdc()
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dcrypto_libtomcrypt.c47 int block_sz = data_to_read < FORTUNA_MAX_SZ ? data_to_read : FORTUNA_MAX_SZ; in sqlcipher_ltc_add_random() local
53 rc = fortuna_add_entropy(data, block_sz, &prng); in sqlcipher_ltc_add_random()
58 data_to_read -= block_sz; in sqlcipher_ltc_add_random()
59 data += block_sz; in sqlcipher_ltc_add_random()
60 block_sz = data_to_read < FORTUNA_MAX_SZ ? data_to_read : FORTUNA_MAX_SZ; in sqlcipher_ltc_add_random()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c278 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
846 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
848 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
851 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
852 req->cache[req->block_sz-1] = (req->block_sz << 3) & in safexcel_ahash_final()
946 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_sha1_init()
1029 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_hmac_sha1_init()
1937 req->block_sz = sizeof(u32); in safexcel_crc32_init()
2008 req->block_sz = AES_BLOCK_SIZE; in safexcel_cbcmac_init()
2284 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c278 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
846 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
848 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
851 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
852 req->cache[req->block_sz-1] = (req->block_sz << 3) & in safexcel_ahash_final()
946 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_sha1_init()
1029 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_hmac_sha1_init()
1937 req->block_sz = sizeof(u32); in safexcel_crc32_init()
2008 req->block_sz = AES_BLOCK_SIZE; in safexcel_cbcmac_init()
2284 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c278 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
846 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
848 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
851 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
852 req->cache[req->block_sz-1] = (req->block_sz << 3) & in safexcel_ahash_final()
946 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_sha1_init()
1029 req->block_sz = SHA1_BLOCK_SIZE; in safexcel_hmac_sha1_init()
1937 req->block_sz = sizeof(u32); in safexcel_crc32_init()
2008 req->block_sz = AES_BLOCK_SIZE; in safexcel_cbcmac_init()
2284 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()
[all …]
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/tools/
H A Dwxget.py119 block_sz = 8192
130 maximum=1+file_size/block_sz, style=dstyle)
136 read_buffer = url_res.read(block_sz)
138 progress.Update(file_size_dl / block_sz, "message+\nDONE!")
148 (keep_going, dummy_skip) = progress.Update(file_size_dl / block_sz,
/dports/audio/xmcd/xmcd-3.3.2/cdda_d/
H A Dif_flac.c99 block_sz; /* Block size */ member
697 ret = FLAC__stream_encoder_set_blocksize(stp, pp->block_sz); in if_flac_encoder_setup()
857 parms.block_sz = 4608; in if_flac_init()
866 parms.block_sz = 4608; in if_flac_init()
875 parms.block_sz = 4608; in if_flac_init()
884 parms.block_sz = 4608; in if_flac_init()
892 parms.block_sz = 4608; in if_flac_init()
899 parms.block_sz = 4608; in if_flac_init()
906 parms.block_sz = 1152; in if_flac_init()
915 parms.block_sz = 1152; in if_flac_init()
[all …]
/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/contrib/
H A Ddir2fs20 block_sz=4096
43 …a_csum,64bit,^has_journal -E packed_meta_blocks=1,num_backup_sb=0 -b "${block_sz}" -I "${inodesz}"…

1234567