OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nasize
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/third_party/lua/src/
ltable.h
28
LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int
nasize
, int nhsize);
29
LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int
nasize
);
ltable.c
304
void luaH_resize (lua_State *L, Table *t, int
nasize
, int nhsize) {
309
if (
nasize
> oldasize) /* array part must grow? */
310
setarrayvector(L, t,
nasize
);
313
if (
nasize
< oldasize) { /* array part must shrink? */
314
t->sizearray =
nasize
;
316
for (i=
nasize
; i<oldasize; i++) {
321
luaM_reallocvector(L, t->array, oldasize,
nasize
, TValue);
337
void luaH_resizearray (lua_State *L, Table *t, int
nasize
) {
339
luaH_resize(L, t,
nasize
, nsize);
344
int
nasize
, na
local
[
all
...]
Completed in 43 milliseconds