Searched refs:new_array (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.10/swig-12/Lib/tcl/
H A Dtclwstrings.swg26 char *dst = %new_array(dstLen, char);
54 char *dst = %new_array(dstLen, char);
/macosx-10.10/swig-12/Lib/typemaps/
H A Dcarrays.swg27 return %new_array(nelements, TYPE);
84 return %new_array(nelements, TYPE);
H A Dswigmacros.swg46 %new_array(size,Type) Allocate a new array with given size and Type
162 # define %new_array(size,Type...) (new Type[size])
163 # define %new_copy_array(ptr,size,Type...) %reinterpret_cast(memcpy(%new_array(size,Type), ptr, sizeof(Type)*(size)), Type*)
169 # define %new_array(size,Type...) (Type *)malloc((size)*sizeof(Type))
170 # define %new_copy_array(ptr,size,Type...) (Type *)memcpy(%new_array(size,Type), ptr, sizeof(Type)*(size))
H A Dcstrings.swg162 $1 = %new_array(n+expansion, $*1_ltype);
192 buff= %new_array(size+1, Char);
223 buff= %new_array(n+1, Char);
/macosx-10.10/bind9-45.101/bind9/lib/isc/
H A Dheap.c125 void **new_array; local
131 new_array = isc_mem_get(heap->mctx, new_size * sizeof(void *));
132 if (new_array == NULL)
135 memcpy(new_array, heap->array, heap->size * sizeof(void *));
140 heap->array = new_array;
/macosx-10.10/ntp-92/lib/isc/
H A Dheap.c124 void **new_array; local
130 new_array = isc_mem_get(heap->mctx, new_size * sizeof(void *));
131 if (new_array == NULL)
134 memcpy(new_array, heap->array, heap->size * sizeof(void *));
139 heap->array = new_array;
/macosx-10.10/swig-12/Lib/perl5/
H A Djstring.i31 char *tmp = %new_array(len, char);
/macosx-10.10/swig-12/Lib/python/
H A Dpywstrings.swg22 *cptr = %new_array(len + 1, wchar_t);
H A Dargcargv.i22 *argv = %new_array(size + 1, char*);
/macosx-10.10/rsync-45/rsync/
H A Duidlist.c112 gidset = new_array(GETGROUPS_T, ngroups+1);
126 char *gidbuf = new_array(char, ngroups*21+32);
318 name = new_array(char, len+1);
330 name = new_array(char, len+1);
H A Dtoken.c44 if (!(match_list = t = new_array(char, len + 2)))
92 buf = new_array(char, CHUNK_SIZE);
184 if ((obuf = new_array(char, OBUF_SIZE)) == NULL)
328 if (!(cbuf = new_array(char, MAX_DATA_COUNT))
329 || !(dbuf = new_array(char, AVAIL_OUT_SIZE(CHUNK_SIZE))))
H A Dchecksum.c65 buf1 = new_array(char, len+4);
H A Dchmod.c64 curr_mode = new_array(struct chmod_mode_struct, 1);
H A Dfileio.c117 wf_writeBuf = new_array(char, wf_writeBufSize);
H A Dparams.c534 bufr = new_array( char, bSize );
H A Dsocket.c353 socks = new_array(int, maxs + 1);
354 errmsgs = new_array(char *, maxs);
H A Dhlink.c128 if (!(hlink_list = new_array(int32, the_file_list->count)))
H A Dmatch.c55 hash_table = new_array(int32, TABLESIZE);
H A Dexclude.c161 if (!(ret->pattern = new_array(char, ex_len + pat_len + 1)))
216 if (!(lp = new_array(struct filter_list_struct, 1)))
421 push = new_array(struct filter_list_struct, mergelist_cnt);
H A Dio.c211 if (!(m = (struct msg_list_item *)new_array(char, sz)))
678 if (!(iobuf_out = new_array(char, IO_BUFFER_SIZE)))
691 if (!(iobuf_in = new_array(char, iobuf_in_siz)))
H A Drsync.h831 #define new_array(type, num) ((type *)_new_array(sizeof(type), (num))) macro
H A Dsender.c98 if (!(s->sums = new_array(struct sum_buf, s->count)))
/macosx-10.10/syslog-267/libsystem_asl.tproj/src/
H A Dasl_fd.c229 asl_redirect_t *new_array = realloc(redirect_descriptors, new_n * sizeof(*redirect_descriptors));
230 if (!new_array)
236 redirect_descriptors = new_array;
/macosx-10.10/apr-32/apr/apr/tables/
H A Dapr_hash.c173 apr_hash_entry_t **new_array; local
177 new_array = alloc_array(ht, new_max);
180 hi->this->next = new_array[i];
181 new_array[i] = hi->this;
183 ht->array = new_array;
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dregexec.c1393 struct re_fail_stack_ent_t *new_array;
1394 new_array = realloc (fs->stack, (sizeof (struct re_fail_stack_ent_t)
1396 if (new_array == NULL)
1399 fs->stack = new_array;
2932 re_dfastate_t **new_array;
2938 new_array = re_realloc (path->array, re_dfastate_t *, new_alloc);
2939 if (BE (new_array == NULL, 0))
2941 path->array = new_array;
2943 memset (new_array + old_alloc, '\0',
4143 re_dfastate_t **new_array
1390 struct re_fail_stack_ent_t *new_array; local
2928 re_dfastate_t **new_array; local
4139 re_dfastate_t **new_array = re_realloc (mctx->state_log, re_dfastate_t *, local
4343 re_sub_match_top_t **new_array = re_realloc (mctx->sub_tops, local
4370 re_sub_match_last_t **new_array = re_realloc (subtop->lasts, local
[all...]

Completed in 196 milliseconds

12