Searched refs:nsize (Results 1 - 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
H A Dlmem.c26 ** void * frealloc (void *ud, void *ptr, size_t osize, size_t nsize);
27 ** (`osize' is the old size, `nsize' is the new size)
75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument
81 if (nsize > realosize && g->gcrunning)
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize);
85 if (newblock == NULL && nsize > 0) {
86 api_check(L, nsize > realosize,
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */
95 lua_assert((nsize == 0) == (newblock == NULL));
96 g->GCdebt = (g->GCdebt + nsize)
[all...]
H A Dloadlib.c171 DWORD nsize = sizeof(buff)/sizeof(char); local
172 DWORD n = GetModuleFileNameA(NULL, buff, nsize);
173 if (n == 0 || n == nsize || (lb = strrchr(buff, '\\')) == NULL)
H A Dltable.c338 int nsize = isdummy(t->node) ? 0 : sizenode(t); local
339 luaH_resize(L, t, nasize, nsize);
H A Dlauxlib.c919 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { argument
921 if (nsize == 0) {
926 return realloc(ptr, nsize);
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
H A Dlua.h70 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dunicodeobject.c2434 Py_ssize_t nsize, bytesize; local
2464 nsize = (size - pairs + (byteorder == 0));
2465 bytesize = nsize * 4;
2466 if (bytesize / 4 != nsize)
2711 Py_ssize_t nsize, bytesize; local
2740 nsize = size + pairs + (byteorder == 0);
2741 bytesize = nsize * 2;
2742 if (bytesize / 2 != nsize)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dunicodeobject.c2367 Py_ssize_t nsize, bytesize; local
2397 nsize = (size - pairs + (byteorder == 0));
2398 bytesize = nsize * 4;
2399 if (bytesize / 4 != nsize)
2641 Py_ssize_t nsize, bytesize; local
2670 nsize = size + pairs + (byteorder == 0);
2671 bytesize = nsize * 2;
2672 if (bytesize / 2 != nsize)

Completed in 116 milliseconds