Searched defs:newbuf (Results 1 - 25 of 49) sorted by relevance

12

/external/libselinux/src/
H A Dfgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dlgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dgetpeercon.c28 char *newbuf; local
30 newbuf = realloc(buf, size);
31 if (!newbuf)
34 buf = newbuf;
/external/c-ares/
H A Dares__read_line.c35 char *newbuf; local
64 newbuf = realloc(*buf, *bufsize * 2);
65 if (!newbuf)
67 *buf = newbuf;
/external/dhcpcd-6.8.2/compat/
H A Dgetline.c45 char *newbuf, *p; local
60 newbuf = realloc(*buf, newlen);
61 if (newbuf == NULL)
63 *buf = newbuf;
/external/selinux/libselinux/src/
H A Dfgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dgetpeercon.c28 char *newbuf; local
30 newbuf = realloc(buf, size);
31 if (!newbuf)
34 buf = newbuf;
H A Dlgetfilecon.c24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
H A Dseusers.c19 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 Dapple_xgl_api_stereo.c92 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 Dhist.c197 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 Dcurl_ntlm_wb.c280 char *newbuf; local
296 newbuf = realloc(buf, len_out + NTLM_BUFSIZE);
297 if(!newbuf) {
301 buf = newbuf;
/external/curl/tests/server/
H A Dfake_ntlm.c53 char *newbuf; local
87 newbuf = realloc(outbuf, newsize);
88 if(!newbuf) {
92 outbuf = newbuf;
/external/elfutils/libdwfl/
H A Delf-from-memory.c177 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local
178 if (newbuf == NULL)
184 buffer = newbuf;
/external/ipsec-tools/src/libipsec/
H A Dipsec_dump_policy.c102 char *newbuf; local
257 newbuf = (char *)realloc(buf, buflen);
258 if (newbuf == NULL) {
263 buf = newbuf;
/external/boringssl/src/crypto/bytestring/
H A Dcbb.c103 uint8_t *newbuf; local
112 newbuf = OPENSSL_realloc(base->buf, newcap);
113 if (newbuf == NULL) {
117 base->buf = newbuf;
/external/e2fsprogs/util/
H A Dsubst.c270 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 Ddnssd_clientlib.c220 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 Dfile.c405 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 Dtool_paramhlp.c89 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 Dbuf.c439 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 Ddbus_dict_helpers.c777 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 Dseunshare.c317 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;

Completed in 811 milliseconds

12