Home
last modified time | relevance | path

Searched refs:nblocks (Results 1 – 25 of 26) sorted by relevance

12

/external/fio/crc/
Dmurmur3.c22 static uint32_t murmur3_tail(const uint8_t *data, const int nblocks, in murmur3_tail() argument
26 const uint8_t *tail = (const uint8_t *)(data + nblocks * 4); in murmur3_tail()
48 const int nblocks = len / 4; in murmurhash3() local
52 const uint32_t *blocks = (const uint32_t *)(data + nblocks * 4); in murmurhash3()
55 for (i = -nblocks; i; i++) { in murmurhash3()
67 return murmur3_tail(data, nblocks, len, c1, c2, h1); in murmurhash3()
/external/e2fsprogs/e2fsck/
Dextend.c30 int nblocks, blocksize; in main() local
39 nblocks = strtoul(argv[2], 0, 0) - 1; in main()
42 if (nblocks < 0) { in main()
60 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
70 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
/external/jemalloc/include/jemalloc/internal/
Dhash.h92 const int nblocks = len / 4; in hash_x86_32() local
101 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32()
104 for (i = -nblocks; i; i++) { in hash_x86_32()
119 const uint8_t *tail = (const uint8_t *) (data + nblocks*4); in hash_x86_32()
144 const int nblocks = len / 16; in hash_x86_128() local
158 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128()
161 for (i = -nblocks; i; i++) { in hash_x86_128()
191 const uint8_t *tail = (const uint8_t *) (data + nblocks*16); in hash_x86_128()
246 const int nblocks = len / 16; in hash_x64_128() local
259 for (i = 0; i < nblocks; i++) { in hash_x64_128()
[all …]
/external/opencv/cvaux/src/
Dcvbgfg_codebook.cpp96 int nblocks; in cvBGCodeBookUpdate() local
134 nblocks = (int)((model->storage->block_size - sizeof(CvMemBlock))/sizeof(*freeList)); in cvBGCodeBookUpdate()
135 nblocks = MIN( nblocks, 1024 ); in cvBGCodeBookUpdate()
136 CV_ASSERT( nblocks > 0 ); in cvBGCodeBookUpdate()
198 nblocks*sizeof(*freeList)); in cvBGCodeBookUpdate()
199 for( i = 0; i < nblocks-1; i++ ) in cvBGCodeBookUpdate()
201 freeList[nblocks-1].next = 0; in cvBGCodeBookUpdate()
/external/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h682 extern handle_t *journal_start(journal_t *, int nblocks);
683 extern handle_t *journal_try_start(journal_t *, int nblocks);
684 extern int journal_restart (handle_t *, int nblocks);
685 extern int journal_extend (handle_t *, int nblocks);
766 extern void log_wait_for_space(journal_t *, int nblocks);
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c298 const unsigned nblocks = util_format_get_nblocksx(pt->format, pt->width0); in i9x5_texture_layout_cube() local
305 tex->stride = align(nblocks * util_format_get_blocksize(pt->format) * 2, 4); in i9x5_texture_layout_cube()
306 tex->total_nblocksy = nblocks * 4; in i9x5_texture_layout_cube()
312 unsigned x = initial_offsets[face][0] * nblocks; in i9x5_texture_layout_cube()
313 unsigned y = initial_offsets[face][1] * nblocks; in i9x5_texture_layout_cube()
314 unsigned d = nblocks; in i9x5_texture_layout_cube()
556 const unsigned nblocks = util_format_get_nblocksx(pt->format, pt->width0); in i945_texture_layout_cube() local
574 tex->stride = nblocks * 2 * util_format_get_blocksize(pt->format); in i945_texture_layout_cube()
582 tex->total_nblocksy = nblocks * 4 + 1; in i945_texture_layout_cube()
/external/fio/t/
Ddedupe.c280 unsigned int nblocks, i; in do_work() local
288 nblocks = read_blocks(thread->fd, buf, offset, min(thread->size, (uint64_t)chunk_size)); in do_work()
289 if (!nblocks) in do_work()
292 items = malloc(sizeof(*items) * nblocks); in do_work()
294 for (i = 0; i < nblocks; i++) { in do_work()
/external/valgrind/drd/
Ddrd_malloc_wrappers.c347 SizeT nblocks = 0; in DRD_() local
359 nblocks++; in DRD_()
365 nbytes, nblocks); in DRD_()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp700 int nblocks = src_size / 16; in CryptBlock() local
701 CRYPT_AESEncrypt(m_pAESContext, dest_buf + 16, src_buf, nblocks * 16); in CryptBlock()
703 FXSYS_memcpy32(padding, src_buf + nblocks * 16, src_size % 16); in CryptBlock()
705 CRYPT_AESEncrypt(m_pAESContext, dest_buf + nblocks * 16 + 16, padding, 16); in CryptBlock()
706 dest_size = 32 + nblocks * 16; in CryptBlock()
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c1084 SizeT nblocks = 0; in MC_() local
1095 nblocks++; in MC_()
1104 nbytes, nblocks, in MC_()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c222 ctx->nblocks++; in r600_context_add_block()
572 ctx->blocks = calloc(ctx->nblocks, sizeof(void*)); in r600_setup_block_table()
590 assert(c < ctx->nblocks); in r600_setup_block_table()
Dr600_pipe.h412 unsigned nblocks; member
/external/kernel-headers/original/uapi/linux/
Dnvme.h481 __u16 nblocks; member
/external/e2fsprogs/po/
Did.po165 msgid "%s: %s filename nblocks blocksize\n"
166 msgstr "%s: %s filename nblocks blocksize\n"
Dde.po164 msgid "%s: %s filename nblocks blocksize\n"
165 msgstr "%s: %s Dateiname nblocks Blockgröße\n"
Dzh_CN.po161 msgid "%s: %s filename nblocks blocksize\n"
De2fsprogs.pot164 msgid "%s: %s filename nblocks blocksize\n"
Dit.po164 msgid "%s: %s filename nblocks blocksize\n"
Dca.po161 msgid "%s: %s filename nblocks blocksize\n"
Dtr.po163 msgid "%s: %s filename nblocks blocksize\n"
Dsv.po163 msgid "%s: %s filename nblocks blocksize\n"
Dpl.po161 msgid "%s: %s filename nblocks blocksize\n"
Des.po182 msgid "%s: %s filename nblocks blocksize\n"
Dnl.po167 msgid "%s: %s filename nblocks blocksize\n"
Dcs.po162 msgid "%s: %s filename nblocks blocksize\n"

12