/external/dhcpcd-6.8.2/compat/ |
getline.c | 45 char *newbuf, *p; local 60 newbuf = realloc(*buf, newlen); 61 if (newbuf == NULL) 63 *buf = newbuf;
|
/external/selinux/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;
|
seusers.c | 19 char *newbuf = strdup(buffer); local 24 if (!newbuf) 27 start = newbuf; 31 free(newbuf); 78 free(newbuf); 84 free(newbuf);
|
/external/syslinux/com32/lib/ |
bufprintf.c | 17 char *newbuf; local 19 newbuf = realloc(buf->buf, newsize); 20 if (!newbuf) { 25 buf->buf = 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/ltp/testcases/kernel/syscalls/dup2/ |
dup204.c | 68 struct stat oldbuf, newbuf; local 88 SAFE_FSTAT(cleanup, nfd[i], &newbuf); 90 if (oldbuf.st_ino != newbuf.st_ino)
|
dup202.c | 91 struct stat oldbuf, newbuf; local 120 SAFE_FSTAT(cleanup, *TC[i].nfd, &newbuf); 122 if (oldbuf.st_mode != newbuf.st_mode)
|
/external/mesa3d/src/glx/apple/ |
apple_xgl_api_stereo.c | 93 GLenum newbuf[n + 2]; local 106 newbuf[outi++] = bufs[i]; 111 newbuf[outi++] = GL_BACK_LEFT; 112 newbuf[outi++] = GL_BACK_RIGHT; 116 newbuf[outi++] = GL_FRONT_LEFT; 117 newbuf[outi++] = GL_FRONT_RIGHT; 120 __ogl_framework_api->DrawBuffers(outi, newbuf);
|
/external/elfutils/libdwfl/ |
elf-from-memory.c | 177 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local 178 if (newbuf == NULL) 184 buffer = newbuf;
|
/external/curl/lib/ |
curl_ntlm_wb.c | 276 char *newbuf; local 292 newbuf = Curl_saferealloc(buf, len_out + NTLM_BUFSIZE); 293 if(!newbuf) 296 buf = newbuf;
|
/external/curl/tests/server/ |
fake_ntlm.c | 51 char *newbuf; local 86 newbuf = realloc(outbuf, newsize); 87 if(!newbuf) { 91 outbuf = 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/curl/src/ |
tool_paramhlp.c | 92 char *newbuf; local 108 newbuf = realloc(buffer, alloc + 1); 109 if(!newbuf) { 113 buffer = newbuf; 122 newbuf = realloc(buffer, nused + 1); 123 if(!newbuf) { 127 buffer = newbuf;
|
/external/e2fsprogs/util/ |
subst.c | 285 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; local 290 newcp = fgets(newbuf, sizeof(newbuf), new_f); 295 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) {
|
/external/libxml2/ |
buf.c | 439 xmlChar *newbuf; local 478 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size); 479 if (newbuf == NULL) { 483 buf->contentIO = newbuf; 484 buf->content = newbuf + start_buf; 486 newbuf = (xmlChar *) xmlRealloc(buf->content, size); 487 if (newbuf == NULL) { 491 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 | 777 struct wpabuf **newbuf; local 781 newbuf = os_realloc_array(entry->binarray_value, 783 if (!newbuf) 785 entry->binarray_value = newbuf;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputStream.java | 159 DerInputBuffer newbuf = buffer.dup(); local 161 newbuf.truncate(len); 165 return new DerInputStream(newbuf);
|
/development/samples/ApiDemos/src/com/example/android/mmslib/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...] |
/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...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduComposer.java | 345 mStack.newbuf(); 549 mStack.newbuf(); 638 mStack.newbuf(); 909 mStack.newbuf(); // Switching buffer because we need to 964 mStack.newbuf(); // Leaving space for header lengh and data length 967 mStack.newbuf(); // Leaving space for Content-Type length 1144 void newbuf() { method in class:PduComposer.BufferStack [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
cStringIO.c | 390 char *newbuf;
local 414 newbuf = (char*)realloc(oself->buf, newsize);
415 if (!newbuf) {
420 oself->buf = newbuf;
|