Home
last modified time | relevance | path

Searched refs:narray (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dltable.c196 static int computesizes (int nums[], int *narray) { in computesizes() argument
202 for (i = 0, twotoi = 1; twotoi/2 < *narray; i++, twotoi *= 2) { in computesizes()
210 if (a == *narray) break; /* all elements already counted */ in computesizes()
212 *narray = n; in computesizes()
213 lua_assert(*narray/2 <= na && na <= *narray); in computesizes()
H A Dlapi.c672 LUA_API void lua_createtable (lua_State *L, int narray, int nrec) { in lua_createtable() argument
679 if (narray > 0 || nrec > 0) in lua_createtable()
680 luaH_resize(L, t, narray, nrec); in lua_createtable()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_whatis.c445 whatis_callback_t **narray = mdb_zalloc(nbytes, UM_SLEEP); in mdb_whatis_register() local
447 bcopy(whatis_cb, narray, obytes); in mdb_whatis_register()
451 whatis_cb = narray; in mdb_whatis_register()