/external/u-boot/fs/ |
D | fs_internal.c | 16 unsigned block_len; in fs_devread() local 59 block_len = byte_len & ~(blk->blksz - 1); in fs_devread() 61 if (block_len == 0) { in fs_devread() 64 block_len = blk->blksz; in fs_devread() 72 block_len >> log2blksz, (void *)buf) != in fs_devread() 73 block_len >> log2blksz) { in fs_devread() 77 block_len = byte_len & ~(blk->blksz - 1); in fs_devread() 78 buf += block_len; in fs_devread() 79 byte_len -= block_len; in fs_devread() 80 sector += block_len / blk->blksz; in fs_devread()
|
/external/webrtc/webrtc/base/ |
D | messagedigest.cc | 114 size_t block_len = kBlockSize; in ComputeHmac() local 120 scoped_ptr<uint8_t[]> new_key(new uint8_t[block_len]); in ComputeHmac() 121 if (key_len > block_len) { in ComputeHmac() 122 ComputeDigest(digest, key, key_len, new_key.get(), block_len); in ComputeHmac() 123 memset(new_key.get() + digest->Size(), 0, block_len - digest->Size()); in ComputeHmac() 126 memset(new_key.get() + key_len, 0, block_len - key_len); in ComputeHmac() 129 scoped_ptr<uint8_t[]> o_pad(new uint8_t[block_len]); in ComputeHmac() 130 scoped_ptr<uint8_t[]> i_pad(new uint8_t[block_len]); in ComputeHmac() 131 for (size_t i = 0; i < block_len; ++i) { in ComputeHmac() 137 digest->Update(i_pad.get(), block_len); in ComputeHmac() [all …]
|
/external/brotli/research/ |
D | durchschlag.cc | 247 size_t dictionary_size_limit, size_t slice_len, size_t block_len, in durchschlag_generate() argument 252 dictionary_size_limit, block_len, ctx, sample_data); in durchschlag_generate() 444 size_t dictionary_size_limit, size_t block_len, in durchschlagGenerateExclusive() argument 454 TextIdx blockLen = static_cast<TextIdx>(block_len); in durchschlagGenerateExclusive() 455 if (blockLen != block_len) { in durchschlagGenerateExclusive() 550 size_t dictionary_size_limit, size_t block_len, in durchschlagGenerateCollaborative() argument 560 TextIdx blockLen = static_cast<TextIdx>(block_len); in durchschlagGenerateCollaborative() 561 if (blockLen != block_len) { in durchschlagGenerateCollaborative() 642 size_t dictionary_size_limit, size_t block_len, in durchschlag_generate() argument 646 dictionary_size_limit, block_len, context, sample_data); in durchschlag_generate() [all …]
|
D | durchschlag.h | 20 size_t dictionary_size_limit, size_t slice_len, size_t block_len, 50 size_t dictionary_size_limit, size_t block_len,
|
/external/e2fsprogs/debugfs/ |
D | do_journal.c | 264 blk64_t *block_list, size_t block_len, in journal_add_blocks_to_trans() argument 283 if (block_len == 0) in journal_add_blocks_to_trans() 312 for (i = 0; i < block_len; i++) { in journal_add_blocks_to_trans() 359 if (i == block_len - 1) in journal_add_blocks_to_trans() 499 size_t block_len, blk64_t *revoke_list, in journal_write() argument 511 blocks = journal_guess_blocks(journal, block_len, revoke_len); in journal_write() 516 err = journal_add_blocks_to_trans(&trans, block_list, block_len, fp); in journal_write()
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_util.c | 415 size_t block_len, block_off; in check_skip_len() local 423 block_len = mtd->erasesize - block_off; in check_skip_len() 426 len_excl_bad += block_len; in check_skip_len() 430 offset += block_len; in check_skip_len() 431 *used += block_len; in check_skip_len()
|
/external/openssh/ |
D | digest-libc.c | 51 size_t block_len; member 166 return digest == NULL ? 0 : digest->block_len; in ssh_digest_blocksize()
|
/external/brotli/c/enc/ |
D | brotli_bit_stream.c | 749 const uint32_t block_len, in StoreBlockSwitch() argument 762 GetBlockLengthPrefixCode(block_len, &lencode, &len_nextra, &len_extra); in StoreBlockSwitch() 893 uint32_t block_len = self->block_lengths_[block_ix]; in StoreSymbol() local 895 self->block_len_ = block_len; in StoreSymbol() 897 StoreBlockSwitch(&self->block_split_code_, block_len, block_type, 0, in StoreSymbol() 915 uint32_t block_len = self->block_lengths_[block_ix]; in StoreSymbolWithContext() local 917 self->block_len_ = block_len; in StoreSymbolWithContext() 919 StoreBlockSwitch(&self->block_split_code_, block_len, block_type, 0, in StoreSymbolWithContext()
|
/external/u-boot/drivers/usb/emul/ |
D | sandbox_flash.c | 86 u32 block_len; member 276 resp->block_len = cpu_to_be32(SANDBOX_FLASH_BLOCK_LEN); in handle_ufi_command()
|
/external/u-boot/drivers/mtd/ |
D | mtdcore.c | 811 uint64_t block_len; in mtd_get_len_incl_bad() local 819 block_len = mtd->erasesize - (offset & (mtd->erasesize - 1)); in mtd_get_len_incl_bad() 822 len_excl_bad += block_len; in mtd_get_len_incl_bad() 824 *len_incl_bad += block_len; in mtd_get_len_incl_bad() 825 offset += block_len; in mtd_get_len_incl_bad()
|
/external/e2fsprogs/e2fsck/ |
D | pass2.c | 708 unsigned int block_len) in salvage_directory() argument 720 if (block_len - *offset < EXT2_DIR_ENTRY_HEADER_LEN) { in salvage_directory() 722 rec_len = block_len - *offset; in salvage_directory() 727 left = block_len - *offset - rec_len; in salvage_directory() 757 (*offset + rec_len <= block_len)) { in salvage_directory() 772 prev_rec_len += block_len - *offset; in salvage_directory() 776 rec_len = block_len - *offset; in salvage_directory()
|
/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 209 static int block_len(PyBlockObject *b) in block_len() function 282 { (inquiry)block_len, /*sq_length*/
|
/external/flac/libFLAC/ |
D | metadata_iterators.c | 1677 unsigned block_len = node->data->length; in FLAC__metadata_chain_check_if_tempfile_needed() local 1682 block_len = lbs_size; in FLAC__metadata_chain_check_if_tempfile_needed() 1684 if(block_len >= (1u << FLAC__STREAM_METADATA_LENGTH_LEN)) { in FLAC__metadata_chain_check_if_tempfile_needed() 1686 block_len = (1u << FLAC__STREAM_METADATA_LENGTH_LEN) - 1; in FLAC__metadata_chain_check_if_tempfile_needed() 1690 current_length += (FLAC__STREAM_METADATA_HEADER_LENGTH + block_len); in FLAC__metadata_chain_check_if_tempfile_needed() 1695 unsigned block_len = lbs_size; in FLAC__metadata_chain_check_if_tempfile_needed() local 1696 if(block_len >= (1u << FLAC__STREAM_METADATA_LENGTH_LEN)) in FLAC__metadata_chain_check_if_tempfile_needed() 1697 block_len = (1u << FLAC__STREAM_METADATA_LENGTH_LEN) - 1; in FLAC__metadata_chain_check_if_tempfile_needed() 1698 current_length += (FLAC__STREAM_METADATA_HEADER_LENGTH + block_len); in FLAC__metadata_chain_check_if_tempfile_needed()
|