Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dtupleobject.c842 Py_ssize_t oldsize; in _PyTuple_Resize() local
852 oldsize = Py_SIZE(v); in _PyTuple_Resize()
853 if (oldsize == newsize) in _PyTuple_Resize()
856 if (oldsize == 0) { in _PyTuple_Resize()
871 for (i = newsize; i < oldsize; i++) { in _PyTuple_Resize()
882 if (newsize > oldsize) in _PyTuple_Resize()
883 memset(&sv->ob_item[oldsize], 0, in _PyTuple_Resize()
884 sizeof(*sv->ob_item) * (newsize - oldsize)); in _PyTuple_Resize()
Dunicodeobject.c4988 Py_ssize_t oldsize = PyUnicode_GET_SIZE(*outobj); in charmaptranslate_makespace() local
4989 if (requiredsize > oldsize) { in charmaptranslate_makespace()
4993 if (requiredsize < 2 * oldsize) in charmaptranslate_makespace()
4994 requiredsize = 2 * oldsize; in charmaptranslate_makespace()
Dtypeobject.c3659 Py_ssize_t oldsize, newsize; local
3689 oldsize = base->tp_basicsize;
3690 newsize = type->tp_basicsize ? type->tp_basicsize : oldsize;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dtupleobject.c852 Py_ssize_t oldsize; in _PyTuple_Resize() local
862 oldsize = Py_SIZE(v); in _PyTuple_Resize()
863 if (oldsize == newsize) in _PyTuple_Resize()
866 if (oldsize == 0) { in _PyTuple_Resize()
881 for (i = newsize; i < oldsize; i++) { in _PyTuple_Resize()
893 if (newsize > oldsize) in _PyTuple_Resize()
894 memset(&sv->ob_item[oldsize], 0, in _PyTuple_Resize()
895 sizeof(*sv->ob_item) * (newsize - oldsize)); in _PyTuple_Resize()
Dlongobject.c3698 Py_ssize_t shiftby, oldsize, newsize, wordshift, remshift, i, j; in long_lshift() local
3714 oldsize = ABS(a->ob_size); in long_lshift()
3715 newsize = oldsize + wordshift; in long_lshift()
3726 for (i = wordshift, j = 0; j < oldsize; i++, j++) { in long_lshift()
Dunicodeobject.c4895 Py_ssize_t oldsize = PyUnicode_GET_SIZE(*outobj); in charmaptranslate_makespace() local
4896 if (requiredsize > oldsize) { in charmaptranslate_makespace()
4900 if (requiredsize < 2 * oldsize) in charmaptranslate_makespace()
4901 requiredsize = 2 * oldsize; in charmaptranslate_makespace()
Dtypeobject.c3624 Py_ssize_t oldsize, newsize; local
3654 oldsize = base->tp_basicsize;
3655 newsize = type->tp_basicsize ? type->tp_basicsize : oldsize;
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlmem.h50 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
Dlparser.c168 int oldsize = f->sizelocvars; in registerlocalvar() local
171 while (oldsize < f->sizelocvars) f->locvars[oldsize++].varname = NULL; in registerlocalvar()
233 int oldsize = f->sizeupvalues; in newupvalue() local
237 while (oldsize < f->sizeupvalues) f->upvalues[oldsize++].name = NULL; in newupvalue()
504 int oldsize = f->sizep; in addprototype() local
506 while (oldsize < f->sizep) f->p[oldsize++] = NULL; in addprototype()
Dlcode.c295 int k, oldsize; in addk() local
305 oldsize = f->sizek; in addk()
311 while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); in addk()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwprintf.c1943 const int oldsize = *tablesize; in __grow_type_table() local
1945 int n, newsize = oldsize * 2; in __grow_type_table()
1949 if (oldsize == STATIC_ARG_TBL_SIZE) { in __grow_type_table()
1952 memcpy(newtable, oldtable, oldsize * sizeof(enum typeid)); in __grow_type_table()
1960 for (n = oldsize; n < newsize; n++) in __grow_type_table()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dcompile.c613 size_t oldsize, newsize; in compiler_next_instr() local
614 oldsize = b->b_ialloc * sizeof(struct instr); in compiler_next_instr()
615 newsize = oldsize << 1; in compiler_next_instr()
617 if (oldsize > (PY_SIZE_MAX >> 1)) { in compiler_next_instr()
634 memset((char *)b->b_instr + oldsize, 0, newsize - oldsize); in compiler_next_instr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dcompile.c636 size_t oldsize, newsize; in compiler_next_instr() local
637 oldsize = b->b_ialloc * sizeof(struct instr); in compiler_next_instr()
638 newsize = oldsize << 1; in compiler_next_instr()
640 if (oldsize > (PY_SIZE_MAX >> 1)) { in compiler_next_instr()
657 memset((char *)b->b_instr + oldsize, 0, newsize - oldsize); in compiler_next_instr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c3698 Py_ssize_t shiftby, oldsize, newsize, wordshift, remshift, i, j; in long_lshift() local
3714 oldsize = ABS(a->ob_size); in long_lshift()
3715 newsize = oldsize + wordshift; in long_lshift()
3726 for (i = wordshift, j = 0; j < oldsize; i++, j++) { in long_lshift()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c3718 Py_ssize_t shiftby, oldsize, newsize, wordshift, remshift, i, j; in long_lshift() local
3734 oldsize = ABS(a->ob_size); in long_lshift()
3735 newsize = oldsize + wordshift; in long_lshift()
3746 for (i = wordshift, j = 0; j < oldsize; i++, j++) { in long_lshift()