Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 21 of 21) sorted by relevance

/external/bluetooth/glib/glib/
Dgbsearcharray.h202 guint old_size = barray->n_nodes * bconfig->sizeof_node; in g_bsearch_array_grow() local
203 guint new_size = old_size + bconfig->sizeof_node; in g_bsearch_array_grow()
211 old_size = G_BSEARCH_UPPER_POWER2 (sizeof (GBSearchArray) + old_size); in g_bsearch_array_grow()
212 if (old_size != new_size) in g_bsearch_array_grow()
278 guint old_size = new_size + bconfig->sizeof_node; in g_bsearch_array_remove() local
283 old_size = G_BSEARCH_UPPER_POWER2 (sizeof (GBSearchArray) + old_size); in g_bsearch_array_remove()
284 if (old_size != new_size) in g_bsearch_array_remove()
Dghash.c403 gint old_size; in g_hash_table_resize() local
406 old_size = hash_table->size; in g_hash_table_resize()
411 for (i = 0; i < old_size; i++) in g_hash_table_resize()
Dgslice.c1292 unsigned int old_size = branch->n_entries * sizeof (branch->entries[0]); in smc_tree_branch_grow_L() local
1293 unsigned int new_size = old_size + sizeof (branch->entries[0]); in smc_tree_branch_grow_L()
/external/freetype/src/base/
Dftbitmap.c395 FT_Long old_size; in FT_Bitmap_Convert() local
398 old_size = target->rows * target->pitch; in FT_Bitmap_Convert()
399 if ( old_size < 0 ) in FT_Bitmap_Convert()
400 old_size = -old_size; in FT_Bitmap_Convert()
416 if ( target->rows * target->pitch > old_size && in FT_Bitmap_Convert()
418 old_size, target->rows * target->pitch ) ) in FT_Bitmap_Convert()
/external/e2fsprogs/e2fsck/
Ddx_dirinfo.c21 unsigned long old_size; in e2fsck_add_dx_dir() local
36 old_size = ctx->dx_dir_info_size * sizeof(struct dx_dir_info); in e2fsck_add_dx_dir()
38 retval = ext2fs_resize_mem(old_size, ctx->dx_dir_info_size * in e2fsck_add_dx_dir()
Ddirinfo.c115 unsigned long old_size; in e2fsck_add_dir_info() local
125 old_size = ctx->dir_info->size * sizeof(struct dir_info); in e2fsck_add_dir_info()
127 retval = ext2fs_resize_mem(old_size, ctx->dir_info->size * in e2fsck_add_dir_info()
/external/oprofile/libutil/
Dop_growable_buffer.c41 size_t old_size = b->size; in add_data() local
45 memcpy(b->p + old_size, data, len); in add_data()
/external/bison/src/
Dtables.c149 int old_size = table_size; in table_grow() local
156 old_size, table_size); in table_grow()
163 for (/* Nothing. */; old_size < table_size; ++old_size) in table_grow()
165 table[old_size] = 0; in table_grow()
166 conflict_table[old_size] = 0; in table_grow()
167 check[old_size] = -1; in table_grow()
/external/e2fsprogs/lib/ext2fs/
Dbb_inode.c161 unsigned long old_size; in clear_bad_block_proc() local
177 old_size = rec->max_ind_blocks * sizeof(blk_t); in clear_bad_block_proc()
179 retval = ext2fs_resize_mem(old_size, in clear_bad_block_proc()
Ddblist.c161 unsigned long old_size; in ext2fs_add_dir_block() local
166 old_size = dblist->size * sizeof(struct ext2_db_entry); in ext2fs_add_dir_block()
168 retval = ext2fs_resize_mem(old_size, (size_t) dblist->size * in ext2fs_add_dir_block()
Dbadblocks.c111 unsigned long old_size; in ext2fs_u32_list_add() local
116 old_size = bb->size * sizeof(__u32); in ext2fs_u32_list_add()
118 retval = ext2fs_resize_mem(old_size, bb->size * sizeof(__u32), in ext2fs_u32_list_add()
Direl_ma.c145 size_t size, old_size;
167 old_size = (sizeof(struct ext2_inode_reference) *
169 retval = ext2fs_resize_mem(old_size, size, &ref_ent->refs);
Dext2fs.h974 extern errcode_t ext2fs_resize_mem(unsigned long old_size,
1051 _INLINE_ errcode_t ext2fs_resize_mem(unsigned long EXT2FS_ATTR((unused)) old_size, in ext2fs_resize_mem() argument
/external/webkit/V8Binding/v8/src/
Dzone.cc166 int old_size = (head == NULL) ? 0 : head->size(); in NewExpand() local
168 int new_size = kSegmentOverhead + size + (old_size << 1); in NewExpand()
Dobjects.cc5311 int old_size = old_backing->length(); in Expand() local
5317 for (int i = 0; i < old_size; i++) new_backing->set(i, old_backing->get(i)); in Expand()
/external/qemu/android/skin/
Dkeyset.c365 int old_size = kset->max_items; in skin_keyset_add() local
366 int new_size = old_size + (old_size >> 1) + 4; in skin_keyset_add()
/external/elfutils/lib/
Ddynamicsizehash.c104 unsigned long int old_size = htab->size; in insert_entry_2()
147 for (idx = 1; idx <= old_size; ++idx) in insert_entry_2()
/external/dbus/dbus/
Ddbus-hash.c1015 int old_size; in rebuild_table() local
1029 old_size = table->n_buckets; in rebuild_table()
1096 for (old_chain = old_buckets; old_size > 0; old_size--, old_chain++) in rebuild_table()
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c2081 size_t old_size; local
2084 old_size = isakmp_cfg_config.pool_size;
2086 bzero((char *)new_pool + (old_size * unit),
2087 (size - old_size) * unit);
/external/webkit/JavaScriptCore/wtf/
DFastMalloc.cpp3746 size_t old_size; in CreateCacheIfNecessary() local
3753 old_size = ByteSizeForClass(cl); in CreateCacheIfNecessary()
3756 old_size = span->length << kPageShift; in CreateCacheIfNecessary()
3761 if ((new_size > old_size) || (AllocationSize(new_size) < old_size)) { in CreateCacheIfNecessary()
3770 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size)); in CreateCacheIfNecessary()
/external/libpng/
DCHANGES57 added old_size into png_realloc()