Home
last modified time | relevance | path

Searched refs:new_allocated (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/dports/devel/gnulib/gnulib-20140202-stable/lib/
H A Damemxfrm.c82 size_t new_allocated; in amemxfrm() local
87 new_allocated = 2 * allocated; in amemxfrm()
88 if (new_allocated < 64) in amemxfrm()
89 new_allocated = 64; in amemxfrm()
96 allocated = new_allocated; in amemxfrm()
108 size_t new_allocated; in amemxfrm() local
111 new_allocated = length + k + 1; in amemxfrm()
113 new_allocated = 2 * allocated; in amemxfrm()
114 if (new_allocated < 64) in amemxfrm()
115 new_allocated = 64; in amemxfrm()
[all …]
H A Dastrxfrm.c66 size_t new_allocated; in astrxfrm() local
69 new_allocated = 3 * l + 1; in astrxfrm()
70 if (new_allocated < 2 * allocated) in astrxfrm()
71 new_allocated = 2 * allocated; in astrxfrm()
72 new_result = (char *) malloc (new_allocated); in astrxfrm()
75 allocated = new_allocated; in astrxfrm()
97 size_t new_allocated; in astrxfrm() local
100 new_allocated = k + 1; in astrxfrm()
101 new_result = (char *) malloc (new_allocated); in astrxfrm()
104 allocated = new_allocated; in astrxfrm()
/dports/devel/libunistring/libunistring-0.9.10/lib/
H A Damemxfrm.c91 size_t new_allocated; in amemxfrm() local
96 new_allocated = 2 * allocated; in amemxfrm()
97 if (new_allocated < 64) in amemxfrm()
98 new_allocated = 64; in amemxfrm()
105 allocated = new_allocated; in amemxfrm()
117 size_t new_allocated; in amemxfrm() local
120 new_allocated = length + k + 1; in amemxfrm()
122 new_allocated = 2 * allocated; in amemxfrm()
123 if (new_allocated < 64) in amemxfrm()
124 new_allocated = 64; in amemxfrm()
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/
H A Damemxfrm.c82 size_t new_allocated; in amemxfrm() local
87 new_allocated = 2 * allocated; in amemxfrm()
88 if (new_allocated < 64) in amemxfrm()
89 new_allocated = 64; in amemxfrm()
96 allocated = new_allocated; in amemxfrm()
108 size_t new_allocated; in amemxfrm() local
111 new_allocated = length + k + 1; in amemxfrm()
113 new_allocated = 2 * allocated; in amemxfrm()
114 if (new_allocated < 64) in amemxfrm()
115 new_allocated = 64; in amemxfrm()
[all …]
H A Dastrxfrm.c66 size_t new_allocated; in astrxfrm() local
69 new_allocated = 3 * l + 1; in astrxfrm()
70 if (new_allocated < 2 * allocated) in astrxfrm()
71 new_allocated = 2 * allocated; in astrxfrm()
72 new_result = (char *) malloc (new_allocated); in astrxfrm()
75 allocated = new_allocated; in astrxfrm()
97 size_t new_allocated; in astrxfrm() local
100 new_allocated = k + 1; in astrxfrm()
101 new_result = (char *) malloc (new_allocated); in astrxfrm()
104 allocated = new_allocated; in astrxfrm()
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/print/texinfo/texinfo-6.8/gnulib/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/lang/guile/guile-3.0.7/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/editors/emacs-devel/emacs-4d1968b/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/devel/m4/m4-1.4.19/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/gnulib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/lang/gawk/gawk-5.1.1/support/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/editors/nano/nano-5.9/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/www/wget2/wget2-2.0.0/lib/malloc/
H A Ddynarray_emplace_enlarge.c29 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
35 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
37 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
39 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
45 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
46 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
55 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
70 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/misc/findutils/findutils-4.8.0/gl/lib/malloc/
H A Ddynarray_emplace_enlarge.c29 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
35 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
37 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
39 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
45 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
46 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
55 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
70 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/textproc/gnugrep/grep-3.7/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/ftp/wget/wget-1.21.2/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/textproc/diffutils/diffutils-3.8/lib/malloc/
H A Ddynarray_emplace_enlarge.c33 size_t new_allocated; in __libc_dynarray_emplace_enlarge() local
39 new_allocated = 16; in __libc_dynarray_emplace_enlarge()
41 new_allocated = 8; in __libc_dynarray_emplace_enlarge()
43 new_allocated = 4; in __libc_dynarray_emplace_enlarge()
49 new_allocated = list->allocated + list->allocated / 2 + 1; in __libc_dynarray_emplace_enlarge()
50 if (new_allocated <= list->allocated) in __libc_dynarray_emplace_enlarge()
59 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge()
74 list->allocated = new_allocated; in __libc_dynarray_emplace_enlarge()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/brotli/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/c/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/BaseTools/Source/C/BrotliCompress/brotli/c/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]
/dports/archivers/p5-IO-Compress-Brotli/IO-Compress-Brotli-0.004001/brotli/c/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]
/dports/archivers/py-brotli/Brotli-1.0.9/c/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]
/dports/archivers/brotli/brotli-1.0.9/c/enc/
H A Dmemory.c45 m->new_allocated = 0; in BrotliInitMemoryManager()
110 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); in CollectGarbagePointers()
113 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, in CollectGarbagePointers()
115 m->new_allocated -= annihilated; in CollectGarbagePointers()
127 if (m->new_allocated != 0) { in CollectGarbagePointers()
128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
131 sizeof(void*) * m->new_allocated); in CollectGarbagePointers()
132 m->perm_allocated += m->new_allocated; in CollectGarbagePointers()
133 m->new_allocated = 0; in CollectGarbagePointers()
144 if (m->new_allocated == MAX_NEW_ALLOCATED) CollectGarbagePointers(m); in BrotliAllocate()
[all …]

12345678910>>...19