Home
last modified time | relevance | path

Searched refs:ReallocN (Results 1 – 3 of 3) sorted by relevance

/plan9/sys/src/cmd/aux/
H A Ddepend.c232 erealloc(void *ReallocP, int ReallocN) in erealloc() argument
234 if(ReallocN == 0) in erealloc()
235 ReallocN = 1; in erealloc()
237 ReallocP = emalloc(ReallocN); in erealloc()
238 else if(!(ReallocP = realloc(ReallocP, ReallocN))) in erealloc()
239 fatal("unable to allocate %d bytes",ReallocN); in erealloc()
/plan9/sys/src/cmd/unix/drawterm/libsec/
H A Dtlshand.c2172 erealloc(void *ReallocP, int ReallocN) in erealloc() argument
2174 if(ReallocN == 0) in erealloc()
2175 ReallocN = 1; in erealloc()
2177 ReallocP = emalloc(ReallocN); in erealloc()
2178 else if(!(ReallocP = realloc(ReallocP, ReallocN))){ in erealloc()
/plan9/sys/src/libsec/port/
H A Dtlshand.c2204 erealloc(void *ReallocP, int ReallocN) in erealloc() argument
2206 if(ReallocN == 0) in erealloc()
2207 ReallocN = 1; in erealloc()
2209 ReallocP = emalloc(ReallocN); in erealloc()
2210 else if(!(ReallocP = realloc(ReallocP, ReallocN))){ in erealloc()