Home
last modified time | relevance | path

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

123

/third_party/FreeBSD/sys/dev/usb/
Dusb_mbuf.c40 usb_size_t block_size, uint16_t nblocks) in usb_alloc_mbufs() argument
50 if (nblocks && block_size) { in usb_alloc_mbufs()
52 alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks; in usb_alloc_mbufs()
60 data_ptr = (void *)(m_ptr + nblocks); in usb_alloc_mbufs()
62 while (nblocks--) { in usb_alloc_mbufs()
Dusb_mbuf.h90 usb_size_t block_size, uint16_t nblocks);
/third_party/e2fsprogs/e2fsck/
Dextend.c31 int nblocks, blocksize; in main() local
41 nblocks = strtoul(argv[2], 0, 0) - 1; in main()
44 if (nblocks < 0) { in main()
61 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
71 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
/third_party/iowow/src/utils/
Dmurmur3.c50 const size_t nblocks = len / 4; in murmur3_x86_32() local
56 const uint32_t *blocks = (const uint32_t *)(data + nblocks * 4); in murmur3_x86_32()
57 for (i = -nblocks; i; i++) { in murmur3_x86_32()
70 const uint8_t *tail = (const uint8_t *)(data + nblocks * 4); in murmur3_x86_32()
96 const size_t nblocks = len / 16; in murmur3_x86_128() local
108 const uint32_t *blocks = (const uint32_t *)(data + nblocks * 16); in murmur3_x86_128()
110 for (i = -nblocks; i; i++) { in murmur3_x86_128()
148 const uint8_t *tail = (const uint8_t *)(data + nblocks * 16); in murmur3_x86_128()
252 const size_t nblocks = len / 16; in murmur3_x64_128() local
260 for (i = 0; i < nblocks; i++) { in murmur3_x64_128()
[all …]
/third_party/f2fs-tools/fsck/
Dnode.h30 unsigned int nblocks; in ADDRS_PER_PAGE() local
43 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()
46 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()
48 return nblocks; in ADDRS_PER_PAGE()
/third_party/f2fs-tools/mkfs/
Df2fs_format_utils.c121 int nblocks = 4096; /* 16MB size */ in is_wiped_device() local
143 for (j = 0; j < nblocks; j++) { in is_wiped_device()
154 MSG(0, "Info: Found all zeros in first %d blocks\n", nblocks); in is_wiped_device()
/third_party/ffmpeg/libavutil/
Dmd5.c101 static void body(uint32_t ABCD[4], const uint8_t *src, int nblocks) in body() argument
108 for (n = 0; n < nblocks; n++) { in body()
183 int nblocks = len / 64; in av_md5_update() local
184 body(ctx->ABCD, src, nblocks); in av_md5_update()
/third_party/ffmpeg/libavformat/
Dape.c45 int nblocks; member
153 ape_ctx->frames[i].nblocks); in ape_dumpinfo()
309 ape->frames[0].nblocks = ape->blocksperframe; in ape_read_header()
313 ape->frames[i].nblocks = ape->blocksperframe; in ape_read_header()
317 ape->frames[ape->totalframes - 1].nblocks = ape->finalframeblocks; in ape_read_header()
401 int nblocks; in ape_read_packet() local
417 nblocks = ape->finalframeblocks; in ape_read_packet()
419 nblocks = ape->blocksperframe; in ape_read_packet()
433 AV_WL32(pkt->data , nblocks); in ape_read_packet()
/third_party/grpc/src/core/lib/gpr/
Dmurmur_hash.cc43 const size_t nblocks = len / bsize; in gpr_murmur_hash3() local
46 for (size_t i = 0; i < nblocks; i++, keyptr += bsize) { in gpr_murmur_hash3()
/third_party/openssl/crypto/engine/
Deng_devcrypto.c186 size_t nblocks, ivlen; in cipher_do_cipher() local
239 nblocks = (inl + cipher_ctx->blocksize - 1) in cipher_do_cipher()
243 nblocks += iv[ivlen]; in cipher_do_cipher()
244 iv[ivlen] = (uint8_t) nblocks; in cipher_do_cipher()
245 nblocks >>= 8; in cipher_do_cipher()
262 size_t nblocks, len; in ctr_do_cipher() local
273 nblocks = inl/cipher_ctx->blocksize; in ctr_do_cipher()
274 len = nblocks * cipher_ctx->blocksize; in ctr_do_cipher()
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/
Dbbt.c29 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() local
30 unsigned int nwords = DIV_ROUND_UP(nblocks * bits_per_block, in nanddev_bbt_init()
/third_party/mbedtls/library/
Dpoly1305.c132 size_t nblocks, in poly1305_process() argument
159 for( i = 0U; i < nblocks; i++ ) in poly1305_process()
361 size_t nblocks; in mbedtls_poly1305_update() local
400 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
402 poly1305_process( ctx, nblocks, &input[offset], 1U ); in mbedtls_poly1305_update()
404 offset += nblocks * POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
/third_party/littlefs/scripts/
Dreadtree.py94 nblocks = struct.unpack('<II', dirstruct.data)
95 nmdir = dirtable[frozenset(nblocks)]
/third_party/uboot/u-boot-2020.01/include/
Dmxs_nand.h79 u32 nblocks; member
/third_party/ffmpeg/libavcodec/
Ddca_lbr.c637 int i, j, code, nblocks, coding_method; in parse_ch() local
646 nblocks = FFMIN(get_bits_left(&s->gb) / 8, DCA_LBR_TIME_SAMPLES / 8); in parse_ch()
647 for (i = 0; i < nblocks; i++, samples += 8) { in parse_ch()
652 i = nblocks * 8; in parse_ch()
664 nblocks = FFMIN(get_bits_left(&s->gb) / 8, (DCA_LBR_TIME_SAMPLES + 4) / 5); in parse_ch()
665 for (i = 0; i < nblocks; i++, samples += 5) { in parse_ch()
670 i = nblocks * 5; in parse_ch()
675 nblocks = FFMIN(get_bits_left(&s->gb) / 7, (DCA_LBR_TIME_SAMPLES + 2) / 3); in parse_ch()
676 for (i = 0; i < nblocks; i++, samples += 3) { in parse_ch()
681 i = nblocks * 3; in parse_ch()
[all …]
Dmss3.c571 int nblocks = block_size >> 3; in decode_dct_block() local
573 bx = mb_x * nblocks; in decode_dct_block()
574 by = mb_y * nblocks; in decode_dct_block()
576 for (j = 0; j < nblocks; j++) { in decode_dct_block()
577 for (i = 0; i < nblocks; i++) { in decode_dct_block()
Dg2meet.c979 int nblocks = 0; in epic_jb_decode_tile() local
996 nblocks++; in epic_jb_decode_tile()
1007 c->kempf_flags, bstride, nblocks, c->swapuv); in epic_jb_decode_tile()
1077 int nblocks, cblocks, bstride; in kempf_decode_tile() local
1140 nblocks = *src++ + 1; in kempf_decode_tile()
1157 if (cblocks > nblocks) in kempf_decode_tile()
1169 c->kempf_flags, bstride, nblocks * 4, 0); in kempf_decode_tile()
Dapedec.c1450 uint32_t nblocks, offset; in ape_decode_frame() local
1477 nblocks = bytestream_get_be32(&s->ptr); in ape_decode_frame()
1500 if (!nblocks || nblocks > INT_MAX / 2 / sizeof(*s->decoded_buffer) - 8) { in ape_decode_frame()
1502 nblocks); in ape_decode_frame()
1511 s->samples = nblocks; in ape_decode_frame()
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt_nvme.h48 uint16_t nblocks; member
/third_party/NuttX/include/nuttx/
Dscsi.h749 uint8_t nblocks[3]; /* 1-3: Number of blocks */ member
847 uint8_t nblocks[4]; /* 4-7: Number of blocks */ member
856 uint8_t nblocks[4]; /* 0-3: Number of blocks */ member
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dsfdriver.c303 const int nblocks = (int)len / 16; in murmur_hash_3_128() local
315 const FT_UInt32* blocks = (const FT_UInt32*)( data + nblocks * 16 ); in murmur_hash_3_128()
320 for( i = -nblocks; i; i++ ) in murmur_hash_3_128()
366 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfdriver.c302 const int nblocks = (int)len / 16; in murmur_hash_3_128() local
314 const FT_UInt32* blocks = (const FT_UInt32*)( data + nblocks * 16 ); in murmur_hash_3_128()
319 for( i = -nblocks; i; i++ ) in murmur_hash_3_128()
365 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128()
/third_party/freetype/src/sfnt/
Dsfdriver.c302 const int nblocks = (int)len / 16; in murmur_hash_3_128() local
314 const FT_UInt32* blocks = (const FT_UInt32*)( data + nblocks * 16 ); in murmur_hash_3_128()
319 for( i = -nblocks; i; i++ ) in murmur_hash_3_128()
365 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128()
/third_party/ffmpeg/libavcodec/x86/
Ddcadsp.asm30 cglobal lfe_fir0_float, 4, 6, 12 + cpuflag(fma3)*4, samples, lfe, coeff, nblocks, cnt1, cnt2
225 cglobal lfe_fir1_float, 4, 6, 10, samples, lfe, coeff, nblocks, cnt1, cnt2
/third_party/uboot/u-boot-2020.01/fs/yaffs2/
Dyaffs_yaffs2.c197 int nblocks; in yaffs2_checkpt_required() local
202 nblocks = dev->internal_end_block - dev->internal_start_block + 1; in yaffs2_checkpt_required()
205 !dev->read_only && (nblocks >= YAFFS_CHECKPOINT_MIN_BLOCKS); in yaffs2_checkpt_required()

123