Home
last modified time | relevance | path

Searched refs:real_size (Results 1 – 17 of 17) sorted by relevance

/third_party/musl/porting/uniproton/kernel/src/malloc/
Dmalloc.c8 size_t real_size; in calloc() local
15 real_size = (size_t)(nitems * size); in calloc()
16 ptr = PRT_MemAlloc(OS_MID_SYS, 0, real_size); in calloc()
18 (void)memset_s(ptr, real_size, 0, real_size); in calloc()
/third_party/musl/porting/liteos_a_newlib/kernel/src/
Dmalloc.c84 size_t real_size; in __wrap__calloc_r() local
91 real_size = (size_t)(nitems * size); in __wrap__calloc_r()
92 ptr = LOS_MemAlloc(OS_SYS_MEM_ADDR, real_size); in __wrap__calloc_r()
94 (void)memset_s(ptr, real_size, 0, real_size); in __wrap__calloc_r()
/third_party/ffmpeg/libavutil/
Dbprint.c237 unsigned real_size = FFMIN(buf->len + 1, buf->size); in av_bprint_finalize() local
243 str = av_realloc(buf->str, real_size); in av_bprint_finalize()
248 str = av_malloc(real_size); in av_bprint_finalize()
250 memcpy(str, buf->str, real_size); in av_bprint_finalize()
259 buf->size = real_size; in av_bprint_finalize()
/third_party/node/src/
Dnode_mem-inl.h89 size_t real_size = MultiplyWithOverflowCheck(nmemb, size); in CallocImpl() local
90 void* mem = MallocImpl(real_size, user_data); in CallocImpl()
92 memset(mem, 0, real_size); in CallocImpl()
Dnode_zlib.cc478 size_t real_size = in AllocForZlib() local
481 return AllocForBrotli(data, real_size); in AllocForZlib()
499 size_t real_size = *reinterpret_cast<size_t*>(real_pointer); in FreeForZlib() local
500 ctx->unreported_allocations_.fetch_sub(real_size, in FreeForZlib()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dmhd2spdy_spdy.h76 nfds_t *real_size);
85 nfds_t *real_size);
Dmhd2spdy_spdy.c988 nfds_t *real_size) in spdy_get_selectfdset() argument
995 *real_size = 0; in spdy_get_selectfdset()
1014 connections[*real_size] = glob_opt.spdy_connection; in spdy_get_selectfdset()
1015 ++(*real_size); in spdy_get_selectfdset()
1022 while(NULL != connection && *real_size < max_size) in spdy_get_selectfdset()
1041 connections[*real_size] = connection; in spdy_get_selectfdset()
1042 ++(*real_size); in spdy_get_selectfdset()
/third_party/ltp/testcases/commands/mkswap/
Dmkswap01.sh24 real_size=`blockdev --getsize64 $TST_DEVICE`
25 DEVICE_SIZE=$((($real_size/$PAGE_SIZE * $PAGE_SIZE)/1024))
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_debug.c372 pb_size real_size; in pb_debug_manager_create_buffer() local
381 real_size = mgr->underflow_size + size + mgr->overflow_size; in pb_debug_manager_create_buffer()
387 real_size, in pb_debug_manager_create_buffer()
404 assert(buf->buffer->size >= real_size); in pb_debug_manager_create_buffer()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function918 mbedtls_mps_size_t get_size, real_size;
924 &real_size );
928 real_size = get_size;
936 chunk_get, real_size );
939 real_size ) == 0 );
940 in_fetch += real_size;
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42parse.c543 FT_ULong n, string_size, old_string_size, real_size; in t42_parse_sfnts() local
623 (void)T1_ToBytes( parser, string_buf, string_size, &real_size, 1 ); in t42_parse_sfnts()
625 string_size = real_size; in t42_parse_sfnts()
/third_party/freetype/src/type42/
Dt42parse.c544 FT_ULong n, string_size, old_string_size, real_size; in t42_parse_sfnts() local
631 (void)T1_ToBytes( parser, string_buf, string_size, &real_size, 1 ); in t42_parse_sfnts()
633 string_size = real_size; in t42_parse_sfnts()
/third_party/flutter/skia/third_party/externals/freetype/src/type42/
Dt42parse.c543 FT_ULong n, string_size, old_string_size, real_size; in t42_parse_sfnts() local
620 (void)T1_ToBytes( parser, string_buf, string_size, &real_size, 1 ); in t42_parse_sfnts()
622 string_size = real_size; in t42_parse_sfnts()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c292 off_t real_size = lseek(prime_fd, 0, SEEK_END); in tu_bo_init_dmabuf() local
294 if (real_size < 0 || (uint64_t) real_size < size) in tu_bo_init_dmabuf()
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.c2568 gsize real_size, alloc_size; in gst_buffer_extract_dup() local
2570 real_size = gst_buffer_get_size (buffer); in gst_buffer_extract_dup()
2572 alloc_size = MIN (real_size - offset, size); in gst_buffer_extract_dup()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c2146 off_t real_size = lseek(fd, 0, SEEK_END); in device_import_bo() local
2148 if (real_size < 0 || (uint64_t) real_size < size) in device_import_bo()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h19083 size_t real_size; member