HomeSort by relevance Sort by last modified time
    Searched refs:newsize (Results 76 - 100 of 174) sorted by null

1 2 34 5 6 7

  /frameworks/av/media/ndk/
NdkMediaExtractor.cpp 299 size_t newsize = buffer->size() - (sizeof(uint32_t) * numentries) + sizeof(size_t) local
301 if (newsize <= buffer->size()) {
305 ex->mPsshBuf = new ABuffer(newsize);
306 ex->mPsshBuf->setRange(0, newsize);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
tokenizer.c 948 Py_ssize_t newsize = curvalid + BUFSIZ; local
951 newsize);
959 tok->end = tok->buf + newsize;
1321 int newsize = atoi(tp + strlen(*cp)); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lauxlib.c 441 size_t newsize = B->size * 2; /* double buffer size */ local
442 if (newsize - B->n < sz) /* not big enough? */
443 newsize = B->n + sz;
444 if (newsize < B->n || newsize - B->n < sz)
447 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char));
453 B->size = newsize;
llex.c 55 size_t newsize; local
58 newsize = luaZ_sizebuffer(b) * 2;
59 luaZ_resizebuffer(ls->L, b, newsize);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
tupleobject.c 837 _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)
853 if (oldsize == newsize)
861 *pv = PyTuple_New(newsize);
871 for (i = newsize; i < oldsize; i++) {
874 sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
882 if (newsize > oldsize)
884 sizeof(*sv->ob_item) * (newsize - oldsize));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_sys.py 710 newsize = PySet_MINSIZE variable in class:SizeofTest.test_objecttypes.C
711 while newsize <= minused:
712 newsize = newsize << 1
713 if newsize <= 8:
717 check(set(sample), s + newsize*struct.calcsize('lP'))
718 check(frozenset(sample), s + newsize*struct.calcsize('lP'))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
tupleobject.c 847 _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)
863 if (oldsize == newsize)
871 *pv = PyTuple_New(newsize);
881 for (i = newsize; i < oldsize; i++) {
885 sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
893 if (newsize > oldsize)
895 sizeof(*sv->ob_item) * (newsize - oldsize));
  /external/python/cpython2/Lib/test/
test_sys.py 726 newsize = PySet_MINSIZE variable in class:SizeofTest.test_objecttypes.C
727 while newsize <= minused:
728 newsize = newsize << 1
729 if newsize <= 8:
733 check(set(sample), s + newsize*calcsize('lP'))
734 check(frozenset(sample), s + newsize*calcsize('lP'))
  /external/python/cpython2/Objects/
tupleobject.c 834 _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)
850 if (oldsize == newsize)
858 *pv = PyTuple_New(newsize);
868 for (i = newsize; i < oldsize; i++) {
871 sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
879 if (newsize > oldsize)
881 sizeof(*sv->ob_item) * (newsize - oldsize));
  /external/python/cpython3/Objects/
tupleobject.c 854 _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)
870 if (oldsize == newsize)
878 *pv = PyTuple_New(newsize);
888 for (i = newsize; i < oldsize; i++) {
891 sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
899 if (newsize > oldsize)
901 sizeof(*sv->ob_item) * (newsize - oldsize));
bytesobject.c 1346 Py_ssize_t newsize, squotes, dquotes; local
    [all...]
  /external/libevent/
kqueue.c 210 int newsize = kqop->changes_size * 2; local
214 newsize * sizeof(struct kevent));
220 kqop->changes_size = newsize;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
3-2.c 173 If newsize is not 0, the stack size in ta will be set to this value once the thread is created.
176 int test_stack(pthread_attr_t * ta, size_t newsize)
255 if (newsize) {
256 ret = pthread_attr_setstacksize(ta, newsize);
  /external/flatbuffers/include/flatbuffers/
reflection.h 408 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize,
414 void ResizeVector(const reflection::Schema &schema, uoffset_t newsize, T val,
417 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size());
419 schema, newsize, reinterpret_cast<const VectorOfAny *>(vec), vec->size(),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
tokenizer.c 968 Py_ssize_t newsize = curvalid + BUFSIZ; local
971 newsize);
979 tok->end = tok->buf + newsize;
1341 int newsize = atoi(tp + strlen(*cp)); local
    [all...]
  /external/bsdiff/
bspatch.cc 221 uint64_t newsize = ParseInt64(patch_data + 24); local
222 new_file.reset(new BufferFile(std::move(new_file), newsize));
  /external/python/cpython2/Parser/
tokenizer.c 972 Py_ssize_t newsize = curvalid + BUFSIZ; local
975 newsize);
985 tok->end = tok->buf + newsize;
1347 int newsize = atoi(tp + strlen(*cp)); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
fileio.c 542 size_t newsize = new_buffersize(self, total); local
543 if (newsize > PY_SSIZE_T_MAX || newsize <= 0) {
551 if (PyBytes_GET_SIZE(result) < (Py_ssize_t)newsize) {
552 if (_PyBytes_Resize(&result, newsize) < 0)
557 n = newsize - total;
814 /* MS _chsize doesn't work if newsize doesn't fit in 32 bits,
  /external/python/cpython2/Modules/_io/
fileio.c 591 size_t newsize = new_buffersize(self, total); local
592 if (newsize > PY_SSIZE_T_MAX || newsize <= 0) {
600 if (PyBytes_GET_SIZE(result) < (Py_ssize_t)newsize) {
601 if (_PyBytes_Resize(&result, newsize) < 0)
606 n = newsize - total;
863 /* MS _chsize doesn't work if newsize doesn't fit in 32 bits,
  /device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/
glob.c 822 size_t i, newsize, len; local
829 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
830 pathv = pglob->gl_pathv ? realloc(pglob->gl_pathv, newsize) :
831 malloc(newsize);
857 (newsize + limit[GLOB_INDEX_MALLOC]) >= GLOB_LIMIT_MALLOC) {
  /external/boringssl/src/crypto/conf/
conf.c 330 size_t newsize = strlen(p) + buf->length - (e - from); local
331 if (newsize > MAX_CONF_VALUE_LENGTH) {
335 if (!BUF_MEM_grow_clean(buf, newsize)) {
  /external/u-boot/net/
tftp.c 170 ulong newsize = offset + len; local
204 if (net_boot_file_size < newsize)
205 net_boot_file_size = newsize;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
marshal.c 83 Py_ssize_t size, newsize; local
87 newsize = size + size + 1024;
88 if (newsize > 32*1024*1024) {
89 newsize = size + (size >> 3); /* 12.5% overallocation */
91 if (_PyString_Resize(&p->str, newsize) != 0) {
97 PyString_AS_STRING((PyStringObject *)p->str) + newsize;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
marshal.c 82 Py_ssize_t size, newsize; local
86 newsize = size + size + 1024;
87 if (newsize > 32*1024*1024) {
88 newsize = size + (size >> 3); /* 12.5% overallocation */
90 if (_PyString_Resize(&p->str, newsize) != 0) {
96 PyString_AS_STRING((PyStringObject *)p->str) + newsize;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
marshal.c 83 Py_ssize_t size, newsize; local
87 newsize = size + size + 1024;
88 if (newsize > 32*1024*1024) {
89 newsize = size + (size >> 3); /* 12.5% overallocation */
91 if (_PyString_Resize(&p->str, newsize) != 0) {
97 PyString_AS_STRING((PyStringObject *)p->str) + newsize;
    [all...]

Completed in 1917 milliseconds

1 2 34 5 6 7