/external/libselinux/src/ |
H A D | fgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | getfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | lgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | getpeercon.c | 28 char *newbuf; local 30 newbuf = realloc(buf, size); 31 if (!newbuf) 34 buf = newbuf;
|
/external/c-ares/ |
H A D | ares__read_line.c | 35 char *newbuf; local 64 newbuf = realloc(*buf, *bufsize * 2); 65 if (!newbuf) 67 *buf = newbuf;
|
/external/dhcpcd-6.8.2/compat/ |
H A D | getline.c | 45 char *newbuf, *p; local 60 newbuf = realloc(*buf, newlen); 61 if (newbuf == NULL) 63 *buf = newbuf;
|
/external/selinux/libselinux/src/ |
H A D | fgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | getfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | getpeercon.c | 28 char *newbuf; local 30 newbuf = realloc(buf, size); 31 if (!newbuf) 34 buf = newbuf;
|
H A D | lgetfilecon.c | 24 char *newbuf; local 31 newbuf = realloc(buf, size); 32 if (!newbuf) 35 buf = newbuf;
|
H A D | seusers.c | 19 char *newbuf = strdup(buffer); local 24 if (!newbuf) 27 start = newbuf; 31 free(newbuf); 78 free(newbuf); 84 free(newbuf);
|
/external/mesa3d/src/glx/apple/ |
H A D | 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/ |
H A D | 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/curl/lib/ |
H A D | curl_ntlm_wb.c | 280 char *newbuf; local 296 newbuf = realloc(buf, len_out + NTLM_BUFSIZE); 297 if(!newbuf) { 301 buf = newbuf;
|
/external/curl/tests/server/ |
H A D | fake_ntlm.c | 53 char *newbuf; local 87 newbuf = realloc(outbuf, newsize); 88 if(!newbuf) { 92 outbuf = newbuf;
|
/external/elfutils/libdwfl/ |
H A D | elf-from-memory.c | 177 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local 178 if (newbuf == NULL) 184 buffer = newbuf;
|
/external/ipsec-tools/src/libipsec/ |
H A D | ipsec_dump_policy.c | 102 char *newbuf; local 257 newbuf = (char *)realloc(buf, buflen); 258 if (newbuf == NULL) { 263 buf = newbuf;
|
/external/boringssl/src/crypto/bytestring/ |
H A D | cbb.c | 103 uint8_t *newbuf; local 112 newbuf = OPENSSL_realloc(base->buf, newcap); 113 if (newbuf == NULL) { 117 base->buf = newbuf;
|
/external/e2fsprogs/util/ |
H A D | 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/mdnsresponder/mDNSShared/ |
H A D | 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/strace/ |
H A D | file.c | 405 convertoldstat(const struct __old_kernel_stat *oldbuf, struct stat *newbuf) argument 407 memset(newbuf, 0, sizeof(*newbuf)); 408 newbuf->st_dev = oldbuf->st_dev; 409 newbuf->st_ino = oldbuf->st_ino; 410 newbuf->st_mode = oldbuf->st_mode; 411 newbuf->st_nlink = oldbuf->st_nlink; 412 newbuf->st_uid = oldbuf->st_uid; 413 newbuf->st_gid = oldbuf->st_gid; 414 newbuf [all...] |
/external/curl/src/ |
H A D | tool_paramhlp.c | 89 char *newbuf; local 105 if((newbuf = realloc(buffer, alloc+1)) == NULL) { 109 buffer = newbuf; 118 if((newbuf = realloc(buffer, nused+1)) == NULL) { 122 buffer = newbuf;
|
/external/libxml2/ |
H A D | 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;
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | 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;
|
/external/selinux/policycoreutils/sandbox/ |
H A D | seunshare.c | 317 char *newbuf = NULL; local 343 if (asprintf(&newbuf, "\'%s\'", path) == -1) { 348 if (asprintf(&newbuf, "%s \'%s\'", buf, path) == -1) { 354 free(buf); buf = newbuf; 355 newbuf = NULL; 359 if (asprintf(&newbuf, "/usr/bin/rsync -trlHDq %s '%s'", buf, dst) == -1) { 363 *cmdbuf=newbuf;
|