/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/dhcpcd/compat/ |
getline.c | 45 char *newbuf, *p; local 60 newbuf = realloc(*buf, newlen); 61 if (newbuf == NULL) 63 *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/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/libdwfl/ |
elf-from-memory.c | 187 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local 188 if (newbuf == NULL) 193 buffer = newbuf;
|
/libcore/luni/src/main/java/java/io/ |
CharArrayWriter.java | 85 char[] newbuf = new char[newLen]; local 86 System.arraycopy(buf, 0, newbuf, 0, count); 87 buf = newbuf;
|
BufferedReader.java | 160 char[] newbuf = new char[newLength]; local 161 System.arraycopy(buf, 0, newbuf, 0, buf.length); 162 buf = newbuf;
|
/external/e2fsprogs/util/ |
subst.c | 273 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; local 287 newcp = fgets(newbuf, sizeof(newbuf), new_f); 292 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/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
SDL_mintaudio_gsxb.c | 419 Uint8 *newbuf; local 428 newbuf = SDL_MintAudio_audiobuf[SDL_MintAudio_numbuf]; 429 Setbuffer(0, newbuf, newbuf + SDL_MintAudio_audiosize);
|
/external/chromium/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/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/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/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_dict_helpers.c | 872 struct wpabuf **newbuf; local 876 newbuf = os_realloc_array(entry->binarray_value, 878 if (!newbuf) 880 entry->binarray_value = newbuf;
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduComposer.java | 338 mStack.newbuf(); 541 mStack.newbuf(); 629 mStack.newbuf(); 846 mStack.newbuf(); // Switching buffer because we need to 902 mStack.newbuf(); // Leaving space for header lengh and data length 905 mStack.newbuf(); // Leaving space for Content-Type length 1070 void newbuf() { method in class:PduComposer.BufferStack [all...] |
/external/chromium_org/third_party/libxml/src/ |
SAX2.c | 2496 xmlChar *newbuf; local [all...] |
/external/libxml2/ |
SAX2.c | 2546 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 | 56 unsigned char *newbuf; local 75 newbuf = realloc(pr->buf, len); 76 if (newbuf == NULL) 78 pr->buf = newbuf; [all...] |