/dports/net/kamailio/kamailio-5.4.5/src/lib/cds/ |
H A D | vector.c | 35 if (vector->element_count >= vector->allocated_count) { in vector_add() 37 int new_size = vector->allocated_count + vector->allocation_count; in vector_add() 38 if (new_size <= vector->allocated_count) return -1; in vector_add() 44 vector->element_size * vector->allocated_count); in vector_add() 48 vector->allocated_count = new_size; in vector_add() 106 vector->allocated_count = 0; in vector_init() 110 vector->allocated_count = allocation_count; in vector_init()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.c | 35 int allocated_count; member 53 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 55 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 82 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 83 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 84 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; member 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 84 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; member 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 84 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; member 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 84 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); 84 if (list_info->elements_count >= list_info->allocated_count) { 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l…
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; member 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 84 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.c | 35 int allocated_count; member 53 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 55 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 82 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 83 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 84 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/vmTestbase/nsk/share/native/ |
H A D | nsk_list.cpp | 37 int allocated_count; member 55 list_info->allocated_count = NSK_LIST_INIT_COUNT; in nsk_list_create() 57 list_info->arr = (const void **)malloc(list_info->allocated_count * nsk_list_size_void); in nsk_list_create() 84 if (list_info->elements_count >= list_info->allocated_count) { in nsk_list_add() 85 list_info->allocated_count += NSK_LIST_INIT_COUNT; in nsk_list_add() 86 …list_info->arr = (const void **)realloc((void *)list_info->arr, list_info->allocated_count * nsk_l… in nsk_list_add()
|
/dports/net/miniupnpc/miniupnpc-2.2.2/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpc/ |
H A D | listdevices.c | 21 size_t allocated_count; 40 if(elt->count >= elt->allocated_count) { 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP;
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/miniupnp/miniupnpc/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/miniupnpc/miniupnpc/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/net/py-miniupnpc/miniupnpc-2.2.2/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpc/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/miniupnpc/miniupnpc/ |
H A D | listdevices.c | 21 size_t allocated_count; member 40 if(elt->count >= elt->allocated_count) { in add_device() 42 elt->allocated_count += ADD_DEVICE_COUNT_STEP; in add_device() 43 tmp = realloc(elt->array, elt->allocated_count * sizeof(struct UPNPDev *)); in add_device() 45 …rr, "Failed to realloc(%p, %lu)\n", elt->array, (unsigned long)(elt->allocated_count * sizeof(stru… in add_device() 66 elt->allocated_count = ADD_DEVICE_COUNT_STEP; in add_device()
|
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/libcork/src/libcork/core/ |
H A D | mempool.c | 38 size_t allocated_count; member 74 mp->allocated_count = 0; in cork_mempool_new_size_ex() 87 assert(mp->allocated_count == 0); in cork_mempool_free() 185 mp->allocated_count++; in cork_mempool_new_object() 197 mp->allocated_count--; in cork_mempool_free_object()
|
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnscore/src/ |
H A D | pool.c | 73 pool->allocated_count = 0; in pool_init_ex() 102 pool->name, pool->allocated_count, pool->released_count, in pool_log_stats_ex() 159 delta = pool->allocated_count - pool->released_count; in pool_finalize() 205 pool->allocated_count++; in pool_alloc()
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | buffer_area.cpp | 44 const size_t allocated_count = count + reserve_count(); in real_allocate() local 45 raw_mem = fastMalloc(type_size * allocated_count); in real_allocate() 50 …t<uchar*>(*ptr) + type_size * count <= static_cast<uchar*>(raw_mem) + type_size * allocated_count); in real_allocate()
|
/dports/devel/hyperscan/hyperscan-5.4.0/unit/hyperscan/ |
H A D | test_util.cpp | 182 size_t allocated_count; variable 191 allocated_count += n; in count_malloc() 206 allocated_count -= n; in count_free()
|
H A D | scratch_op.cpp | 87 allocated_count = 0; in TEST() 104 ASSERT_EQ(0, allocated_count); in TEST() 115 ASSERT_EQ(allocated_count, curr_size); in TEST() 123 ASSERT_EQ(0, allocated_count); in TEST()
|
H A D | serialize.cpp | 320 allocated_count = 0; in TEST() 329 ASSERT_NE(0, allocated_count); in TEST() 332 ASSERT_EQ(0, allocated_count); in TEST() 340 allocated_count = 0; in TEST() 349 ASSERT_NE(0, allocated_count); in TEST() 363 ASSERT_EQ(0, allocated_count); in TEST()
|
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/libcork/src/libcork/ds/ |
H A D | array.c | 39 size_t allocated_count; member 57 array->priv->allocated_count = 0; in cork_raw_array_init() 173 size_t new_count = array->priv->allocated_count * 2; in cork_raw_array_ensure_size() 185 array->priv->allocated_count = new_count; in cork_raw_array_ensure_size()
|
/dports/devel/hyperscan/hyperscan-5.4.0/src/util/ |
H A D | queue_index_factory.h | 44 u32 allocated_count() const { return val; } in allocated_count() function
|
/dports/editors/neovim/neovim-0.6.1/src/nvim/ |
H A D | memory.c | 134 size_t allocated_count = count && size ? count : 1; in xcalloc() local 136 void *ret = calloc(allocated_count, allocated_size); in xcalloc() 139 ret = calloc(allocated_count, allocated_size); in xcalloc()
|