HomeSort by relevance Sort by last modified time
    Searched full:newbuf (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /external/libselinux/src/
fgetfilecon.c 24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
getfilecon.c 24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
getpeercon.c 28 char *newbuf; local
30 newbuf = realloc(buf, size);
31 if (!newbuf)
34 buf = newbuf;
lgetfilecon.c 24 char *newbuf; local
31 newbuf = realloc(buf, size);
32 if (!newbuf)
35 buf = newbuf;
  /external/emma/core/java12/com/vladium/util/
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 [i] = mbuf [i]
    [all...]
  /dalvik/vm/jdwp/
ExpandBuf.cpp 43 ExpandBuf* newBuf;
45 newBuf = (ExpandBuf*) malloc(sizeof(*newBuf));
46 newBuf->storage = (u1*) malloc(kInitialStorage);
47 newBuf->curLen = 0;
48 newBuf->maxLen = kInitialStorage;
50 return newBuf;
  /frameworks/base/core/java/com/android/internal/util/
BitwiseOutputStream.java 65 byte[] newBuf = new byte[len];
66 System.arraycopy(mBuf, 0, newBuf, 0, len);
67 return newBuf;
77 byte[] newBuf = new byte[(mPos + bits) >>> 2];
78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3);
79 mBuf = newBuf;
80 mEnd = newBuf.length << 3;
  /external/dhcpcd/compat/
getline.c 45 char *newbuf, *p; local
60 newbuf = realloc(*buf, newlen);
61 if (newbuf == NULL)
63 *buf = newbuf;
  /frameworks/volley/src/com/android/volley/toolbox/
PoolingByteArrayOutputStream.java 76 byte[] newbuf = mPool.getBuf((count + i) * 2);
77 System.arraycopy(buf, 0, newbuf, 0, count);
79 buf = newbuf;
  /libcore/luni/src/main/java/java/io/
ByteArrayOutputStream.java 91 byte[] newbuf = new byte[(count + i) * 2];
92 System.arraycopy(buf, 0, newbuf, 0, count);
93 buf = newbuf;
156 char[] newBuf = new char[size()];
157 for (int i = 0; i < newBuf.length; i++) {
158 newBuf[i] = (char) (((hibyte & 0xff) << 8) | (buf[i] & 0xff));
160 return new String(newBuf);
CharArrayWriter.java 85 char[] newbuf = new char[newLen]; local
86 System.arraycopy(buf, 0, newbuf, 0, count);
87 buf = newbuf;
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
FloatToFixed.java 70 Buffer newBuf = VertexBuffer.createBuffer(posFmt, positions.getNumComponents(),
72 Transform t = convertPositions(fb, bbox, newBuf);
80 newBuf);
100 Buffer newBuf = VertexBuffer.createBuffer(tcFmt,
103 convertTexCoords2D(fb, newBuf);
109 newBuf);
131 Buffer newBuf = VertexBuffer.createBuffer(targetFmt, vb.getNumComponents(), src.size());
134 newVb.setupData(vb.getUsage(), vb.getNumComponents(), targetFmt, newBuf);
  /external/qemu/distrib/sdl-1.2.15/src/audio/macrom/
SDL_romaudio.c 334 void sndDoubleBackProc (SndChannelPtr chan, SndDoubleBufferPtr newbuf)
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/e2fsprogs/util/
subst.c 273 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; local
287 newcp = fgets(newbuf, sizeof(newbuf), new_f);
292 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) {
  /external/javassist/src/main/javassist/bytecode/
ByteStream.java 188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount];
189 System.arraycopy(buf, 0, newBuf, 0, count);
190 buf = newBuf;
  /external/javassist/src/main/javassist/tools/web/
Viewer.java 196 byte[] newbuf = new byte[buf.length * 2];
197 System.arraycopy(buf, 0, newbuf, 0, size);
198 buf = newbuf;
  /external/mdnsresponder/mDNSShared/
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/quake/quake/src/QW/client/
gl_screen.c 837 unsigned char *newbuf, *srcbuf; local
879 newbuf = malloc(glheight * glwidth * 3);
881 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, newbuf );
890 dest = newbuf + (w*3 * y);
904 src = newbuf + (glwidth * 3 * dy) + dx * 3;
923 src = newbuf + (w * 3 * y);
924 dest = newbuf + (w * y);
935 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 1, w);
939 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 11, w);
943 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 21, w)
    [all...]
screen.c 787 unsigned char *newbuf, *srcbuf; local
845 newbuf = malloc(w*h);
848 dest = newbuf + (w * y);
881 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, 0, w);
885 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, 10, w);
889 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, 20, w);
891 WritePCXfile (pcxname, newbuf, w, h, w, host_basepal, true);
893 free(newbuf);
  /external/ipsec-tools/src/libipsec/
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/
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/chromium/third_party/libevent/
buffer.c 279 void *newbuf; local
289 if ((newbuf = realloc(buf->buffer, length)) == NULL)
292 buf->orig_buffer = buf->buffer = newbuf;
  /packages/apps/Email/src/org/apache/commons/io/output/
ByteArrayOutputStream.java 274 byte newbuf[] = new byte[remaining];
279 System.arraycopy(buf, 0, newbuf, pos, c);
286 return newbuf;
  /system/core/libcutils/
open_memstream.c 107 char* newBuf = (char*) realloc(*stream->bufp, newSize);
108 if (newBuf == NULL)
111 *stream->bufp = newBuf;
  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
PduComposer.java 338 mStack.newbuf();
541 mStack.newbuf();
629 mStack.newbuf();
846 mStack.newbuf(); // Switching buffer because we need to
902 mStack.newbuf(); // Leaving space for header lengh and data length
905 mStack.newbuf(); // Leaving space for Content-Type length
1070 void newbuf() { method in class:PduComposer.BufferStack
    [all...]

Completed in 2643 milliseconds

1 2 3 4