/external/libselinux/src/ |
fgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
getfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
lgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
getpeercon.c | 28 char *newbuf; local 30 newbuf = realloc(buf, size); 31 if (!newbuf) 34 buf = newbuf;
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
apple_xgl_api_stereo.c | 92 GLenum newbuf[n + 2]; local 105 newbuf[outi++] = bufs[i]; 110 newbuf[outi++] = GL_BACK_LEFT; 111 newbuf[outi++] = GL_BACK_RIGHT; 115 newbuf[outi++] = GL_FRONT_LEFT; 116 newbuf[outi++] = GL_FRONT_RIGHT; 119 __ogl_framework_api->DrawBuffersARB(outi, newbuf);
|
/external/libedit/src/ |
hist.c | 197 Char *newbuf; local 199 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf)); 200 if (!newbuf) 203 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf)); 205 el->el_history.last = newbuf + 207 el->el_history.buf = newbuf;
|
/external/mesa3d/src/glx/apple/ |
apple_xgl_api_stereo.c | 92 GLenum newbuf[n + 2]; local 105 newbuf[outi++] = bufs[i]; 110 newbuf[outi++] = GL_BACK_LEFT; 111 newbuf[outi++] = GL_BACK_RIGHT; 115 newbuf[outi++] = GL_FRONT_LEFT; 116 newbuf[outi++] = GL_FRONT_RIGHT; 119 __ogl_framework_api->DrawBuffersARB(outi, newbuf);
|
/external/elfutils/0.153/libdwfl/ |
elf-from-memory.c | 187 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local 188 if (newbuf == NULL) 193 buffer = newbuf;
|
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/ |
cbb.c | 88 uint8_t *newbuf; local 97 newbuf = OPENSSL_realloc(base->buf, newcap); 98 if (newbuf == NULL) { 102 base->buf = newbuf;
|
/external/e2fsprogs/util/ |
subst.c | 270 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; local 284 newcp = fgets(newbuf, sizeof(newbuf), new_f); 289 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) {
|
/external/ipsec-tools/src/libipsec/ |
ipsec_dump_policy.c | 102 char *newbuf; local 257 newbuf = (char *)realloc(buf, buflen); 258 if (newbuf == NULL) { 263 buf = newbuf;
|
/external/chromium_org/courgette/third_party/ |
bsdiff_create.cc | 154 matchlen(const unsigned char *old,int oldsize,const unsigned char *newbuf,int newsize) 159 if(old[i]!=newbuf[i]) break; 166 const unsigned char *newbuf,int newsize,int st,int en,int *pos) 171 x=matchlen(old+I[st],oldsize-I[st],newbuf,newsize); 172 y=matchlen(old+I[en],oldsize-I[en],newbuf,newsize); 184 if(memcmp(old+I[x],newbuf,std::min(oldsize-I[x],newsize))<0) { 185 return search(I,old,oldsize,newbuf,newsize,x,en,pos); 187 return search(I,old,oldsize,newbuf,newsize,st,x,pos); 244 const uint8* newbuf = new_stream->Buffer(); local 258 // a triple for the part of |newbuf| surrounding a 'seed' match nea [all...] |
/external/chromium_org/third_party/libevent/ |
buffer.c | 279 void *newbuf; local 289 if ((newbuf = realloc(buf->buffer, length)) == NULL) 292 buf->orig_buffer = buf->buffer = newbuf;
|
/external/libxml2/ |
buf.c | 437 xmlChar *newbuf; local 464 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size); 465 if (newbuf == NULL) { 469 buf->contentIO = newbuf; 470 buf->content = newbuf + start_buf; 472 newbuf = (xmlChar *) xmlRealloc(buf->content, size); 473 if (newbuf == NULL) { 477 buf->content = newbuf; [all...] |
SAX2.c | 2584 xmlChar *newbuf; local [all...] |
tree.c | 7218 xmlChar *newbuf; local [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientlib.c | 220 unsigned char *newbuf; local 223 newbuf = malloc((size_t)newlen); 224 if (!newbuf) return(kDNSServiceErr_NoMemory); 225 memcpy(newbuf, txtRec->buffer, txtRec->datalen); 227 txtRec->buffer = newbuf;
|
/external/chromium_org/third_party/libxml/src/ |
SAX2.c | 2496 xmlChar *newbuf; local [all...] |
tree.c | 7069 xmlChar *newbuf; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/ |
rtasm_ppc.c | 269 uint32_t *newbuf; local 271 newbuf = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE); 272 if (newbuf) { 273 memcpy(newbuf, p->store, p->num_inst * PPC_INST_SIZE); 276 p->store = newbuf;
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
rtasm_ppc.c | 269 uint32_t *newbuf; local 271 newbuf = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE); 272 if (newbuf) { 273 memcpy(newbuf, p->store, p->num_inst * PPC_INST_SIZE); 276 p->store = newbuf;
|
/external/chromium_org/third_party/libxslt/libxslt/ |
transform.c | 671 xmlChar *newbuf; local 676 newbuf = (xmlChar *) xmlRealloc(target->content,size); 677 if (newbuf == NULL) { 683 ctxt->lasttext = newbuf; 684 target->content = newbuf; [all...] |
/external/e2fsprogs/lib/blkid/ |
probe.c | 54 unsigned char *newbuf; local 73 newbuf = realloc(pr->buf, len); 74 if (newbuf == NULL) 76 pr->buf = newbuf; [all...] |
/external/gcc-demangle/ |
cp-demangle.c | 3237 char *newbuf; local [all...] |
/external/libcxxabi/src/ |
cxa_demangle.cpp | 4938 char* newbuf = static_cast<char*>(std::realloc(buf, sz)); local [all...] |