/AliOS-Things-master/components/freetype/src/lzw/ |
A D | ftzopen.c | 116 FT_Offset old_size = state->stack_size; in ft_lzwstate_stack_grow() local 117 FT_Offset new_size = old_size; in ft_lzwstate_stack_grow() 124 old_size = 0; in ft_lzwstate_stack_grow() 132 if ( new_size == old_size ) in ft_lzwstate_stack_grow() 136 if ( FT_RENEW_ARRAY( state->stack, old_size, new_size ) ) in ft_lzwstate_stack_grow() 149 FT_UInt old_size = state->prefix_size; in ft_lzwstate_prefix_grow() local 150 FT_UInt new_size = old_size; in ft_lzwstate_prefix_grow() 168 if ( FT_REALLOC_MULT( state->prefix, old_size, new_size, in ft_lzwstate_prefix_grow() 176 state->prefix + old_size, in ft_lzwstate_prefix_grow() 177 old_size * sizeof ( FT_Byte ) ); in ft_lzwstate_prefix_grow()
|
/AliOS-Things-master/components/ota/2ndboot/updater/ |
A D | nbpatch.c | 85 static long ota_nbpatch(const unsigned long old_addr, long old_size, unsigned long patch, long *see… in ota_nbpatch() argument 211 if(old_pos > old_size || old_pos + ctrl[0] > old_size) { in ota_nbpatch() 306 long old_size = 0; in ota_nbpatch_main() local 321 old_size = ota_param.old_size; in ota_nbpatch_main() 324 …if (!old_addr || !patch_addr || old_size <= 0 || patch_size <= 0 || (ota_param.upg_flag != OTA_UPG… in ota_nbpatch_main() 332 new_size = ota_nbpatch(old_addr, old_size, patch_addr, &patch_off, patch_num); in ota_nbpatch_main()
|
A D | ota_nbpatch.c | 70 ota_param.old_size = app_info->partition_length; in ota_patch_init()
|
/AliOS-Things-master/components/amp/services/amp_memmgt/ |
A D | amp_memmgt.c | 181 unsigned int old_size = size; in amp_memmgt_realloc() local 204 old_size = node->size; in amp_memmgt_realloc() 206 old_size = *(unsigned int *)((unsigned int)ptr - 4); in amp_memmgt_realloc() 214 once_size -= old_size; in amp_memmgt_realloc() 232 g_mem_total[ptno] += alloc_size - old_size; in amp_memmgt_realloc()
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_mem.c | 233 uint32_t old_size = lv_mem_get_size(data_p); in lv_mem_realloc() local 234 if(old_size == new_size) return data_p; /*Also avoid reallocating the same memory*/ in lv_mem_realloc() 238 if(new_size < old_size) { in lv_mem_realloc() 250 if(old_size != 0) { in lv_mem_realloc() 251 memcpy(new_p, data_p, LV_MATH_MIN(new_size, old_size)); in lv_mem_realloc()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftbitmap.c | 463 FT_Long old_size; in FT_Bitmap_Convert() local 466 old_size = target->rows * target->pitch; in FT_Bitmap_Convert() 467 if ( old_size < 0 ) in FT_Bitmap_Convert() 468 old_size = -old_size; in FT_Bitmap_Convert() 488 if ( target->rows * target->pitch > old_size && in FT_Bitmap_Convert() 490 old_size, target->rows * target->pitch ) ) in FT_Bitmap_Convert()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | qjs.c | 209 size_t old_size; in js_trace_realloc() local 216 old_size = js_trace_malloc_usable_size(ptr); in js_trace_realloc() 220 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_trace_realloc() 224 if (s->malloc_size + size - old_size > s->malloc_limit) in js_trace_realloc() 232 s->malloc_size += js_trace_malloc_usable_size(ptr) - old_size; in js_trace_realloc()
|
A D | quickjs.c | 1730 size_t old_size; in js_def_realloc() local 1737 old_size = js_def_malloc_usable_size(ptr); in js_def_realloc() 1740 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_def_realloc() 1744 if (s->malloc_size + size - old_size > s->malloc_limit) in js_def_realloc() 1751 s->malloc_size += js_def_malloc_usable_size(ptr) - old_size; in js_def_realloc() 33363 int old_size, i; in bc_atom_to_idx() local 33364 old_size = s->atom_to_idx_size; in bc_atom_to_idx() 33370 for (i = old_size; i < s->atom_to_idx_size; i++) in bc_atom_to_idx()
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_mm.c | 612 size_t old_size, split_size; in k_mm_realloc() local 649 old_size = MM_GET_BUF_SIZE(this_b); in k_mm_realloc() 654 if (new_size <= old_size) { in k_mm_realloc() 660 old_size += MM_GET_BLK_SIZE(next_b); in k_mm_realloc() 663 if (old_size >= new_size + MMLIST_HEAD_SIZE + MM_MIN_SIZE) { in k_mm_realloc() 665 split_size = old_size - new_size - MMLIST_HEAD_SIZE; in k_mm_realloc() 690 if (new_size <= (old_size + MM_GET_BLK_SIZE(next_b))) { in k_mm_realloc()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/nimble/ |
A D | nimble_npl_os.c | 154 size_t old_size = alloc->size - sizeof(mp_bluetooth_nimble_malloc_t); in nimble_realloc() local 155 if (old_size >= new_size) { in nimble_realloc() 163 memcpy(ptr2, ptr, old_size); in nimble_realloc()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/flatbuffers/include/flatbuffers/ |
A D | flatbuffers.h | 614 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, 617 FLATBUFFERS_ASSERT(new_size > old_size); // vector_downward only grows 619 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 621 deallocate(old_p, old_size); 630 void memcpy_downward(uint8_t *old_p, size_t old_size, uint8_t *new_p, 633 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 668 size_t old_size, size_t new_size, 670 return allocator ? allocator->reallocate_downward(old_p, old_size, new_size, 1028 auto old_size = size(); 1035 old_size, old_scratch_size); [all …]
|
/AliOS-Things-master/components/amp_adapter/platform/aos/haas700/ |
A D | ota_agent.h | 145 unsigned int old_size; /*Diff upgrade: patch old data size*/ member
|
/AliOS-Things-master/components/ota/include/ |
A D | ota_agent.h | 145 unsigned int old_size; /*Diff upgrade: patch old data size*/ member
|
/AliOS-Things-master/components/ota/hal/ |
A D | ota_hal_plat.c | 173 param->old_size = p_app_info->partition_length; in ota_hal_boot()
|
A D | ota_hal_vfs_plat.c | 276 param->old_size = tmp_part_info->partition_length; in ota_hal_boot()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objexcept.c | 96 int old_size = mp_emergency_exception_buf_size; in mp_alloc_emergency_exception_buf() local 107 m_del(byte, old_buf, old_size); in mp_alloc_emergency_exception_buf()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.c | 57615 duk_size_t old_size, new_size; local 57631 old_size = DUK_HOBJECT_P_COMPUTE_SIZE(DUK_HOBJECT_GET_ESIZE(obj), 57649 (*p_count_bytes_saved) += (duk_size_t) (old_size - new_size); 62839 …AL duk_bool_t duk__abandon_array_slow_check_required(duk_uint32_t arr_idx, duk_uint32_t old_size) { argument 62865 (arr_idx > DUK_USE_HOBJECT_ARRAY_FAST_RESIZE_LIMIT * ((old_size + 7) >> 3)); 62871 duk_uint32_t old_size; local 62878 duk__compute_a_stats(thr, obj, &old_used, &old_size); 62881 (long) old_used, (long) old_size, (long) arr_idx));
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | CHANGES | 60 added old_size into png_realloc()
|