Searched defs:num_blocks (Results 1 - 25 of 74) sorted by last modified time

123

/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_pax_common.c39 size_t num_blocks, left; local
41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN;
42 if (identifier == NULL || num_blocks >= 255)
58 for (counter = 1; counter <= (u8) num_blocks; counter++) {
/external/wpa_supplicant_8/src/eap_common/
H A Deap_pax_common.c39 size_t num_blocks, left; local
41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN;
42 if (identifier == NULL || num_blocks >= 255)
58 for (counter = 1; counter <= (u8) num_blocks; counter++) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_pax_common.c39 size_t num_blocks, left; local
41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN;
42 if (identifier == NULL || num_blocks >= 255)
58 for (counter = 1; counter <= (u8) num_blocks; counter++) {
/external/webp/src/enc/
H A Dquant.c855 static score_t IsFlat(const int16_t* levels, int num_blocks, score_t thresh) { argument
857 while (num_blocks-- > 0) { // TODO(skal): refine positional scoring?
/external/valgrind/main/memcheck/
H A Dmc_include.h333 UInt num_blocks; // Number of blocks represented by the record. member in struct:_LossRecord
/external/qemu/distrib/ext4_utils/src/
H A Dallocate.c205 /* Marks a the first num_blocks blocks in a block group as used, and accounts
243 static void free_blocks(struct block_group_info *bg, u32 num_blocks) argument
247 for (i = 0; i < num_blocks; i++, block--)
249 bg->free_blocks += num_blocks;
250 bg->first_free_block -= num_blocks;
H A Dext4fixup.c624 unsigned int num_blocks; local
646 num_blocks = dirsize / info.block_size;
648 block_list = malloc((num_blocks + 1) * sizeof(*block_list));
665 if (num_blocks > (info.block_size / 4 + EXT4_NDIR_BLOCKS)) {
672 for (i = 0; i < num_blocks; i++) {
769 for (i = 0; i < num_blocks; i++) {
/external/qemu/distrib/jpeg-6b/
H A Djcdctmgr.c183 JDIMENSION num_blocks)
195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
273 JDIMENSION num_blocks)
285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
180 forward_DCT(j_compress_ptr cinfo, jpeg_component_info * compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks) argument
270 forward_DCT_float(j_compress_ptr cinfo, jpeg_component_info * compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks) argument
H A Djutils.c152 JDIMENSION num_blocks)
156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
151 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/qemu/distrib/libpng-1.2.46/
H A Dpngmem.c175 int num_blocks; local
188 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14));
190 num_blocks = 1;
192 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7));
194 num_blocks++;
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16;
225 png_ptr->offset_table_ptr = farmalloc(num_blocks *
245 for (i = 0; i < num_blocks; i++)
251 png_ptr->offset_table_number = num_blocks;
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jcdctmgr.c184 JDIMENSION num_blocks)
196 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
274 JDIMENSION num_blocks)
286 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) {
181 forward_DCT(j_compress_ptr cinfo, jpeg_component_info * compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks) argument
271 forward_DCT_float(j_compress_ptr cinfo, jpeg_component_info * compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks) argument
H A Dfpdfapi_jutils.c147 JDIMENSION num_blocks)
151 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
158 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
146 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/openssl/ssl/
H A Ds3_cbc.c418 len, max_mac_bytes, num_blocks, local
534 /* num_blocks is the maximum number of hash blocks. */
535 num_blocks = (max_mac_bytes + 1 + md_length_size + md_block_size - 1) / md_block_size;
564 if (num_blocks > variance_blocks + (is_sslv3 ? 1 : 0))
566 num_starting_blocks = num_blocks - variance_blocks;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_slab.c64 for (i = 0; i < pool->num_blocks-1; i++) {
70 block = util_slab_get_block(pool, page, pool->num_blocks-1);
139 unsigned num_blocks,
145 pool->num_blocks = num_blocks;
149 num_blocks * pool->block_size;
137 util_slab_create(struct util_slab_mempool *pool, unsigned item_size, unsigned num_blocks, enum util_slab_threading threading) argument
H A Du_slab.h67 unsigned num_blocks; member in struct:util_slab_mempool
76 unsigned num_blocks,
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_decoder.c100 res_tmpl.height0 = align(dec->num_blocks, dec->blocks_per_line) / dec->blocks_per_line;
333 unsigned tb, x, y, num_blocks = 0; local
357 num_blocks++;
378 num_blocks++;
382 memcpy(buf->texels, mb->blocks, 64 * sizeof(short) * num_blocks);
383 buf->texels += 64 * num_blocks;
864 dec->blocks_per_line, dec->num_blocks, num_channels))
868 dec->blocks_per_line, dec->num_blocks, num_channels))
1057 dec->num_blocks = (dec->base.width * dec->base.height) / block_size_pixels;
1067 dec->num_blocks
[all...]
H A Dvl_mpeg12_decoder.h51 unsigned num_blocks; member in struct:vl_mpeg12_decoder
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dblock.c38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) argument
44 if (num_blocks == 0)
50 blocks->num_blocks = num_blocks;
51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks);
68 Status XvMCCreateMacroBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCMacroBlockArray *blocks) argument
74 if (num_blocks == 0)
80 blocks->num_blocks = num_blocks;
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks);
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_cfg.h100 int num_blocks; member in class:fs_cfg
/external/libsepol/src/
H A Dpolicydb.c3460 uint32_t buf[1], num_blocks, nel; local
3468 num_blocks = le32_to_cpu(buf[0]);
3469 nel = num_blocks;
3470 while (num_blocks > 0) {
3482 if (num_blocks != nel)
3526 num_blocks--;
H A Dwrite.c1771 uint32_t buf[1], num_blocks = 0; local
1774 num_blocks++;
1776 buf[0] = cpu_to_le32(num_blocks);
/external/libnfc-nci/src/nfa/int/
H A Dnfa_rw_int.h181 UINT8 num_blocks; member in struct:__anon24228
188 UINT8 num_blocks; member in struct:__anon24229
/external/libnfc-nci/src/nfa/rw/
H A Dnfa_rw_api.c722 tNFA_STATUS NFA_RwT3tRead (UINT8 num_blocks, tNFA_T3T_BLOCK_DESC *t3t_blocks) argument
727 NFA_TRACE_API1 ("NFA_RwT3tRead (): num_blocks to read: %i", num_blocks);
730 if ((num_blocks == 0) || (t3t_blocks == NULL))
733 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION) + (num_blocks * sizeof (tNFA_T3T_BLOCK_DESC))))) != NULL)
742 p_msg->params.t3t_read.num_blocks = num_blocks;
746 memcpy (p_block_desc, t3t_blocks, (num_blocks * sizeof (tNFA_T3T_BLOCK_DESC)));
771 tNFA_STATUS NFA_RwT3tWrite (UINT8 num_blocks, tNFA_T3T_BLOCK_DESC *t3t_blocks, UINT8 *p_data) argument
776 NFA_TRACE_API1 ("NFA_RwT3tWrite (): num_blocks t
[all...]
/external/libnfc-nci/src/nfc/int/
H A Dce_int.h68 UINT8 num_blocks; member in struct:__anon24341
/external/libnfc-nci/src/nfc/tags/
H A Dce_t3t.c232 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++)
261 if (p_cb->cur_cmd.num_blocks > p_cb->ndef_info.nbw)
263 CE_TRACE_ERROR2 ("CE: Requested too many blocks to update (requested: %i, max: %i)", p_cb->cur_cmd.num_blocks, p_cb->ndef_info.nbw);
425 UINT8_TO_STREAM (p_dst, p_cb->cur_cmd.num_blocks);
427 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++)
448 if (p_cb->cur_cmd.num_blocks > p_cb->ndef_info.nbr)
451 CE_TRACE_ERROR2 ("CE: Requested too many blocks to check (requested: %i, max: %i)", p_cb->cur_cmd.num_blocks, p_cb->ndef_info.nbr);
755 STREAM_TO_UINT8 (p_cb->cur_cmd.num_blocks, p);
758 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++)
811 if (remaining < p_cb->cur_cmd.num_blocks*T3T_MSG_BLOCKSIZ
995 CE_T3tSendCheckRsp(UINT8 status1, UINT8 status2, UINT8 num_blocks, UINT8 *p_block_data) argument
[all...]

Completed in 410 milliseconds

123