/third_party/glib/glib/ |
D | grcbox.c | 183 gsize real_size; in g_rc_box_alloc_full() local 196 real_size = private_size + block_size; in g_rc_box_alloc_full() 201 if (real_size % alignment != 0) in g_rc_box_alloc_full() 203 gsize offset = real_size % alignment; in g_rc_box_alloc_full() 204 g_assert (real_size < (G_MAXSIZE - (alignment - offset))); in g_rc_box_alloc_full() 205 real_size += (alignment - offset); in g_rc_box_alloc_full() 221 allocated = g_malloc0 (real_size + sizeof (gpointer)); in g_rc_box_alloc_full() 223 allocated = g_malloc (real_size + sizeof (gpointer)); in g_rc_box_alloc_full() 234 allocated = g_malloc0 (real_size); in g_rc_box_alloc_full() 236 allocated = g_malloc (real_size); in g_rc_box_alloc_full()
|
D | gslice.c | 1691 SmcVType real_size; in smc_notify_free() local 1696 found_one = smc_tree_lookup (address, &real_size); in smc_notify_free() 1702 if (real_size != size && (real_size || size)) in smc_notify_free() 1704 …d size: %p size=%" G_GSIZE_FORMAT " invalid-size=%" G_GSIZE_FORMAT "\n", pointer, real_size, size); in smc_notify_free()
|
/third_party/musl/porting/uniproton/kernel/src/malloc/ |
D | malloc.c | 8 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_m_iccarm/kernel/src/ |
D | malloc.c | 38 size_t real_size; in calloc() local 45 real_size = (size_t)(nitems * size); in calloc() 46 ptr = LOS_MemAlloc(OS_SYS_MEM_ADDR, real_size); in calloc() 48 (void)memset_s(ptr, real_size, 0, real_size); in calloc()
|
/third_party/musl/porting/liteos_a_newlib/kernel/src/ |
D | malloc.c | 84 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/mindspore/mindspore/ccsrc/backend/optimizer/somas/ |
D | somas_tensor.cc | 25 …r::SomasTensor(size_t id, SomasNodePtr source_node, SomasStreamPtr source_stream, size_t real_size, in SomasTensor() argument 33 original_size_(real_size) { in SomasTensor() 36 …aligned_size_ = (real_size > 0) ? (real_size + alignment + alignment_complement) / alignment * ali… in SomasTensor()
|
D | somas_tensor.h | 85 …it SomasTensor(size_t id, SomasNodePtr source_node, SomasStreamPtr source_stream, size_t real_size,
|
/third_party/glib/gobject/ |
D | gatomicarray.c | 63 gsize real_size; in freelist_alloc() local 77 real_size = sizeof (gsize) + MAX (size, sizeof (FreeListNode)); in freelist_alloc() 78 mem = g_slice_alloc (real_size); in freelist_alloc() 83 VALGRIND_MALLOCLIKE_BLOCK (mem, real_size - sizeof (gsize), FALSE, FALSE); in freelist_alloc()
|
/third_party/curl/docs/examples/ |
D | xmlstream.c | 98 size_t real_size = length * nmemb; in parseStreamCallback() local 102 if(state->ok && XML_Parse(parser, contents, real_size, 0) == 0) { in parseStreamCallback() 106 real_size, error_code, XML_ErrorString(error_code)); in parseStreamCallback() 110 return real_size; in parseStreamCallback()
|
/third_party/node/src/ |
D | node_mem-inl.h | 89 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()
|
D | node_zlib.cc | 478 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/ffmpeg/libavutil/ |
D | bprint.c | 237 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/skia/third_party/externals/microhttpd/src/examples/ |
D | mhd2spdy_spdy.h | 76 nfds_t *real_size); 85 nfds_t *real_size);
|
D | mhd2spdy_spdy.c | 988 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/ |
D | mkswap01.sh | 24 real_size=`blockdev --getsize64 $TST_DEVICE` 25 DEVICE_SIZE=$((($real_size/$PAGE_SIZE * $PAGE_SIZE)/1024))
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_debug.c | 372 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/boost/boost/interprocess/mem_algo/detail/ |
D | mem_algo_common.hpp | 248 size_type real_size = nbytes; in allocate_aligned() local 252 (boost::interprocess::allocate_new, nbytes, real_size, ignore_reuse); in allocate_aligned() 277 real_size = request; in allocate_aligned() 279 … = memory_algo->priv_allocate(boost::interprocess::allocate_new, request, real_size, ignore_reuse); in allocate_aligned()
|
/third_party/boost/boost/interprocess/streams/ |
D | vectorstream.hpp | 192 int real_size = (int)m_vect.size(); in initialize_pointers() local 197 mp_high_water = m_vect.size() ? (&m_vect[0] + real_size) : 0; in initialize_pointers() 208 this->setg(p, p, p + real_size); in initialize_pointers() 211 base_t::pbump((int)real_size); in initialize_pointers()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_mps.function | 918 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/flutter/skia/third_party/externals/freetype/src/type42/ |
D | t42parse.c | 543 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/skia/third_party/externals/freetype/src/type42/ |
D | t42parse.c | 543 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/ |
D | t42parse.c | 543 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/gstreamer/gstreamer/gst/ |
D | gstbuffer.c | 2568 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/freedreno/vulkan/ |
D | tu_drm.c | 333 off_t real_size = lseek(prime_fd, 0, SEEK_END); in tu_bo_init_dmabuf() local 335 if (real_size < 0 || (uint64_t) real_size < size) in tu_bo_init_dmabuf()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 1963 off_t real_size = lseek(fd, 0, SEEK_END); in device_import_bo() local 1965 if (real_size < 0 || (uint64_t) real_size < size) { in device_import_bo()
|