/external/chromium_org/third_party/mesa/src/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/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/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;
|
/external/qemu/distrib/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;
|
/external/emma/core/java12/com/vladium/util/ |
H A D | ByteArrayOStream.java | 58 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/chromium_org/courgette/third_party/ |
H A D | bsdiff_create.cc | 154 matchlen(const unsigned char *old,int oldsize,const unsigned char *newbuf,int newsize) argument 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| surroundin 165 search(PagedArray<int>& I,const unsigned char *old,int oldsize, const unsigned char *newbuf,int newsize,int st,int en,int *pos) argument [all...] |
/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/javassist/src/main/javassist/tools/web/ |
H A D | Viewer.java | 196 byte[] newbuf = new byte[buf.length * 2]; 197 System.arraycopy(buf, 0, newbuf, 0, size); 198 buf = newbuf;
|
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/ |
H A D | cbb.c | 88 uint8_t *newbuf; local 97 newbuf = OPENSSL_realloc(base->buf, newcap); 98 if (newbuf == NULL) { 102 base->buf = 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/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
H A D | SDL_romaudio.c | 334 void sndDoubleBackProc (SndChannelPtr chan, SndDoubleBufferPtr newbuf) argument 336 SDL_AudioDevice *audio = (SDL_AudioDevice *)newbuf->dbUserInfo[0]; 342 memset (newbuf->dbSoundData, 0, audio->spec.size); 343 newbuf->dbNumFrames = audio->spec.samples; 354 SDL_memcpy(newbuf->dbSoundData, audio->convert.buf, 358 (Uint8 *)newbuf->dbSoundData, audio->spec.size); 361 newbuf->dbFlags |= dbBufferReady;
|
/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/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/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | RecyclableBufferedInputStream.java | 144 byte[] newbuf = new byte[newLength]; 145 System.arraycopy(localBuf, 0, newbuf, 0, localBuf.length); 148 localBuf = buf = newbuf;
|
/external/chromium_org/third_party/libevent/ |
H A D | buffer.c | 279 void *newbuf; local 289 if ((newbuf = realloc(buf->buffer, length)) == NULL) 292 buf->orig_buffer = buf->buffer = newbuf;
|
/external/elfutils/0.153/libdwfl/ |
H A D | elf-from-memory.c | 187 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local 188 if (newbuf == NULL) 193 buffer = newbuf;
|
/external/libxml2/ |
H A D | 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;
|
/external/strace/ |
H A D | file.c | 1037 convertoldstat(const struct __old_kernel_stat *oldbuf, struct stat *newbuf) argument 1039 newbuf->st_dev = oldbuf->st_dev; 1040 newbuf->st_ino = oldbuf->st_ino; 1041 newbuf->st_mode = oldbuf->st_mode; 1042 newbuf->st_nlink = oldbuf->st_nlink; 1043 newbuf->st_uid = oldbuf->st_uid; 1044 newbuf->st_gid = oldbuf->st_gid; 1045 newbuf->st_rdev = oldbuf->st_rdev; 1046 newbuf->st_size = oldbuf->st_size; 1047 newbuf [all...] |