Searched defs:blocks (Results 1 - 21 of 21) sorted by path

/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc.h104 #define SBC_BLOCKS_4 0 /**< A block size of 4 blocks was used to encode the stream. One possible value for the @a blocks parameter of OI_CODEC_SBC_EncoderConfigure() */
105 #define SBC_BLOCKS_8 1 /**< A block size of 8 blocks was used to encode the stream is. One possible value for the @a blocks parameter of OI_CODEC_SBC_EncoderConfigure() */
106 #define SBC_BLOCKS_12 2 /**< A block size of 12 blocks was used to encode the stream. One possible value for the @a blocks parameter of OI_CODEC_SBC_EncoderConfigure() */
107 #define SBC_BLOCKS_16 3 /**< A block size of 16 blocks was used to encode the stream. One possible value for the @a blocks parameter of OI_CODEC_SBC_EncoderConfigure() */
132 OI_UINT8 blocks; member in struct:__anon704
282 * @param blocks On
[all...]
/system/bt/embdrv/sbc/decoder/srce/
H A Ddecoder-oina.c44 OI_UINT8 blocks,
70 if (blocks > SBC_BLOCKS_16) {
86 context->common.frameInfo.blocks = blocks;
39 OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_BOOL enhanced, OI_UINT8 frequency, OI_UINT8 mode, OI_UINT8 subbands, OI_UINT8 blocks, OI_UINT8 alloc, OI_UINT8 maxBitpool) argument
H A Ddecoder-sbc.c369 OI_UINT8 blocks; local
385 subbands = mode = blocks = frameData[1];;
387 blocks = block_values[(blocks & (BIT5 | BIT4)) >> 4];
391 frameLen = blocks * frameData[2];
/system/core/libsparse/
H A Dsparse.c142 unsigned int blocks = backed_block_block(bb) - last_block; local
143 write_skip_chunk(out, (int64_t)blocks * s->block_size);
H A Dsparse_read.c102 int fd, int64_t offset, unsigned int blocks, unsigned int block,
107 unsigned int len = blocks * s->block_size;
113 if (chunk_size / s->block_size != blocks) {
140 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
144 int64_t len = (int64_t)blocks * s->block_size;
181 int fd __unused, unsigned int blocks,
189 int64_t len = (int64_t)blocks * s->block_size;
101 process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, int64_t offset, unsigned int blocks, unsigned int block, uint32_t *crc32) argument
139 process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) argument
180 process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, int fd __unused, unsigned int blocks, unsigned int block __unused, uint32_t *crc32) argument
/system/extras/ext4_utils/
H A Dallocate.c197 /* Marks a the first num_blocks blocks in a block group as used, and accounts
238 /* Reduces an existing allocation by len blocks by return the last blocks
239 to the free pool in their block group. Assumes that the blocks being
301 error("failed to reserve %u blocks in block group %u\n", bg->header_blocks, i);
391 error("failed to allocate %u blocks, out of space?", len);
402 error("failed to reserve %u blocks in block group %u\n", found_allocate_len, found_bg);
441 /* Allocate len blocks. The blocks may be spread across multiple block groups,
442 and are returned in a linked list of the blocks i
596 reserve_oob_blocks(struct block_allocation *alloc, int blocks) argument
614 advance_list_ptr(struct region_list *list, int blocks) argument
636 advance_blocks(struct block_allocation *alloc, int blocks) argument
641 advance_oob_blocks(struct block_allocation *alloc, int blocks) argument
[all...]
H A Dcontents.c103 u32 blocks; local
111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size);
112 len = blocks * info.block_size;
H A Dextent.c82 u64 blocks; local
87 error("Failed to allocate %d blocks\n", block_len + 1);
95 error("Failed to allocate %d blocks\n",
184 blocks = (u64)block_len * info.block_size / 512;
189 inode->i_blocks_lo = blocks;
190 inode->osd2.linux2.l_i_blocks_high = blocks >> 32;
197 /* Allocates enough blocks to hold len bytes, with backing_len bytes in a data
223 /* Allocates enough blocks to hold len bytes, queues them to be written
257 /* Allocates enough blocks to hold len bytes and connects them to an inode */
H A Dindirect.c32 critical_error("indirect backing larger than %d blocks", EXT4_NDIR_BLOCKS);
63 error("failed to advance %d blocks", len);
131 error("failed to advance %d blocks", ind_block_len);
164 /* Given an allocation, attach as many blocks as possible to direct inode
165 blocks, and return the rest */
177 error("failed to advance %d blocks", len);
185 /* Given an allocation, attach as many blocks as possible to indirect blocks,
187 Assumes that the blocks necessary to hold the indirect blocks wer
434 u64 blocks; local
[all...]
H A Dmake_ext4fs.c90 Allocating blocks in the same block group as the file inode
379 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); local
380 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group);
394 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); local
395 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group);
776 printf(" Journal blocks: %d\n", info.journal_blocks);
860 printf("Created filesystem with %d/%d inodes and %d/%d blocks\n",
/system/extras/libfec/
H A Dfec_private.h72 uint64_t blocks; member in struct:ecc_info
H A Dfec_process.cpp63 size_t blocks = fec_div_round_up(count, FEC_BLOCKSIZE); local
65 if ((size_t)threads > blocks) {
66 threads = (int)blocks;
69 size_t count_per_thread = fec_div_round_up(blocks, threads) * FEC_BLOCKSIZE;
H A Dfec_verity.cpp183 corrects errors if necessary, and copies valid data blocks for later use
232 uint32_t blocks = hashes[levels - i]; local
233 debug("%u hash blocks on level %u", blocks, levels - i);
236 v->hash_data_blocks = blocks;
238 data_offset += blocks * FEC_BLOCKSIZE;
265 uint32_t blocks = hashes[levels - i]; local
267 for (uint32_t j = 0; j < blocks; ++j) {
290 /* update the corrected blocks to the file if we are in r/w
303 if (blocks
[all...]
/system/extras/libfec/include/fec/
H A Dio.h65 uint64_t blocks; member in struct:fec_ecc_metadata
/system/extras/verity/fec/
H A Dimage.h57 uint64_t blocks; member in struct:image
/system/keymaster/
H A Daes_operation.cpp374 * the wrong thing when given partial AAD blocks, so we have to take care to process AAD in
426 bool AesEvpOperation::ProcessAadBlocks(const uint8_t* data, size_t blocks, argument
429 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, data, blocks * AES_BLOCK_SIZE))
/system/update_engine/payload_consumer/
H A Ddelta_performer.cc936 // window to copy in case the source and destination blocks overlap.
987 // Takes |extents| and fills an empty vector |blocks| with a block index for
990 vector<uint64_t>* blocks) {
993 blocks->push_back(ext.start_block() + j);
997 // Takes |extents| and returns the number of blocks in those extents.
1035 // Create vectors of all the individual src/dst blocks.
989 ExtentsToBlocks(const RepeatedPtrField<Extent>& extents, vector<uint64_t>* blocks) argument
/system/update_engine/payload_generator/
H A Dext2_filesystem.cc42 // Processes all blocks belonging to an inode and adds them to the extent list.
56 // blocks belonging to an inode. This function should match the prototype of
64 set<uint64_t>* blocks = static_cast<set<uint64_t>*>(priv); local
73 blocks->insert(*blocknr);
214 // Process the inode data and metadata blocks.
215 // For normal files, inode blocks are indirect, double indirect
216 // and triple indirect blocks (no data blocks). For directories and
217 // the journal, all blocks are considered metadata blocks
[all...]
H A Dextent_ranges.h29 // therefore blocks). Such an object may be modified by adding or subtracting
30 // blocks (think: set addition or set subtraction). Note that ExtentRanges
72 uint64_t blocks() const { return blocks_; } function in class:chromeos_update_engine::ExtentRanges
75 // Returns an ordered vector of extents for |count| blocks,
78 // the number of blocks in this extent set.
86 // Filters out from the passed list of extents |extents| all the blocks in the
87 // ExtentRanges set. Note that the order of the blocks in |extents| is preserved
88 // omitting blocks present in the ExtentRanges |ranges|.
H A Dextent_ranges_unittest.cc38 uint64_t blocks = 0; local
40 blocks += expected[i];
42 EXPECT_EQ(blocks, ranges.blocks()) << "line: " << line;
253 EXPECT_EQ(40U, ranges.blocks());
H A Dinplace_generator.cc54 // This class allocates non-existent temp blocks, starting from
56 // temp blocks into real blocks, as the client can't read or write to
57 // these blocks.
72 // Takes a vector of blocks and returns an equivalent vector of Extent
74 vector<Extent> CompressExtents(const vector<uint64_t>& blocks) { argument
76 for (uint64_t block : blocks) {
111 // First, expand out the blocks that op reads from
209 const vector<Block>& blocks) {
211 i < blocks
207 CreateEdges( Graph* graph, const vector<Block>& blocks) argument
670 AddInstallOpToBlocksVector( const InstallOperation& operation, const Graph& graph, Vertex::Index vertex, vector<Block>* blocks) argument
708 AddInstallOpToGraph(Graph* graph, Vertex::Index existing_vertex, vector<Block>* blocks, const InstallOperation operation, const string& op_name) argument
[all...]

Completed in 308 milliseconds