Home
last modified time | relevance | path

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

12

/external/fec/
Ddotprod_av.c61 int nblocks; in dotprod_av() local
70 nblocks = (dp->len+al-1)/8+1; in dotprod_av()
74 while(nblocks >= 4){ in dotprod_av()
75 sums0 = vec_msums(ar[nblocks-1],d[nblocks-1],sums0); in dotprod_av()
76 sums1 = vec_msums(ar[nblocks-2],d[nblocks-2],sums1); in dotprod_av()
77 sums2 = vec_msums(ar[nblocks-3],d[nblocks-3],sums2); in dotprod_av()
78 sums3 = vec_msums(ar[nblocks-4],d[nblocks-4],sums3); in dotprod_av()
79 nblocks -= 4; in dotprod_av()
84 while(nblocks-- > 0){ in dotprod_av()
85 sums0 = vec_msums(ar[nblocks],d[nblocks],sums0); in dotprod_av()
/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu117 template <int nblocks> // Number of histogram blocks processed by single GPU thread block
131 float* final_hist = smem + cnbins * 48 * nblocks; in compute_hists_kernel_many_blocks()
147 hist[bin_id * 48 * nblocks] = 0.f; in compute_hists_kernel_many_blocks()
168 hist[bin.x * 48 * nblocks] += gaussian * interp_weight * vote.x; in compute_hists_kernel_many_blocks()
169 hist[bin.y * 48 * nblocks] += gaussian * interp_weight * vote.y; in compute_hists_kernel_many_blocks()
173 for (int bin_id = 0; bin_id < cnbins; ++bin_id, hist_ += 48 * nblocks) in compute_hists_kernel_many_blocks()
199 const int nblocks = 1; in compute_hists() local
206 dim3 grid(divUp(img_block_width, nblocks), img_block_height); in compute_hists()
207 dim3 threads(32, 2, nblocks); in compute_hists()
209 cudaSafeCall(cudaFuncSetCacheConfig(compute_hists_kernel_many_blocks<nblocks>, in compute_hists()
[all …]
/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.h112 const int nblocks = len / 4; in hash_x86_32() local
121 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32()
124 for (i = -nblocks; i; i++) { in hash_x86_32()
139 const uint8_t *tail = (const uint8_t *) (data + nblocks*4); in hash_x86_32()
164 const int nblocks = len / 16; in hash_x86_128() local
178 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128()
181 for (i = -nblocks; i; i++) { in hash_x86_128()
211 const uint8_t *tail = (const uint8_t *) (data + nblocks*16); in hash_x86_128()
266 const int nblocks = len / 16; in hash_x64_128() local
279 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/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp622 Size nblocks, ncells; member
665 nblocks = Size((winSize.width - blockSize.width)/blockStride.width + 1, in init()
694 blockData.resize(nblocks.width*nblocks.height); in init()
814 for( j = 0; j < nblocks.width; j++ ) in init()
815 for( i = 0; i < nblocks.height; i++ ) in init()
817 BlockData& data = blockData[j*nblocks.height + i]; in init()
818 data.histOfs = (j*nblocks.height + i)*blockHistogramSize; in init()
1029 int nblocks = cache.nblocks.area(); in detect() local
1054 for( j = 0; j < nblocks; j++, svmVec += blockHistogramSize ) in detect()
1131 int nblocks = cache.nblocks.area(); in compute() local
[all …]
/external/kernel-headers/original/uapi/linux/
Dnvme_ioctl.h24 __u16 nblocks; member
Dnvme.h481 __u16 nblocks; member
/external/opencv3/modules/core/src/
Dalloc.cpp272 nblocks = (int)(((char*)this + bigBlockSize - (char*)first)/MEM_BLOCK_SIZE); in BigBlock()
274 for( int i = nblocks-1; i >= 0; i-- ) in BigBlock()
280 for( int i = nblocks-1; i >= 0; i-- ) in ~BigBlock()
286 int nblocks; member
/external/opencv3/modules/objdetect/src/
Dhog.cpp518 Size nblocks, ncells; member
561 nblocks = Size((winSize.width - blockSize.width)/blockStride.width + 1, in init()
632 blockData.resize(nblocks.width*nblocks.height); in init()
753 for( j = 0; j < nblocks.width; j++ ) in init()
754 for( i = 0; i < nblocks.height; i++ ) in init()
756 BlockData& data = blockData[j*nblocks.height + i]; in init()
757 data.histOfs = (j*nblocks.height + i)*blockHistogramSize; in init()
1422 int nblocks = cache.nblocks.area(); in compute() local
1446 for( int j = 0; j < nblocks; j++ ) in compute()
1485 int nblocks = cache.nblocks.area(); in detect() local
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp762 int nblocks = src_size / 16; in CryptBlock() local
763 CRYPT_AESEncrypt(m_pAESContext, dest_buf + 16, src_buf, nblocks * 16); in CryptBlock()
765 FXSYS_memcpy(padding, src_buf + nblocks * 16, src_size % 16); in CryptBlock()
768 CRYPT_AESEncrypt(m_pAESContext, dest_buf + nblocks * 16 + 16, padding, in CryptBlock()
770 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/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"

12