Searched refs:newarray (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_sppp.c | 121 unsigned char *newarray; local 125 newarray = malloc (newlen * sizeof (*ng_sppp_units), 127 bcopy (ng_sppp_units, newarray, 129 bzero (newarray + ng_sppp_units_len, 133 ng_sppp_units = newarray;
|
/freebsd-13-stable/contrib/lua/src/ |
H A D | ltable.c | 528 TValue *newarray; local 543 newarray = luaM_reallocvector(L, t->array, oldasize, newasize, TValue); 544 if (unlikely(newarray == NULL && newasize > 0)) { /* allocation failed? */ 550 t->array = newarray; /* set new array part */
|
/freebsd-13-stable/contrib/unbound/util/ |
H A D | config_file.c | 1990 char** newarray; local 1994 newarray = (char**)malloc(sizeof(char*)*(cfg->num_tags+1)); 1995 if(!newarray) 1999 free(newarray); 2003 memcpy(newarray, cfg->tagname, sizeof(char*)*cfg->num_tags); 2006 newarray[cfg->num_tags++] = newtag; 2007 cfg->tagname = newarray;
|
/freebsd-13-stable/sys/dev/pci/ |
H A D | pci_pci.c | 282 struct resource **newarray; local 285 newarray = malloc(sizeof(struct resource *) * (w->count + count), 288 bcopy(w->res, newarray, sizeof(struct resource *) * w->count); 289 bcopy(res, newarray + w->count, sizeof(struct resource *) * count); 291 w->res = newarray;
|
Completed in 49 milliseconds