Searched defs:newbuf (Results 1 - 25 of 36) 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/qemu/distrib/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/chromium_org/third_party/mesa/src/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/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/elfutils/0.153/libdwfl/
H A Delf-from-memory.c187 unsigned char *newbuf = realloc (buffer, phnum * phentsize); local
188 if (newbuf == NULL)
193 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/qemu/distrib/sdl-1.2.15/src/audio/macrom/
H A DSDL_romaudio.c334 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/qemu/distrib/sdl-1.2.15/src/audio/mint/
H A DSDL_mintaudio_gsxb.c419 Uint8 *newbuf; local
428 newbuf = SDL_MintAudio_audiobuf[SDL_MintAudio_numbuf];
429 Setbuffer(0, newbuf, newbuf + SDL_MintAudio_audiosize);
/external/chromium_org/third_party/libevent/
H A Dbuffer.c279 void *newbuf; local
289 if ((newbuf = realloc(buf->buffer, length)) == NULL)
292 buf->orig_buffer = buf->buffer = 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/chromium_org/courgette/third_party/
H A Dbsdiff_create.cc154 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/libxml2/
H A Dbuf.c437 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;
H A DSAX2.c2584 xmlChar *newbuf; local
2589 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2590 if (newbuf == NULL) {
2595 lastChild->content = newbuf;
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c872 struct wpabuf **newbuf; local
876 newbuf = os_realloc_array(entry->binarray_value,
878 if (!newbuf)
880 entry->binarray_value = newbuf;
/external/chromium_org/third_party/libxml/src/
H A DSAX2.c2496 xmlChar *newbuf; local
2501 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size);
2502 if (newbuf == NULL) {
2507 lastChild->content = newbuf;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/
H A Drtasm_ppc.c269 uint32_t *newbuf; local
271 newbuf = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE);
272 if (newbuf) {
273 memcpy(newbuf, p->store, p->num_inst * PPC_INST_SIZE);
276 p->store = newbuf;
/external/mesa3d/src/gallium/auxiliary/rtasm/
H A Drtasm_ppc.c269 uint32_t *newbuf; local
271 newbuf = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE);
272 if (newbuf) {
273 memcpy(newbuf, p->store, p->num_inst * PPC_INST_SIZE);
276 p->store = newbuf;

Completed in 1344 milliseconds

12