Searched refs:new_alloc (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10/ntfs-84/kext/
H A Dntfs_runlist.c89 unsigned new_elements, alloc, new_alloc; local
93 new_alloc = (new_elements * sizeof(ntfs_rl_element) +
95 if (new_alloc > alloc) {
98 new_rl = OSMalloc(new_alloc, ntfs_malloc_tag);
105 runlist->alloc = new_alloc;
146 unsigned new_elements, alloc, new_alloc; local
153 new_alloc = (new_elements * sizeof(ntfs_rl_element) +
156 if (new_alloc <= alloc) {
171 new_rl = OSMalloc(new_alloc, ntfs_malloc_tag);
181 runlist->alloc = new_alloc;
1632 unsigned alloc, new_alloc; local
[all...]
H A Dntfs_attr_list.c2178 unsigned to_delete, to_copy, new_alloc; local
2204 new_alloc = (ni->attr_list_size + NTFS_ALLOC_BLOCK - 1) &
2207 * @new_alloc cannot reach zero because the attribute list has to at
2210 if (!new_alloc)
2211 panic("%s(): !new_alloc\n", __FUNCTION__);
2217 if (new_alloc >= ni->attr_list_alloc) {
2218 if (new_alloc > ni->attr_list_alloc)
2219 panic("%s(): (new_alloc > ni->attr_list_alloc\n",
2232 tmp = OSMalloc(new_alloc, ntfs_malloc_tag);
2245 ni->attr_list_alloc = new_alloc;
[all...]
/macosx-10.10/ruby-106/ruby/
H A Dregint.h441 unsigned int new_alloc = (buf)->alloc;\
442 while (new_alloc < (unsigned int )(size)) { new_alloc *= 2; }\
443 if ((buf)->alloc != new_alloc) {\
444 (buf)->p = (UChar* )xrealloc((buf)->p, new_alloc);\
446 (buf)->alloc = new_alloc;\
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dregex_internal.c1064 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc;
1065 Idx *new_elems = re_realloc (dest->elems, Idx, new_alloc);
1069 dest->alloc = new_alloc;
1204 Idx new_alloc = 2 * (src->nelem + dest->alloc);
1205 Idx *new_buffer = re_realloc (dest->elems, Idx, new_alloc);
1209 dest->alloc = new_alloc;
1590 Idx new_alloc = 2 * spot->num + 2;
1592 new_alloc);
1596 spot->alloc = new_alloc;
1062 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; local
1202 Idx new_alloc = 2 * (src->nelem + dest->alloc); local
1587 Idx new_alloc = 2 * spot->num + 2; local
H A Dregexec.c2934 Idx new_alloc = old_alloc + last_str + mctx->max_mb_elem_len + 1;
2935 if (BE (new_alloc < old_alloc, 0)
2936 || BE (SIZE_MAX / sizeof (re_dfastate_t *) < new_alloc, 0))
2938 new_array = re_realloc (path->array, re_dfastate_t *, new_alloc);
2942 path->alloc = new_alloc;
2930 Idx new_alloc = old_alloc + last_str + mctx->max_mb_elem_len + 1; local
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/spawn/
H A Dposix_spawn.c968 int new_alloc = (*psactsp)->psfa_act_alloc * 2; local
977 if ((new_psacts = (_posix_spawn_file_actions_t)realloc((*psactsp), PSF_ACTIONS_SIZE(new_alloc))) == NULL) {
980 new_psacts->psfa_act_alloc = new_alloc;
/macosx-10.10/OpenSSH-189/openssh/
H A Dssh-agent.c974 u_int i, old_alloc, new_alloc; local
991 new_alloc = sockets_alloc + 10;
992 sockets = xrealloc(sockets, new_alloc, sizeof(sockets[0]));
993 for (i = old_alloc; i < new_alloc; i++)
995 sockets_alloc = new_alloc;

Completed in 278 milliseconds