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

1 2 3 4

  /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;
  /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;
  /device/google/contexthub/lib/nanohub/
nanoapp.c 29 void *newBuf = realloc(buf, bufSz);
30 if (!newBuf) {
34 return newBuf;
  /external/lzma/CPP/Common/
MyString.cpp 324 char *newBuf = MY_STRING_NEW(char, newLimit + 1);
325 memcpy(newBuf, _chars, (size_t)(_len + 1)); \
327 _chars = newBuf;
437 char *newBuf = MY_STRING_NEW(char, 1 + 1);
439 _chars = newBuf;
453 char *newBuf = MY_STRING_NEW(char, len + 1);
455 _chars = newBuf;
470 char *newBuf = MY_STRING_NEW(char, len + 1);
472 _chars = newBuf;
501 char *newBuf = MY_STRING_NEW(char, len + 1);
    [all...]
  /hardware/intel/common/libwsbm/src/
wsbm_manager.c 758 struct _WsbmBufferObject *newBuf;
761 newBuf = malloc(sizeof(*newBuf));
762 if (!newBuf)
765 *newBuf = *buf;
766 newBuf->storage = wsbmStorageClone(buf);
767 if (!newBuf->storage)
770 wsbmAtomicSet(&newBuf->refCount, 1);
771 if (!accelCopy || accelCopy(newBuf, buf) != 0) {
775 struct _WsbmBufStorage *newStorage = newBuf->storage
    [all...]
  /dalvik/tools/hprof-conv/
HprofConv.c 125 ExpandBuf* newBuf = (ExpandBuf*) malloc(sizeof(ExpandBuf));
126 if (newBuf == NULL)
128 newBuf->storage = (unsigned char*) malloc(kInitialSize);
129 newBuf->curLen = 0;
130 newBuf->maxLen = kInitialSize;
132 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 105 char* newBuf = (char*) realloc(*stream->bufp, newSize);
106 if (newBuf == NULL)
109 *stream->bufp = newBuf;
  /external/pdfium/xfa/fxfa/parser/
cxfa_dataexporter.cpp 281 CFX_WideTextBuf newBuf;
284 RegenerateFormFile_Changed(pChildNode, newBuf, bSaveXML);
285 wsChildren += newBuf.AsStringC();
286 newBuf.Clear();
295 RegenerateFormFile_Changed(pChild, newBuf, bSaveXML);
296 wsChildren += newBuf.AsStringC();
297 newBuf.Clear();
  /external/flatbuffers/net/FlatBuffers/
FlatBufferBuilder.cs 109 var newBuf = new byte[newBufSize];
111 Buffer.BlockCopy(oldBuf, 0, newBuf, newBufSize - oldBufSize,
113 _bb = new ByteBuffer(newBuf, newBufSize);
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp     [all...]
  /libcore/ojluni/src/main/java/java/util/
Scanner.java     [all...]
  /prebuilts/go/darwin-x86/src/encoding/json/
stream.go 146 newBuf := make([]byte, len(dec.buf), 2*cap(dec.buf)+minRead)
147 copy(newBuf, dec.buf)
148 dec.buf = newBuf
  /prebuilts/go/linux-x86/src/encoding/json/
stream.go 146 newBuf := make([]byte, len(dec.buf), 2*cap(dec.buf)+minRead)
147 copy(newBuf, dec.buf)
148 dec.buf = newBuf
  /prebuilts/go/darwin-x86/src/bytes/
buffer.go 169 newBuf := b.buf
173 newBuf = makeSlice(2*cap(b.buf) + MinRead)
175 copy(newBuf, b.buf[b.off:])
176 b.buf = newBuf[:len(b.buf)-b.off]
  /prebuilts/go/linux-x86/src/bytes/
buffer.go 169 newBuf := b.buf
173 newBuf = makeSlice(2*cap(b.buf) + MinRead)
175 copy(newBuf, b.buf[b.off:])
176 b.buf = newBuf[:len(b.buf)-b.off]
  /prebuilts/go/darwin-x86/src/bufio/
scan.go 197 newBuf := make([]byte, newSize)
198 copy(newBuf, s.buf[s.start:s.end])
199 s.buf = newBuf
  /prebuilts/go/linux-x86/src/bufio/
scan.go 197 newBuf := make([]byte, newSize)
198 copy(newBuf, s.buf[s.start:s.end])
199 s.buf = newBuf
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
xmlparse.c     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
xmlparse.c     [all...]
  /prebuilts/misc/common/robolectric/lib/
xpp3_min-1.1.4c.jar 
  /prebuilts/tools/common/m2/repository/xpp3/xpp3_min/1.1.4c/
xpp3_min-1.1.4c.jar 
  /dalvik/dexdump/
DexDump.cpp 743 char* newBuf = (char*)realloc(buf, newUsed);
744 if (newBuf == NULL) {
748 buf = newBuf;
    [all...]

Completed in 591 milliseconds

1 2 3 4