/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/qemu/distrib/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;
|
/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/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/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_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...] |
/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/telephony/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...] |