Searched refs:newbuf (Results 1 - 25 of 59) sorted by relevance

123

/external/mesa3d/src/glx/apple/
H A Dapple_xgl_api_stereo.c93 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/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/emma/core/java12/com/vladium/util/
H A DByteArrayOStream.java58 final byte [] newbuf = new byte [Math.max (mbuflen << 1, capacity)];
61 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [i];
63 System.arraycopy (mbuf, 0, newbuf, 0, pos);
65 m_buf = mbuf = newbuf;
82 final byte [] newbuf = new byte [Math.max (mbuflen << 1, capacity)];
85 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [i];
87 System.arraycopy (mbuf, 0, newbuf, 0, pos);
89 m_buf = mbuf = newbuf;
107 final byte [] newbuf = new byte [Math.max (mbuflen << 1, capacity)];
110 for (int i = 0; i < pos; ++ i) newbuf [
[all...]
/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/syslinux/com32/lib/
H A Dbufprintf.c17 char *newbuf; local
19 newbuf = realloc(buf->buf, newsize);
20 if (!newbuf) {
25 buf->buf = newbuf;
/external/ltp/testcases/kernel/syscalls/dup2/
H A Ddup204.c68 struct stat oldbuf, newbuf; local
88 SAFE_FSTAT(cleanup, nfd[i], &newbuf);
90 if (oldbuf.st_ino != newbuf.st_ino)
H A Ddup202.c91 struct stat oldbuf, newbuf; local
120 SAFE_FSTAT(cleanup, *TC[i].nfd, &newbuf);
122 if (oldbuf.st_mode != newbuf.st_mode)
/external/volley/src/main/java/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java76 byte[] newbuf = mPool.getBuf((count + i) * 2);
77 System.arraycopy(buf, 0, newbuf, 0, count);
79 buf = 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/javassist/src/main/javassist/tools/web/
H A DViewer.java196 byte[] newbuf = new byte[buf.length * 2];
197 System.arraycopy(buf, 0, newbuf, 0, size);
198 buf = newbuf;
/external/curl/src/
H A Dtool_paramhlp.c92 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/curl/tests/server/
H A Dfake_ntlm.c51 char *newbuf; local
86 newbuf = realloc(outbuf, newsize);
87 if(!newbuf) {
91 outbuf = 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/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/curl/lib/
H A Dcurl_ntlm_wb.c276 char *newbuf; local
292 newbuf = Curl_saferealloc(buf, len_out + NTLM_BUFSIZE);
293 if(!newbuf)
296 buf = newbuf;
/external/e2fsprogs/util/
H A Dsubst.c285 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; local
290 newcp = fgets(newbuf, sizeof(newbuf), new_f);
295 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) {
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DRecyclableBufferedInputStream.java154 byte[] newbuf = new byte[newLength];
155 System.arraycopy(localBuf, 0, newbuf, 0, localBuf.length);
158 localBuf = buf = newbuf;
/external/selinux/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;
/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/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/boringssl/src/crypto/bytestring/
H A Dcbb.c108 uint8_t *newbuf; local
117 newbuf = OPENSSL_realloc(base->buf, newcap);
118 if (newbuf == NULL) {
122 base->buf = newbuf;

Completed in 3231 milliseconds

123