HomeSort by relevance Sort by last modified time
    Searched refs:newBuf (Results 1 - 25 of 30) sorted by null

1 2

  /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;
  /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);
  /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;
  /art/runtime/jdwp/
jdwp_expand_buf.cc 49 ExpandBuf* newBuf = new ExpandBuf;
50 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage));
51 newBuf->curLen = 0;
52 newBuf->maxLen = kInitialStorage;
53 return 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);
  /dalvik/tools/hprof-conv/
HprofConv.c 111 ExpandBuf* newBuf = (ExpandBuf*) malloc(sizeof(ExpandBuf));
112 if (newBuf == NULL)
114 newBuf->storage = (unsigned char*) malloc(kInitialSize);
115 newBuf->curLen = 0;
116 newBuf->maxLen = kInitialSize;
118 return newBuf;
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
imports.c 201 void *newBuf = _mesa_align_malloc(newSize, alignment);
202 if (newBuf && oldBuffer && copySize > 0) {
203 memcpy(newBuf, oldBuffer, copySize);
207 return newBuf;
  /external/mesa3d/src/mesa/main/
imports.c 201 void *newBuf = _mesa_align_malloc(newSize, alignment);
202 if (newBuf && oldBuffer && copySize > 0) {
203 memcpy(newBuf, oldBuffer, copySize);
207 return 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;
Bytecode.java 83 byte[] newBuf = new byte[newSize];
84 System.arraycopy(buffer, 0, newBuf, 0, size);
85 buffer = newBuf;
    [all...]
  /system/core/libcutils/
open_memstream.c 107 char* newBuf = (char*) realloc(*stream->bufp, newSize);
108 if (newBuf == NULL)
111 *stream->bufp = newBuf;
  /libcore/luni/src/main/java/java/util/
Properties.java 296 char[] newBuf = new char[buf.length * 2];
297 System.arraycopy(buf, 0, newBuf, 0, offset);
298 buf = newBuf;
  /bootable/recovery/minzip/
Zip.c 875 char *newBuf;
878 newBuf = (char *)realloc(helper->buf, needLen);
879 if (newBuf == NULL) {
882 helper->buf = newBuf;
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
sslsecur.c 426 unsigned char *newBuf;
428 newBuf = (unsigned char *) PORT_Realloc(b->buf, newLen);
430 newBuf = (unsigned char *) PORT_Alloc(newLen);
432 if (!newBuf) {
437 b->buf = newBuf;
    [all...]
  /art/runtime/
check_jni.cc 938 uint8_t* newBuf = DebugAlloc(newLen);
941 uint16_t* pat = reinterpret_cast<uint16_t*>(newBuf);
    [all...]
  /dalvik/vm/
CheckJni.cpp     [all...]
  /external/expat/lib/
xmlparse.c     [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol.cpp     [all...]
  /external/icu4c/i18n/
ucol.cpp     [all...]
  /prebuilts/devtools/tools/lib/
commons-compress-1.0.jar 
  /prebuilts/tools/common/commons-compress/
commons-compress-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.0/
commons-compress-1.0.jar 
  /external/robolectric/lib/main/
xpp3-1.1.4c.jar 
  /external/smack/asmack-master/lib/
xpp3-1.1.4c.jar 
  /prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 

Completed in 1876 milliseconds

1 2