/third_party/musl/porting/uniproton/kernel/src/malloc/ |
H A 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_a_newlib/kernel/src/ |
H A 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/curl/docs/examples/ |
H A D | xmlstream.c | 100 size_t real_size = length * nmemb; in parseStreamCallback() local 104 if(state->ok && XML_Parse(parser, contents, real_size, 0) == 0) { in parseStreamCallback() 108 real_size, error_code, XML_ErrorString(error_code)); in parseStreamCallback() 112 return real_size; in parseStreamCallback()
|
/third_party/node/src/ |
H A 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()
|
H A D | node_zlib.cc | 486 size_t real_size = in AllocForZlib() local 489 return AllocForBrotli(data, real_size); in AllocForZlib() 507 size_t real_size = *reinterpret_cast<size_t*>(real_pointer); in FreeForZlib() local 508 ctx->unreported_allocations_.fetch_sub(real_size, in FreeForZlib()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | mhd2spdy_spdy.h | 76 nfds_t *real_size); 85 nfds_t *real_size);
|
H A D | mhd2spdy_spdy.c | 913 nfds_t *real_size) 918 *real_size = 0; 924 spdy_ctl_poll(&(fds[*real_size]), glob_opt.spdy_connection); 925 if(!fds[*real_size].events) 941 fds[*real_size].fd = glob_opt.spdy_connection->fd; 942 connections[*real_size] = glob_opt.spdy_connection; 943 ++(*real_size); 949 while(NULL != connection && *real_size < max_size) 952 spdy_ctl_poll(&(fds[*real_size]), connection); 953 if(!fds[*real_size] 983 spdy_get_selectfdset(fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, struct SPDY_Connection *connections[], unsigned int max_size, nfds_t *real_size) spdy_get_selectfdset() argument [all...] |
/third_party/ffmpeg/libavutil/ |
H A 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_memdup(buf->str, real_size); in av_bprint_finalize() 257 buf->size = real_size; in av_bprint_finalize()
|
/third_party/ltp/testcases/commands/mkswap/ |
H A D | mkswap01.sh | 23 real_size=`blockdev --getsize64 $TST_DEVICE` 24 DEVICE_SIZE=$((($real_size/$PAGE_SIZE * $PAGE_SIZE)/1024))
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A 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/skia/third_party/externals/freetype/src/type42/ |
H A 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/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 292 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/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_device.c | 2146 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/node/deps/v8/src/objects/ |
H A D | js-objects.cc | 3200 int real_size = map->NumberOfOwnDescriptors(); in MigrateFastToSlow() local 3201 int property_count = real_size; in MigrateFastToSlow() 3221 for (InternalIndex i : InternalIndex::Range(real_size)) { in MigrateFastToSlow() 3259 dictionary->set_next_enumeration_index(real_size + 1); in MigrateFastToSlow()
|